1 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6 * elf/tst-rtld-load-self.sh: New test.
7 * elf/Makefile: Run it.
9 2012-09-18 Joseph Myers <joseph@codesourcery.com>
11 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12 (tst-writev-ENV): Remove.
13 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19 2012-09-17 Joseph Myers <joseph@codesourcery.com>
21 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34 * config.make.in (have-cpp-asm-debuginfo): Removed.
35 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36 * configure: Regenerated.
38 2012-09-14 Joseph Myers <joseph@codesourcery.com>
41 * stdio-common/printf_fp.c: Include <stdbool.h> and
43 (___printf_fp): Determine rounding using get_rounding_mode and
45 * stdio-common/tst-printf-round.c: New file.
46 * stdio-common/Makefile (tests): Add tst-printf-round.
47 (link-libm): New variable.
48 ($(objpfx)tst-printf-round): Depend in $(link-libm).
50 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
53 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
54 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
56 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
59 2012-09-13 Joseph Myers <joseph@codesourcery.com>
61 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
62 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66 2012-09-12 Joseph Myers <joseph@codesourcery.com>
69 * include/rounding-mode.h: New file.
70 * sysdeps/generic/get-rounding-mode.h: Likewise.
71 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
72 * stdlib/strtod_l.c: Include <rounding-mode.h>.
73 (MAX_VALUE): New macro.
74 (MIN_VALUE): Likewise.
75 (overflow_value): New function.
76 (underflow_value): Likewise.
77 (round_and_return): Use overflow_value and underflow_value to
78 determine return values in overflow and underflow cases. Use
79 round_away to determine rounding depending on rounding mode.
80 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
81 determine return values in overflow and underflow cases.
82 * stdlib/tst-strtod-round.c: Include <fenv.h>.
83 (struct test_results): New structure.
84 (struct test): Use struct test_results to store expected results
85 for all rounding modes.
86 (TEST): Include expected results for all rounding modes.
87 (test_in_one_mode): New function.
88 (do_test): Use test_in_one_mode to compute and check results.
89 Check results for all rounding modes.
90 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
93 2012-12-09 Allan McRae <allan@archlinux.org>
95 * sysdeps/i386/fpu/libm-test-ulps: Update
97 2012-09-11 Joseph Myers <joseph@codesourcery.com>
99 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
100 (_G_int32_t): Likewise.
101 (_G_uint16_t): Likewise.
102 (_G_uint32_t): Likewise.
103 (_G_HAVE_BOOL): Likewise.
104 (_G_HAVE_ATEXIT): Likewise.
105 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
106 (_G_HAVE_IO_FILE_OPEN): Likewise.
107 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
108 (_G_int32_t): Likewise.
109 (_G_uint16_t): Likewise.
110 (_G_uint32_t): Likewise.
111 (_G_HAVE_BOOL): Likewise.
112 (_G_HAVE_ATEXIT): Likewise.
113 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
114 (_G_HAVE_IO_FILE_OPEN): Likewise.
115 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
116 (_G_int32_t): Likewise.
117 (_G_uint16_t): Likewise.
118 (_G_uint32_t): Likewise.
119 (_G_HAVE_BOOL): Likewise.
120 (_G_HAVE_ATEXIT): Likewise.
121 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
122 (_G_HAVE_IO_FILE_OPEN): Likewise.
124 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
126 * csu/libc-tls.c: Update copyright years.
128 2012-09-10 Joseph Myers <joseph@codesourcery.com>
130 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
131 [!_G_USING_THUNKS]: Remove conditional code.
132 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
133 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
135 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
136 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
137 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
138 (_G_VTABLE_LABEL_PREFIX): Likewise.
139 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
140 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
141 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
142 (_G_VTABLE_LABEL_PREFIX): Likewise.
143 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
144 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
145 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
146 (_G_VTABLE_LABEL_PREFIX): Likewise.
147 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
149 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
151 * libio/Makefile: Include ../Makeconfig before tests.
152 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
153 only if $(build-shared) is yes.
155 * iconv/gconv_db.c: Update copyright years.
157 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
159 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
160 unwind info if defined PIC. Fix special cases description.
161 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
163 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
165 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
167 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
169 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
171 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
174 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
175 (LDLIBS-tst-chk4): This.
176 (LDFLAGS-tst-chk5): Renamed to ...
177 (LDLIBS-tst-chk5): This.
178 (LDFLAGS-tst-chk6): Renamed to ...
179 (LDLIBS-tst-chk6): This.
180 (LDFLAGS-tst-lfschk4): Renamed to ...
181 (LDLIBS-tst-lfschk4): This.
182 (LDFLAGS-tst-lfschk5): Renamed to ...
183 (LDLIBS-tst-lfschk5): This.
184 (LDFLAGS-tst-lfschk6): Renamed to ...
185 (LDLIBS-tst-lfschk6): This.
187 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
188 on $(common-objpfx)soversions.mk.
190 2012-09-07 Joseph Myers <joseph@codesourcery.com>
193 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
196 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
198 * malloc/arena.c (arena_get_retry): New function that gets
199 another arena for the caller to try its request on.
200 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
201 current arena cannot fulfill the request.
202 (__libc_memalign): Likewise.
203 (__libc_memalign): Likewise.
204 (__libc_pvalloc): Likewise.
205 (__libc_calloc): Likewise.
207 2012-09-05 John Tobey <john.tobey@gmail.com>
210 * manual/arith.texi (Operations on Complex): Fix description
213 2012-09-06 Joseph Myers <joseph@codesourcery.com>
216 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
220 * manual/memory.texi (Memory): Make order of menu items match
223 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
225 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
226 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
227 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
229 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
231 * csu/libc-tls.c (static_dtv): Renamed to ...
232 (_dl_static_dtv): This. Make it global.
233 (_dl_initial_dtv): Removed.
234 (__libc_setup_tls): Updated.
235 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
236 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
239 2012-09-06 Petr Machata <pmachata@redhat.com>
241 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
242 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
243 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
244 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
246 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
249 * csu/libc-tls.c (_dl_initial_dtv): New variable.
250 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
253 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
256 * Makeconfig (link-static-before-libc): Replace $(+prector)
258 (link-static-after-libc): Replace $(+postctor) with
260 (link-bounded): Replace $(+prector)/$(+postctor) with
261 $(+prectorT)/$(+postctorT).
262 (+prectorT): New macro.
263 (+postctorT): Likewise.
265 2012-09-06 Joseph Myers <joseph@codesourcery.com>
267 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
268 (round_str): Handle values above the maximum for IBM long double
270 * stdlib/tst-strtod-round.c (tests): Regenerated.
272 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
274 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
276 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
277 zarch_nohighgprs around the zarch optimized routines.
278 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
279 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
280 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
283 2012-09-05 David S. Miller <davem@davemloft.net>
285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
287 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
288 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
289 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
290 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
293 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
295 * malloc/arena.c: Fold copyright years.
296 * malloc/mcheck.c, malloc/memusage.c: Likewise.
298 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
300 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
302 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
304 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
306 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
308 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
309 change internal state upon failure.
311 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
313 * malloc/mcheck.c (mcheck_check_all): Fix typo.
314 * malloc/memusage.c (mmap): Likewise.
315 (mmap64, mremap): Likewise. Adjust name in comment.
317 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
319 * libio/fileops.c: Fix typos in comments.
320 * libio/oldfileops.c: Likewise.
321 * libio/wfileops.c: Likewise.
323 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
326 * malloc/Makefile (tests): Add tst-malloc-usable test case.
327 (tst-malloc-usable-ENV): Set environment for test case.
328 * malloc/hooks.c (malloc_check_get_size): New function to get
330 * malloc/malloc.c (musable): Use malloc_check_get_size.
331 * malloc/tst-malloc-usable.c: New test case.
333 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
335 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
337 2012-09-05 Allan McRae <allan@archlinux.org>
340 * configure.in (CXX_SYSINCLUDES): Use compiler output to
341 determine header location.
342 * configure: Regenerated.
344 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
346 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
348 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
349 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
353 2012-09-04 David S. Miller <davem@davemloft.net>
355 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
356 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
357 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
359 2012-09-04 Florian Weimer <fweimer@redhat.com>
361 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
364 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
366 2012-09-04 Joseph Myers <joseph@codesourcery.com>
369 * libio/iogetdelim.c: Include <limits.h>.
370 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
371 + len + 1 would overflow.
373 2012-09-03 Andreas Jaeger <aj@suse.de>
375 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
376 * sysdeps/i386/fpu/libm-test-ulps: Update.
378 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
380 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
381 Add s_sinf-sse2, s_conf-sse2.
383 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
384 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
385 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
386 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
388 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
389 for using routine as __sinf_ia32.
390 Use macro for function declaration and weak_alias.
391 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
392 for using routine as __cosf_ia32.
393 Use macro for function declaration and weak_alias.
395 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
396 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
398 * sysdeps/x86_64/fpu/s_sinf.S: New file.
399 * sysdeps/x86_64/fpu/s_cosf.S: New file.
400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
402 * math/libm-test.inc (cos_test): Add more test cases.
403 (sin_test): Likewise.
404 (sincos_test): Likewise.
406 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
408 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
409 (IFUNC_RESOLVE): Make pointers to the specialized implementations
411 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
413 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
416 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
417 first element of the GOT.
418 (elf_machine_load_address): Return the difference between
419 the runtime address of _DYNAMIC and elf_machine_dynamic ().
421 2012-09-01 Allan McRae <allan@archlinux.org>
424 * configure.in (AWK): Require gawk version 3.0 or later.
425 * configure: Regenerated.
427 2012-09-01 Joseph Myers <joseph@codesourcery.com>
429 * sysdeps/unix/sysv/linux/kernel-features.h
430 (__ASSUME_POSIX_CPU_TIMERS): Remove.
431 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
432 [__NR_clock_getres]: Make code unconditional.
433 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
434 (clock_getcpuclockid): Remove code left unreachable by removal of
436 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
438 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
439 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
440 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
441 Make code unconditional.
442 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
443 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
444 * sysdeps/unix/sysv/linux/clock_settime.c
445 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
447 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
448 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
450 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
453 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
454 scripts/test-installation.pl.
456 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
457 and $ld_so_version if it is set.
459 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
462 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
463 failure if reading from procfs failed.
464 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
466 2012-08-27 Joseph Myers <joseph@codesourcery.com>
468 * sysdeps/unix/sysv/linux/kernel-features.h
469 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
470 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
471 Remove conditional code.
472 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
473 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
474 Remove conditional code.
475 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
476 * sysdeps/unix/sysv/linux/i386/fxstat.c
477 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
478 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
479 * sysdeps/unix/sysv/linux/i386/fxstatat.c
480 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
481 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
482 * sysdeps/unix/sysv/linux/i386/lxstat.c
483 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
484 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
485 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
486 Remove conditional code.
487 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
488 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
489 Remove conditional code.
490 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
491 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
493 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
495 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
496 Remove conditional code.
497 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
498 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
501 2012-08-27 Mike Frysinger <vapier@gentoo.org>
504 * NEWS: Add fixed bug number.
506 2012-08-27 Joseph Myers <joseph@codesourcery.com>
509 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
510 underflowing exponent in case of negative sign.
511 * stdlib/tst-strtod-round-data: Add more tests.
512 * stdlib/tst-strtod-round.c (tests): Regenerated.
515 * stdlib/strtod_l.c (NDIG): Remove.
517 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
518 smallest representable value.
519 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
520 lie within an exact representation of 1/2 ulp of the result.
521 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
523 (TENS_P9_IDX): Define unconditionally.
524 (TENS_P9_SIZE): Likewise.
525 (TENS_P10_IDX): Likewise.
526 (TENS_P10_SIZE): Likewise.
527 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
528 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
529 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
530 entries for 10^2^13 and 10^2^14.
531 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
532 (TENS_P13_IDX): Define.
533 (TENS_P13_SIZE): Likewise.
534 (TENS_P14_IDX): Likewise.
535 (TENS_P14_SIZE): Likewise.
536 (_fpioconst_pow10): Change array size to
537 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
539 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
540 1024]: Add entries for 10^2^13 and 10^2^14.
541 [LAST_POW10 > _LAST_POW10]: Remove #error.
542 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
543 (_fpioconst_pow10): Change array size to
544 FPIOCONST_POW10_ARRAY_SIZE.
545 * stdlib/gen-fpioconst.c: New file.
546 * stdlib/gen-tst-strtod-round.c: Likewise.
547 * stdlib/tst-strtod-round-data: Likewise.
548 * stdlib/tst-strtod-round.c: Likewise.
549 * stdlib/Makefile (tests): Add tst-strtod-round.
552 * stdlib/strtod_l.c: Include <stdint.h>.
553 (NDEBUG): Do not define.
554 (round_and_return): Change EXPONENT parameter to type intmax_t.
555 Rearrange calculations to avoid internal overflow possibilities.
556 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
557 Rearrange calculations to avoid internal overflow possibilities.
558 Assert that number fits inside MPNSIZE limbs.
559 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
560 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
561 calculations and add assertions to avoid internal overflow
562 possibilities. Add casts to avoid signed/unsigned operations.
563 * stdlib/tst-strtod-overflow.c: New file.
564 * stdlib/Makefile (tests): Add tst-strtod-overflow.
566 2012-08-25 Marek Polacek <polacek@redhat.com>
568 * time/time.h: Fix some typos in comments.
570 2012-08-23 Roland McGrath <roland@hack.frob.com>
572 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
573 * posix/tst-rfc3484-2.c: Likewise.
574 * posix/tst-rfc3484-3.c: Likewise.
576 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
578 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
579 (EF_ARM_ABI_FLOAT_HARD): Likewise.
581 2012-08-23 Joseph Myers <joseph@codesourcery.com>
583 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
584 #include of fxstatat64.c.
586 2012-08-22 Roland McGrath <roland@hack.frob.com>
588 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
589 * shadow/getspent_r.c: Likewise.
590 * shadow/getspnam.c: Likewise.
591 * shadow/getspnam_r.c: Likewise.
592 * gshadow/getsgent.c: Likewise.
593 * gshadow/getsgent_r.c: Likewise.
594 * gshadow/getsgnam.c: Likewise.
595 * gshadow/getsgnam_r.c: Likewise.
596 * inet/getnetbyad.c: Likewise.
597 * inet/getnetbyad_r.c: Likewise.
598 * inet/getnetbynm.c: Likewise.
599 * inet/getnetbynm_r.c: Likewise.
600 * inet/getnetent.c: Likewise.
601 * inet/getnetent_r.c: Likewise.
602 * inet/getproto.c: Likewise.
603 * inet/getproto_r.c: Likewise.
604 * inet/getprtent.c: Likewise.
605 * inet/getprtent_r.c: Likewise.
606 * inet/getprtname.c: Likewise.
607 * inet/getprtname_r.c: Likewise.
608 * inet/getrpcbyname.c: Likewise.
609 * inet/getrpcbyname_r.c: Likewise.
610 * inet/getrpcbynumber.c: Likewise.
611 * inet/getrpcbynumber_r.c: Likewise.
612 * inet/getrpcent.c: Likewise.
613 * inet/getrpcent_r.c: Likewise.
614 * inet/getaliasent.c: Likewise.
615 * inet/getaliasent_r.c: Likewise.
616 * inet/getaliasname.c: Likewise.
617 * inet/getaliasname_r.c: Likewise.
618 * nscd/getgrgid_r.c: Likewise.
619 * nscd/getgrnam_r.c: Likewise.
620 * nscd/gethstbyad_r.c: Likewise.
621 * nscd/gethstbynm3_r.c: Likewise.
622 * nscd/getpwnam_r.c: Likewise.
623 * nscd/getpwuid_r.c: Likewise.
624 * nscd/getsrvbynm_r.c: Likewise.
625 * nscd/getsrvbypt_r.c: Likewise.
626 * nscd/gai.c: Likewise.
628 * configure.in (build_nscd): New substituted variable, set
629 by --disable-build-nscd and defaults to $use_nscd.
630 * configure: Regenerated.
631 * config.make.in (build-nscd): New substituted variable.
632 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
633 Change conditional to require [$(build-nscd) = yes] as well.
634 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
637 * configure.in (use_nscd): New substituted variable, set by
638 --disable-nscd. If enabled, define USE_NSCD.
639 * configure: Regenerated.
640 * config.h.in: Add USE_NSCD.
641 * config.make.in (use-nscd): New substituted variable.
642 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
643 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
644 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
645 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
646 (CFLAGS-getgrnam_r.c): Likewise.
647 (CFLAGS-initgroups.c): Likewise.
648 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
649 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
651 * inet/getnetgrent_r.c
652 (nscd_setnetgrent): New function, broken out of ...
653 (setnetgrent): ... here. Call it.
654 (innetgr): Conditionalize nscd bits on [USE_NSCD].
655 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
656 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
657 * nscd/Makefile (routines, aux): Move definitions after include of
658 Makeconfig. Conditionalize on [$(use-nscd) != no].
659 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
660 Conditionalize on [USE_NSCD].
661 (is_nscd, nscd_init_cb): Likewise.
662 (nss_load_library): Conditionalize init callback on [USE_NSCD].
663 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
664 * nss/nss_db/db-init.c: Likewise.
665 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
667 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
668 (make_request): Use it.
669 (cache_valid_p): New function.
670 (__check_pf): Use it.
671 * NEWS: Add item for --disable-nscd.
673 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
675 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
676 to support sed >= 4.2.1-20-ga9bf076.
677 * configure: Regenerated.
679 2012-08-22 Roland McGrath <roland@hack.frob.com>
681 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
682 Conditionalize whole body on [IREL].
684 2012-08-22 Jeff Law <law@redhat.com>
687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
688 if the family is PF_UNSPEC.
690 2012-08-22 Mike Frysinger <vapier@gentoo.org>
692 * Makerules (lib-version): Rename from V.
693 (install-lib-nosubdir): Change V to lib-version.
695 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
698 * powerpc32/power6/wcschr.c: New file.
699 * powerpc32/power6/wcscpy.c: New file.
700 * powerpc32/power6/wcsrchr.c: New file.
701 * powerpc64/power6/wcschr.c: New file.
702 * powerpc64/power6/wcscpy.c: New file.
703 * powerpc64/power6/wcsrchr.c: New file.
705 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
707 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
708 (two_way_short_needle): Use it.
709 * string/strstr.c (AVAILABLE1_USES_J): Define.
710 * string/strcasestr.c: Likewise.
712 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
714 * string/strcasestr.c (TOLOWER): Make side-effect safe.
717 * NEWS: Add an entry.
718 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
719 define their defaults.
720 (two_way_short_needle): Detect end-of-string on-the-fly.
721 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
722 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
723 * string/bug-strcasestr1.c: New test.
724 * string/Makefile: Run it.
726 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
729 * string/str-two-way.h (two_way_short_needle): Optimize matching of
732 2012-08-21 Roland McGrath <roland@hack.frob.com>
734 * csu/elf-init.c (__libc_csu_irel): Function removed.
735 * csu/libc-start.c (apply_irel): New function.
736 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
738 2012-08-21 Joseph Myers <joseph@codesourcery.com>
740 * sysdeps/unix/sysv/linux/kernel-features.h
741 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
742 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
744 [__NR_fadvise64_64]: Make code unconditional.
745 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
746 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
747 !__NR_fadvise64_64)]: Likewise.
748 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
749 !__NR_fadvise64_64))]: Likewise.
750 [__NR_fadvise64]: Make code unconditional.
751 [!__NR_fadvise64]: Remove conditional code.
752 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
754 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
756 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
759 not include <kernel-features.h>.
760 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
762 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
764 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
765 include <kernel-features.h>.
766 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
768 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
771 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
773 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
774 slight instruction rearrangements per scrollpipe analysis.
775 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
777 2012-08-20 Roland McGrath <roland@hack.frob.com>
779 * manual/syslog.texi (syslog; vsyslog, closelog):
780 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
781 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
783 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
784 DSOCAPS to match condition on defining it.
786 2012-08-20 Joseph Myers <joseph@codesourcery.com>
788 * sysdeps/unix/sysv/linux/kernel-features.h
789 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
791 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
792 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
794 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
795 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
797 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
798 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
800 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
801 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
803 * sysdeps/unix/sysv/linux/kernel-features.h
804 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
805 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
807 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
808 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
809 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
810 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
811 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
812 Make code unconditional.
813 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
814 (__mmap64) [!__NR_mmap2]: Likewise.
815 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
816 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
817 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
818 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
819 [__NR_mmap2]: Make code unconditional.
820 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
821 (__mmap64) [!__NR_mmap2]: Likewise.
823 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
825 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
827 2012-08-18 Andreas Jaeger <aj@suse.de>
829 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
831 2012-08-18 Mike Frysinger <vapier@gentoo.org>
833 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
834 * include/unistd.h (__have_sock_cloexec): Likewise.
835 (__have_pipe2): Likewise.
836 (__have_dup3): Likewise.
838 2012-08-18 Mike Frysinger <vapier@gentoo.org>
841 * include/unistd.h (__have_pipe2): Change define into an extern int.
842 (__have_dup3): Likewise.
843 * socket/have_sock_cloexec.c: Include fcntl.h.
844 (__have_pipe2): New variable.
845 (__have_dup3): Likewise.
847 2012-08-17 Mike Frysinger <vapier@gentoo.org>
849 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
851 2012-08-17 Marek Polacek <polacek@redhat.com>
853 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
854 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
856 2012-08-17 Roland McGrath <roland@hack.frob.com>
858 * configure.in: Add AC_SUBST for sysheaders.
859 * configure: Regenerated.
860 * config.make.in (sysheaders): New substituted variable.
862 * sysdeps/unix/mkfifo.c: Moved ...
863 * sysdeps/posix/mkfifo.c: ... here.
864 * sysdeps/unix/mkfifoat.c: Moved ...
865 * sysdeps/posix/mkfifoat.c: ... here.
867 * sysdeps/unix/utime.c: Moved ...
868 * sysdeps/posix/utime.c: ... here.
870 * sysdeps/unix/time.c: Moved ...
871 * sysdeps/posix/time.c: ... here.
872 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
873 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
875 * sysdeps/unix/nice.c: Moved ...
876 * sysdeps/posix/nice.c: ... here.
878 * sysdeps/unix/alarm.c: Moved ...
879 * sysdeps/posix/alarm.c: ... here.
881 * intl/Makefile ($(codeset_mo)): Depend on the input file.
883 2012-08-17 Jeff Law <law@redhat.com>
885 * intl/Makefile (codeset_mo): New variable.
886 ($(codeset_mo)): New target.
887 (tst-codeset.out): Depend on that. Remove explicit rule.
888 (tst-gettext3.out, tst-gettext5.out): Likewise.
889 (LOCPATH-ENV, tst-codeset-ENV): New variables.
890 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
891 * intl/tst-codeset.sh: Remove.
892 * intl/tst-gettext3.sh: Likewise.
893 * intl/tst-gettext5.sh: Likewise.
895 2012-08-17 Roland McGrath <roland@hack.frob.com>
897 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
898 * sysdeps/unix/syscalls.list: ... here.
900 * sysdeps/posix/getaddrinfo.c
901 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
902 (gaiconf_init, gaiconf_reload): Use them.
904 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
905 Define using time_t rather than struct timespec.
907 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
908 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
910 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
912 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
913 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
916 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
917 __libc_cleanup_push argument.
919 * bits/param.h: New file.
920 * misc/sys/param.h: New file.
921 * include/sys/param.h: New file.
922 * misc/Makefile (headers): Add bits/param.h.
923 * sysdeps/generic/sys/param.h: File removed.
924 * sysdeps/unix/sysv/linux/bits/param.h: New file.
925 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
926 * sysdeps/mach/hurd/bits/param.h: New file.
927 * sysdeps/mach/hurd/sys/param.h: New file.
929 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
932 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
934 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
935 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
938 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
939 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
940 rather than -D_IO_MTSAFE_IO conditionally.
941 * stdio-common/Makefile (CPPFLAGS): Likewise.
942 * wcsmbs/Makefile (CPPFLAGS): Likewise.
943 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
945 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
947 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
948 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
949 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
950 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
951 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
952 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
953 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
954 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
955 (CFLAGS-fread_u_chk.c): Likewise.
956 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
957 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
958 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
959 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
960 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
961 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
962 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
963 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
964 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
966 * libio/Makefile: Test [$(libc-reentrant) = yes]
967 instead of [$(filter %REENTRANT, $(defines)) nonempty].
970 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
971 * sysdeps/pthread/configure: File removed.
972 * sysdeps/pthread/Makeconfig: New file.
973 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
974 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
976 2012-08-16 Gary Benson <gbenson@redhat.com>
978 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
979 unmapping the first object in a namespace.
981 2012-08-16 Roland McGrath <roland@hack.frob.com>
983 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
984 (__internal_setnetgrent): ... this. Add internal_function to
985 definition. Add libc_hidden_def.
986 (setnetgrent): Update caller.
987 (internal_endnetgrent): Renamed to ...
988 (__internal_endnetgrent): ... this. Add internal_function to
989 definition. Add libc_hidden_def.
990 (endnetgrent): Update caller.
991 (internal_getnetgrent_r): Renamed to ...
992 (__internal_getnetgrent_r): ... this. Add internal_function to
993 definition. Add libc_hidden_def.
994 (__getnetgrent_r): Update caller.
995 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
997 2012-08-16 Joseph Myers <joseph@codesourcery.com>
999 * stdlib/longlong.h: Update from GCC.
1001 2012-08-16 Roland McGrath <roland@hack.frob.com>
1003 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1004 on _QL, which is set by umul_ppmm but never used.
1005 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1006 variables, which are set by GMP macros but never used.
1007 * stdio-common/_itowa.c (_itowa): Likewise.
1008 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1009 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1011 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1013 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1014 struct La_sh_regs is not constant.
1015 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1016 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1017 and struct La_sparc64_regs are not constant.
1019 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1021 * sysdeps/unix/sysv/linux/kernel-features.h
1022 (__ASSUME_POSIX_TIMERS): Remove.
1023 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1024 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1025 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1026 Make code unconditional.
1027 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1028 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1029 Make code unconditional.
1030 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1031 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1032 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1033 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1034 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1035 Make code unconditional.
1036 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1037 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1038 (__libc_missing_posix_timers): Remove.
1040 2012-08-15 Roland McGrath <roland@hack.frob.com>
1042 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1043 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1045 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1047 * elf/dl-sym.c: Include <stdlib.h>.
1049 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1050 constants, which avoids warnings in 32-bit builds.
1052 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1053 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1055 * misc/lseek.c: File moved to ...
1056 * io/lseek.c: ... here.
1058 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1060 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1061 shifting LEN more than 31 bits at once.
1063 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1066 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1067 segmentation fault for a case of two empty input strings.
1068 * string/test-strncasecmp.c (check1): Renamed to...
1070 (bz14195): Add new testcase for two empty input strings and N > 0.
1071 (test_main): Call new testcase, adapt for renamed function.
1073 2012-08-15 Andreas Jaeger <aj@suse.de>
1076 * crypt/md5test2.c: New test, based on test supplied by Serge
1077 Belyshev <belyshev@depni.sinp.msu.ru>.
1078 * crypt/Makefile (xtests): Add md5test-giant..
1079 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1081 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1084 * crypt/md5.c (md5_process_block): Don't assume the buffer
1085 length is less than 2**32.
1086 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1087 length is less than 2**64.
1089 2012-08-15 Roland McGrath <roland@hack.frob.com>
1091 * string/str-two-way.h: Include <sys/param.h>.
1092 (MAX): Macro removed.
1094 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1095 Move #define and #undef of memmove to just before and after
1096 including <string.h>.
1098 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1099 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1100 and after including <string.h>. Move declarations of
1101 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1102 to before #include "string/memmove.c".
1104 * include/dirent.h: Declare __getdirentries.
1106 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1107 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1109 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1111 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1112 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1113 * sysdeps/i386/configure: Regenerated.
1114 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1115 STABS_CURRENT_FILE, and STABS_FUN.
1116 (END): Remove call to STABS_FUN_END.
1117 (STABS_CURRENT_FILE1): Delete.
1118 (STABS_CURRENT_FILE): Likewise.
1119 (STABS_FUN): Likewise.
1120 (STABS_FUN_END): Likewise.
1121 (STABS_FUN2): Likewise.
1122 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1123 * sysdeps/x86_64/configure: Regenerated.
1125 2012-08-14 Roland McGrath <roland@hack.frob.com>
1127 * elf/dl-open.c: Include <atomic.h>.
1128 * elf/dl-lookup.c: Likewise.
1130 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1132 * sysdeps/unix/sysv/linux/kernel-features.h
1133 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1134 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1136 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1138 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1139 condition on __ASSUME_CLONE_THREAD_FLAGS.
1141 2012-08-14 Andreas Jaeger <aj@suse.de>
1143 * sysdeps/i386/fpu/libm-test-ulps: Update.
1145 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1147 * include/atomic.h (atomic_exchange_and_add): Split into ...
1148 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1151 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1155 2012-08-13 Jeff Law <law@redhat.com>
1157 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1158 null byte in the output string.
1160 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1162 * sysdeps/unix/sysv/linux/kernel-features.h
1163 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1164 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1165 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1166 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1167 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1168 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1169 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1171 2012-08-09 Jeff Law <law@redhat.com>
1174 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1175 When avoid_arena is set, don't retry in the that arena. Pick the
1176 next one, whatever it might be.
1177 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1178 (arena_lock): Pass in new parameter to arena_get2.
1179 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1181 (__libc_malloc): Unify retrying after main arena failure with
1182 __libc_memalign version.
1183 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1185 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1188 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1189 to __redirect_strstr.
1190 (__strstr_sse42): Use typeof __redirect_strstr.
1191 (__strstr_ia32): Likewise.
1192 (__libc_strstr): New prototype.
1193 (strstr): Renamed to ...
1194 (__libc_strstr): This.
1195 (strstr): New strong alias of __libc_strstr.
1196 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1197 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1200 (__libc_time): New prototype.
1201 (time_ifunc): Replace time with __libc_time.
1202 (time): New strong alias and hidden definition of __libc_time.
1203 (__GI_time): Remove strong alias.
1204 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1206 (memmove): Redefined to __redirect_memmove.
1207 (__memmove_sse2): Use typeof __redirect_memmove.
1208 (__memmove_ssse3): Likewise.
1209 (__memmove_ssse3_back): Likewise.
1210 (__libc_memmove): New prototype.
1211 (memmove): Renamed to ...
1212 (__libc_memmove): This.
1213 (memmove): New strong alias of __libc_memmove.
1215 2012-08-08 Mark Salter <msalter@redhat.com>
1218 (R_MN10300_TLS_GD): Define.
1219 (R_MN10300_TLS_LD): Likewise.
1220 (R_MN10300_TLS_LDO): Likewise.
1221 (R_MN10300_TLS_GOTIE): Likewise.
1222 (R_MN10300_TLS_IE): Likewise.
1223 (R_MN10300_TLS_LE): Likewise.
1224 (R_MN10300_TLS_DTPMOD): Likewise.
1225 (R_MN10300_TLS_DTPOFF): Likewise.
1226 (R_MN10300_TLS_TPOFF): Likewise.
1227 (R_MN10300_SYM_DIFF): Likewise.
1228 (R_MN10300_ALIGN): Likewise.
1229 (R_MN10300_NUM): Update.
1231 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1233 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1236 2012-08-08 Roland McGrath <roland@hack.frob.com>
1238 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1240 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1241 sysdeps/unix -> sysdeps/posix move.
1242 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1244 2012-08-07 Allan McRae <allan@archlinux.org>
1247 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1248 (SUNOS_CPP): Likewise.
1249 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1251 (open_input): Call CPP using execvp.
1253 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1255 * sysdeps/unix/sysv/linux/kernel-features.h
1256 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1257 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1258 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1259 (__ASSUME_WAITID_SYSCALL): Likewise.
1260 * sysdeps/unix/sysv/linux/dl-execstack.c
1261 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1263 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1265 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1266 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1267 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1269 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1271 [__ASSUME_WAITID_SYSCALL]: Likewise.
1272 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1274 2012-08-07 Roland McGrath <roland@hack.frob.com>
1276 * sysdeps/unix/closedir.c: Renamed to ...
1277 * sysdeps/posix/closedir.c: ... here.
1278 * sysdeps/unix/dirfd.c: Renamed to ...
1279 * sysdeps/posix/dirfd.c: ... here.
1280 * sysdeps/unix/dirstream.h: Renamed to ...
1281 * sysdeps/posix/dirstream.h: ... here.
1282 * sysdeps/unix/fdopendir.c: Renamed to ...
1283 * sysdeps/posix/fdopendir.c: ... here.
1284 * sysdeps/unix/opendir.c: Renamed to ...
1285 * sysdeps/posix/opendir.c: ... here.
1286 * sysdeps/unix/readdir.c: Renamed to ...
1287 * sysdeps/posix/readdir.c: ... here.
1288 * sysdeps/unix/readdir_r.c: Renamed to ...
1289 * sysdeps/posix/readdir_r.c: ... here.
1290 * sysdeps/unix/rewinddir.c: Renamed to ...
1291 * sysdeps/posix/rewinddir.c: ... here.
1292 * sysdeps/unix/seekdir.c: Renamed to ...
1293 * sysdeps/posix/seekdir.c: ... here.
1294 * sysdeps/unix/telldir.c: Renamed to ...
1295 * sysdeps/posix/telldir.c: ... here.
1296 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1297 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1298 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1299 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1301 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1302 * bits/fcntl.h: ... here.
1304 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1306 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1307 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1308 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1309 (struct flock): Move l_start, l_len to the beginning.
1310 Use __pid_t for l_pid.
1311 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1312 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1313 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1314 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1315 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1316 [__USE_LARGEFILE64] (struct flock64): New type.
1317 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1319 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1320 * bits/dirent.h: ... here.
1322 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1323 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1325 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1327 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1328 Change from 2.6.0 to 2.6.16.
1329 * sysdeps/unix/sysv/linux/configure: Regenerated.
1330 * sysdeps/unix/sysv/linux/kernel-features.h
1331 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1332 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1334 (__ASSUME_UTIMES): Likewise.
1335 (__ASSUME_CLONE_STOPPED): Remove.
1336 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1337 architectures, not kernel version.
1338 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1339 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1340 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1341 (__ASSUME_WAITID_SYSCALL): Likewise.
1342 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1343 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1344 * README: State 2.6.16 as minimum Linux kernel version. Do not
1345 refer to older versions.
1347 2012-08-06 Roland McGrath <roland@hack.frob.com>
1349 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1350 Define alphasort64 as an alias.
1351 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1352 Define versionsort64 as an alias.
1353 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1354 Define scandir64 as an alias.
1355 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1356 Define scandirat64 as an alias.
1357 * dirent/alphasort64.c (alphasort64):
1358 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1359 * dirent/versionsort64.c: Likewise.
1360 * dirent/scandir64.c: Likewise.
1361 * dirent/scandirat64.c: Likewise.
1362 * sysdeps/wordsize-64/alphasort.c: File removed.
1363 * sysdeps/wordsize-64/alphasort64.c: File removed.
1364 * sysdeps/wordsize-64/scandir.c: File removed.
1365 * sysdeps/wordsize-64/scandir64.c: File removed.
1366 * sysdeps/wordsize-64/scandirat.c: File removed.
1367 * sysdeps/wordsize-64/scandirat64.c: File removed.
1368 * sysdeps/wordsize-64/versionsort.c: File removed.
1369 * sysdeps/wordsize-64/versionsort64.c: File removed.
1370 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1371 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1372 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1373 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1374 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1375 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1376 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1377 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1379 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1380 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1381 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1382 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1383 [defined __arch64__ || defined __sparcv9]
1384 (__INO_T_MATCHES_INO64_T): New macro.
1385 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1386 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1387 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1388 * sysdeps/unix/sysv/linux/bits/dirent.h
1389 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1390 (_DIRENT_MATCHES_DIRENT64): New macro.
1392 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1393 Define lockf64 as an alias.
1394 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1395 Define fseeko64 as an alias.
1396 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1397 Define ftello64 as an alias.
1398 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1399 Define _IO_fgetpos64 and fgetpos64 as aliases.
1400 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1401 Define _IO_fsetpos64 and fsetpos64 as aliases.
1402 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1403 Conditionalize body on this.
1404 * libio/fseeko64.c: Likewise.
1405 * libio/ftello64.c: Likewise.
1406 * libio/iofgetpos64.c: Likewise.
1407 * libio/iofsetpos64.c: Likewise.
1408 * sysdeps/wordsize-64/lockf.c: File removed.
1409 * sysdeps/wordsize-64/lockf64.c: File removed.
1410 * sysdeps/wordsize-64/fseeko.c: File removed.
1411 * sysdeps/wordsize-64/fseeko64.c: File removed.
1412 * sysdeps/wordsize-64/ftello.c: File removed.
1413 * sysdeps/wordsize-64/ftello64.c: File removed.
1414 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1415 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1416 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1417 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1418 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1419 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1420 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1421 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1422 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1423 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1424 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1425 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1426 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1427 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1429 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1431 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1432 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1433 [defined __arch64__ || defined __sparcv9]
1434 (__OFF_T_MATCHES_OFF64_T): New macro.
1435 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1436 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1437 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1438 (__OFF_T_MATCHES_OFF64_T): New macro.
1440 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1442 * stdlib/secure-getenv.c (__secure_getenv): Replace
1443 GLIBC_2_16 with GLIBC_2_17.
1445 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1447 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1448 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1450 2012-08-03 David S. Miller <davem@davemloft.net>
1452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1454 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1456 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1458 (__ASSUME_CORRECT_SI_PID): Likewise.
1459 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1460 (__ASSUME_TMPFS_NAME): Likewise.
1461 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1462 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1463 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1464 (HAVE_AUX_SECURE): Make definition unconditional.
1465 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1466 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1468 2012-08-03 Roland McGrath <roland@hack.frob.com>
1470 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1471 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1472 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1473 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1474 __eloop_threshold instead of SYMLOOP_MAX.
1476 * sysdeps/generic/eloop-threshold.h: New file.
1477 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1479 * elf/chroot_canon.c (chroot_canon): Likewise.
1481 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1484 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1485 Change to 2.6.0 everywhere.
1486 * sysdeps/unix/sysv/linux/configure: Regenerated.
1487 * sysdeps/unix/sysv/linux/kernel-features.h
1488 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1489 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1491 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1492 (__ASSUME_FUTEX_REQUEUE): Remove.
1493 (__ASSUME_STATFS64): Define unconditionally.
1494 (__ASSUME_AT_SECURE): Likewise.
1495 (__ASSUME_CORRECT_SI_PID): Likewise.
1496 (__ASSUME_TGKILL): Define without depending on kernel version for
1498 (__ASSUME_UTIMES): Likewise.
1499 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1501 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1502 (__ASSUME_TMPFS_NAME): Likewise.
1503 * README: Update reference to Linux kernel versions.
1505 2012-08-02 Marek Polacek <polacek@redhat.com>
1508 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1509 libc_cv_asm_type_prefix with %.
1510 * configure: Regenerated.
1511 * include/libc-symbols.h: Remove comment about
1512 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1513 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1514 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1515 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1516 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1517 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1518 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1519 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1520 * elf/tst-unique2mod1.c: Likewise.
1521 * elf/tst-unique1mod2.c: Likewise.
1522 * elf/tst-unique1mod1.c: Likewise.
1523 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1524 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1525 Replace ASM_TYPE_DIRECTIVE with .type.
1526 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1527 * sysdeps/i386/sysdep.h: Likewise.
1528 * sysdeps/x86_64/sysdep.h: Likewise.
1529 * sysdeps/sh/sysdep.h: Likewise.
1530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1531 Do not define ASM_TYPE_DIRECTIVE.
1532 * sysdeps/powerpc/sysdep.h: Likewise.
1533 * sysdeps/powerpc/powerpc32/sysdep.h:
1534 Replace ASM_TYPE_DIRECTIVE with .type.
1535 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1536 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1537 * sysdeps/i386/fpu/e_powf.S: Likewise.
1538 * sysdeps/i386/fpu/e_expl.S: Likewise.
1539 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1540 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1541 * sysdeps/i386/fpu/e_pow.S: Likewise.
1542 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1543 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1544 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1545 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1546 * sysdeps/i386/fpu/e_log2.S: Likewise.
1547 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1548 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1549 * sysdeps/i386/fpu/e_powl.S: Likewise.
1550 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1551 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1552 * sysdeps/i386/fpu/e_logl.S: Likewise.
1553 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1554 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1555 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1556 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1557 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1558 * sysdeps/i386/fpu/e_log.S: Likewise.
1559 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1560 * sysdeps/i386/fpu/e_logf.S: Likewise.
1561 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1562 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1563 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1564 * sysdeps/i386/fpu/e_log10.S: Likewise.
1565 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1566 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1567 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1568 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1569 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1570 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1571 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1572 * sysdeps/i386/i686/strtok.S: Likewise.
1573 * sysdeps/i386/i386-mcount.S: Likewise.
1574 * sysdeps/i386/strtok.S: Likewise.
1575 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1576 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1577 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1578 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1579 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1580 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1581 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1582 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1583 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1584 * sysdeps/x86_64/_mcount.S: Likewise.
1585 * sysdeps/x86_64/strtok.S: Likewise.
1586 * sysdeps/sh/_mcount.S: Likewise.
1588 2012-08-01 Roland McGrath <roland@hack.frob.com>
1590 * libio/iofopen.c: Include <fcntl.h>.
1591 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1592 (_IO_fopen64, fopen64): Define as aliases.
1593 * libio/iofopen64.c: Include <fcntl.h>.
1594 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1595 Conditionalize body on this.
1596 * sysdeps/wordsize-64/iofopen.c: File removed.
1597 * sysdeps/wordsize-64/iofopen64.c: File removed.
1599 2012-08-01 Marek Polacek <polacek@redhat.com>
1601 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1602 Use dlfcn directly instead of a variable.
1603 (binfmt-subdir): Do not define.
1606 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1608 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1609 Remove all definitions.
1610 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1611 <kernel-features.h>.
1612 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1613 (miss_F_GETOWN_EX): Remove all definitions.
1614 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1616 [!__ASSUME_FCNTL64]: Remove conditional code.
1617 [__ASSUME_FCNTL64]: Make code unconditional.
1618 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1619 <kernel-features.h>.
1620 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1621 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1622 (lockf64) [__NR_fcntl64]: Make code unconditional.
1623 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1625 * sysdeps/unix/sysv/linux/kernel-features.h
1626 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1627 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1628 Make code unconditional.
1629 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1630 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1632 [__NR_vfork]: Make code unconditional.
1633 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1634 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1636 [__NR_vfork]: Make code unconditional.
1637 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1638 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1640 2012-08-01 Roland McGrath <roland@hack.frob.com>
1642 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1643 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1645 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1646 Define mkstemp64 as an alias.
1647 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1648 Define mkstemps64 as an alias.
1649 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1650 Define mkostemp64 as an alias.
1651 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1652 Define mkostemps64 as an alias.
1653 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1654 Conditionalize body on this.
1655 * misc/mkostemp64.c: Likewise.
1656 * misc/mkostemps64.c: Likewise.
1657 * misc/mkstemps64.c: Likewise.
1658 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1659 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1660 * sysdeps/wordsize-64/mkostemp.c: File removed.
1661 * sysdeps/wordsize-64/mkstemp.c: File removed.
1662 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1663 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1664 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1665 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1668 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1669 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1670 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1671 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1673 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1674 compat_symbol macros from <shlib-compat.h> rather than the underlying
1675 default_symbol_version and symbol_version macros, so that DEFAULT
1676 lines in shlib-versions are respected.
1677 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1679 2012-08-01 Florian Weimer <fweimer@redhat.com>
1681 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1682 Declare with warn_unused_result.
1683 (setgid, setregid, setegid, setresgid): Likewise.
1684 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1686 * WUR-REPORT: Remove set*id functions.
1688 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1690 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1692 2012-07-31 Roland McGrath <roland@hack.frob.com>
1694 * include/sys/socket.h (__libc_accept, __libc_accept4):
1695 Add attribute_hidden.
1696 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1698 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1700 * inet/getnetgrent_r.c (setup): Likewise.
1702 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1704 2012-07-31 David S. Miller <davem@davemloft.net>
1706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1708 2012-07-31 Joseph Myers <joseph@codesourcery.com>
1711 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1712 value between 1.0 and 2.0 and smaller part has absolute value less
1714 * math/s_clog10.c (__clog10): Likewise.
1715 * math/s_clog10f.c (__clog10f): Likewise.
1716 * math/s_clog10l.c (__clog10l): Likewise.
1717 * math/s_clogf.c (__clogf): Likewise.
1718 * math/s_clogl.c (__clogl): Likewise.
1719 * math/libm-test.inc (clog_test): Add more tests.
1720 (clog10_test): Likewise.
1721 * sysdeps/i386/fpu/libm-test-ulps: Update.
1722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1724 2012-07-31 Florian Weimer <fweimer@redhat.com>
1726 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1727 Exit with zero in case no suitable GID is found, and write a
1728 message to standard error.
1730 2012-07-30 Roland McGrath <roland@hack.frob.com>
1732 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1734 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1735 (MAXPATHLEN): Removed.
1736 (NOGROUP, NODEV): New macros.
1737 (setbit, clrbit, isset, isclr): New macros.
1738 (howmany, roundup, powerof2): New macros.
1739 (DEV_BSIZE): New macro.
1741 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1742 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1744 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1745 definition on [!__NO_LONG_DOUBLE_MATH].
1747 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1748 PTR_MANGLE and PTR_DEMANGLE.
1750 * socket/accept4.c (accept4): Rename to __libc_accept4.
1751 Define accept4 as a weak alias.
1753 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1754 on [_DIRENT_HAVE_D_TYPE].
1755 * io/ftw.c (ftw_dir): Likewise.
1757 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1759 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1761 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1762 Use the BSD numbers rather than the arbitrary ones we had.
1763 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1764 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1765 (SIGXCPU, SIGXFSZ): New macros.
1768 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1769 initializer on [_LIBC_REENTRANT].
1771 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1772 definitions inside [_POSIX_MAPPED_FILES].
1774 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1776 * dirent/opendir.c: Include <fcntl.h>.
1778 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1779 (__libc_getspecific): Likewise.
1780 (__libc_key_create): Likewise.
1782 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1783 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1784 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1785 (tmpfile64): Define as alias.
1786 * sysdeps/wordsize-64/tmpfile.c: File removed.
1787 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1788 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1789 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1791 * stdio-common/vfscanf.c: Include <stdbool.h>.
1792 * nss/makedb.c: Likewise.
1793 * stdio-common/_i18n_number.h: Likewise.
1794 * argp/argp-help.c: Likewise.
1795 * posix/wordexp.c: Likewise.
1796 * sysdeps/posix/spawni.c: Likewise.
1797 * nss/nss_files/files-initgroups.c: Likewise.
1798 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1799 * nss/nss_files/files-initgroups.c: Likewise.
1800 * nss/nss_db/db-netgrp.c: Likewise.
1801 * nss/nss_db/db-initgroups.c: Likewise.
1802 * io/fchmodat.c: Include <sys/stat.h>.
1804 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1805 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1807 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1810 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1811 Add multiple inclusion protection.
1813 2012-07-27 David S. Miller <davem@davemloft.net>
1815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1817 2012-07-27 Gary Benson <gbenson@redhat.com>
1820 * elf/rtld.c: Include <stap-probe.h>.
1821 (dl_main): Added static probes "init_start" and "init_complete".
1822 * elf/dl-load.c: Include <stap-probe.h>.
1823 (lose): Take new parameter "nsid".
1824 Added static probe "map_failed".
1825 (_dl_map_object_from_fd): Pass namespace id to lose.
1826 Added static probe "map_start".
1827 (open_verify): Pass namespace id to lose.
1828 * elf/dl-open.c: Include <stap-probe.h>.
1829 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1830 and "reloc_complete".
1831 * elf/dl-close.c: Include <stap-probe.h>.
1832 (_dl_close_worker): Added static probes "unmap_start" and
1834 * elf/rtld-debugger-interface.txt: New file documenting the above.
1836 2012-07-26 Roland McGrath <roland@hack.frob.com>
1838 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1839 rather than a string variable.
1840 * sunrpc/rpc_main.c (h_output): Likewise.
1841 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1843 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1845 * inet/check_native.c: New file.
1847 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1850 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1851 if larger part has absolute value 1.0.
1852 * math/s_clog10.c (__clog10): Likewise.
1853 * math/s_clog10f.c (__clog10f): Likewise.
1854 * math/s_clog10l.c (__clog10l): Likewise.
1855 * math/s_clogf.c (__clogf): Likewise.
1856 * math/s_clogl.c (__clogl): Likewise.
1857 * math/libm-test.inc (clog_test): Add more tests.
1858 (clog10_test): Likewise.
1859 * sysdeps/i386/fpu/libm-test-ulps: Update.
1860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1862 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1863 (pltexit): Likewise.
1864 (La_regs): Likewise.
1865 (La_retval): Likewise.
1866 (int_retval): Likewise.
1867 Update #error for removed macros to refer only to definitions in
1869 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1871 (pltexit): Likewise.
1872 (La_regs): Likewise.
1873 (La_retval): Likewise.
1874 (int_retval): Likewise.
1875 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1877 (pltexit): Likewise.
1878 (La_regs): Likewise.
1879 (La_retval): Likewise.
1880 (int_retval): Likewise.
1881 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1883 (pltexit): Likewise.
1884 (La_regs): Likewise.
1885 (La_retval): Likewise.
1886 (int_retval): Likewise.
1887 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1889 (pltexit): Likewise.
1890 (La_regs): Likewise.
1891 (La_retval): Likewise.
1892 (int_retval): Likewise.
1893 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1895 (pltexit): Likewise.
1896 (La_regs): Likewise.
1897 (La_retval): Likewise.
1898 (int_retval): Likewise.
1899 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1901 (pltexit): Likewise.
1902 (La_regs): Likewise.
1903 (La_retval): Likewise.
1904 (int_retval): Likewise.
1905 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1906 macro definitions in tst-audit.h.
1907 * sysdeps/i386/tst-audit.h: New file.
1908 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1909 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1910 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1911 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1912 * sysdeps/sh/tst-audit.h: Likewise.
1913 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1914 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1915 * sysdeps/x86_64/tst-audit.h: Likewise.
1917 2012-07-26 Andreas Jaeger <aj@suse.de>
1919 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1922 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1923 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1924 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1926 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1927 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1928 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1930 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1933 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1935 (si_call_addr, si_syscall, si_arch): Define new macro.
1936 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1938 (si_call_addr, si_syscall, si_arch): Define new marcro.
1939 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1941 (si_call_addr, si_syscall, si_arch): Define new macro.
1942 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1944 (si_call_addr, si_syscall, si_arch): Define new macro.
1946 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1949 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1950 Change to 2.4.21 where previously 2.4.1.
1951 * sysdeps/unix/sysv/linux/configure: Regenerated.
1952 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1953 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1954 Linux kernel version.
1955 (__ASSUME_STD_AUXV): Remove.
1956 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1958 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1959 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1960 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1961 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1962 (__ASSUME_NETLINK_SUPPORT): Likewise.
1963 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1964 (__no_netlink_support): Remove conditional definition.
1965 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1967 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1968 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1969 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1970 (if_nameindex_ioctl): Remove.
1971 (if_nameindex_netlink): Do not handle __no_netlink_support.
1972 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1974 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1975 Remove conditional code.
1976 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1978 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1980 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1981 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1982 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1984 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1985 [!__ASSUME_STD_AUXV]: Remove conditional code.
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1987 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1988 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1990 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1991 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1993 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1995 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1996 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1998 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2000 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2003 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2006 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2008 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2010 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2012 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2015 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2017 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2020 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2022 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2024 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2026 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2029 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2031 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2033 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2035 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2038 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2040 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2041 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2042 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2043 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2044 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2045 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2046 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2047 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2048 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2049 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2050 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2051 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2052 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2053 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2054 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2055 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2056 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2057 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2058 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2060 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2061 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2062 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2064 2012-07-25 Florian Weimer <fweimer@redhat.com>
2066 * Versions.def: Add GLIBC_2.17.
2067 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2068 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2069 Introduce __libc_secure_getenv.
2070 * stdlib/Versions (2.17): Add secure_getenv
2071 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2072 * stdlib/secure-getenv.c: Rename __secure_getenv to
2073 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2074 symbol __secure_getenv for GLIBC_2.0.
2075 * stdlib/tst-secure-getenv.c: New.
2076 * stdlib/Makefile (tests): Add testcase.
2077 * manual/startup.texi (Environment Access): Document
2079 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2080 __libc_secure_getenv.
2081 * inet/ruserpass.c (ruserpass): Likewise.
2082 * malloc/mtrace.c (mtrace): Likewise.
2083 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2084 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2085 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2086 * sysdeps/posix/tempname.c: Likewise. Evaluate
2088 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2089 __secure_getenv to __libc_secure_getenv.
2090 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2097 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2103 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2105 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2106 (struct La_i86_retval): Likewise.
2107 (struct La_x86_64_regs): Likewise.
2108 (struct La_x86_64_retval): Likewise.
2109 (struct La_x32_regs): Likewise.
2110 (struct La_x32_retval): Likewise.
2111 (struct La_ppc32_regs): Likewise.
2112 (struct La_ppc32_retval): Likewise.
2113 (struct La_ppc64_regs): Likewise.
2114 (struct La_ppc64_retval): Likewise.
2115 (struct La_sh_regs): Likewise.
2116 (struct La_sh_retval): Likewise.
2117 (struct La_s390_32_regs): Likewise.
2118 (struct La_s390_32_retval): Likewise.
2119 (struct La_s390_64_regs): Likewise.
2120 (struct La_s390_64_retval): Likewise.
2121 (struct La_sparc32_regs): Likewise.
2122 (struct La_sparc32_retval): Likewise.
2123 (struct La_sparc64_regs): Likewise.
2124 (struct La_sparc64_retval): Likewise.
2125 (struct audit_ifaces): Remove architecture-specific pltenter and
2127 * sysdeps/i386/ldsodefs.h: New file.
2128 * sysdeps/powerpc/ldsodefs.h: Likewise.
2129 * sysdeps/s390/ldsodefs.h: Likewise.
2130 * sysdeps/sh/ldsodefs.h: Likewise.
2131 * sysdeps/sparc/ldsodefs.h: Likewise.
2132 * sysdeps/x86_64/ldsodefs.h: Likewise.
2134 2012-07-25 Marek Polacek <polacek@redhat.com>
2137 * math/libm-test.inc (yn_test): Add another test.
2138 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2139 to ERANGE when the result is +-Inf.
2140 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2141 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2142 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2143 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2145 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2147 * conform/data/time.h-data (NULL): Use macro-constant. Require
2149 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2151 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2153 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2155 * configure.in <sysdeps resolving>: Correct printing
2157 * configure: Regenerate.
2159 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2161 * math/w_ilogb.c: Include <limits.h>.
2162 * math/w_ilogbl.c: Likewise.
2164 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2166 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2167 va_copy. Document allowing for unavailable va_copy only as
2168 pre-C99 compatibility.
2169 * manual/string.texi (Copying and Concatenation): Use va_copy
2170 instead of __va_copy in concat example.
2172 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2174 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2175 (__sendto): Use create_address_port. Initialize APORT and deallocate
2178 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2179 with O_NOLINK passed to __file_name_lookup.
2181 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2182 with O_NOLINK passed to __file_name_lookup.
2184 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2185 negative N or less than NGIDS.
2187 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2188 type to string_t. Set ERANGE as errno and return it if NAME is not big
2189 enough. Use memcpy instead of strncpy.
2191 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2193 * elf/Makefile (check-data): Remove.
2194 (localplt.data): New vpath directive.
2195 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2196 instead of $(check-data).
2197 * scripts/data/localplt-generic.data: Move to ...
2198 * sysdeps/generic/localplt.data: ... here.
2199 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2200 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2201 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2204 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2207 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2210 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2213 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2216 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2220 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2222 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2223 PPC32 and PPC64 files.
2224 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2225 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2227 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2229 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2230 __makecontext_ret to ...
2231 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2232 ... here and call exit if uc_link is NULL. New file.
2233 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2234 __makecontext_ret.S.
2235 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2236 __makecontext_ret to ...
2237 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2238 ... here and call exit if uc_link is NULL. New file.
2239 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2240 __makecontext_ret.S.
2242 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2244 * elf/elf.h (R_390_IRELATIVE): New definition.
2245 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2246 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2247 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2248 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2249 (elf_machine_lazy_rel): Likewise.
2250 * sysdeps/s390/dl-irel.h: New file.
2251 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2252 * sysdeps/s390/s390-64/memset.S: New asm code.
2253 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2254 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2255 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2256 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2257 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2258 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2259 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2260 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2261 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2262 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2263 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2264 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2265 * sysdeps/s390/s390-32/memset.S: New asm code.
2266 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2268 2012-07-17 Marek Polacek <polacek@redhat.com>
2271 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2272 * sysdeps/s390/s390-64/configure.in: Likewise.
2273 * sysdeps/sparc/configure.in: Likewise.
2274 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2275 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2276 * sysdeps/i386/configure.in: Likewise.
2277 * sysdeps/x86_64/configure.in: Likewise.
2278 * sysdeps/sh/configure.in: Likewise.
2279 * sysdeps/s390/s390-32/configure: Regenerated.
2280 * sysdeps/s390/s390-64/configure: Likewise.
2281 * sysdeps/x86_64/configure: Likewise.
2282 * sysdeps/sh/configure: Likewise.
2283 * sysdeps/powerpc/powerpc64/configure: Likewise.
2284 * sysdeps/powerpc/powerpc32/configure: Likewise.
2285 * sysdeps/sparc/configure: Likwise.
2286 * sysdeps/i386/configure: Likewise.
2288 * elf/dl-open.c: Comment fixes.
2290 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2292 * Makefile [CXX] (check-data): Remove.
2293 [CXX] (c++-types.data): New vpath directive.
2294 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2295 vpath. Do not allow for C++ type data being missing.
2296 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2297 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2298 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2299 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2300 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2301 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2302 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2305 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2308 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2311 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2314 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2317 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2320 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2323 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2326 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2327 definitions to architecture-specific files.
2331 * sysdeps/i386/tls-macros.h: New file.
2332 * sysdeps/powerpc/tls-macros.h: Likewise.
2333 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2334 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2335 * sysdeps/sh/tls-macros.h: Likewise.
2336 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2337 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2338 * sysdeps/x86_64/tls-macros.h: Likewise.
2340 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2342 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2343 zero value for regular exit case.
2345 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2346 (__start_context): Preserve zero value for regular exit case.
2348 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2349 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2351 * manual/setjmp.texi (setcontext): Clarify normal process
2352 termination when uc_link is the null pointer.
2353 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2356 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2358 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2359 preprocessor. Test for each exception mask separately.
2361 2012-07-16 Andreas Jaeger <aj@suse.de>
2363 * po/ru.po: Update from translation team.
2365 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2367 * conform/data/string.h-data (NULL): Use macro-constant. Require
2369 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2370 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2371 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2372 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2373 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2375 2012-07-13 Andreas Jaeger <aj@suse.de>
2377 * po/fr.po: Update from translation team.
2379 2012-07-12 Marek Polacek <polacek@redhat.com>
2382 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2383 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2386 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2389 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2390 Change to 2.4.1 where previously 2.4.0.
2391 * sysdeps/unix/sysv/linux/configure: Regenerated.
2392 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2393 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2395 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2396 (__ASSUME_AT_CLKTCK): Remove.
2397 (__ASSUME_AT_PAGESIZE): Likewise.
2398 (__ASSUME_AT_XID): Likewise.
2399 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2400 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2401 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2403 (HAVE_AUX_PAGESIZE): Likewise.
2404 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2405 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2406 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2408 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2412 the temporary buffer used to invoke __gethostbyname2_r,
2413 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2414 host_data / struct gaih_addrtuple.
2415 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2416 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2417 header file nss/nsswitch.h.
2418 * nss/nsswitch.h (global scope): Add definition of implementation
2419 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2420 resolv/nss_dns/dns-host.c).
2422 2012-07-11 Andreas Jaeger <aj@suse.de>
2424 * po/fr.po: Update from translation team.
2426 * po/sv.po: Update from translation team
2427 * po/fr.po: Another update from translation team.
2429 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2431 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2432 for subnormals or multiply small sinh result by itself.
2433 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2436 2012-07-11 David S. Miller <davem@davemloft.net>
2438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2440 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2443 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2444 (INTERNAL_MARK): Shift it here.
2446 2012-07-10 Marek Polacek <polacek@redhat.com>
2449 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2450 libc_cv_asm_global_directive with .globl.
2451 * configure: Regenerated.
2452 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2454 * sysdeps/i386/configure: Regenerated.
2455 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2457 * sysdeps/x86_64/configure: Regenerated.
2458 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2459 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2460 * elf/tst-unique2mod2.c: Likewise.
2461 * elf/tst-unique2mod1.c: Likewise.
2462 * elf/tst-unique1mod2.c: Likewise.
2463 * elf/tst-unique1mod1.c: Likewise.
2464 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2465 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2466 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2467 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2468 * sysdeps/mach/sysdep.h: Likewise.
2469 * sysdeps/i386/sysdep.h: Likewise.
2470 * sysdeps/i386/i386-mcount.S: Likewise.
2471 * sysdeps/x86_64/_mcount.S: Likewise.
2472 * sysdeps/x86_64/sysdep.h: Likewise.
2473 * sysdeps/sh/_mcount.S: Likewise.
2474 * sysdeps/sh/sysdep.h: Likewise.
2475 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2476 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2477 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2478 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2479 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2480 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2481 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2482 * locale/localeinfo.h: Likewise.
2483 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2484 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2486 2012-07-09 Roland McGrath <roland@hack.frob.com>
2489 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2491 * manual/message.texi (The Uniforum approach): Likewise.
2492 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2493 (glibc iconv Implementation): Likewise.
2495 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2498 * math/s_clog.c (__clog): Avoid scaling a value down where that
2499 could result in underflow.
2500 * math/s_clog10.c (__clog10): Likewise.
2501 * math/s_clog10f.c (__clog10f): Likewise.
2502 * math/s_clog10l.c (__clog10l): Likewise.
2503 * math/s_clogf.c (__clogf): Likewise.
2504 * math/s_clogl.c (__clogl): Likewise.
2505 * math/libm-test.inc (clog_test): Add more tests.
2506 (clog10_test): Likewise.
2507 * sysdeps/i386/fpu/libm-test-ulps: Update.
2508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2510 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2513 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2514 by 7 not 8 to examine high bit of fractional part.
2517 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2518 for call to __mcount_internal.
2519 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2520 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2521 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2523 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2526 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2527 approximation for values within 0x1p-13f of an odd multiple of
2529 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2530 exception. Add more tests.
2531 * sysdeps/i386/fpu/libm-test-ulps: Update.
2534 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2535 inputs and return -1 for them. Do not check for +Inf in case not
2537 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2538 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2539 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2540 and return -1 for them. Do not check for +Inf in case not
2542 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2544 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2545 and return -1 for them. Do not check for +Inf in case not
2547 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2549 * sysdeps/i386/fpu/libm-test-ulps: Update.
2550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2552 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2554 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2556 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2560 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2561 could result in spurious underflow. Scale down values above
2562 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2563 * math/s_csqrtf.c (__csqrtf): Likewise.
2564 * math/s_csqrtl.c (__csqrtl): Likewise.
2565 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2567 * sysdeps/i386/fpu/libm-test-ulps: Update.
2568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2570 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2572 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2574 * catgets/xopen-msg.awk: New file.
2575 * catgets/xopen-msg.sed: Removed.
2577 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2579 * intl/po2test.awk: New file.
2580 * intl/po2test.sed: Removed.
2582 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2585 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2586 or multiply small sinh result by itself.
2587 * math/s_ctanf.c (__ctanf): Likewise.
2588 * math/s_ctanh.c (__ctanh): Likewise.
2589 * math/s_ctanhf.c (__ctanhf): Likewise.
2590 * math/s_ctanhl.c (__ctanhl): Likewise.
2591 * math/s_ctanl.c (__ctanl): Likewise.
2592 * math/libm-test.inc (ctan_test_tonearest): New function.
2593 (ctan_test_towardzero): Likewise.
2594 (ctan_test_downward): Likewise.
2595 (ctan_test_upward): Likewise.
2596 (ctanh_test_tonearest): Likewise.
2597 (ctanh_test_towardzero): Likewise.
2598 (ctanh_test_downward): Likewise.
2599 (ctanh_test_upward): Likewise.
2600 (main): Call these new functions.
2601 * sysdeps/i386/fpu/libm-test-ulps: Update.
2602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2604 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2606 * .gitignore: Delete /ports entry.
2608 2012-07-03 Andreas Jaeger <aj@suse.de>
2610 * po/bg.po: Update from translation team.
2611 * po/cs.po: Likewise.
2612 * po/de.po: Likewise.
2613 * po/hr.po: Likewise.
2614 * po/nl.pl: Likewise.
2615 * po/pl.po: Likewise.
2616 * po/vi.po: Likewise.
2618 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2620 * Makeconfig [!+link] (+link-before-libc): New variable.
2621 [!+link] (+link-after-libc): Likewise.
2622 [!+link] (+link-tests): Likewise.
2623 [!+link] (+link): Define in terms of $(+link-before-libc) and
2624 $(+link-after-libc).
2625 [!+link-static] (+link-static-before-libc): New variable.
2626 [!+link-static] (+link-static-after-libc): Likewise.
2627 [!+link-static] (+link-static-tests): Likewise.
2628 [!+link-static] (+link-static): Define in terms of
2629 $(+link-static-before-libc) and $(+link-static-after-libc).
2630 [build-shared] (link-libc-before-gnulib): New variable.
2631 [build-shared] (link-libc-tests): Likewise.
2632 [build-shared] (link-libc): Define in terms of
2633 $(link-libc-before-gnulib).
2634 [!build-shared] (link-libc-tests): New variable.
2635 (link-libc-static-tests): New variable.
2636 [!gnulib] (gnulib-arch): New variable.
2637 [!gnulib] (gnulib-tests): Likewise.
2638 [!gnulib] (static-gnulib-arch): Likewise.
2639 [!gnulib] (static-gnulib-tests): Likewise.
2640 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2641 Define with "=" instead of ":=".
2642 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2643 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2644 * Rules (binaries-all-notests): New variable.
2645 (binaries-all-tests): Likewise.
2646 (binaries-static-notests): Likewise.
2647 (binaries-static-tests): Likewise.
2648 (binaries-all): Define using $(binaries-all-notests) and
2649 $(binaries-all-tests).
2650 (binaries-static): Define using $(binaries-static-notests) and
2651 $(binaries-static-tests).
2652 (binaries-shared-tests): New variable.
2653 (binaries-shared-notests): Likewise.
2654 (binaries-shared): Remove variable.
2655 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2656 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2657 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2658 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2659 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2660 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2661 * elf/Makefile (sln-modules): New variable.
2662 (extra-objs): Add $(sln-modules:=.o).
2663 (ldconfig-modules): Add static-stubs.
2664 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2665 * elf/static-stubs.c: New file.
2668 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2669 by 7 not 8 to examine high bit of fractional part. Use volatile
2670 variables when splitting into final array of floats if
2671 __FLT_EVAL_METHOD__ != 0.
2672 * math/libm-test.inc (cos_test): Add another test.
2673 (sin_test): Likewise.
2674 * sysdeps/i386/fpu/libm-test-ulps: Update.
2677 * math/libm-test.inc (cosh_test): Add more tests.
2679 * version.h (RELEASE): Set to "development".
2680 (VERSION): Set to "2.16.90".
2682 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2684 * NEWS: Update copyright. Remove last-updated date.
2685 Mention math library bug fixes and timezone data changes.
2686 * README: Mention GNU/Hurd, x32, and HPPA support status.
2688 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2690 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2692 2012-06-27 Andreas Jaeger <aj@suse.de>
2694 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2696 2012-06-25 Andreas Jaeger <aj@suse.de>
2698 * sysdeps/s390/fpu/libm-test-ulps: Update.
2700 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2701 Thomas Schwinge <thomas@codesourcery.com>
2703 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2704 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2705 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2708 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2710 * sysdeps/mach/start.c: Remove file.
2711 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2712 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2713 * sysdeps/sh/init-first.c: Likewise.
2715 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2716 registers for frame unwinding purposes, add CFI directives.
2717 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2718 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2719 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2722 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2723 __fortify_fail returning.
2724 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2726 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2727 sysdeps/sh/____longjmp_chk.S.
2728 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2729 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2730 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2731 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2733 * sysdeps/sh/abort-instr.h: New file.
2734 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2735 process in case exit returns.
2737 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2738 initialize the GOT register before use.
2740 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2741 calculation of ARGC > 4.
2743 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2744 meaningful names to some local labels.
2746 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2747 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2749 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2750 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2751 (__arch_compare_and_exchange_val_16_acq): Likewise.
2752 (__arch_compare_and_exchange_val_32_acq): Likewise.
2753 (atomic_exchange_and_add): Fix gUSA sequence.
2754 (atomic_add): Likewise.
2755 (atomic_add_negative): Likewise.
2756 (atomic_add_zero): Likewise.
2757 (atomic_bit_test_set): Likewise.
2759 2012-06-22 Andreas Schwab <schwab@redhat.com>
2762 * include/link.h (struct link_map): Add l_free_initfini.
2763 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2765 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2766 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2767 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2770 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2772 * configure.in: Use AC_LANG_SOURCE.
2773 * configure: Regenerate.
2775 2012-06-22 Roland McGrath <roland@hack.frob.com>
2777 * configure.in (libc_cv_localstatedir): New substituted variable.
2778 * configure: Regenerated.
2779 * config.make.in (localstatedir): New variable, substituted from
2780 libc_cv_localstatedir.
2781 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2782 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2783 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2784 * sysdeps/gnu/configure: Regenerated.
2786 2012-06-21 Jeff Law <law@redhat.com>
2789 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2790 free. Simplify list management for _LIBC case.
2792 2012-06-21 Joseph Myers <joseph@codesourcery.com>
2795 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2796 Clear sign bit of 64-bit integer value before comparing against
2799 * sysdeps/mach/configure: Regenerated.
2801 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2804 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2806 2012-06-21 Jeff Law <law@redhat.com>
2809 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2810 uint16_t for elements in the "seen" array to avoid char overflows.
2811 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2812 * elf/dl-open.c (dl_open_worker): Likewise.
2814 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2816 * scripts/list-sources.sh: Scan PORTS for translations.
2817 * po/libc.pot: Regenerated.
2819 2012-06-21 Andreas Jaeger <aj@suse.de>
2822 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2824 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2825 * bits/byteswap-16.h (__bswap_16): Likewise.
2826 * bits/byteswap.h (__bswap_constant_16): Likewise.
2828 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2831 * sysdeps/i386/fpu_control.h: Removed.
2832 * sysdeps/x86_64/fpu_control.h: Moved to ...
2833 * sysdeps/x86/fpu_control.h: Here.
2835 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2836 (_FPU_SETCW): Likewise.
2838 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2841 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2842 * sysdeps/x86/fpu/bits/mathinline.h: This.
2843 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2847 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2848 functions if __x86_64__ is defined.
2850 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2852 * string/endian.h: Add !__ASSEMBLER__ condition for including
2853 conversion interfaces.
2855 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2858 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2859 of ABS(x) in calculating zero to negative powers other than odd
2861 * math/libm-test.inc (pow_test): Add more tests.
2863 2012-06-15 Andreas Jaeger <aj@suse.de>
2865 * manual/contrib.texi (Contributors): Update entry of Liubov
2866 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2869 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2871 * string/string.h: Add __wur to GNU version of strerror_r.
2873 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2876 * string/Makefile (tests): Add tst-strtok_r.
2877 * string/tst-strtok_r.c: New file.
2878 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2879 RAX_LP/RDX_LP on SAVE_PTR.
2881 2012-06-14 Roland McGrath <roland@hack.frob.com>
2883 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2885 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2887 * libm_test.inc (csqrt_test): Allow more spurious underflow
2889 (j0_test): Likewise.
2890 (j1_test): Likewise.
2891 (y0_test): Likewise.
2892 (y1_test): Likewise.
2894 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2896 * po/Makefile (libc.pot): Use UTF-8 charset.
2898 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2901 Suppress sign-conversion warning from FD_SET.
2902 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2903 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2904 not unsigned long int.
2905 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2907 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2911 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2912 __extern_always_inline instead of __extern_inline.
2913 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2914 (__signbit): Likewise.
2915 (__signbitl): Support C++ namespace.
2916 (lrintf): New inline function.
2918 (llrintf): Likewise.
2930 (nearbyint): Likewise.
2931 (nearbyintf): Likewise.
2933 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2935 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2936 non-default versions.
2938 2012-06-11 Roland McGrath <roland@hack.frob.com>
2941 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2943 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2945 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2946 (FE_UPWARD, FE_DOWNWARD): Don't define.
2947 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2948 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2950 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2952 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2953 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2955 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2957 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2958 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2959 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2960 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2962 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2965 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2966 * sysdeps/i386/fpu/Implies: New file.
2967 * sysdeps/x86_64/fpu/Implies: Likewise.
2968 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2969 * sysdeps/x86/fpu/bits/fenv.h: This.
2971 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2974 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2977 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2978 character 0xffff that matches the last element of the
2981 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2983 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2986 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2988 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2989 values higher than 25.6283.
2991 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2993 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2994 subnormal exponent extraction and add some __builtin_expect.
2995 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2996 Fix for subnormal mantissa calculation.
2998 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3000 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3001 cpu2 is -1 and errno is not ENOSYS.
3003 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3006 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3007 * sysdeps/x86/bits/string.h: This.
3008 * sysdeps/x86_64/bits/string.h: Removed.
3010 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3011 if not compiling for x86-64, but compiling for >= i486.
3013 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3014 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3016 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3017 New macro from Linux kernel 3.4.0.
3018 (FP_XSTATE_MAGIC2): Likewise.
3019 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3020 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3021 (struct _fpx_sw_bytes): New struct.
3022 (struct _xsave_hdr): Likewise.
3023 (struct _ymmh_state): Likewise.
3024 (struct _xstate): Likewise.
3026 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3027 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3028 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3029 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3030 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3031 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3033 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3034 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3035 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3036 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3037 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3038 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3040 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3043 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3044 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3045 (sysdep_headers): Include sys/platform/ppc.h.
3046 * sysdeps/powerpc/test-gettimebase.c: Test for
3047 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3048 * manual/Makefile (appendices): Include platform.texi.
3049 * manual/contrib.texi (Contributors): Update @node pointers.
3050 * manual/maint.texi (Maintenance): Likewise.
3051 (Platform): New node.
3052 * manual/platform.texi: New file. Document the new features.
3054 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3055 Jakub Jelinek <jakub@redhat.com>
3058 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3059 where __builtin_expect is unavailable.
3061 2012-06-03 David S. Miller <davem@davemloft.net>
3063 * stdlib/longlong.h: Updated from GCC.
3065 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3068 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3069 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3072 (GLIBC_2.16): Likewise.
3074 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3076 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3078 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3081 (default-abi): New variable.
3082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3083 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3085 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3087 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3089 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3092 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3093 definition. Document in comment.
3095 2012-06-01 David S. Miller <davem@davemloft.net>
3097 * stdlib/longlong.h: Updated from GCC.
3099 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3102 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3103 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3104 sys/debugreg.h sys/io.h here.
3105 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3106 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3108 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3109 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3110 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3111 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3112 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3113 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3115 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3116 Define only if __x86_64__ is defined.
3118 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3121 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3122 Use int64_t for variable i.
3123 * math/libm-test.inc (fmod_test): Add more tests.
3125 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3126 z computation is not scheduled after fetestexcept.
3127 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3128 Use math_force_eval instead of asm to ensure calculation scheduled
3129 before exception test.
3130 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3131 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3133 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3135 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3136 computation is not scheduled after fetestexcept.
3138 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3141 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3142 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3144 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3146 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3147 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3149 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3152 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3154 (__WCHAR_MIN): Support __WORDSIZE == 64.
3155 (__WCHAR_MAX): Likewise.
3157 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3158 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3161 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3162 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3165 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3166 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3168 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3169 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3171 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3172 Defined to 1 if __x86_64__ isn't defined.
3173 (_STAT_VER_LINUX_OLD): New.
3174 (st_atime): Remove duplicate.
3175 (st_mtime): Likewise.
3176 (st_ctime): Likewise.
3178 2012-05-31 David S. Miller <davem@davemloft.net>
3180 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3183 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3185 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3189 * elf/dl-reloc.c: Include <_itoa.h>.
3190 (_dl_reloc_bad_type): Remove use of INTUSE.
3191 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3192 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3193 * stdio-common/psiginfo.c (psiginfo): Likewise.
3194 * stdio-common/psignal.c (psignal): Likewise.
3195 * string/strsignal.c (strsignal): Likewise.
3196 * include/signal.h (_sys_siglist): Declare hidden proto.
3197 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3198 INTVARDEF with libc_hidden_data_def.
3199 * stdio-common/itoa-udigits.c: Likewise.
3200 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3201 (_itoa_lower_digits_internal): Remove declaration.
3202 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3203 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3204 (_sys_sigabbrev_internal): Remove aliases.
3205 (_sys_siglist): Define hidden alias.
3207 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3212 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3215 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3216 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3218 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3219 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3220 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3221 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3222 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3223 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3225 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3226 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3227 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3229 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3237 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3238 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3239 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3241 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3242 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3243 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3244 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3245 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3246 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3248 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3249 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3251 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3252 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3254 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3255 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3256 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3258 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3259 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3261 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3263 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3264 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3265 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3267 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3269 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3271 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3273 * math/math.h (M_El): Use two more decimal places.
3274 (M_LOG2El): Likewise.
3275 (M_LOG10El): Likewise.
3277 (M_LN10l): Likewise.
3279 (M_PI_2l): Likewise.
3280 (M_PI_4l): Likewise.
3281 (M_1_PIl): Likewise.
3282 (M_2_PIl): Likewise.
3283 (M_2_SQRTPIl): Likewise.
3284 (M_SQRT2l): Likewise.
3285 (M_SQRT1_2l): Likewise.
3287 2012-05-31 David S. Miller <davem@davemloft.net>
3289 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3290 values between float registers.
3291 * sysdeps/sparc/sparc64/memset.S: Likewise.
3292 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3294 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3296 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3297 -D_FORTIFY_SOURCE=1.
3298 (CPPFLAGS-tst-longjmp_chk.c): Define.
3299 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3300 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3301 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3302 CFLAGS-tst-wchar-h.c.
3304 2012-05-31 Marek Polacek <polacek@redhat.com>
3307 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3308 __endmntent_internal): Remove declaration.
3309 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3310 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3311 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3313 2012-05-30 David S. Miller <davem@davemloft.net>
3315 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3316 (___Q_simulate_exceptions): Use real FP ops rather than writing
3318 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3321 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3324 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3325 * sysdeps/x86/bits/xtitypes.h: This.
3327 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3328 * sysdeps/x86/bits/wordsize.h: This.
3330 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3331 * sysdeps/x86/bits/huge_vall.h: This.
3333 * sysdeps/i386/bits/select.h: Removed.
3334 * sysdeps/x86_64/bits/select.h: Renamed to ...
3335 * sysdeps/x86/bits/select.h: This.
3337 * sysdeps/i386/bits/setjmp.h: Removed.
3338 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3339 * sysdeps/x86/bits/setjmp.h: This.
3341 * sysdeps/i386/bits/mathdef.h: Removed.
3342 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3343 * sysdeps/x86/bits/mathdef.h: This.
3345 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3348 * include/sys/socket.h (__connect_internal)
3349 (__libc_sa_len_internal): Remove declaration.
3350 (__connect, __libc_sa_len): Declare hidden_proto.
3351 (SA_LEN): Remove use of INTUSE.
3352 * socket/connect.c: Add libc_hidden_def.
3353 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3354 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3355 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3357 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3358 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3359 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3360 of adding _internal alias.
3362 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3365 * sysdeps/i386/bits/link.h: Removed.
3366 * sysdeps/i386/bits/linkmap.h: Likewise.
3367 * sysdeps/x86_64/bits/link.h: Renamed to ...
3368 * sysdeps/x86/bits/link.h: This.
3369 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3370 * sysdeps/x86/bits/linkmap.h: This.
3372 * sysdeps/i386/bits/endian.h: Removed.
3373 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3374 * sysdeps/x86/bits/endian.h: This.
3376 * sysdeps/i386/bits/byteswap.h: Removed.
3377 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3378 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3379 * sysdeps/x86/bits/byteswap.h: This.
3380 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3381 * sysdeps/x86/bits/byteswap-16.h: This.
3382 * sysdeps/i386/Implies: Add x86.
3383 * sysdeps/x86_64/Implies: Likewise.
3385 2012-05-30 David S. Miller <davem@davemloft.net>
3387 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3388 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3389 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3390 (FP_TRAPPING_EXCEPTIONS): Define.
3391 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3392 (FP_TRAPPING_EXCEPTIONS): Define.
3393 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3394 subnormals only when inexact has been signalled or underflow
3395 exceptions are enabled.
3396 (_FP_PACK_CANONICAL): Likewise.
3398 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3401 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3402 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3404 2012-05-30 Richard Henderson <rth@twiddle.net>
3406 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3407 with #ifndef NOT_IN_libc.
3409 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3410 marked to avoid plt entry.
3412 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3415 * Makeconfig (default-abi): New macro.
3416 (abi-includes): Likewise.
3417 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3418 $(abi-$(default-abi)-lib-soname) for soname if defined.
3419 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3421 * Makefile (installed-stubs): Likewise.
3422 * include/stubs-biarch.h: Removed.
3423 * scripts/lib-names.awk: Only handle one library at a time.
3424 * scripts/soversions.awk: Remove WORDSIZE support.
3425 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3427 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3429 (syscall-list-default-condition): Likewise.
3430 (syscall-list-default-condition): Likewise.
3431 (syscall-list-includes): Likewise.
3432 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3433 syscall-list-* with abi-*. Handle undefined abi-variants.
3434 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3435 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3436 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3437 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3438 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3439 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3441 (syscall-list-32-options): Likewise.
3442 (syscall-list-32-condition): Likewise.
3443 (syscall-list-64-options): Likewise.
3444 (syscall-list-64-condition): Likewise.
3445 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3447 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3450 (abi-64-ld-soname): New macro.
3451 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3452 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3455 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3456 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3458 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3460 * sysdeps/unix/sysv/linux/kernel-features.h
3461 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3462 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3463 include <kernel-features.h>.
3464 [!__NR_ftruncate64]: Remove conditional code.
3465 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3466 [__NR_ftruncate64]: Make code unconditional.
3467 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3468 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3469 include <kernel-features.h>.
3470 [!__NR_ftruncate64]: Remove conditional code.
3471 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3472 [__NR_ftruncate64]: Make code unconditional.
3473 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3475 include <kernel-features.h>.
3476 [!__NR_ftruncate64]: Remove conditional code.
3477 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3478 [__NR_ftruncate64]: Make code unconditional.
3479 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3481 include <kernel-features.h>.
3482 [!__NR_ftruncate64]: Remove conditional code.
3483 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3484 [__NR_ftruncate64]: Make code unconditional.
3485 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3487 * configure.in (libc_cv_fpie): Weaken to a compile test using
3489 * configure: Regenerated.
3491 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3506 2012-05-27 David S. Miller <davem@davemloft.net>
3508 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3510 (__Q_simulate_exceptions): Return void. Change to simulate
3511 exceptions by writing into the %fsr.
3512 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3513 (__Qp_handle_exceptions): Likewise.
3515 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3516 __Qp_handle_exceptions.
3517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3518 __Qp_handle_exceptions.
3519 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3520 as unused and give dummy FP_RND_NEAREST initializer.
3521 (FP_INHIBIT_RESULTS): Define.
3522 (___Q_simulate_exceptions): Update declaration.
3523 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3525 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3526 as unused and give dummy FP_RND_NEAREST initializer.
3527 (__Qp_handle_exceptions): Update declaration.
3528 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3531 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3533 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3534 the temporary FPU control word.
3535 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3536 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3537 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3538 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3539 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3540 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3541 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3542 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3543 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3544 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3545 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3547 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3549 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3552 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3554 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3555 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3556 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3557 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3559 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3560 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3563 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3565 * po/h.po: Update from translation team.
3567 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3569 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3571 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3572 handling of denormals.
3573 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3574 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3575 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3576 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3577 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3578 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3579 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3582 2012-05-26 Marek Polacek <polacek@redhat.com>
3585 * math/libm-test.inc (fma_test): Don't always expect underflow
3588 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3591 * elf/tst-execstack.c: Include stackinfo.h.
3592 (do_test): Adjust test case to ensure that pthread_getattr_np
3593 behaviour remains the same after marking stack executable.
3595 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3597 * sysdeps/unix/sysv/linux/kernel-features.h
3598 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3599 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3601 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3602 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3603 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3605 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3606 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3608 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3610 * configure.in: Define the default includes to being none.
3611 * configure: Regenerated.
3613 2012-05-25 Roland McGrath <roland@hack.frob.com>
3615 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3616 * sysdeps/x86_64/setjmp.S: Likewise.
3617 * sysdeps/i386/bsd-setjmp.S: Likewise.
3618 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3619 * sysdeps/i386/setjmp.S: Likewise.
3620 * sysdeps/i386/__longjmp.S: Likewise.
3621 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3622 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3624 * include/stap-probe.h: New file.
3625 * configure.in: Handle --enable-systemtap.
3626 * configure: Regenerated.
3627 * config.h.in (USE_STAP_PROBE): New #undef.
3628 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3629 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3630 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3632 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3635 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3636 to 2.4.0 where earlier.
3637 * sysdeps/unix/sysv/linux/configure: Regenerated.
3638 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3639 <kernel-features.h>.
3640 [__ASSUME_32BITUIDS]: Make code unconditional.
3641 [!__ASSUME_32BITUIDS]: Remove conditional code.
3642 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3643 <kernel-features.h>.
3644 [__ASSUME_32BITUIDS]: Make code unconditional.
3645 [!__ASSUME_32BITUIDS]: Remove conditional code.
3646 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3647 [__ASSUME_32BITUIDS]: Make code unconditional.
3648 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3649 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3650 <kernel-features.h>.
3651 [__ASSUME_32BITUIDS]: Make code unconditional.
3652 [!__ASSUME_32BITUIDS]: Remove conditional code.
3653 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3654 <kernel-features.h>.
3655 [__ASSUME_32BITUIDS]: Make code unconditional.
3656 [!__ASSUME_32BITUIDS]: Remove conditional code.
3657 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3658 <kernel-features.h>.
3659 [__ASSUME_32BITUIDS]: Make code unconditional.
3660 [!__ASSUME_32BITUIDS]: Remove conditional code.
3661 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3662 <kernel-features.h>.
3663 [__ASSUME_32BITUIDS]: Make code unconditional.
3664 [!__ASSUME_32BITUIDS]: Remove conditional code.
3665 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3666 <kernel-features.h>.
3667 [__ASSUME_32BITUIDS]: Make code unconditional.
3668 [!__ASSUME_32BITUIDS]: Remove conditional code.
3669 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3670 <kernel-features.h>.
3671 [__ASSUME_32BITUIDS]: Make code unconditional.
3672 [!__ASSUME_32BITUIDS]: Remove conditional code.
3673 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3674 <kernel-features.h>.
3675 [__ASSUME_32BITUIDS]: Make code unconditional.
3676 [!__ASSUME_32BITUIDS]: Remove conditional code.
3677 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3678 <kernel-features.h>.
3679 [__ASSUME_32BITUIDS]: Make code unconditional.
3680 [!__ASSUME_32BITUIDS]: Remove conditional code.
3681 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3682 <kernel-features.h>.
3683 [__ASSUME_32BITUIDS]: Make code unconditional.
3684 [!__ASSUME_32BITUIDS]: Remove conditional code.
3685 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3686 <kernel-features.h>.
3687 [__ASSUME_32BITUIDS]: Make code unconditional.
3688 [!__ASSUME_32BITUIDS]: Remove conditional code.
3689 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3690 <kernel-features.h>.
3691 [__NR_setresgid] (__setresgid): Do not declare.
3692 [__ASSUME_32BITUIDS]: Make code unconditional.
3693 [!__ASSUME_32BITUIDS]: Remove conditional code.
3694 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3695 <kernel-features.h>.
3696 [__NR_setresuid] (__setresuid): Do not declare.
3697 [__ASSUME_32BITUIDS]: Make code unconditional.
3698 [!__ASSUME_32BITUIDS]: Remove conditional code.
3699 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3700 <kernel-features.h>.
3701 [__ASSUME_32BITUIDS]: Make code unconditional.
3702 [!__ASSUME_32BITUIDS]: Remove conditional code.
3703 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3704 <kernel-features.h>.
3705 [__ASSUME_32BITUIDS]: Make code unconditional.
3706 [!__ASSUME_32BITUIDS]: Remove conditional code.
3707 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3708 <kernel-features.h>.
3709 [__ASSUME_32BITUIDS]: Make code unconditional.
3710 [!__ASSUME_32BITUIDS]: Remove conditional code.
3711 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3712 <kernel-features.h>.
3713 [__ASSUME_32BITUIDS]: Make code unconditional.
3714 [!__ASSUME_32BITUIDS]: Remove conditional code.
3715 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3716 <kernel-features.h>.
3717 [__ASSUME_32BITUIDS]: Make code unconditional.
3718 [!__ASSUME_32BITUIDS]: Remove conditional code.
3719 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3720 <kernel-features.h>.
3721 [__ASSUME_32BITUIDS]: Make code unconditional.
3722 [!__ASSUME_32BITUIDS]: Remove conditional code.
3723 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3724 <kernel-features.h>.
3725 [__ASSUME_32BITUIDS]: Make code unconditional.
3726 [!__ASSUME_32BITUIDS]: Remove conditional code.
3727 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3728 <kernel-features.h>.
3729 [__ASSUME_32BITUIDS]: Make code unconditional.
3730 [!__ASSUME_32BITUIDS]: Remove conditional code.
3731 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3732 <kernel-features.h>.
3733 [__ASSUME_32BITUIDS]: Make code unconditional.
3734 [!__ASSUME_32BITUIDS]: Remove conditional code.
3735 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3736 <kernel-features.h>.
3737 [__ASSUME_32BITUIDS]: Make code unconditional.
3738 [!__ASSUME_32BITUIDS]: Remove conditional code.
3739 * sysdeps/unix/sysv/linux/kernel-features.h
3740 (__ASSUME_SETRESUID_SYSCALL): Remove.
3741 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3742 (__ASSUME_32BITUIDS): Likewise.
3743 (__ASSUME_LDT_WORKS): Likewise.
3744 (__ASSUME_O_DIRECTORY): Likewise.
3745 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3746 architecture but not kernel version.
3747 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3748 (__ASSUME_MMAP2_SYSCALL): Likewise.
3749 (__ASSUME_STAT64_SYSCALL): Likewise.
3750 (__ASSUME_IPC64): Likewise.
3751 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3752 <kernel-features.h>.
3753 [__ASSUME_32BITUIDS]: Make code unconditional.
3754 [!__ASSUME_32BITUIDS]: Remove conditional code.
3755 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3756 <kernel-features.h>.
3757 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3758 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3759 132096]: Remove conditional code.
3760 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3761 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3762 <kernel-features.h>.
3763 [__ASSUME_32BITUIDS]: Make code unconditional.
3764 [!__ASSUME_32BITUIDS]: Remove conditional code.
3765 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3766 <kernel-features.h>.
3767 [__ASSUME_32BITUIDS]: Make code unconditional.
3768 [!__ASSUME_32BITUIDS]: Remove conditional code.
3769 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3770 <kernel-features.h>.
3771 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3773 (__setresgid): Do not declare.
3774 [__ASSUME_32BITUIDS]: Make code unconditional.
3775 [!__ASSUME_32BITUIDS]: Remove conditional code.
3776 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3777 <kernel-features.h>.
3778 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3780 (__setresuid): Do not declare.
3781 [__ASSUME_32BITUIDS]: Make code unconditional.
3782 [!__ASSUME_32BITUIDS]: Remove conditional code.
3783 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3784 <kernel-features.h>.
3785 [__ASSUME_32BITUIDS]: Make code unconditional.
3786 [!__ASSUME_32BITUIDS]: Remove conditional code.
3787 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3788 <kernel-features.h>.
3789 [__ASSUME_32BITUIDS]: Make code unconditional.
3790 [!__ASSUME_32BITUIDS]: Remove conditional code.
3792 2012-05-25 Richard Henderson <rth@twiddle.net>
3794 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3795 dl_hwcap to ifunc resolver.
3796 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3798 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3799 dl_hwcap to ifunc resolver.
3800 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3802 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3805 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3806 for |x| <= 2**-26, not 2**-57.
3807 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3810 2012-05-24 Jeff Law <law@redhat.com>
3812 * stdio-common/Makefile (tests): Add bug25.
3813 * stdio-common/bug25.c: New test.
3815 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3818 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3819 multiple of MALLOC_ALIGNMENT in size.
3820 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3822 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3824 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3826 (FILENAME_MAX): Use macro-int-constant.
3827 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3828 (_IOFBF): Use macro-int-constant.
3831 (SEEK_CUR): Likewise.
3832 (SEEK_END): Likewise.
3833 (SEEK_SET): Likewise.
3834 (TMP_MAX): Likewise.
3835 (EOF): Use macro-int-constant. Require < 0.
3836 (NULL): Use macro-constant. Require == 0.
3837 (stdin): Require type to be FILE *.
3840 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3842 (EXIT_SUCCESS): Likewise.
3843 (NULL): Use macro-constant. Require == 0.
3844 (RAND_MAX): Use macro-int-constant.
3845 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3846 [C99-based standards] (strtof): Require function.
3847 [C99-based standards] (strtold): Likewise.
3848 [C99-based standards] (strtoll): Likewise.
3849 [C99-based standards] (strtoull): Likewise.
3850 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3851 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3852 [ISO || ISO99 || ISO11] (math.h): Likewise.
3853 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3854 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3855 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3857 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3860 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3861 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3862 * intl/dgettext.c (DCGETTEXT): Likewise.
3863 * intl/gettext.c (DCGETTEXT): Likewise.
3864 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3865 * posix/regex_internal.h (gettext): Likewise.
3866 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3868 * include/argz.h (__argz_count_internal)
3869 (__argz_stringify_internal): Remove declaration.
3870 (__argz_count, __argz_stringify): Declare hidden proto.
3871 * intl/dcgettext.c: Remove use of INTDEF.
3872 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3873 * string/argz-stringify.c: Likewise.
3874 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3875 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3876 Declare hidden proto.
3877 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3878 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3879 Declare hidden proto.
3880 * include/stdio.h (__asprintf_internal): Don't declare.
3881 (__asprintf): Don't define as macro. Declare hidden proto.
3882 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3883 (__fsetlocking): Declare hidden proto.
3884 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3885 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3887 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3888 (_IO_setlinebuf): Remove use of INTUSE.
3889 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3890 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3891 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3893 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3894 (_IO_do_flush): Remove use of INTUSE.
3895 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3896 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3897 (_IO_adjust_column, _IO_least_wmarker)
3898 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3899 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3900 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3901 (_IO_default_doallocate, _IO_wdefault_doallocate)
3902 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3903 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3904 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3905 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3906 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3907 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3908 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3909 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3910 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3911 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3912 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3913 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3914 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3916 (_IO_flush_all_internal, _IO_adjust_column_internal)
3917 (_IO_default_uflow_internal, _IO_default_finish_internal)
3918 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3919 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3920 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3921 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3922 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3923 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3924 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3925 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3926 (_IO_file_close_internal, _IO_file_close_it_internal)
3927 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3928 (_IO_file_init_internal, _IO_file_attach_internal)
3929 (_IO_file_fopen_internal, _IO_file_read_internal)
3930 (_IO_file_sync_internal, _IO_file_seek_internal)
3931 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3932 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3933 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3934 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3935 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3936 (_IO_list_all_internal, _IO_link_in_internal)
3937 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3938 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3939 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3940 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3941 (_IO_do_write_internal, _IO_padn_internal)
3942 (_IO_getline_info_internal, _IO_getline_internal)
3943 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3944 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3945 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3946 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3947 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3948 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3949 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3950 with libc_hidden_ver, remove use of INTUSE.
3951 * libio/genops.c: Likewise.
3952 * libio/freopen.c: Likewise.
3953 * libio/freopen64.c: Likewise.
3954 * libio/iofclose.c: Likewise.
3955 * libio/iofdopen.c: Likewise.
3956 * libio/iofflush.c: Likewise.
3957 * libio/iofflush_u.c: Likewise.
3958 * libio/iofgets.c: Likewise.
3959 * libio/iofgets_u.c: Likewise.
3960 * libio/iofopen.c: Likewise.
3961 * libio/iofopncook.c: Likewise.
3962 * libio/iofread.c: Likewise.
3963 * libio/iofread_u.c: Likewise.
3964 * libio/ioftell.c: Likewise.
3965 * libio/iofwrite.c: Likewise.
3966 * libio/iogetline.c: Likewise.
3967 * libio/iogets.c: Likewise.
3968 * libio/iogetwline.c: Likewise.
3969 * libio/iopadn.c: Likewise.
3970 * libio/iopopen.c: Likewise.
3971 * libio/ioseekoff.c: Likewise.
3972 * libio/ioseekpos.c: Likewise.
3973 * libio/iosetbuffer.c: Likewise.
3974 * libio/iosetvbuf.c: Likewise.
3975 * libio/ioungetc.c: Likewise.
3976 * libio/ioungetwc.c: Likewise.
3977 * libio/iovdprintf.c: Likewise.
3978 * libio/iovsprintf.c: Likewise.
3979 * libio/iovsscanf.c: Likewise.
3980 * libio/memstream.c: Likewise.
3981 * libio/obprintf.c: Likewise.
3982 * libio/oldfileops.c: Likewise.
3983 * libio/oldiofclose.c: Likewise.
3984 * libio/oldiofdopen.c: Likewise.
3985 * libio/oldiofopen.c: Likewise.
3986 * libio/oldiopopen.c: Likewise.
3987 * libio/oldstdfiles.c: Likewise.
3988 * libio/putc.c: Likewise.
3989 * libio/setbuf.c: Likewise.
3990 * libio/setlinebuf.c: Likewise.
3991 * libio/stdfiles.c: Likewise.
3992 * libio/strops.c: Likewise.
3993 * libio/vasprintf.c: Likewise.
3994 * libio/vscanf.c: Likewise.
3995 * libio/vsnprintf.c: Likewise.
3996 * libio/vswprintf.c: Likewise.
3997 * libio/wfiledoalloc.c: Likewise.
3998 * libio/wfileops.c: Likewise.
3999 * libio/wgenops.c: Likewise.
4000 * libio/wmemstream.c: Likewise.
4001 * libio/wstrops.c: Likewise.
4002 * libio/__fpurge.c: Likewise.
4003 * libio/__fsetlocking.c: Likewise.
4004 * assert/assert.c: Likewise.
4005 * debug/fgets_chk.c: Likewise.
4006 * debug/fgets_u_chk.c: Likewise.
4007 * debug/fread_chk.c: Likewise.
4008 * debug/fread_u_chk.c: Likewise.
4009 * debug/gets_chk.c: Likewise.
4010 * debug/obprintf_chk.c: Likewise.
4011 * debug/vasprintf_chk.c: Likewise.
4012 * debug/vdprintf_chk.c: Likewise.
4013 * debug/vsnprintf_chk.c: Likewise.
4014 * debug/vsprintf_chk.c: Likewise.
4015 * malloc/mtrace.c: Likewise.
4016 * misc/error.c: Likewise.
4017 * misc/syslog.c: Likewise.
4018 * stdio-common/asprintf.c: Likewise.
4019 * stdio-common/fxprintf.c: Likewise.
4020 * stdio-common/getw.c: Likewise.
4021 * stdio-common/isoc99_fscanf.c: Likewise.
4022 * stdio-common/isoc99_scanf.c: Likewise.
4023 * stdio-common/isoc99_vfscanf.c: Likewise.
4024 * stdio-common/isoc99_vscanf.c: Likewise.
4025 * stdio-common/isoc99_vsscanf.c: Likewise.
4026 * stdio-common/printf-prs.c: Likewise.
4027 * stdio-common/printf_fp.c: Likewise.
4028 * stdio-common/printf_fphex.c: Likewise.
4029 * stdio-common/printf_size.c: Likewise.
4030 * stdio-common/putw.c: Likewise.
4031 * stdio-common/scanf.c: Likewise.
4032 * stdio-common/sprintf.c: Likewise.
4033 * stdio-common/tmpfile.c: Likewise.
4034 * stdio-common/vfprintf.c: Likewise.
4035 * stdio-common/vfscanf.c: Likewise.
4036 * stdlib/strfmon_l.c: Likewise.
4037 * sunrpc/openchild.c: Likewise.
4038 * sunrpc/xdr_stdio.c: Likewise.
4039 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4040 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4042 2012-05-24 Roland McGrath <roland@hack.frob.com>
4044 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4046 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4047 in the third column, to generate for the shared library an IFUNC
4048 that uses _dl_vdso_vsym.
4049 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4050 * Makeconfig (object-suffixes-noshared): New variable.
4052 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4053 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4054 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4055 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4058 * include/sys/time.h (__gettimeofday): Remove macro.
4059 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4060 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4062 (__gettimeofday): Add libc_hidden_def.
4063 (gettimeofday): Add libc_hidden_weak.
4064 * sysdeps/mach/gettimeofday.c: Likewise.
4065 * sysdeps/posix/gettimeofday.c: Likewise.
4066 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4067 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4068 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4069 (__gettimeofday_internal): Remove strong_alias.
4070 (__gettimeofday): Add libc_hidden_def.
4071 (gettimeofday): Add libc_hidden_weak.
4072 * sysdeps/unix/syscalls.list (gettimeofday):
4073 Remove __gettimeofday_internal alias.
4075 2012-05-24 Daniel Jacobowitz <drow@false.org>
4076 H.J. Lu <hongjiu.lu@intel.com>
4079 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4080 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4081 (largebin_index_32_big): New.
4082 (largebin_index): Use it for 16-byte alignment.
4083 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4084 correction with front_misalign.
4086 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4114 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4115 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4117 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4121 * math/libm-test.inc (exp_test): Add test from bug 14036.
4122 (pow_test): Add test from bug 10846.
4124 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4126 (special_function): Do not include flags in test name.
4127 (parse_args): Likewise.
4128 * sysdeps/i386/fpu/libm-test-ulps: Update.
4129 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4130 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4131 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4134 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4136 * math/libm-test.inc ("Philosophy"): Update comment about
4138 (UNDERFLOW_EXCEPTION): New macro.
4139 (UNDERFLOW_EXCEPTION_OK): Likewise.
4140 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4141 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4142 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4143 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4144 (INVALID_EXCEPTION_OK): Update value.
4145 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4146 (OVERFLOW_EXCEPTION_OK): Likewise.
4147 (IGNORE_ZERO_INF_SIGN): Likewise.
4148 (test_exceptions): Handle underflow exceptions.
4149 (acos_test): Update for underflow exception expectations.
4150 (cexp_test): Likewise.
4151 (clog_test): Likewise.
4152 (clog10_test): Likewise.
4153 (csqrt_test): Likewise.
4154 (ctan_test): Likewise.
4155 (ctanh_test): Likewise.
4156 (exp_test): Likewise.
4157 (exp10_test): Likewise.
4158 (exp2_test): Likewise.
4159 (expm1_test): Likewise.
4160 (fma_test): Likewise.
4161 (j0_test): Likewise.
4162 (jn_test): Likewise.
4163 (nexttoward_test): Likewise.
4164 (pow_test): Likewise.
4165 (scalbn_test): Likewise.
4166 (scalbln_test): Likewise.
4167 (tan_test): Likewise.
4168 (y1_test): Likewise.
4169 * sysdeps/i386/fpu/libm-test-ulps: Update.
4170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4172 2012-05-23 David S. Miller <davem@davemloft.net>
4174 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4175 (__libc_sigaction): Remove unused local variables.
4177 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4179 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4181 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4183 mktime: avoid signed integer overflow
4184 * time/mktime.c (__mktime_internal): Do not mishandle the case
4185 where diff == INT_MIN.
4187 mktime: simplify computation of average
4188 * time/mktime.c (ranged_convert): Use new time_t_avg function
4189 instead of rolling our own (probably-slower) code.
4191 mktime: do not assume signed right shift propagates sign bit
4192 * time/mktime.c (isdst_differ): New static function.
4193 (__mktime_internal): No need to normalize tm_isdst now.
4194 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4197 mktime: merge another wrapv change from gnulib
4198 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4199 from some compilers.
4201 mktime: remove incorrect attempt at unusual arithmetics
4202 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4203 The code didn't really work on such machines anyway.
4204 (TYPE_MINIMUM): Assume two's complement.
4205 (twos_complement_arithmetic): Verify that long_int and time_t
4206 are two's complement (or unsigned, in the latter case).
4208 mktime: check signed shifts on long_int and time_t, too
4209 * time/mktime.c (SHR): Check that shifts work as desired
4210 on the types long_int and time_t too, as SHR is used on
4213 mktime: do not assume 'long' is wide enough
4214 * time/mktime.c (verify): Move decl up.
4215 (long_int): New type.
4216 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4217 to remove assumption in the code that 'long' is wide enough to
4218 store year values. This assumption is not true on x32 and on
4219 some non-glibc platforms.
4221 mktime: merge wrapv change from gnulib
4222 * time/mktime.c (WRAPV): New macro.
4223 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4224 (guess_time_tm, __mktime_internal): Do not assume that signed
4225 integer overflow wraps around; modern compilers generate code
4226 where this assumption is no longer valid.
4228 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4230 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4231 Replace "jmp L(pseudo_end)" with "ret".
4232 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4235 2012-05-23 Andreas Jaeger <aj@suse.de>
4237 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4238 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4240 2012-05-23 Andreas Jaeger <aj@suse.de>
4241 Maximilian Attems <max@stro.at>
4243 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4246 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4248 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4249 code so that pseudo_end is just ret and the stack pointer is
4250 correct also for static library in error case.
4252 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4254 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4255 move to syscalls.list.
4256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4261 * manual/install.texi (Running make install): Do not mention Linux
4262 kernel version for which pt_chown is not needed.
4263 (Linux): Do not mention problems with nscd with 2.0 kernels.
4264 * INSTALL: Regenerated.
4266 2012-05-23 Andreas Jaeger <aj@suse.de>
4268 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4269 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4271 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4272 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4273 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4274 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4275 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4276 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4277 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4278 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4279 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4280 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4281 * sysdeps/unix/sysv/linux/bits/in.h
4282 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4284 2012-05-22 Roland McGrath <roland@hack.frob.com>
4286 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4287 (PREPARE_VERSION): Just use assert instead, it will be elided
4288 under [NDEBUG] anyway.
4290 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4292 * sysdeps/unix/sysv/linux/Makefile: Include
4293 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4294 (sysdep_routines): Remove sysctl.
4295 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4296 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4297 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4298 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4299 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4301 2012-05-22 Andreas Jaeger <aj@suse.de>
4303 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4304 that pseudo_end is just ret and the stack pointer is correct also
4305 for static library in error case.
4307 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4310 * nss/nsswitch.c (defconfig_entries): New variable.
4311 (__nss_database_lookup): Don't leak defconfig entries.
4312 (nss_parse_service_list): Don't leak on error paths.
4313 (free_database_entries): New function.
4314 (free_defconfig): New function.
4315 (free_mem): Move common code to free_database_entries.
4317 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4319 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4321 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4323 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4324 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4327 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4328 (INTERNAL_SYSCALL_TYPES): Likewise.
4329 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4330 (LOAD_REGS_TYPES_[1-6]): Likewise.
4331 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4332 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4334 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4336 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4337 copysignl for GLIBC_2_0.
4338 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4339 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4340 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4341 logbl for GLIBC_2_0.
4342 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4343 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4345 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4347 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4348 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4350 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4353 * time/mktime.c: Update copyright years.
4355 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4357 mktime: merge comment-quoting-style change from gnulib
4358 * time/mktime.c: Quote 'like this' in comments.
4359 The GNU coding standards suggest that we no longer quote `like this',
4360 as "`" and "'" are typically rendered asymmetrically nowadays.
4361 The typical gnulib style is to quote 'like this' when quoting
4362 code, and "like this" when quoting English.
4364 * time/mktime.c (compile-command): Add "-I.".
4366 mktime: merge mktime-internal.h change from gnulib
4367 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4369 mktime: merge time_r change from gnulib
4370 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4372 mktime: merge DEBUG change from gnulib
4373 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4374 case system <time.h> has a #define.
4376 mktime: merge <sys/types.h> change from gnulib
4377 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4378 since <time.t> is now guaranteed to define time_t.
4380 mktime: merge HAVE_CONFIG_H change from gnulib
4381 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4383 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4385 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4388 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4390 (struct rusage): Use anonymous union to pad each field to
4393 2012-05-21 David S. Miller <davem@davemloft.net>
4395 * Makefules (o-iterator): Remove .s cases.
4396 (compile-command.s): Delete.
4397 (COMPILE.s): Delete.
4398 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4400 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4402 * configure.in (libc_cv_predef_stack_protector): Only consider
4403 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4404 * configure: Regenerated.
4406 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4409 New macro. Use R*LP on int and pointer.
4410 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4411 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4412 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4413 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4415 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4416 [__WORDSIZE_TIME64_COMPAT32] instead of
4417 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4418 (struct utmp): Likewise.
4419 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4420 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4422 (__WORDSIZE_TIME64_COMPAT32): This.
4423 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4424 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4425 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4426 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4427 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4428 (__WORDSIZE_TIME64_COMPAT32): New macro.
4430 2012-05-21 Andreas Jaeger <aj@suse.de>
4432 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4433 only if [SHARED]. Add prototype for __wcschr_ia32.
4435 2012-05-21 Roland McGrath <roland@hack.frob.com>
4437 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4438 of %rbp unmolested in the jmp_buf while mangling the low bits.
4439 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4440 unmolested high bits of %rbp while demangling the low bits.
4441 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4443 2012-05-21 Andreas Jaeger <aj@suse.de>
4445 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4446 * sunrpc/svc_simple.c: Use it for registerrpc.
4447 * sunrpc/xcrypt.c: Use it for passwd2des.
4449 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4451 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4453 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4454 Don't define if [__SYSCALL_WORDSIZE != 32].
4455 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4458 2012-05-21 Bruno Haible <bruno@clisp.org>
4459 Andreas Jaeger <aj@suse.de>
4461 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4462 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4463 inptr and inend for must_buffer_ch.
4464 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4465 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4466 * stdio-common/Makefile (tests): Remove bug15.
4467 (bug15-ENV): Remove macro.
4468 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4471 2012-05-19 Andreas Jaeger <aj@suse.de>
4472 Roland McGrath <roland@hack.frob.com>
4474 * manual/contrib.texi: Completely rewritten. It contains now an
4475 alphabetical list of contributors and their contributions.
4477 2012-05-21 Richard Henderson <rth@twiddle.net>
4479 * misc/getauxval.c (__getauxval): Use unsigned long int.
4480 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4481 (getauxval): Use unsigned long int.
4483 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4485 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4487 2012-05-21 Roland McGrath <roland@hack.frob.com>
4489 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4490 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4491 __alignof__ (long double).
4493 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4497 2012-05-20 Richard Henderson <rth@twiddle.net>
4499 * misc/getauxval.c: New file.
4500 * misc/sys/auxv.h: New file.
4501 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4502 (routines): Add getauxval.
4503 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4504 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4505 * elf/dl-sysdep.c (_dl_auxv): Remove.
4506 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4507 * elf/dl-support.c (_dl_auxv): New variable.
4508 (_dl_aux_init): Initialize it.
4509 * manual/startup.texi (Auxiliary Vector): New node.
4510 * sysdeps/generic/bits/hwcap.h: New file.
4511 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4512 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4513 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4514 * sysdeps/sparc/sysdep.h: ... here. Include it.
4515 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4516 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4522 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4528 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4532 2012-05-19 David S. Miller <davem@davemloft.net>
4534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4536 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4539 * math/s_ccosh.c: Include <float.h>
4540 (__ccosh): Avoid internal overflow calculating sinh and cosh
4541 values before multiplying by sin and cos values.
4542 * math/s_ccoshf.c: Likewise.
4543 * math/s_ccoshl.c: Likewise.
4544 * math/s_csin.c: Likewise.
4545 * math/s_csinf.c: Likewise.
4546 * math/s_csinl.c: Likewise.
4547 * math/s_csinh.c: Likewise.
4548 * math/s_csinhf.c: Likewise.
4549 * math/s_csinhl.c: Likewise.
4550 * math/libm-test.inc (ccos_test): Add more tests.
4551 (ccosh_test): Likewise.
4552 (csin_test): Likewise.
4553 (csinh_test): Likewise.
4554 * sysdeps/i386/fpu/libm-test-ulps: Update.
4555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4557 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4559 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4560 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4562 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4564 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4566 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4567 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4568 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4569 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4570 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4571 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4572 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4573 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4574 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4575 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4576 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4577 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4578 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4579 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4580 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4581 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4582 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4583 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4584 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4585 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4586 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4587 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4588 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4589 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4590 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4591 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4592 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4593 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4594 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4595 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4596 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4598 2012-05-18 Andreas Jaeger <aj@suse.de>
4600 * csu/.gitignore: Delete.
4602 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4604 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4605 (timex): Use __syscall_slong_t.
4607 2012-05-18 Andreas Jaeger <aj@suse.de>
4608 Carlos O'Donell <carlos_odonell@mentor.com>
4610 * manual/install.texi (Configuring and compiling): Update
4611 description about files modified in the source directory.
4612 * INSTALL: Regenerated.
4614 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4616 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4617 value. Use "or" to set return value to -1.
4618 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4619 negate return value.
4621 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4623 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4624 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4625 failure if the compiler has Graphite support disabled.
4626 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4628 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4629 CFLAGS-memmove.c): Likewise.
4630 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4633 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4635 * sysdeps/x86_64/x32/_itoa.h: New file.
4637 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4638 getdents system call only if kernel and user dirents have the
4639 same d_ino and d_off.
4641 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4642 LLONG_MAX != LONG_MAX.
4643 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4644 (_fitoa_word): Likewise.
4646 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4648 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4649 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4650 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4652 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4653 include <bits/wordsize.h>. Check __x86_64__ instead of
4655 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4656 if __x86_64__ is defined. Use anonymous union on fpstate.
4658 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4661 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4663 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4664 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4665 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4666 Refer to _rtld_local_ro instead of _rtld_global_ro.
4667 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4669 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4671 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4673 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4674 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4675 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4677 * sysdeps/powerpc/powerpc32/dl-machine.c
4678 (__elf_machine_runtime_setup) [PROF]: Don't reference
4681 2012-05-18 Andreas Jaeger <aj@suse.de>
4683 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4684 function only available for GCCs before 3.4 since GCC 3.4
4685 introduced a builtin.
4687 (llrintf): Likewise.
4695 (nearbyint): Likewise.
4696 (nearbyintf): Likewise.
4702 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4704 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4705 on both fields and cast pointer to __syscall_ulong_t.
4707 * bits/types.h (__fsword_t): New type.
4708 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4709 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4710 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4711 (__FSWORD_T_TYPE): Likewise.
4712 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4713 (__FSWORD_T_TYPE): Likewise.
4714 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4715 (__FSWORD_T_TYPE): Likewise.
4716 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4717 (__FSWORD_T_TYPE): Likewise.
4718 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4719 __SWORD_TYPE with __fsword_t.
4720 (statfs64): Likewise.
4722 2012-05-17 David S. Miller <davem@davemloft.net>
4724 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4726 2012-05-17 Andreas Jaeger <aj@suse.de>
4728 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4731 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4733 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4735 2012-05-17 Andreas Jaeger <aj@suse.de>
4737 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4740 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4742 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4744 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4746 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4747 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4749 2012-05-17 Andreas Jaeger <aj@suse.de>
4750 Carlos O'Donell <carlos_odonell@mentor.com>
4753 * sysdeps/x86_64/multiarch/init-arch.h
4754 (bit_YMM_Usable): Rename to...
4755 (bit_AVX_Usable): ... this.
4756 (bit_FMA4_Usable): New macro.
4757 (bit_XMM_state): New macro.
4758 (bit_YMM_state): New macro.
4759 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4760 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4761 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4762 (CPUID_OSXSAVE): New macro.
4763 (CPUID_AVX): New macro.
4764 (CPUID_FMA4): New macro.
4765 (index_YMM_Usable): Rename to...
4766 (index_AVX_Usable): ... this.
4767 (HAS_AVX): Use HAS_ARCH_FEATURE.
4768 (HAS_FMA4): Likewise.
4769 (HAS_YMM_USABLE): Remove.
4770 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4771 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4773 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4774 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4775 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4776 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4777 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4779 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4781 * math/libm-test.c: Support platforms without multiple rounding modes.
4782 * math/bug-nextafter.c: Support platforms without FP exceptions.
4783 * math/bug-nexttoward.c: Likewise.
4784 * math/test-fenv.c: Likewise.
4785 * math/test-misc.c: Likewise.
4786 * stdlib/bug-getcontext.c: Likewise.
4788 2012-05-17 Andreas Jaeger <aj@suse.de>
4790 * manual/examples/search.c (critter_cmp): Change signature to
4792 * manual/string.texi (Collation Functions): Likewise.
4794 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4796 * bits/types.h: Fold copyright years.
4797 * bits/typesizes.h: Likewise.
4798 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4799 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4800 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4801 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4802 * time/time.h: Likewise.
4804 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4807 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4808 in instead of returning them. Return void.
4809 (__libc_mallinfo): Accumulate over all arenas.
4810 (__malloc_stats): Adjust for change in int_mallinfo interface.
4812 2012-05-16 Roland McGrath <roland@hack.frob.com>
4815 * configure.in (NM): Add AC_CHECK_TOOL for it.
4816 (libc_extra_cflags): New substituted variable.
4817 Check for -fstack-protector being used implicitly.
4818 * configure: Regenerated.
4819 * config.make.in (config-extra-cflags): New variable,
4820 gets @libc_extra_cflags@.
4821 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4824 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4825 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4826 * configure: Regenerated.
4827 * config.make.in (CPPUNDEFS): New substituted variable.
4828 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4829 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4830 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4832 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4834 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4835 (mq_attr): Use __syscall_slong_t.
4837 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4839 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4840 Check __x86_64__ instead of __WORDSIZE.
4841 (_STAT_VER_LINUX): Likewise.
4842 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4843 __syscall_ulong_t and __syscall_slong_t.
4846 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4848 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4850 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4852 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4854 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4856 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4859 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4860 include <bits/wordsize.h>. Check __x86_64__ instead of
4862 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4864 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4866 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4867 include <bits/wordsize.h>. Check __x86_64__ instead of
4869 (user_regs_struct): Use "__extension__ unsigned long long"
4870 instead of "unsigned long" if __x86_64__ is defined.
4871 (user): Likewise. Pad after pointer field if __ILP32__ is
4874 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4876 * configure.in (makeinfo): Require version 4.5 or later. Allow
4878 * configure: Regenerated.
4879 * manual/install.texi (texinfo): Increase version requirement to
4881 * INSTALL: Regenerated.
4883 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4885 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4887 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4889 * sysdeps/x86_64/x32/ffs.c: New file.
4891 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4893 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4894 defined. Use __syscall_ulong_t.
4895 (shminfo): Use __syscall_ulong_t.
4896 (shm_info): Likewise.
4898 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4901 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4903 (msgqnum_t): Use __syscall_ulong_t.
4904 (msglen_t): Likewise.
4905 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4908 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4909 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4911 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4913 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4914 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4916 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4919 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4920 include <bits/wordsize.h>. Check __x86_64__ instead of
4923 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4924 "unsigned long long int" if __x86_64__ is defined.
4925 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4927 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4928 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4929 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4931 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4933 (GET_PC): Cast to uintptr_t first.
4934 (GET_FRAME): Likewise.
4935 (GET_STACK): Likewise.
4937 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4938 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4939 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4940 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4941 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4942 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4943 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4944 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4945 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4946 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4947 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4948 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4949 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4950 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4951 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4952 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4953 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4954 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4955 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4956 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4957 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4958 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4959 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4960 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4961 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4962 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4963 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4964 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4965 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4967 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4969 * Makerules (+depfiles): Also collect depfiles from .oS in
4971 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4972 .oS, $(libnldbl-routines)).
4974 * Makerules (native-compile-mkdep-flags): Define.
4975 * sunrpc/Makefile (extra-objs): Add $(addprefix
4976 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4977 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4978 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4979 calling $(make-target-directory).
4981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4983 * bits/types.h (__snseconds_t): Removed.
4984 * time/time.h (struct timespec): Replace __snseconds_t with
4986 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4987 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4989 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4990 (__SNSECONDS_T_TYPE): Likewise.
4991 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4992 (__SNSECONDS_T_TYPE): Likewise.
4993 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4994 (__SNSECONDS_T_TYPE): Likewise.
4996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4998 * sysdeps/mach/hurd/bits/typesizes.h
4999 (__SYSCALL_SLONG_TYPE): New macro.
5000 (__SYSCALL_ULONG_TYPE): Likewise.
5002 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5004 * bits/types.h (__syscall_slong_t): New type.
5005 (__syscall_ulong_t): Likewise.
5007 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5008 (__SYSCALL_ULONG_TYPE): Likewise.
5009 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5010 (__SYSCALL_SLONG_TYPE): Likewise.
5011 (__SYSCALL_ULONG_TYPE): Likewise.
5012 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5013 (__SYSCALL_SLONG_TYPE): Likewise.
5014 (__SYSCALL_ULONG_TYPE): Likewise.
5015 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5016 (__SYSCALL_SLONG_TYPE): Likewise.
5017 (__SYSCALL_ULONG_TYPE): Likewise.
5019 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5021 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5022 Add sigaltstack-offsets.sym.
5023 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5024 <sigaltstack-offsets.h>.
5025 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5026 longjmp_msg pointer.
5027 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5028 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5030 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5032 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5034 * elf/stackguard-macros.h: Remove file.
5035 * sysdeps/generic/stackguard-macros.h: New file.
5036 * sysdeps/i386/stackguard-macros.h: Likewise.
5037 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5038 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5039 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5040 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5041 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5042 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5043 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5044 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5045 <elf/stackguard-macros.h>.
5048 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5049 __aligned__ in attribute.
5050 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5051 (gregset_t): Likewise.
5053 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5055 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5056 * sysdeps/x86_64/64/Implies-after: Here. New file.
5057 * sysdeps/x86_64/x32/Implies-after: New file.
5059 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5061 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5062 and access return value for _dl_profile_fixup. Use R10_LP to
5065 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5067 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5071 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5072 * sysdeps/x86_64/x32/sysdep.h: New file.
5074 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5076 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5077 * sysdeps/x86_64/setjmp.S: Likewise.
5079 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5081 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5082 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5083 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5084 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5085 remove unused global constant.
5087 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5089 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5090 include of <not-cancel.h>.
5092 2012-05-15 Roland McGrath <roland@hack.frob.com>
5094 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5096 2012-05-15 Jeff Law <law@redhat.com>
5097 Andreas Jaeger <aj@suse.de>
5100 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5102 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5103 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5104 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5105 code changing __hst_map_handle.map.
5107 2012-05-15 Roland McGrath <roland@hack.frob.com>
5109 * configure.in (sysnames): Look for Implies-before and Implies-after
5111 * configure: Regenerated.
5113 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5115 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5116 8-byte data alignment with LP_SIZE alignment.
5118 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5120 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5123 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5125 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5127 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5129 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5130 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5131 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5133 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5135 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5137 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5138 (stackinfo_sub_sp): Likewise.
5140 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5142 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5145 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5147 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5152 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5155 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5157 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5159 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5161 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5162 into R11_LP and load __x86_64_shared_cache_size_half into
5165 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5167 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5170 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5172 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5174 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5176 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5178 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5179 powerpc32/power7/fpu/s_logb.c via #include.
5180 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5181 powerpc32/power7/fpu/s_logbf.c via #include.
5182 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5183 powerpc32/power7/fpu/s_logbl.c via #include.
5185 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5187 * README.libm: Remove file.
5189 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5191 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5192 count for x32. Use R*_LP and omit operand-size suffix.
5194 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5196 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5197 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5198 * sysdeps/x86_64/x32/shlib-versions: New file.
5200 2012-05-14 Roland McGrath <roland@hack.frob.com>
5202 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5203 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5204 Use _dl_fatal_printf instead.
5206 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5208 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5209 set if not set by the user. Do not allow for being unset.
5210 * sysdeps/unix/sysv/linux/configure: Regenerated.
5212 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5214 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5215 the `q' suffix from lea and replace .quad with ASM_ADDR.
5217 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5219 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5220 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5222 (PTR_DEMANGLE): Likewise.
5224 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5226 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5228 (ASM_ADDR): Likewise.
5246 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5248 * sysdeps/x86_64/x32/dl-machine.h: New file.
5250 2012-05-14 Andreas Jaeger <aj@suse.de>
5252 * manual/Makefile (subdir): Remove export of subdir.
5253 (all): Remove target.
5254 (.PHONY): Remove all from list.
5255 (mkinstalldirs): Remove.
5256 (.PHONY): Remove installdirs from list.
5257 ($(inst_infodir)/libc.info): Use make-target-directory.
5258 (installdirs): Remove.
5260 (glibc-targets): Remove.
5263 ($(objpfx)stubs ../po/manual.pot): Remove.
5264 ($(objpfx)stamp%): Remove.
5265 (make-target-directory): Remove.
5266 (subdir_install): Remove.
5274 * manual/.gitignore: Remove, it's not needed anymore.
5275 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5277 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5279 (texis): Renamed to $(objpfx)texis.
5280 (texis-path): New, contains path to generated files.
5281 (chapters.%): Use texis-path for complete path, add extra argument
5283 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5284 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5285 (summary,texi, stamp-summary): Use complete path of
5286 files. Generate files in build dir.
5287 (dir-add.texi): Build in build dir.
5288 (libm-err.texi,stamp-libm-err): Likewise.
5289 (version.texi, stamp-version): Likewise.
5290 (.%c.texi): Likewise.
5291 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5292 (mostlyclean): Remove target.
5293 (realclean): Remove target.
5294 (generated): Add new variable with contents from mostlyclean and
5295 realclean, remove entries duplicated in common-mostlyclean, add
5296 stamp-libm-err and stamp-version.
5297 (generated-dirs): Add libc directory.
5298 ($(inst_infodir)/libc.info): Install files from build dir.
5300 * manual/install.texi (Configuring and compiling): Adjust since
5301 the info files are not part of the tar ball anymore.
5303 2012-05-14 Andreas Jaeger <aj@suse.de>
5305 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5308 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5311 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5312 to 2.2.0 where earlier.
5313 * sysdeps/unix/sysv/linux/configure: Regenerated.
5314 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5315 Remove conditional code.
5316 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5317 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5318 Remove conditional code.
5319 [!__NR_lchown]: Likewise.
5320 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5321 [__NR_lchown]: Likewise.
5322 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5323 comment referencing __ASSUME_LCHOWN_SYSCALL.
5324 * sysdeps/unix/sysv/linux/i386/sigaction.c
5325 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5326 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5327 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5328 Remove conditional code.
5329 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5330 (__protocol_available): Remove #if 0 code.
5331 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5333 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5334 * sysdeps/unix/sysv/linux/kernel-features.h
5335 (__ASSUME_GETCWD_SYSCALL): Don't define.
5336 (__ASSUME_REALTIME_SIGNALS): Likewise.
5337 (__ASSUME_PREAD_SYSCALL): Likewise.
5338 (__ASSUME_PWRITE_SYSCALL): Likewise.
5339 (__ASSUME_POLL_SYSCALL): Likewise.
5340 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5341 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5343 (__ASSUME_SIOCGIFNAME): Don't define.
5344 (__ASSUME_MSG_NOSIGNAL): Likewise.
5345 (__ASSUME_SENDFILE): Define unconditionally.
5346 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5347 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5349 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5350 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5351 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5352 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5353 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5354 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5355 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5357 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5358 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5360 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5361 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5363 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5364 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5366 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5367 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5369 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5370 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5372 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5373 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5375 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5376 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5378 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5379 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5380 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5381 Remove conditional code.
5382 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5383 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5384 Remove conditional code.
5385 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5386 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5387 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5388 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5389 Remove conditional code.
5390 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5391 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5392 Remove conditional code.
5393 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5394 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5395 Remove conditional code.
5396 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5397 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5398 Remove conditional code.
5399 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5400 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5401 Remove conditional code.
5402 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5403 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5404 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5405 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5406 * sysdeps/unix/sysv/linux/sigaction.c
5407 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5408 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5409 * sysdeps/unix/sysv/linux/sigpending.c
5410 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5411 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5412 * sysdeps/unix/sysv/linux/sigprocmask.c
5413 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5414 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5415 * sysdeps/unix/sysv/linux/sigsuspend.c
5416 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5417 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5418 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5419 (__libc_missing_rt_sigs): Remove.
5420 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5421 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5422 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5423 Remove conditional code.
5424 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5425 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5427 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5428 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5429 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5430 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5432 2012-05-14 Andreas Jaeger <aj@suse.de>
5434 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5435 it's not used in glibc.
5436 (__coshm1): Likewise.
5437 (__acosh1p): Likewise.
5440 * manual/string.texi (Copying and Concatenation): Add missing
5441 variable in concat example.
5442 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5444 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5447 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5448 __builtin_clzl with __builtin_clzll.
5450 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5453 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5456 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5458 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5459 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5460 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5461 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5463 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5465 * NEWS: Update ia64 info.
5467 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5469 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5472 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5474 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5475 * sysdeps/unix/syscalls.list (dup3): Likewise.
5476 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5477 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5479 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5481 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5482 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5484 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5486 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5488 (TLS_IE): Use mov/add instead of movq/addq to load thread
5490 (TLS_GD_PREFIX): New.
5493 2012-05-11 David S. Miller <davem@davemloft.net>
5495 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5496 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5497 (_FPU_SETCW): Likewise.
5499 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5501 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5504 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5507 * iconvdata/gb18030.c: Update tables.
5508 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5509 characters specially.
5510 (BODY for TO_LOOP): Add encoding of missing ranges.
5512 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5515 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5516 * sysdeps/mach/hurd/dup3.c: Likewise.
5517 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5518 * sysdeps/powerpc/memmove.c:: Likewise.
5520 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5522 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5523 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5525 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5527 * elf/elf.h (R_X86_64_RELATIVE64): New.
5528 (R_X86_64_NUM): Updated.
5529 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5530 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5531 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5532 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5533 tst-quad1pie tst-quad2pie
5534 (modules-names): Add tst-quadmod1 tst-quadmod2.
5535 ($(objpfx)tst-quad1): New dependency.
5536 ($(objpfx)tst-quad2): Likewise.
5537 ($(objpfx)tst-quad1pie): Likewise.
5538 ($(objpfx)tst-quad2pie): Likewise.
5539 * sysdeps/x86_64/tst-quad1.c: New file.
5540 * sysdeps/x86_64/tst-quad1pie.c: New file.
5541 * sysdeps/x86_64/tst-quad2.c: Likewise.
5542 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5543 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5544 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5545 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5546 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5548 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5550 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5551 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5552 * streams/stropts.h (t_scalar_t): Define type.
5554 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5555 (_PATH_PRESERVE): Set to "/var/lib".
5556 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5558 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5561 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5562 if __dir_mkfile succeeded.
5564 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5565 checking for _hurd_dtablesize. Unlock it right after having
5566 finished _hurd_dtable allocation.
5568 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5570 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5571 * sysdeps/mach/hurd/configure: Regenerated.
5572 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5573 special-casing to...
5574 * sysdeps/gnu/configure.in: ... this new file.
5575 * sysdeps/unix/sysv/linux/configure: Regenerated.
5576 * sysdeps/gnu/configure: New generated file.
5578 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5579 for Linux: use nsec instead of usec, as well as:
5580 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5581 members of type struct timespec.
5582 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5584 (struct stat64): Likewise.
5585 (_STATBUF_ST_NSEC): New macro.
5586 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5588 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5589 __strtoul_internal rather than strtoul.
5591 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5593 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5596 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5598 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5599 which preserves existing values.
5600 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5602 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5604 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5605 TIMEOUT values. Return EINVAL for NFDS values either negative or
5606 greater than FD_SETSIZE.
5608 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5610 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5611 allocated, call __vm_protect to finish enabling the existing space, and
5612 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5613 allocate the remainder.
5615 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5617 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5618 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5620 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5622 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5623 sysdeps/mach/hurd/readlink.c.
5625 * posix/tst-sysconf.c (posix_options): Only use
5626 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5627 _POSIX_SYNCHRONIZED_IO when they are defined
5628 * sysdeps/mach/hurd/bits/posix_opt.h:
5629 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5630 (_XOPEN_REALTIME): Undefine macro.
5631 (_XOPEN_REALTIME_THREADS): Undefine macro.
5632 (_XOPEN_SHM): Undefine macro.
5633 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5635 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5637 (_POSIX_ASYNC_IO): Undefine macro.
5638 (_POSIX_PRIORITIZED_IO): Undefine macro.
5639 (_POSIX_SPIN_LOCKS): Define macro to -1.
5641 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5642 SA_NODEFER, SA_RESETHAND.
5643 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5644 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5647 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5649 * elf/Makefile (pldd-modules): Define unconditionally.
5651 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5653 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5655 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5657 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5658 Return ENOENT when name is empty.
5659 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5661 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5663 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5665 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5667 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5669 Fix mlock in all cases except non-readable pages.
5670 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5671 instead of VM_PROT_ALL as parameter to __vm_wire function.
5673 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5674 (__mkdir): When path is `/', just fail with EEXIST.
5675 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5677 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5679 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5680 <sys/uio.h> (for writev).
5681 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5682 and <sys/param.h> (for MIN).
5684 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5686 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5687 REQUESTED_TIME. Properly set the remaining time and return EINTR
5690 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5692 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5693 Depend on against $(link-rpcuserlibs).
5695 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5697 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5698 (__libc_stack_end): Do not use attribute_relro.
5699 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5700 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5701 to libthread-provided value.
5702 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5705 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5708 * bits/libc-lock.h (__libc_once_get): New macro.
5709 * sysdeps/mach/bits/libc-lock.h: Likewise.
5710 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5711 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5712 instead of using implementation details.
5714 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5715 * libio/freopen.c: Likewise.
5716 * libio/freopen64.c: Likewise.
5717 * misc/syslog.c: Likewise.
5718 * nscd/connections.c: Likewise.
5719 * nscd/netgroupcache.c: Likewise.
5720 * sysdeps/posix/getcwd.c: Likewise.
5722 2012-05-10 Roland McGrath <roland@hack.frob.com>
5724 * math/w_ilogbf.c: Add #include <limits.h>.
5726 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5728 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5729 path instead of returning without unlocking.
5731 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5732 immediate-write ioctls.
5733 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5735 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5737 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5738 __builtin_frame_address instead of making assumptions about the
5739 location of the return address relative to DATA. Force early load of
5741 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5742 __builtin_frame_address.
5745 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5746 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5747 implement dup3 and do some further code clean-ups.
5748 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5749 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5751 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5753 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5755 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5756 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5757 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5758 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5759 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5762 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5763 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5764 when handler == SIG_ERR, not when handler != SIG_ERR.
5766 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5768 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5769 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5772 accept4 for GNU Hurd.
5773 * include/sys/socket.h (__libc_accept4): New prototype.
5774 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5775 to implement __libc_accept4.
5776 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5778 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5780 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5781 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5782 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5785 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5787 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5789 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5791 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5792 assertion on O_CLOEXEC flag.
5793 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5794 * hurd/intern-fd.c: Likewise.
5795 * hurd/port2fd.c: Likewise.
5797 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5800 * bits/in.h (IPV6_PKTINFO): Define new macro.
5801 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5803 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5808 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5809 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5810 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5811 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5812 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5813 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5814 * math/libm-test.inc (logb_test) : Additional logb tests.
5816 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5817 Andreas Jaeger <aj@suse.de>
5819 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5820 * configure: Regenerated.
5821 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5822 * config.make.in (link-obsolete-rpc): New substituted variable.
5823 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5824 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5825 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5826 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5827 so that libc.a contains the symbols.
5828 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5829 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5830 * sunrpc/auth_none.c: Likewise.
5831 * sunrpc/auth_unix.c: Likewise.
5832 * sunrpc/authdes_prot.c: Likewise.
5833 * sunrpc/authuxprot.c: Likewise.
5834 * sunrpc/clnt_gen.c: Likewise.
5835 * sunrpc/clnt_perr.c: Likewise.
5836 * sunrpc/clnt_raw.c: Likewise.
5837 * sunrpc/clnt_simp.c: Likewise.
5838 * sunrpc/clnt_tcp.c: Likewise.
5839 * sunrpc/clnt_udp.c: Likewise.
5840 * sunrpc/clnt_unix.c: Likewise.
5841 * sunrpc/des_crypt.c: Likewise.
5842 * sunrpc/des_soft.c: Likewise.
5843 * sunrpc/get_myaddr.c: Likewise.
5844 * sunrpc/key_call.c: Likewise.
5845 * sunrpc/key_prot.c: Likewise.
5846 * sunrpc/netname.c: Likewise.
5847 * sunrpc/pm_getmaps.c: Likewise.
5848 * sunrpc/pm_getport.c: Likewise.
5849 * sunrpc/pmap_clnt.c: Likewise.
5850 * sunrpc/pmap_prot.c: Likewise.
5851 * sunrpc/pmap_prot2.c: Likewise.
5852 * sunrpc/pmap_rmt.c: Likewise.
5853 * sunrpc/publickey.c: Likewise.
5854 * sunrpc/rpc_cmsg.c: Likewise.
5855 * sunrpc/rpc_common.c: Likewise.
5856 * sunrpc/rpc_dtable.c: Likewise.
5857 * sunrpc/rpc_prot.c: Likewise.
5858 * sunrpc/rpc_thread.c: Likewise.
5859 * sunrpc/rtime.c: Likewise.
5860 * sunrpc/svc.c: Likewise.
5861 * sunrpc/svc_auth.c: Likewise.
5862 * sunrpc/svc_raw.c: Likewise.
5863 * sunrpc/svc_run.c: Likewise.
5864 * sunrpc/svc_tcp.c: Likewise.
5865 * sunrpc/svc_udp.c: Likewise.
5866 * sunrpc/svc_unix.c: Likewise.
5867 * sunrpc/svcauth_des.c: Likewise.
5868 * sunrpc/xcrypt.c: Likewise.
5869 * sunrpc/xdr.c: Likewise.
5870 * sunrpc/xdr_array.c: Likewise.
5871 * sunrpc/xdr_float.c: Likewise.
5872 * sunrpc/xdr_intXX_t.c: Likewise.
5873 * sunrpc/xdr_mem.c: Likewise.
5874 * sunrpc/xdr_rec.c: Likewise.
5875 * sunrpc/xdr_ref.c: Likewise.
5876 * sunrpc/xdr_sizeof.c: Likewise.
5877 * sunrpc/xdr_stdio.c: Likewise.
5879 2012-05-10 Roland McGrath <roland@hack.frob.com>
5881 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5882 change. Update copyright years.
5884 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5886 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5888 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5889 Joseph Myers <joseph@codesourcery.com>
5890 Paul Pluzhnikov <ppluzhnikov@google.com>
5893 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5895 [cross-compiling] (extra-libs): Likewise.
5896 [cross-compiling] (extra-libs-others): Likewise.
5897 [cross-compiling] (librpcsvc-routines): Likewise.
5898 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5899 [cross-compiling] (omit-deps): Likewise.
5900 (sunrpc-CPPFLAGS): New variable.
5901 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5902 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5903 (cross-rpcgen-objs): New variable.
5904 (extra-objs): Append $(cross-rpcgen-objs).
5905 ($(cross-rpcgen-objs)): New rule.
5906 ($(objpfx)cross-rpcgen): Likewise.
5907 (rpcgen-cmd): Define to use $(built-program-file). Expand
5909 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5910 ($(objpfx)x%.stmp): Likewise.
5911 * sunrpc/proto.h [IS_IN_build] (_): Define.
5912 [IS_IN_build] (_libc_intl_domainname): Likewise.
5914 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5916 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5917 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5918 and R_X86_64_TPOFF64.
5920 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5922 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5923 sysdeps/unix/sysv/syscalls.list.
5926 * sysdeps/unix/sysv/syscalls.list: Remove file.
5928 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5931 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5932 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5933 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5934 (__LC_IDENTIFICATION): Make these macros useful in #if
5935 expressions, as required by C99.
5937 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5939 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5940 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5943 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5945 * stdlib/longlong.h: Updated from GCC.
5947 2012-05-09 Andreas Jaeger <aj@suse.de>
5949 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5950 default is first entry.
5951 (run_mode): Set type.
5952 (main): Remove informal message about syslog.
5953 (options): Fix typo.
5956 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5959 (llrintf): Likewise.
5963 (nearbyint): Likewise.
5964 (nearbyintf): Likewise.
5966 2012-05-09 Andreas Jaeger <aj@suse.de>
5967 Pedro Alves <palves@redhat.com>
5969 * nscd/nscd.c (run_mode): Use enum.
5970 (main): Cleanup coding style issue.
5972 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
5973 Andreas Jaeger <aj@suse.de>
5975 * nscd/nscd.c (go_background): Replaced with...
5976 (run_mode): ... this.
5977 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5978 (options): Add -F --foreground.
5979 (main): Implement it.
5980 (parse_opt): Parse it.
5982 2012-05-09 Andreas Jaeger <aj@suse.de>
5985 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5986 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5987 -Wconversion warning.
5988 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5991 2012-05-09 Joseph Myers <joseph@codesourcery.com>
5993 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5995 (LC_ALL): Use macro-int-constant.
5996 (LC_COLLATE): Likewise.
5997 (LC_CTYPE): Likewise.
5998 (LC_MESSAGES): Likewise.
5999 (LC_MONETARY): Likewise.
6000 (LC_NUMERIC): Likewise.
6001 (LC_TIME): Likewise.
6002 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6003 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6004 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6005 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6007 [C99-based standards] (float_t): Expect type.
6008 [C99-based standards] (double_t): Expect type.
6009 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6011 [C99-based standards] (HUGE_VALL): Likewise.
6012 [C99-based standards] (INFINITY): Likewise.
6013 [C99-based standards] (NAN): Likewise.
6014 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6015 [C99-based standards] (FP_NAN): Likewise.
6016 [C99-based standards] (FP_NORMAL): Likewise.
6017 [C99-based standards] (FP_SUBNORMAL): Likewise.
6018 [C99-based standards] (FP_ZERO): Likewise.
6019 [C99-based standards] (FP_FAST_FMA): Use
6020 optional-macro-int-constant. Specify type. Require == 1.
6021 [C99-based standards] (FP_FAST_FMAF): Likewise.
6022 [C99-based standards] (FP_FAST_FMAL): Likewise.
6023 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6024 [C99-based standards] (FP_ILOGBNAN): Likewise.
6025 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6027 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6028 [C99-based standards] (math_errhandling): Specify type.
6029 [ISO99 || ISO11] (signgam): Do not allow.
6030 [non-C99-based standards] (copysignf): Do not allow.
6031 [non-C99-based standards] (exp2f): Likewise.
6032 [non-C99-based standards] (log2f): Likewise.
6033 [non-C99-based standards] (modff): Allow.
6034 [non-C99-based standards] (erff): Do not allow.
6035 [non-C99-based standards] (erfcf): Likewise.
6036 [non-C99-based standards] (gammaf): Likewise.
6037 [non-C99-based standards] (hypotf): Likewise.
6038 [non-C99-based standards] (j0f): Likewise.
6039 [non-C99-based standards] (j1f): Likewise.
6040 [non-C99-based standards] (jnf): Likewise.
6041 [non-C99-based standards] (lgammaf): Likewise.
6042 [non-C99-based standards] (tgammaf): Likewise.
6043 [non-C99-based standards] (y0f): Likewise.
6044 [non-C99-based standards] (y1f): Likewise.
6045 [non-C99-based standards] (ynf): Likewise.
6046 [non-C99-based standards] (isnanf): Likewise.
6047 [non-C99-based standards] (acoshf): Likewise.
6048 [non-C99-based standards] (asinhf): Likewise.
6049 [non-C99-based standards] (atanhf): Likewise.
6050 [non-C99-based standards] (cbrtf): Likewise.
6051 [non-C99-based standards] (expm1f): Likewise.
6052 [non-C99-based standards] (ilogbf): Likewise.
6053 [non-C99-based standards] (log1pf): Likewise.
6054 [non-C99-based standards] (logbf): Likewise.
6055 [non-C99-based standards] (nextafterf): Likewise.
6056 [non-C99-based standards] (remainderf): Likewise.
6057 [non-C99-based standards] (rintf): Likewise.
6058 [non-C99-based standards] (scalbf): Likewise.
6059 [non-C99-based standards] (copysignl): Likewise.
6060 [non-C99-based standards] (exp2l): Likewise.
6061 [non-C99-based standards] (log2l): Likewise.
6062 [non-C99-based standards] (modfl): Allow.
6063 [non-C99-based standards] (erfl): Do not allow.
6064 [non-C99-based standards] (erfcl): Likewise.
6065 [non-C99-based standards] (gammal): Likewise.
6066 [non-C99-based standards] (hypotl): Likewise.
6067 [non-C99-based standards] (j0l): Likewise.
6068 [non-C99-based standards] (j1l): Likewise.
6069 [non-C99-based standards] (jnl): Likewise.
6070 [non-C99-based standards] (lgammal): Likewise.
6071 [non-C99-based standards] (tgammal): Likewise.
6072 [non-C99-based standards] (y0l): Likewise.
6073 [non-C99-based standards] (y1l): Likewise.
6074 [non-C99-based standards] (ynl): Likewise.
6075 [non-C99-based standards] (isnanl): Likewise.
6076 [non-C99-based standards] (acoshl): Likewise.
6077 [non-C99-based standards] (asinhl): Likewise.
6078 [non-C99-based standards] (atanhl): Likewise.
6079 [non-C99-based standards] (cbrtl): Likewise.
6080 [non-C99-based standards] (expm1l): Likewise.
6081 [non-C99-based standards] (ilogbl): Likewise.
6082 [non-C99-based standards] (log1pl): Likewise.
6083 [non-C99-based standards] (logbl): Likewise.
6084 [non-C99-based standards] (nextafterl): Likewise.
6085 [non-C99-based standards] (remainderl): Likewise.
6086 [non-C99-based standards] (rintl): Likewise.
6087 [non-C99-based standards] (scalbl): Likewise.
6088 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6089 [non-C99-based standards] (FP_*): Do not allow.
6090 [C99-based standards] (FP_*): Change to
6091 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6092 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6094 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6095 (SIG_ERR): Likewise.
6096 [X/Open-based standards] (SIG_HOLD): Likewise.
6097 (SIG_IGN): Likewise.
6098 (SIGABRT): Use macro-int-constant. Specify type. Require
6103 (SIGSEGV): Likewise.
6105 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6106 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6107 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6108 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6109 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6110 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6111 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6112 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6113 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6114 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6115 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6116 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6117 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6118 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6119 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6120 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6121 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6122 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6123 [X/Open-based standards] (SIGTRAP): Likewise.
6124 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6125 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6126 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6127 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6128 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6131 2012-05-08 Ian Wienand <ianw@vmware.com>
6134 * time/tzset.c (__tzset_parse_tz): Update default rules for
6135 daylight time changes in the Energy Policy Act of 2005.
6137 2012-05-09 Andreas Jaeger <aj@suse.de>
6140 * elf/ldconfig.c (parse_conf): Change string to make clear that
6141 ldconfig only issued a warning if ld.so.conf does not exist.
6143 2012-05-08 David S. Miller <davem@davemloft.net>
6145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6146 movxtod instead of popping the value on the stack.
6148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6150 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6152 * config.h.in: Add HAVE_ARM_PCS_VFP.
6154 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6157 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6158 checking but the checks are disabled for any reason.
6160 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6162 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6163 and ELF64_R_TYPE with ELFW(R_TYPE).
6165 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6167 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6170 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6171 (settimeofday): Likewise.
6173 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6175 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6176 a struct th_u2 inside the union, and move tu_block/tu_code into
6177 a new th_u3 union of tu_block/tu_code inside of that. Move
6178 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6179 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6180 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6181 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6182 (th_stuff): Change to th_u1.tu_stuff.
6184 (th_msg): Change to th_u1.th_u2.tu_data.
6186 2012-05-07 David S. Miller <davem@davemloft.net>
6188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6191 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6192 (SETUP_PIC_REG): Use it.
6193 (SETUP_PIC_REG_LEAF): Use it.
6195 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6199 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6201 (EXPL_FINITE): Likewise.
6203 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6204 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6206 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6208 (EXPL_FINITE): Likewise.
6210 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6211 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6213 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6214 test of -max_value argument for long double.
6215 * sysdeps/i386/fpu/libm-test-ulps: Update.
6216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6218 2012-05-06 David S. Miller <davem@davemloft.net>
6220 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6221 quad soft-float symbols whose references which are compiler
6223 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6225 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6229 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6231 (EXPL_FINITE): Likewise.
6235 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6236 Adjust comments for base varying.
6237 (__expl_finite): Change alias to EXPL_FINITE.
6238 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6240 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6241 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6242 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6243 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6244 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6246 (EXPL_FINITE): Likewise.
6250 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6251 Adjust comments for base varying.
6252 (__expl_finite): Change alias to EXPL_FINITE.
6253 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6258 * math/libm-test.inc (check_float_internal): Correct ulp
6259 calculation for subnormal expected results.
6261 2012-05-06 Andreas Jaeger <aj@suse.de>
6263 * Makeconfig (+math-flags): New, set to -frounding-math.
6264 (+cflags): Add +math-flags so that all of glibc gets compiled with
6267 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6269 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6271 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6277 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6278 (__ieee754_expl): Allow for and saturate large arguments.
6279 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6280 (u_threshold): Likewise.
6281 (__exp): Call __ieee754_exp before checking for overflow and
6283 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6284 (u_threshold): Likewise.
6285 (__expf): Call __ieee754_expf before checking for overflow and
6287 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6288 (u_threshold): Likewise.
6289 (__expl): Call __ieee754_expl before checking for overflow and
6291 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6292 (__ieee754_expl): Allow for and saturate large arguments.
6293 * math/libm-test.inc (exp_test): Add another test. Do not allow
6294 missing overflow exception on overflow.
6295 (expm1_test): Do not allow missing overflow exception on overflow.
6297 * sysdeps/i386/fpu/e_expl.c: Move to ...
6298 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6299 rather than using inline asm.
6300 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6301 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6302 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6304 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6311 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6313 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6314 sysdeps/unix/common/syscalls.list.
6317 (ftruncate): Likewise.
6318 (getrusage): Likewise.
6319 (gettimeofday): Likewise.
6320 (setpgid): Likewise.
6321 (setregid): Likewise.
6322 (setreuid): Likewise.
6323 (sigaction): Likewise.
6324 (truncate): Likewise.
6325 (vhangup): Likewise.
6326 * sysdeps/unix/common/syscalls.list: Remove file.
6327 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6328 * sysdeps/unix/sysv/linux/Implies: Likewise.
6330 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6332 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6334 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6338 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6341 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6344 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6347 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6350 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6353 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6356 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6360 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6364 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6367 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6371 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6375 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6377 * sysdeps/unix/common/bits/dirent.h: Remove file.
6378 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6380 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6381 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6382 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6383 * sysdeps/unix/bsd/isatty.c: Likewise.
6384 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6385 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6386 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6388 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6391 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6392 long double comparison inaccuracies.
6393 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6396 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6398 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6399 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6401 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6404 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6405 nonzero digits before rounding a hex value.
6406 * stdlib/tst-strtod.c (tests): Add another test.
6408 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6410 * sysdeps/s390/fpu/libm-test-ulps: Update.
6412 2012-05-03 Andreas Jaeger <aj@suse.de>
6414 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6415 does not get optimized out.
6416 (malloc_opt_barrier): New.
6418 2012-05-03 Andreas Jaeger <aj@suse.de>
6419 Roland McGrath <roland@hack.frob.com>
6421 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6422 intermediate file deletion.
6423 (generated): Add .symlist files.
6425 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6428 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6429 Redirect under this condition.
6430 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6431 [__USE_GNU] (__dprintf_chk): Not under this condition.
6432 [__USE_GNU] (__vdprintf_chk): Likewise.
6433 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6434 under this condition.
6435 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6436 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6437 [__USE_XOPEN2K8] (vdprintf): Likewise.
6438 [__USE_GNU] (__dprintf_chk): Not under this condition.
6439 [__USE_GNU] (__vdprintf_chk): Likewise.
6440 [__USE_GNU] (dprintf): Likewise.
6441 [__USE_GNU] (vdprintf): Likewise.
6443 2012-05-03 Roland McGrath <roland@hack.frob.com>
6445 * elf/Makefile (common-generated): Set this instead of generated for
6446 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6447 $(all-built-dso)-derived lists.
6449 2012-05-03 Andreas Jaeger <aj@suse.de>
6451 * sysdeps/i386/fpu/libm-test-ulps: Update.
6455 * scripts/gen-FAQ.pl: Likewise.
6456 * manual/install.texi (Installation): Point to online location of
6458 * Makefile (files-for-dist): Remove FAQ.
6461 2012-05-02 Allan McRae <allan@archlinux.org>
6463 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6464 (LDFLAGS-reldepmod5.so): Likewise.
6465 (LDFLAGS-reldep6mod1.so): Likewise.
6466 (LDFLAGS-reldep6mod4.so): Likewise.
6467 (LDFLAGS-reldep8mod3.so): Likewise.
6468 (LDFLAGS-unload4mod1.so): Likewise.
6469 (LDFLAGS-unload4mod2.so): Likewise.
6470 (LDFLAGS-tst-initorder): Likewise.
6471 (LDFLAGS-tst-initordera2.so): Likewise.
6472 (LDFLAGS-tst-initordera3.so): Likewise.
6473 (LDFLAGS-tst-initordera4.so): Likewise.
6474 (LDFLAGS-tst-initorderb2.so): Likewise.
6475 (LDFLAGS-noload): Likewise.
6476 (LDFLAGS-next): Likewise.
6477 (LDFLAGS-order2mod1.so): Likewise.
6478 (LDFLAGS-order2mod2.so): Likewise.
6479 (LDFLAGS-tst-initorder2): Likewise.
6480 (LDFLAGS-tst-initorder2a.so): Likewise.
6481 (LDFLAGS-tst-initorder2b.so): Likewise.
6482 (LDFLAGS-tst-initorder2c.so): Likewise.
6483 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6485 2012-05-02 David S. Miller <davem@davemloft.net>
6487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6489 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6492 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6494 2012-05-02 Andreas Jaeger <aj@suse.de>
6496 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6497 since we manipulate rounding mode.
6498 (CPPFLAGS-test-idouble.c): Likewise.
6499 (CPPFLAGS-test-ifloat.c): Likewise.
6500 (CFLAGS-test-ldouble.c): Likewise.
6501 (CFLAGS-test-double.c): Likewise.
6502 (CFLAGS-test-float.c): Likewise.
6503 (CFLAGS-test-misc.c): Likewise.
6504 (CFLAGS-test-test-fenv.c): Likewise.
6506 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6510 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6511 comparisons to determine direction to adjust input.
6513 2012-05-01 Roland McGrath <roland@hack.frob.com>
6515 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6516 output to the target.
6518 * scripts/localplt.awk: New file.
6519 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6520 (check-localplt-CFLAGS): Variable removed.
6521 ($(all-built-dso:=.jmprel)): New static pattern rule.
6522 (generated): Add those targets.
6523 (localplt-built-dso): New variable.
6524 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6526 * elf/check-localplt.c: File removed.
6528 * scripts/check-execstack.awk: New file.
6529 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6530 (check-execstack-CFLAGS): Variable removed.
6531 ($(objpfx)check-execstack.h): Target removed.
6532 ($(objpfx)execstack-default): New target.
6533 (generated): Add that instead of check-execstack.h.
6534 ($(all-built-dso:=.phdr)): New static pattern rule.
6535 (generated): Add those targets.
6536 * elf/check-execstack.c: File removed.
6538 * scripts/check-textrel.awk: New file.
6539 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6540 (check-textrel-CFLAGS): Variable removed.
6541 (all-built-dso): Use := to define.o
6542 ($(all-built-dso:=.dyn)): New static pattern rule.
6543 (generated): Add those targets.
6544 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6545 * config.make.in (READELF): New substituted variable.
6546 * elf/check-textrel.c: File removed.
6548 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6550 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6552 * conform/data/ctype.h-data [C99-based standards] (isblank):
6554 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6555 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6556 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6557 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6558 Specify type. Require positive value.
6561 [ISO || POSIX] (EILSEQ): Do not expect.
6562 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6563 Specify type. Require positive value.
6564 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6565 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6566 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6567 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6568 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6569 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6570 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6571 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6572 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6573 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6574 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6575 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6576 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6577 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6578 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6579 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6580 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6581 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6582 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6583 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6584 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6585 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6586 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6587 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6588 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6589 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6590 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6591 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6592 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6593 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6594 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6595 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6596 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6597 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6598 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6599 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6600 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6601 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6602 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6603 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6604 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6605 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6606 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6607 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6608 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6609 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6610 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6611 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6612 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6613 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6614 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6615 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6616 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6617 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6618 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6619 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6620 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6621 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6622 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6623 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6624 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6625 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6626 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6627 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6628 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6629 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6630 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6631 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6632 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6633 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6634 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6635 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6636 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6637 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6638 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6639 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6640 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6642 (FLT_ROUNDS): Expect as macro, not constant.
6643 (FLT_MANT_DIG): Use macro-int-constant.
6644 (DBL_MANT_DIG): Likewise.
6645 (LDBL_MANT_DIG): Likewise.
6646 (FLT_DIG): Likewise.
6647 (DBL_DIG): Likewise.
6648 (LDBL_DIG): Likewise.
6649 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6650 (DBL_MIN_EXP): Likewise.
6651 (LDBL_MIN_EXP): Likewise.
6652 (FLT_MAX_EXP): Use macro-int-constant.
6653 (DBL_MAX_EXP): Likewise.
6654 (LDBL_MAX_EXP): Likewise.
6655 (FLT_MAX_10_EXP): Likewise.
6656 (DBL_MAX_10_EXP): Likewise.
6657 (LDBL_MAX_10_EXP): Likewise.
6658 (FLT_MAX): Use macro-constant.
6659 (DBL_MAX): Likewise.
6660 (LDBL_MAX): Likewise.
6661 (FLT_EPSILON): Use macro-constant. Give upper bound.
6662 (DBL_EPSILON): Likewise.
6663 (LDBL_EPSILON): Likewise.
6664 (FLT_MIN): Likewise.
6665 (DBL_MIN): Likewise.
6666 (LDBL_MIN): Likewise.
6667 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6668 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6669 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6670 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6671 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6672 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6673 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6674 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6675 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6676 [ISO11] (FLT_TRUE_MIN): Likewise.
6677 [ISO11] (LDBL_TRUE_MIN): Likewise.
6678 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6679 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6680 (SCHAR_MIN): Use macro-int-constant. Specify type.
6681 (SCHAR_MAX): Likewise.
6682 (UCHAR_MAX): Likewise.
6683 (CHAR_MIN): Likewise.
6684 (CHAR_MAX): Likewise.
6685 (MB_LEN_MAX): Use macro-int-constant.
6686 (SHRT_MIN): Use macro-int-constant. Specify type.
6687 (SHRT_MAX): Likewise.
6688 (USHRT_MAX): Likewise.
6689 (INT_MAX): Likewise.
6690 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6692 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6694 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6696 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6697 bound negative. Suffix upper bound with "L".
6698 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6700 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6702 [C99-based standards] (LLONG_MAX): Likewise.
6703 [C99-based standards] (ULLONG_MAX): Likewise.
6704 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6706 [ISO11] (max_align_t): Require type.
6707 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6709 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6710 from $CFLAGS, without defining away __attribute__ calls.
6711 (checknamespace): Use $CFLAGS_namespace.
6713 * conform/conformtest.pl (@keywords): Only include C99 keywords
6714 for standards based on C99 or C11.
6716 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6718 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6721 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6722 usability of symbols in #if.
6724 * conform/conformtest.pl: If macro or constant types start
6725 "promoted:", expect the symbol to be of the following type
6726 promoted by the integer promotions.
6728 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6729 in one place. Also handle "macro-constant".
6731 * conform/conformtest.pl: Only accept expected macro values with
6732 "==". Parse all "macro" lines in one place.
6733 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6735 * conform/conformtest.pl: Handle braced types on "constant" lines
6736 instead of handling "typed-constant".
6737 * conform/data/signal.h-data: Use "constant" instead of
6740 * conform/conformtest.pl: Handle "optional-" at start of lines in
6741 one place rather than duplicating several cases. Handle each
6742 format of "macro" line with initial "optional-".
6744 * conform/conformtest.pl: Only accept expected constant or
6745 optional-constant values with "==". Parse all "constant" lines in
6746 one place. Parse all "optional-constant" lines in one place.
6747 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6748 * conform/data/fmtmsg.h-data: Likewise.
6749 * conform/data/netinet/in.h-data: Likewise.
6750 * conform/data/tar.h-data: Likewise.
6751 * conform/data/limits.h-data: Use "==" form on "constant" and
6752 "optional-constant" lines.
6754 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6755 Use -std=c99 for XOPEN2K.
6756 (@knownproblems): Remove.
6757 (newtoken): Don't check %isknown.
6759 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6760 Do not expect macro.
6761 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6762 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6763 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6764 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6765 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6766 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6767 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6768 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6769 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6770 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6771 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6772 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6773 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6774 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6775 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6776 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6777 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6778 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6779 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6780 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6781 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6782 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6783 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6784 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6785 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6786 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6787 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6788 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6789 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6790 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6791 [XPG3] (acosh): Likewise.
6792 [XPG3] (asinh): Likewise.
6793 [XPG3] (atanh): Likewise.
6794 [XPG3] (cbrt): Likewise.
6795 [XPG3] (expm1): Likewise.
6796 [XPG3] (ilogb): Likewise.
6797 [XPG3] (log1p): Likewise.
6798 [XPG3] (logb): Likewise.
6799 [XPG3] (nextafter): Likewise.
6800 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6801 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6802 [XPG3] (remainder): Likewise.
6803 [XPG3] (rint): Likewise.
6804 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6805 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6806 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6807 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6808 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6809 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6810 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6811 [UNIX98 || XOPEN2K] (scalb): Expect.
6812 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6813 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6814 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6815 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6816 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6817 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6818 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6819 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6820 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6821 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6822 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6823 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6824 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6825 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6826 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6827 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6828 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6829 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6830 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6831 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6832 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6833 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6834 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6835 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6836 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6837 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6838 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6839 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6840 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6841 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6842 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6843 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6844 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6845 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6846 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6847 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6848 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6849 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6850 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6851 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6852 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6853 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6854 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6855 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6856 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6857 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6858 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6859 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6860 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6861 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6862 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6863 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6864 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6865 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6866 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6867 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6868 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6869 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6870 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6871 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6872 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6873 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6874 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6875 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6876 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6877 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6878 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6879 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6880 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6881 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6882 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6883 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6884 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6885 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6886 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6887 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6888 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6889 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6890 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6891 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6892 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6893 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6894 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6895 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6896 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6897 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6898 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6899 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6900 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6901 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6902 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6903 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6904 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6905 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6906 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6907 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6908 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6909 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6910 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6911 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6912 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6913 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6914 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6915 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6916 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6917 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6918 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6919 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6920 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6921 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6922 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6923 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6924 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6925 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6926 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6927 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6928 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6929 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6930 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6931 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6932 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6933 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6934 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6935 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6936 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6937 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6938 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6939 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6940 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6941 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6942 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6943 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6944 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6945 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6946 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6947 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6948 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6950 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6951 _XOPEN_SOURCE_EXTENDED for XPG4.
6953 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6955 * Makeconfig (localtime): Remove variable.
6956 (inst_localtime-file): Likewise.
6958 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6979 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6983 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6984 comparisons to determine direction to adjust input.
6985 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6986 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6987 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6989 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6991 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6993 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6994 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6996 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6998 * math/libm-test.inc (nexttoward_test): Add more tests.
7000 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7003 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7004 in version GLIBC_2.1, not GLIBC_2.0.
7005 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7008 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7011 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7013 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7014 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7015 * math/libm-test.inc (acos_test): Add more tests.
7016 (asin_test): Likewise.
7017 * sysdeps/i386/fpu/libm-test-ulps: Update.
7018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7021 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7023 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7024 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7025 * math/libm-test.inc (acos_test_tonearest): New function.
7026 (acos_test_towardzero): Likewise.
7027 (acos_test_downward): Likewise.
7028 (acos_test_upward): Likewise.
7029 (asin_test_tonearest): Likewise.
7030 (asin_test_towardzero): Likewise.
7031 (asin_test_downward): Likewise.
7032 (asin_test_upward): Likewise.
7033 (main): Call the new functions.
7034 * sysdeps/i386/fpu/libm-test-ulps: Update.
7035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7039 * math/e_exp10.c: Include <float.h>.
7040 (__ieee754_exp10): Handle underflow here rather than multiplying
7041 large negative argument by M_LN10.
7042 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7044 * math/e_exp10l.c: Include <float.h>.
7045 (__ieee754_exp10l): Handle underflow here rather than multiplying
7046 large negative argument by M_LN10l.
7047 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7048 spurious overflow exception on underflow.
7050 2012-04-29 Marek Polacek <polacek@redhat.com>
7052 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7053 (__fortify_function): New macro.
7054 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7055 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7056 __extern_always_inline.
7057 * libio/bits/stdio2.h: Likewise.
7058 * libio/bits/stdio.h: Likewise.
7059 * string/string.h: Likewise.
7060 * string/bits/string3.h: Likewise.
7061 * include/stdio.h: Likewise.
7062 * stdlib/bits/stdlib.h: Likewise.
7063 * stdlib/stdlib.h: Likewise.
7064 * rt/bits/mqueue2.h: Likewise.
7065 * rt/mqueue.h: Likewise.
7066 * posix/bits/unistd.h: Likewise.
7067 * posix/unistd.h: Likewise.
7068 * io/bits/poll2.h: Likewise.
7069 * io/bits/fcntl2.h: Likewise.
7070 * io/fcntl.h: Likewise.
7071 * io/sys/poll.h: Likewise.
7072 * misc/bits/syslog.h: Likewise.
7073 * misc/bits/syslog-ldbl.h: Likewise.
7074 * misc/sys/syslog.h: Likewise.
7075 * socket/bits/socket2.h: Likewise.
7076 * socket/sys/socket.h: Likewise.
7077 * debug/tst-chk1.c: Likewise.
7078 * wcsmbs/bits/wchar2.h: Likewise.
7079 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7080 * wcsmbs/wchar.h: Likewise.
7082 2012-04-29 Andreas Jaeger <aj@suse.de>
7084 * Makerules (tests): Remove enable-check-abi protection.
7085 (check-abi-warn): Remove.
7086 (check-abi-%): Remove check-abi-warn usage.
7088 * configure.in: Remove check-abi configure option.
7089 * configure: Regenerated.
7090 * config.make.in (enable-check-abi): Remove.
7092 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7095 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7096 double functions to double *_finite functions.
7099 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7100 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7102 * stdio-common/Makefile (tests): Add tst-sprintf3.
7103 * stdio-common/tst-sprintf3.c: New file.
7105 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7106 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7108 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7110 * conform/conformtest.pl: Remove duplicate typed-constant
7113 2012-04-28 David S. Miller <davem@davemloft.net>
7115 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7116 (check-abi-%): Remove AWK script prerequisite and explicit
7118 (check-abi): Rewrite to just diff the symlist with the abilist.
7119 (config-tls, config-abi-config): Delete, no longer used.
7120 (update-abi-%): Remove AWK script and explicit abilist directory.
7121 (update-abi): Rewrite to simply compare and conditionally copy the
7122 symlist and the sysdep abilist file. Remove update-abi-config
7124 * abilist/ld.abilist: Remove.
7125 * abilist/libBrokenLocale.abilist: Remove.
7126 * abilist/libanl.abilist: Remove.
7127 * abilist/libcrypt.abilist: Remove.
7128 * abilist/libdl.abilist: Remove.
7129 * abilist/librt.abilist: Remove.
7130 * abilist/libthread_db.abilist: Remove.
7131 * abilist/libutil.abilist: Remove.
7132 * scripts/extract-abilist.awk: Remove.
7133 * scripts/merge-abilist.awk: Remove.
7134 * sysdeps/generic/libcidn.abilist: New file.
7135 * sysdeps/generic/libnss_compat.abilist: New file.
7136 * sysdeps/generic/libnss_db.abilist: New file.
7137 * sysdeps/generic/libnss_dns.abilist: New file.
7138 * sysdeps/generic/libnss_files.abilist: New file.
7139 * sysdeps/generic/libnss_hesiod.abilist: New file.
7140 * sysdeps/generic/libnss_nis.abilist: New file.
7141 * sysdeps/generic/libnss_nisplus.abilist: New file.
7142 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7143 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7144 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7146 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7147 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7148 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7149 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7150 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7151 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7152 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7153 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7154 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7156 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7157 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7158 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7159 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7161 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7162 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7163 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7164 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7165 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7166 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7168 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7169 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7170 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7172 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7173 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7181 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7183 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7185 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7187 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7189 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7191 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7275 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7276 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7277 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7279 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7280 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7281 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7282 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7283 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7284 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7285 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7286 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7287 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7288 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7340 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7342 * conform/conformtest.pl: Fix typo in handling typed-constant from
7345 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7347 * README: Cut down references to pre-2.6 Linux kernels and
7348 Linuxthreads. Update lists of configurations in libc and ports
7349 and sort alphabetically. Say "or newer" with Linux kernel version
7352 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7354 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7357 * math/libm-test.inc (logb_test_downward): New test to expose
7358 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7361 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7364 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7366 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7367 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7369 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7371 * sysdeps/unix/i386/brk.S: Remove file.
7372 * sysdeps/unix/i386/dl-brk.S: Likewise.
7373 * sysdeps/unix/i386/pipe.S: Likewise.
7374 * sysdeps/unix/i386/sigreturn.S: Likewise.
7375 * sysdeps/unix/i386/syscall.S: Likewise.
7376 * sysdeps/unix/i386/vfork.S: Likewise.
7377 * sysdeps/unix/i386/wait.S: Likewise.
7379 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7380 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7382 * configure.in (arm*-none*): Do not allow without
7383 --enable-hacker-mode.
7384 (netbsd*): Remove case setting base_os.
7385 (386bsd*): Likewise.
7386 (freebsd*): Likewise.
7390 (ultrix*): Likewise.
7391 (newsos*): Likewise.
7401 (solaris[2-9]*): Likewise.
7403 * configure: Regenerated.
7405 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7408 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7409 overflow or cancellation in calculating denominator.
7410 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7411 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7412 down expression to avoid unexpected rounding in newer GCCs.
7413 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7415 2012-04-26 David S. Miller <davem@davemloft.net>
7417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7418 long-double compat symbols.
7419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7433 2012-04-25 David S. Miller <davem@davemloft.net>
7435 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7436 HWCAP_* values only after the memory barriers have been defined.
7437 (atomic_full_barrier): Define.
7438 (atomic_read_barrier): Define.
7439 (atomic_write_barrier): Define.
7441 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7443 * shlib-versions: Add libgcc_s version information.
7444 * sysdeps/generic/libgcc_s.h: Remove.
7445 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7447 * sysdeps/gnu/unwind-resume.c: Likewise.
7448 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7450 2012-04-25 David S. Miller <davem@davemloft.net>
7452 * sysdeps/unix/sparc/brk.S: Delete.
7453 * sysdeps/unix/sparc/dl-brk.S: Delete.
7454 * sysdeps/unix/sparc/pipe.S: Delete.
7455 * sysdeps/unix/sparc/sysdep.S: Delete.
7456 * sysdeps/unix/sparc/sysdep.h: Delete.
7457 * sysdeps/unix/sparc/vfork.S: Delete.
7458 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7459 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7460 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7461 ret_ERRVAL, r0, r1, MOVE): Define.
7462 (JUMPTARGET): Remove.
7463 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7464 sysdeps/unix/sparc/sysdep.h
7465 (ENTRY, END): Remove.
7466 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7468 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7470 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7471 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7474 * timezone/README: Update upstream location and email address for
7476 * timezone/zdump.c: Update from tzcode 2012b.
7477 * timezone/zic.c: Likewise.
7479 * configure.in (libc_cv_as_needed): Remove test.
7480 * configure: Regenerated.
7481 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7482 conditional definition.
7483 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7484 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7485 * config.make.in (have-as-needed): Remove variable.
7487 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7488 Paul Pluzhnikov <ppluzhnikov@google.com>
7490 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7493 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7495 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7496 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7497 * sysdeps/sh/strlen.S: Likewise.
7499 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7501 * sysdeps/unix/fork.S: Remove file.
7502 * sysdeps/unix/i386/fork.S: Likewise.
7503 * sysdeps/unix/sparc/fork.S: Likewise.
7505 * sysdeps/unix/system.c: Remove file.
7506 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7508 * sysdeps/unix/getegid.S: Remove file.
7509 * sysdeps/unix/geteuid.S: Likewise.
7511 2012-04-24 Roland McGrath <roland@hack.frob.com>
7513 * scripts/check-localplt.awk: New file.
7514 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7516 * scripts/data/localplt-generic.data: Add a comment.
7518 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7519 NODE when __dir_mkfile failed.
7520 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7521 Reported by Ludovic Courtès <ludo@gnu.org>.
7523 2012-04-24 Andreas Jaeger <aj@suse.de>
7525 * Makerules (common-clean): Also remove gen-as-const-headers
7528 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7530 * Makerules (native-compile): Do not change working directory for
7531 build. Use $(OUTPUT_OPTION) in command.
7532 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7534 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7537 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7538 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7539 * math/libm-test.inc (floor_test): Add more tests.
7540 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7542 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7544 * sysdeps/unix/getdents.c: Remove file.
7545 * sysdeps/unix/sysv/getdents.c: Likewise.
7546 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7548 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7549 sysdeps/unix/mman/syscalls.list.
7551 (mprotect): Likewise.
7554 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7555 * sysdeps/unix/mman/syscalls.list: Remove.
7556 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7558 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7559 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7560 * configure: Regenerated.
7561 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7563 * config.make.in (libgcc_s_suffix): Remove variable.
7565 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7567 * sysdeps/unix/sysv/gethostname.c: Move to ...
7568 * sysdeps/posix/gethostname.c: ... here.
7570 * sysdeps/unix/execve.S: Remove file.
7572 * sysdeps/unix/_exit.S: Remove file.
7574 2012-04-23 Andreas Jaeger <aj@suse.de>
7577 * manual/Makefile: Remove make dist support, there's no
7578 need for a stand-alone documentation tar ball.
7579 (TEXI2DVI): Define always, it's not in Makeconfig.
7583 (glibc-doc-$(edition).tar): Removed
7587 (ETAGS): Remove, it's in Makeconfig.
7588 (move-if-change): Remove, it's in Makeconfig.
7590 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7593 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7594 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7595 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7596 (strtod_l, strtof_l, strtold_l): Remove __wur.
7597 It is not necessarily an error to ignore strtol's return value.
7598 One can reliably look at the stored endptr to decide whether
7599 the number had valid syntax.
7601 2012-04-21 Andreas Jaeger <aj@suse.de>
7604 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7606 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7608 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7609 * sysdeps/unix/sysv/Versions: Remove file.
7611 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7614 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7616 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7619 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7620 version from __vm86.
7622 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7624 * sysdeps/unix/common/lxstat.c: Remove file.
7625 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7627 * sysdeps/unix/sysv/Makefile: Remove file.
7629 * sysdeps/unix/sysv/direct.h: Remove file.
7631 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7632 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7633 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7634 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7635 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7636 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7637 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7639 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7641 * sysdeps/unix/xmknod.c: Remove file.
7642 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7644 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7646 * sysdeps/unix/sysv/i386/time.S: Remove file.
7648 * sysdeps/unix/fxstat.c: Remove file.
7649 * sysdeps/unix/xstat.c: Likewise.
7650 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7652 * sysdeps/unix/sysv/sigaction.c: Remove file.
7654 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7655 (sysdep_headers): Remove variable.
7656 [termio.h not in sysdep_headers] (generated): Likewise.
7657 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7658 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7659 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7660 * sysdeps/unix/sysv/tcflow.c: Likewise.
7661 * sysdeps/unix/sysv/tcflush.c: Likewise.
7662 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7663 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7664 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7665 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7666 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7668 * sysdeps/unix/siglist.c: Remove file.
7670 * sysdeps/unix/getppid.S: Remove file.
7672 * sysdeps/unix/mkdir.c: Remove file.
7673 * sysdeps/unix/rmdir.c: Likewise.
7675 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7677 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7679 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7680 errlist-compat value.
7682 2012-04-18 David S. Miller <davem@davemloft.net>
7684 * sysdeps/generic/memcopy.h (reg_char): Delete.
7685 * debug/strcat_chk.c: Use char, not reg_char.
7686 * debug/strcpy_chk.c: Likewise.
7687 * debug/strncat_chk.c: Likewise.
7688 * debug/strncpy_chk.c: Likewise.
7689 * string/memchr.c: Likewise.
7690 * string/memrchr.c: Likewise.
7691 * string/rawmemchr.c: Likewise.
7692 * string/strcat.c: Likewise.
7693 * string/strchr.c: Likewise.
7694 * string/strchrnul.c: Likewise.
7695 * string/strcmp.c: Likewise.
7696 * string/strcpy.c: Likewise.
7697 * string/strncat.c: Likewise.
7698 * string/strncmp.c: Likewise.
7699 * string/strncpy.c: Likewise.
7701 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7703 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7704 __builtin_memcopy is called when src and dest ranges are known to not
7707 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7709 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7710 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7711 fwd_align_merge macro call.
7712 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7713 bwd_align_merge macro call.
7714 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7716 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7718 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7719 bwd_align_merge macros.
7720 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7721 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7722 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7724 2012-04-18 David S. Miller <davem@davemloft.net>
7726 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7728 2012-04-18 Andreas Jaeger <aj@suse.de>
7731 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7732 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7733 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7735 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7736 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7737 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7739 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7740 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7741 Adjust for changed ldbl-128 files.
7743 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7744 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7745 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7747 2012-04-17 David S. Miller <davem@davemloft.net>
7749 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7751 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7753 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7754 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7755 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7756 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7757 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7758 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7760 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7763 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7764 * math/libm-test.inc: Add ilogb errno and exception tests.
7765 * math/w_ilogb.c: New file: ilogb wrapper.
7766 * math/w_ilogbf.c: New file: ilogbf wrapper.
7767 * math/w_ilogbl.c: New file: ilogbl wrapper.
7768 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7769 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7770 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7771 exception being thrown with 0.0 as argument.
7772 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7773 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7774 exception being thrown with 0.0 as argument.
7775 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7776 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7777 exception being thrown with 0.0 as argument.
7778 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7779 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7780 exception being thrown with 0.0 as argument.
7781 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7782 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7783 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7784 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7785 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7786 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7787 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7788 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7789 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7791 2012-04-17 Petr Baudis <pasky@ucw.cz>
7793 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7796 2012-04-16 Marek Polacek <polacek@redhat.com>
7798 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7800 2012-04-16 Marek Polacek <polacek@redhat.com>
7802 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7803 operands of fdivp instruction.
7805 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7807 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7808 * elf/tst-auditmod3b.c: Likewise.
7809 * elf/tst-auditmod4b.c: Likewise.
7810 * elf/tst-auditmod5b.c: Likewise.
7811 * elf/tst-auditmod6b.c: Likewise.
7812 * elf/tst-auditmod6c.c: Likewise.
7813 * elf/tst-auditmod7b.c: Likewise.
7814 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7815 * sysdeps/x86_64/preconfigure.in: Likewise.
7816 * sysdeps/x86_64/preconfigure: Regenerated.
7818 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7820 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7823 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
7825 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7826 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7828 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7831 * locale/iso-639.def: Fix gl language name. Spotted by
7834 2012-04-12 Roland McGrath <roland@hack.frob.com>
7837 * libio/libio.h (__io_write_fn): Update comment.
7839 2012-04-12 Petr Baudis <pasky@ucw.cz>
7842 * stdio.texi (Hook Functions): The user provided writer function
7843 is not allowed to return -1.
7845 2012-04-11 David S. Miller <davem@davemloft.net>
7847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7849 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7851 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7852 Add a leading slash to rtkaio.
7854 2012-04-11 Jim Meyering <meyering@redhat.com>
7857 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7858 It is not necessarily an error to ignore fwrite's return
7859 value. One can reliably use ferror to test for errors after
7862 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7864 * bits/types.h (__snseconds_t): New type.
7865 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7867 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7868 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7869 (__SNSECONDS_T_TYPE): Likewise.
7870 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7871 (__SNSECONDS_T_TYPE): Likewise.
7872 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7873 (__SNSECONDS_T_TYPE): Likewise.
7875 2012-04-10 Andreas Jaeger <aj@suse.de>
7878 * manual/time.texi (Processor Time): Return type of times is
7879 elapsed real time since an arbitrary point in the past.
7880 (CPU Time): Move CLK_TCK from here...
7881 (Processor Time): ...to here. Correct description.
7882 * manual/conf.texi (Constants for Sysconf): Correct description of
7885 2012-04-10 David S. Miller <davem@davemloft.net>
7888 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7889 where the is a gap between DT_REL(A) and DT_JMPREL.
7891 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7893 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7894 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7895 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7897 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7899 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7900 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7901 (dl_main): Handle --inhibit-cache.
7902 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7904 * elf/dl-load.c (_dl_map_object): Use it.
7905 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7907 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7910 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7911 (__ieee754_powl): Saturate large exponents rather than testing for
7912 overflow of y*log2(x).
7913 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7914 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7918 * math/s_ctan.c: Include <float.h>.
7919 (__ctan): Avoid internal overflow or cancellation in calculating
7921 * math/s_ctanf.c: Likewise.
7922 * math/s_ctanl.c: Likewise.
7923 * math/s_ctanh.c: Likewise.
7924 * math/s_ctanhf.c: Likewise.
7925 * math/s_ctanhl.c: Likewise.
7926 * math/libm-test.inc (ctan_test): Add more tests.
7927 (ctanh_test): Likewise.
7928 * sysdeps/i386/fpu/libm-test-ulps: Update.
7929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7931 2012-04-09 Andreas Jaeger <aj@suse.de>
7934 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7935 is an optional BSD extension.
7938 * manual/stdio.texi (Opening Streams): Document additional fopen
7941 2012-04-09 Roland McGrath <roland@hack.frob.com>
7943 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7944 %eax without telling the compiler.
7946 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7949 * manual/install.texi: Use sourceware.org.
7951 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7954 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7955 (__ieee754_pow): Generate overflow and underflow using huge*huge
7956 and tiny*tiny rather than just returning constant infinity or zero
7957 for large exponents.
7958 * math/libm-test.inc (pow_test): Require overflow exceptions for
7959 applicable cases of large exponents.
7962 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7963 (__ieee754_pow): Use iterative multiplication algorithm only for
7964 integer exponents with absolute value below 1024. Check for odd
7965 integer exponents when using algorithm for real exponents.
7966 * math/libm-test.inc (pow_test): Add more tests.
7967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7969 2012-04-08 Joseph Myers <joseph@codesourcery.com>
7972 * math/libm-test.inc (exp_test): Do not allow overflow exception
7975 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7978 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7979 instead of __kernel_standard_f.
7981 2012-04-08 Mike Frysinger <vapier@gentoo.org>
7983 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7984 * sysdeps/x86_64/memset_chk.S: Likewise.
7986 2012-04-08 Andreas Jaeger <aj@suse.de>
7989 * manual/startup.texi (Environment Access): Describe return value
7990 for putenv and setenv.
7993 * manual/filesys.texi (Directory Entries): Add description for
7997 * manual/filesys.texi (Directory Entries): Clarify that it's file
7998 system not operating system in the description of DT_UNKNOWN.
8001 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8003 2012-04-08 Stephen Compall <s11@member.fsf.org>
8006 * manual/llio.texi (Opening and Closing Files): Add cross
8007 reference to explain mode argument.
8009 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8011 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8012 * sysdeps/x86_64/memset_chk.S: Likewise.
8014 2012-04-07 David S. Miller <davem@davemloft.net>
8016 * elf/elf.h (R_SPARC_WDISP10): Define.
8017 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8019 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8020 R_SPARC_SIZE64 and R_SPARC_H34.
8022 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8024 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8025 conditions and remove no longer applicable assertion.
8027 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8029 * bits/byteswap.h: Include <features.h>.
8030 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8031 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8033 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8035 * bits/byteswap.h (__bswap_16): Removed.
8036 Include <bits/byteswap-16.h> to get __bswap_16.
8037 * sysdeps/i386/bits/byteswap.h: Likewise.
8038 * sysdeps/s390/bits/byteswap.h: Likewise.
8039 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8040 * bits/byteswap-16.h: New file.
8041 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8042 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8043 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8044 * string/Makefile (headers): Add bits/byteswap-16.h.
8046 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8049 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8051 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8052 * nss/tst-nss-static.c: New.
8054 2012-04-06 Robert Millan <rmh@gnu.org>
8057 * manual/llio.texi (File Position Primitive): lseek
8058 refers to WHENCE when it really means OFFSET.
8060 2012-04-06 Andreas Jaeger <aj@suse.de>
8062 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8063 strncmp declarations.
8065 * abilist/libc.abilist: Add __poll and __ppoll.
8067 2012-04-05 David S. Miller <davem@davemloft.net>
8069 * scripts/check-local-headers.sh: Accept a host triplet in the
8070 path matched by the exclude regexp.
8072 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8074 * sysdeps/powerpc/powerpc32/dl-machine.h
8075 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8076 * sysdeps/s390/s390-32/dl-machine.h
8077 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8078 * sysdeps/sparc/sparc32/dl-machine.h
8079 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8080 * sysdeps/sparc/sparc64/dl-machine.h
8081 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8083 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8085 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8086 undefined symbol errors.
8088 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8091 2012-04-05 Michael Matz <matz@suse.de>
8094 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8096 2012-04-05 Andreas Jaeger <aj@suse.de>
8099 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8102 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8104 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8105 which ROUND is no valid rounding mode.
8107 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8109 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8111 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8113 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8115 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8116 an exception using FPU order intentionally.
8118 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8120 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8121 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8122 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8123 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8125 2012-04-05 Simon Josefsson <simon@josefsson.org>
8128 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8129 EINVAL when BUFLEN is too smal.
8131 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8134 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8135 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8137 2012-04-03 Andreas Jaeger <aj@suse.de>
8140 * manual/setjmp.texi (System V contexts): Fix sentence.
8143 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8144 New macro for this case.
8145 [!__GNUC__] (__bswap_64): New inline function for this case.
8146 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8147 * bits/byteswap.h: Likewise.
8148 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8149 ull, guard with __GLIBC_HAVE_LONG_LONG.
8151 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8152 __GLIBC_HAVE_LONG_LONG.
8154 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8155 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8157 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8160 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8161 inptr and inend, rather than using last_ch.
8163 2012-04-02 David S. Miller <davem@davemloft.net>
8165 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8166 * stdio-common/printf-parse.h (read_int): Change return type to
8167 'int', return -1 on INT_MAX overflow.
8168 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8169 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8170 overflows INT_MAX. Check for overflow of in-format-string precision
8171 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8172 SIZE_MAX not INT_MAX for integer overflow test.
8173 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8174 skip the construct in the format string but do not record anything.
8175 * stdio-common/bug22.c: Adjust to test both width/prevision
8176 INT_MAX overflow as well as total length INT_MAX overflow. Check
8177 explicitly for proper errno values.
8179 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8181 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8183 * string/test-strcmp.c [! WIDE]: Likewise.
8184 * time/tst-mktime2.c: Likewise for INT_MAX.
8185 * string/test-string.h: #include <sys/param.h> for MIN.
8187 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8188 * sysdeps/i386/init-first.c (init): Likewise.
8189 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8190 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8191 * sysdeps/sh/init-first.c (init): Likewise.
8193 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8195 * po/ru.po: Update from translation team.
8196 * po/vi.po: Likewise.
8198 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8200 * resolv/nss_dns/dns-host.c: Merge copyright years.
8202 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8204 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8205 Optimize memcpy with prefetch if
8206 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8207 src, dst pointers have unequal 16 byte alignments.
8209 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8212 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8213 from a CNAME entry and return the minimum ttl for the query.
8214 (gaih_getanswer_slice): Likewise.
8216 2012-03-30 Jeff Law <law@redhat.com>
8218 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8220 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8221 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8223 * resolv/nss_dns/dns-host.c: Update copyright year.
8225 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8227 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8228 requests to save a system call. Fix check that all bytes are sent.
8230 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8231 comments for sendmmsg.
8233 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8236 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8237 with only 1 character between 0x0041 and 0x01b0.
8238 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8239 * wcsmbs/tst-mbsnrtowcs.c: New file.
8241 2012-03-29 David S. Miller <davem@davemloft.net>
8243 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8244 small copies by hand.
8246 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8249 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8250 _nss_compat_initgroups_dyn): Fall back to malloc/free
8251 for large group memberships.
8253 2012-03-28 David S. Miller <davem@davemloft.net>
8255 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8256 that branches into memcpy.
8257 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8258 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8259 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8260 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8261 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8263 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8265 * sysdeps/sparc/mempcpy.S: New file.
8267 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8268 the IFUNC routine in the libc case.
8269 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8271 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8272 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8273 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8274 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8275 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8276 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8277 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8278 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8280 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8281 loop to 256 bytes instead of 64 bytes and fix test signedness.
8283 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8284 * sysdeps/sparc/sparc32/Makefile: rather than here...
8285 * sysdeps/sparc/sparc64/Makefile: and here.
8287 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8289 * malloc/mallocbug.c: Avoid warnings about unused variables.
8291 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8294 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8295 in the right place. Discard and retry query if response is
8296 larger than input buffer size.
8298 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8303 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8304 x for large integer exponent.
8305 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8306 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8307 sign of result as needed afterwards.
8308 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8309 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8310 result for underflowing pow the same as for overflow.
8311 (__kernel_standard_l): Handle powl overflow and underflow here
8312 rather than calling __kernel_standard.
8313 * math/libm-test.inc (pow_test): Add more tests.
8328 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8329 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8330 (__kernel_standard_l): New function.
8331 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8333 * math/w_acosl.c (__acosl): Likewise.
8334 * math/w_asinl.c (__asinl): Likewise.
8335 * math/w_atan2l.c (__atan2l): Likewise.
8336 * math/w_atanhl.c (__atanhl): Likewise.
8337 * math/w_coshl.c (__coshl): Likewise.
8338 * math/w_exp10l.c (__exp10l): Likewise.
8339 * math/w_exp2l.c (__exp2l): Likewise.
8340 * math/w_fmodl.c (__fmodl): Likewise.
8341 * math/w_hypotl.c (__hypotl): Likewise.
8342 * math/w_j0l.c (__j0l, __y0l): Likewise.
8343 * math/w_j1l.c (__j1l, __y1l): Likewise.
8344 * math/w_jnl.c (__jnl, __ynl): Likewise.
8345 * math/w_lgammal.c (__lgammal): Likewise.
8346 * math/w_log10l.c (__log10l): Likewise.
8347 * math/w_log2l.c (__log2l): Likewise.
8348 * math/w_logl.c (__logl): Likewise.
8349 * math/w_powl.c (__powl): Likewise.
8350 * math/w_remainderl.c (__remainderl): Likewise.
8351 * math/w_scalbl.c (sysv_scalbl): Likewise.
8352 * math/w_sinhl.c (__sinhl): Likewise.
8353 * math/w_sqrtl.c (__sqrtl): Likewise.
8354 * math/w_tgammal.c (__tgammal): Likewise.
8355 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8356 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8357 * math/libm-test.inc (acos_test): Add more tests.
8358 (acosh_test): Likewise.
8359 (asin_test): Likewise.
8360 (atanh_test): Likewise.
8361 (exp_test): Likewise.
8362 (exp10_test): Likewise.
8363 (exp2_test): Likewise.
8364 (expm1_test): Likewise.
8365 (lgamma_test): Likewise.
8366 (log_test): Likewise.
8367 (log10_test): Likewise.
8368 (log1p_test): Likewise.
8369 (log2_test): Likewise.
8370 (pow_test): Do not allow some spurious overflow exceptions.
8371 (sqrt_test): Add more tests.
8372 (tgamma_test): Likewise.
8373 (y0_test): Likewise.
8374 (y1_test): Likewise.
8375 (yn_test): Likewise.
8377 2012-03-27 Anton Blanchard <anton@samba.org>
8379 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8381 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8382 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8383 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8385 2012-03-27 David S. Miller <davem@davemloft.net>
8387 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8389 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8392 2012-03-27 Andreas Jaeger <aj@suse.de>
8394 * sysdeps/x86_64/elf/configure.in: Moved to ...
8395 * sysdeps/x86_64/configure.in: ... here.
8396 * sysdeps/x86_64/elf/start.S: Moved to ...
8397 * sysdeps/x86_64/start.S: ... here.
8398 * sysdeps/x86_64/elf/configure: Delete.
8400 * sysdeps/x86_64/configure.in: Merge contents from
8401 sysdeps/i386/configure.in (without i686 check).
8403 * sysdeps/i386/elf/Versions: Merge into ...
8404 * sysdeps/i386/Versions: ... this.
8405 * sysdeps/i386/elf/Versions: Delete file.
8406 * sysdeps/i386/elf/start.S: Moved to ...
8407 * sysdeps/i386/start.S: ...here.
8408 * sysdeps/i386/elf/configure.in: Merge into...
8409 * sysdeps/i386/configure.in: ...here.
8410 * sysdeps/i386/elf/configure.in: Delete file.
8411 * sysdeps/i386/elf/configure: Delete file.
8413 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8414 * debug/backtracesyms.c: ... here.
8415 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8416 * debug/backtracesymsfd.c: ... here.
8417 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8418 * sysdeps/generic/ifunc-sel.h: ... here.
8420 * sysdeps/unix/i386/start.c: Delete file.
8421 * sysdeps/unix/sparc/start.c: Delete file.
8422 * sysdeps/unix/start.c: Delete file.
8424 * sysdeps/sh/elf/configure.in: Moved to ...
8425 * sysdeps/sh/configure.in: ... here.
8426 * sysdeps/sh/elf/start.S: Moved to ...
8427 * sysdeps/sh/start.S: ... here.
8428 * sysdeps/sh/elf/configure: Delete file.
8430 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8431 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8432 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8433 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8434 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8435 * sysdeps/powerpc/powerpc64/start.S: here.
8436 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8437 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8438 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8439 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8440 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8442 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8443 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8444 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8445 * sysdeps/powerpc/powerpc32/start.S: ... here.
8446 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8447 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8448 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8450 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8451 * sysdeps/powerpc/ifunc-sel.h: ... here.
8452 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8453 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8455 * sysdeps/sparc/elf/configure.in: Moved to ...
8456 * sysdeps/sparc/configure.in: ... here.
8457 * sysdeps/sparc/elf/configure: Delete file.
8458 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8459 * sysdeps/sparc/sparc32/start.S: ... here.
8460 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8461 * sysdeps/sparc/sparc64/start.S: ... here.
8462 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8463 * sysdeps/sparc/sparc32/Makefile: ... this.
8464 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8465 * sysdeps/sparc/sparc64/Makefile: ... this.
8467 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8468 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8469 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8470 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8471 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8472 * sysdeps/s390/s390-32/setjmp.S: ... here.
8473 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8474 * sysdeps/s390/s390-32/configure.in: ... here.
8475 * sysdeps/s390/s390-32/elf/configure: Delete file.
8476 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8477 * sysdeps/s390/s390-32/start.S: ... here.
8479 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8480 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8481 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8482 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8483 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8484 * sysdeps/s390/s390-64/setjmp.S: ... here.
8485 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8486 * sysdeps/s390/s390-64/configure.in: ... here
8487 * sysdeps/s390/s390-64/elf/configure: Delete file.
8488 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8489 * sysdeps/s390/s390-64/start.S: ... here.
8490 * sysdeps/s390/s390-64/elf/configure: Delete.
8492 * configure.in: Remove support for elf directories in sysdeps.
8494 * configure: Regenerated.
8495 * sysdeps/i386/configure: Regenerated.
8496 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8497 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8498 * sysdeps/s390/s390-32/configure: Regenerated.
8499 * sysdeps/s390/s390-64/configure: Regenerated.
8500 * sysdeps/sh/configure: Regenerated.
8501 * sysdeps/sparc/configure: Regenerated.
8502 * sysdeps/x86_64/configure: Regenerated.
8504 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8508 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8509 denormal result into account.
8511 2012-03-25 Roland McGrath <roland@hack.frob.com>
8513 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8514 Reported by Allan McRae <allan@archlinux.org>.
8516 2012-03-23 Jeff Law <law@redhat.com>
8518 * nss/getnssent.c (__nss_getent): Fix typo.
8520 2012-03-23 David S. Miller <davem@davemloft.net>
8522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8524 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8526 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8527 to pad to uint64_t for each field.
8528 (dl_tls_index): Replace unsigned long with uint64_t.
8530 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8531 Paul Pluzhnikov <ppluzhnikov@google.com>
8534 * grp/Makefile (otherlibs): Don't set it.
8535 * inet/Makefile (otherlibs): Likewise.
8536 * login/Makefile (otherlibs): Likewise.
8537 * nscd/Makefile (otherlibs): Likewise.
8538 * posix/Makefile (otherlibs): Likewise.
8539 * pwd/Makefile (otherlibs): Likewise.
8540 * rt/Makefile (otherlibs): Likewise.
8541 * sunrpc/Makefile (otherlibs): Likewise.
8542 * nss/Makefile (otherlibs): Likewise.
8543 Add libnss_files to routines and static-only-routines.
8544 ($(objpfx)getent): Remove rule.
8545 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8546 static-only-routines.
8548 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8551 * math/s_cexp.c: Include <float.h>.
8552 (__cexp): Handle exp result overflowing not necessarily
8553 overflowing both real and imaginary parts of result.
8554 * math/s_cexpf.c: Likewise.
8555 * math/s_cexpl.c: Likewise.
8556 * math/libm-test.inc (cexp_test): Add more tests.
8557 * sysdeps/i386/fpu/libm-test-ulps: Update.
8558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8560 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8562 * include/link.h (ELFW): New macro.
8563 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8564 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8566 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8568 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8571 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8573 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8575 (struct La_x32_retval): Likewise.
8577 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8579 * sysdeps/x86_64/preconfigure.in: New file.
8580 * sysdeps/x86_64/preconfigure: New generated file.
8582 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8585 * math/e_exp2l.c: Include <float.h>.
8586 (__ieee754_exp2l): Handle overflow and underflow cases
8587 separately. Only pass fractional part of argument to
8589 * math/libm-test.inc (exp2_test): Add more tests.
8591 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8592 negating x to take absolute value.
8593 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8595 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8596 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8598 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8599 computing low part if x was negated.
8600 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8602 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8604 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8606 (pltexit): Cast int_retval to ptrdiff_t.
8607 * elf/tst-auditmod3b.c: Likewise.
8608 * elf/tst-auditmod4b.c: Likewise.
8609 * elf/tst-auditmod5b.c: Likewise.
8610 * elf/tst-auditmod6b.c: Likewise.
8611 * elf/tst-auditmod6c.c: Likewise.
8612 * elf/tst-auditmod7b.c: Likewise.
8614 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8615 and x32_gnu_pltexit.
8617 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8619 (La_x32_regs): New macro.
8620 (La_x32_retval): Likewise.
8621 (la_x32_gnu_pltenter): New function prototype.
8622 (la_x32_gnu_pltexit): Likewise.
8624 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8626 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8631 * configure.in (libc_cv_cc_nofma): Check for option to disable
8632 generation of FMA instructions.
8633 * configure: Regenerate.
8634 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8635 * sysdeps/ieee754/dbl-64/Makefile: New file.
8636 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8637 Remove brandred-fma4.
8638 (CFLAGS-brandred-fma4.c): Remove.
8639 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8640 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8642 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8645 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8647 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8648 LLONG_MAX != LONG_MAX.
8649 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8650 (_fitoa_word): Likewise.
8651 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8652 LLONG_MAX != LONG_MAX.
8653 * stdio-common/_itowa.h: Include <_itoa.h>.
8654 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8655 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8656 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8657 only if not defined.
8658 (_ITOA_WORD_TYPE): Likewise.
8659 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8660 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8662 2012-03-21 David S. Miller <davem@davemloft.net>
8664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8666 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8668 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8669 of x86_64 when setting libc_cv_slibdir, libdir and
8671 * sysdeps/unix/sysv/linux/configure: Regenerated.
8673 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8675 * manual/lang.texi (Old Varargs): Remove section.
8676 (How Variadic): Update menu.
8677 (va_start): Do not mention varargs.h.
8679 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8680 Joseph Myers <joseph@codesourcery.com>
8682 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8684 * configure: Regenerated.
8686 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8688 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8689 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8692 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8695 * Makefile (files-for-dist): Remove NOTES.
8696 (NOTES): Remove rule.
8697 * README: Don't refer to NOTES.
8698 * manual/creature.texi: Don't include macros.texi.
8699 * manual/intro.texi (creature.texi): Remove comment referring to
8702 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8703 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8704 * configure: Regenerated.
8705 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8707 (libc_cv_as_i686): Likewise.
8708 (libc_cv_cc_avx): Likewise.
8709 (libc_cv_cc_sse2avx): Likewise.
8710 (libc_cv_cc_fma4): Likewise.
8711 (libc_cv_cc_novzeroupper): Likewise.
8712 * sysdeps/i386/configure: Regenerated.
8715 * sysdeps/i386/fpu/s_cexp.S: Remove.
8716 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8717 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8718 * math/libm-test.inc (cexp_test): Add more tests.
8719 * sysdeps/i386/fpu/libm-test-ulps: Update.
8720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8722 2012-03-21 Allan McRae <allan@archlinux.org>
8724 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8726 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8729 * math/w_exp2.c: Do not include <float.h>.
8730 (o_threshold, u_threshold): Remove.
8731 (__exp2): Calculate result before checking finiteness and calling
8733 * math/w_exp2f.c: Likewise.
8734 * math/w_exp2l.c: Likewise.
8735 * math/libm-test.inc (exp2_test): Require overflow exception for
8739 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8740 range of signed 64-bit integers before using fistpll. Remove
8741 checks for whether integers fit in mantissa bits.
8742 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8743 the range of signed 32-bit integers before using fistpl. Remove
8744 checks for whether integers fit in mantissa bits.
8745 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8746 (__ieee754_powl): Test for y outside the range of signed 64-bit
8747 integers before using fistpll. Reduce 64-bit values to 63-bit
8749 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8750 divide-by-zero is raised for zero to large negative powers.
8751 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8752 (__ieee754_powl): Test for y outside the range of signed 64-bit
8753 integers before using fistpll. Reduce 64-bit values to 63-bit
8755 * math/libm-test.inc (pow_test): Add more tests.
8757 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8759 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8760 <stdio-common/_itoa.h>.
8761 * debug/segfault.c: Likewise.
8762 * elf/dl-cache.c: Likewise.
8763 * elf/dl-minimal.c: Likewise.
8764 * elf/dl-misc.c: Likewise.
8765 * elf/dl-sysdep.c: Likewise.
8766 * elf/dl-version.c: Likewise.
8767 * elf/rtld.c: Likewise.
8768 * hurd/hurdsock.c: Likewise.
8769 * hurd/lookup-retry.c: Likewise.
8770 * malloc/malloc.c: Likewise.
8771 * malloc/mtrace.c: Likewise.
8772 * nscd/nscd_getgr_r.c: Likewise.
8773 * nscd/nscd_getpw_r.c: Likewise.
8774 * nscd/nscd_getserv_r.c: Likewise.
8775 * posix/getopt_init.c: Likewise.
8776 * posix/wordexp.c: Likewise.
8777 * stdio-common/_itoa.c: Likewise.
8778 * stdio-common/printf_fphex.c: Likewise.
8779 * stdio-common/vfprintf.c: Likewise.
8780 * string/_strerror.c: Likewise.
8781 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8782 * sysdeps/i386/i686/hp-timing.h: Likewise.
8783 * sysdeps/mach/_strerror.c: Likewise.
8784 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8785 * sysdeps/mach/hurd/sethostid.c: Likewise.
8786 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8787 * sysdeps/mach/xpg-strerror.c: Likewise.
8788 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8789 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8790 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8791 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8792 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8793 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8794 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8795 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8796 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8797 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8798 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8799 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8800 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8801 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8802 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8803 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8804 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8805 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8806 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8807 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8808 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8810 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8812 * stdio-common/_itoa.h: Moved to ...
8813 * sysdeps/generic/_itoa.h: Here.
8815 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8817 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8818 instead of "_itoa.h" and "_itowa.h".
8819 * stdio-common/vfprintf.: Likewise.
8821 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8823 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8825 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8826 (__signbit): Likwise.
8830 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8832 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8835 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8837 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8838 OVERFLOW_EXCEPTION_OK.
8839 * math/libm-test.inc ("Philosophy"): Update comment about
8841 (OVERFLOW_EXCEPTION): Define.
8842 (OVERFLOW_EXCEPTION_OK): Likewise.
8843 (INVALID_EXCEPTION_OK): Renumber.
8844 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8845 (IGNORE_ZERO_INF_SIGN): Likewise.
8846 (test_exceptions): Handle FE_OVERFLOW.
8847 (exp10_test): Expect overflow exceptions.
8848 (exp2_test): Likewise.
8849 (expm1_test): Likewise.
8850 (nextafter_test): Likewise.
8851 (pow_test): Likewise.
8852 (scalbn_test): Likewise.
8853 (scalbln_test): Likewise.
8855 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8857 * sysdeps/x86_64/bits/atomic.h
8858 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8860 (atomic_exchange_acq): Likewise.
8861 (__arch_exchange_and_add_body): Likewise.
8862 (__arch_add_body): Likewise.
8863 (atomic_add_negative): Likewise.
8864 (atomic_add_zero): Likewise.
8866 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8868 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8869 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8871 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8873 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8874 Check __x86_64__ instead of __WORDSIZE.
8876 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8878 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8880 2012-03-19 David S. Miller <davem@davemloft.net>
8882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8884 * sysdeps/sparc/fpu/fenv_private.h: New file.
8885 * sysdeps/sparc/fpu/math_private.h: Use it.
8886 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8888 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8889 (libc_feholdexcept_setroundl): Remove.
8890 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8892 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8893 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8895 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8897 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8898 int64_t instead of long int.
8899 (INSERT_WORDS64): Likwise.
8901 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8903 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8904 _Unwind_GetCFA return to _Unwind_Ptr first.
8906 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8909 * math/s_clog.c: Include <float.h>.
8910 (__clog): Scale large or subnormal inputs.
8911 * math/s_clogf.c: Likewise.
8912 * math/s_clogl.c: Likewise.
8913 * math/s_clog10.c: Include <float.h>.
8914 (M_LOG10_2): Define.
8915 (__clog10): Scale large or subnormal inputs.
8916 * math/s_clog10f.c: Likewise.
8917 * math/s_clog10l.c: Likewise.
8918 * math/libm-test.inc (clog_test): Add more tests.
8919 (clog10_test): Likewise.
8920 * sysdeps/i386/fpu/libm-test-ulps: Update.
8921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8924 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8926 * math/libm-test.inc (atan2_test): Add another test.
8928 * Makerules (common-objdir-compile): Remove.
8929 * sysdeps/unix/Makefile (config-generated): Do not add
8930 $(unix-generated) to variable.
8931 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8932 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8934 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8936 [generic bits/local_lim.h] (before-compile): Do not append to
8938 [generic bits/local_lim.h] (common-generated): Likewise.
8939 [generic sys/param.h] (before-compile): Do not append to variable.
8940 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8941 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8942 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8943 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8945 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8946 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8947 [generic sys/param.h] ($(addprefix
8948 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8949 [generic sys/param.h] (common-generated): Do not append to
8951 [generic sys/param.h] (sysdep_headers): Likewise.
8952 [generic bits/errno.h] (before-compile): Do not append to
8954 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8956 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8957 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8958 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8959 [generic bits/errno.h] (common-generated): Do not append to
8961 [generic bits/ioctls.h] (before-compile): Do not append to
8963 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8965 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8966 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8967 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8969 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8970 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8971 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8972 [generic bits/ioctls.h] (common-generated): Do not append to
8974 [generic sys/syscall.h] (syscall.h): Remove variable.
8975 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8977 [generic sys/syscall.h] (before-compile): Do not append to
8979 [generic sys/syscall.h] (common-generated): Likewise.
8980 * sysdeps/unix/errnos-tmpl.c: Remove file.
8981 * sysdeps/unix/errnos.awk: Likewise.
8982 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8983 * sysdeps/unix/ioctls.awk: Likewise.
8984 * sysdeps/unix/mk-local_lim.c: Likewise.
8985 * sysdeps/unix/snarf-ioctls: Likewise.
8987 2012-03-19 Richard Henderson <rth@twiddle.net>
8989 * sysdeps/i386/fpu/fenv_private.h: New file.
8990 * sysdeps/i386/fpu/math_private.h: Use it.
8991 (math_opt_barrier, math_force_eval): Remove.
8992 (libc_feholdexcept_setround_53bit): Remove.
8993 (libc_feupdateenv_53bit): Remove.
8994 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8995 (math_opt_barrier, math_force_eval): Remove.
8996 (libc_feholdexcept): Remove.
8997 (libc_feholdexcept_setround): Remove.
8998 (libc_fetestexcept, libc_fesetenv): Remove.
8999 (libc_feupdateenv_test): Remove.
9000 (libc_feupdateenv, libc_feholdsetround): Remove.
9001 (libc_feresetround): Remove.
9003 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9004 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9006 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9007 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9008 (libc_feupdateenv_testl): New.
9009 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9010 (libc_feupdateenv_testf): New.
9011 (libc_feupdateenv): Use libc_feupdateenv_test.
9012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9013 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9015 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9016 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9017 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9018 (libc_feresetround_noex): New.
9019 (libc_feresetround_noexf): New.
9020 (libc_feresetround_noexl): New.
9021 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9022 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9023 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9024 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9026 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9027 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9029 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9030 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9031 SET_RESTORE_ROUND_NOEX.
9032 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9033 SET_RESTORE_ROUND_NOEXF.
9034 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9035 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9036 (libc_feholdsetroundf): New.
9037 (libc_feresetround, libc_feresetroundf): New.
9039 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9040 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9041 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9043 * sysdeps/generic/math_private.h: Include <fenv.h>.
9044 (default_libc_feholdexcept): New.
9045 (default_libc_feholdexcept_setround): New.
9046 (default_libc_fesetenv, default_libc_feupdateenv): New.
9047 (libc_feholdexcept): Only define if undefined.
9048 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9049 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9050 (libc_feholdexcept_setroundl): Likewise.
9051 (libc_feholdexcept_setround_53bit): Likewise.
9052 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9053 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9054 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9055 (libc_feupdateenv_53bit): Likewise.
9056 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9057 (libc_feholdexcept): Convert from macro to inline function.
9058 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9059 (libc_fesetenv, libc_feupdateenv): Likewise.
9061 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9062 not previously defined.
9063 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9064 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9065 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9066 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9067 * sysdeps/ieee754/flt-32/math_private.h: New file.
9068 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9069 math_private.h below SET_FLOAT_WORD.
9070 (__isnan, __isinf_ns, __finite): Remove.
9071 (__isnanf, __isinf_nsf, __finitef): Remove.
9073 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9077 2012-03-17 David S. Miller <davem@davemloft.net>
9080 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9083 2012-03-16 David S. Miller <davem@davemloft.net>
9085 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9089 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9091 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9092 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9093 sysdep_routines when subdir is sysvipc.
9094 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9097 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9099 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9101 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9104 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9106 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9107 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9108 (__lround): Renamed to ...
9109 (__llround): This. Replace long int with long long int.
9110 Define lround functions as aliases of llround functions.
9111 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9113 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9115 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9116 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9117 adresses to uintptr_t. Replace "long int" and "unsigned long
9118 int" with "greg_t" on va_arg.
9120 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9122 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9123 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9125 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9126 Move e_machine check before EI_CLASS check. Handle x32
9127 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9128 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9129 SKIP_EM_IA_64 and include
9130 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9132 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9133 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9134 (add_system_dir): New macro.
9136 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9137 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9139 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9150 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9152 * math/w_j0f.c (j0f): Likewise.
9154 * math/w_j0l.c (__j0l): Likewise.
9156 * math/w_j1.c (j1): Likewise.
9158 * math/w_j1f.c (j1f): Likewise.
9160 * math/w_j1l.c (__j1l): Likewise.
9162 * math/w_jn.c (jn): Likewise.
9164 * math/w_jnf.c (jnf): Likewise.
9166 * math/w_jnl.c (__jnl): Likewise.
9168 * math/libm-test.inc (j0_test): Add more tests.
9169 (j1_test): Likewise.
9170 (jn_test): Likewise. Add trailing semicolon to existing test.
9171 (y0_test): Likewise.
9172 (y1_test): Likewise.
9173 * sysdeps/i386/fpu/libm-test-ulps: Update.
9174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9178 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9179 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9180 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9181 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9182 (__tanl): Set errno for infinite argument.
9183 * sysdeps/i386/fpu/mptan.c: Remove.
9184 * sysdeps/i386/fpu/s_tan.S: Likewise.
9185 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9186 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9187 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9188 * math/libm-test.inc (tan_test): Add more tests and enable more
9189 tests for double and long double.
9190 * sysdeps/i386/fpu/libm-test-ulps: Update.
9191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9193 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9195 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9196 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9198 2012-03-16 Roland McGrath <roland@hack.frob.com>
9200 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9201 * configure.in: Use it for both main tree and add-ons.
9202 * configure: Regenerated.
9204 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9206 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9208 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9210 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9214 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9215 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9216 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9220 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9221 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9223 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9224 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9225 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9226 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9227 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9228 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9229 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9230 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9231 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9232 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9233 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9234 * math/libm-test.inc (cos_test): Add more tests and enable more
9235 tests for long double.
9236 (sin_test): Likewise.
9237 (sincos_test): Likewise.
9238 * sysdeps/i386/fpu/libm-test-ulps: Update.
9239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9241 2012-03-16 David S. Miller <davem@davemloft.net>
9243 * sysdeps/sparc/fpu/math_private.h: New file.
9245 2012-03-15 David S. Miller <davem@davemloft.net>
9247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9257 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9261 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9262 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9264 * sysdeps/sparc/sparc-ifunc.h: New file.
9265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9291 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9292 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9294 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9303 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9304 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9305 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9307 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9308 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9310 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9312 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9316 2012-03-15 Andreas Jaeger <aj@suse.de>
9319 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9320 ieee754/flt-32 implementation for sin, cos and sincos.
9321 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9322 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9323 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9324 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9325 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9326 ieee754/flt-32 implementation for tan.
9328 * math/libm-test.inc (cos_test): Enable some large input tests for
9330 (sin_test): Likewise.
9331 (sincos_test): Likewise.
9332 (tan_test): Add tests for large input.
9334 * sysdeps/i386/fpu/libm-test-ulps: Update.
9336 2012-03-15 Andreas Jaeger <aj@suse.de>
9339 * math/libm-test.inc (cos_test): Add more test cases.
9340 (sin_test): Likewise.
9341 (sincos_test): Likewise.
9343 2012-03-15 Andreas Jaeger <aj@suse.de>
9346 * math/libm-test.inc (cos_test): Add a test case for large input
9348 (sin_test): Likewise.
9349 (sincos_test): Likewise.
9351 2012-03-15 Andreas Jaeger <aj@suse.de>,
9352 Joseph Myers <joseph@codesourcery.com>
9355 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9356 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9357 * sysdeps/i386/fpu/branred.c: Likewise.
9358 * sysdeps/i386/fpu/dosincos.c: Likewise.
9359 * sysdeps/i386/fpu/mpa.c: Likewise.
9360 * sysdeps/i386/fpu/s_cos.S: Likewise.
9361 * sysdeps/i386/fpu/s_sin.S: Likewise.
9362 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9363 * sysdeps/i386/fpu/sincos32.c: Likewise.
9365 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9367 (libc_feupdateenv_53bit): Define.
9368 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9370 (libc_feupdateenv_53bit): Define.
9372 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9373 53 bit (without extend i386 double precision).
9375 * math/libm-test.inc (sincos_test): Add tests for large input.
9379 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9381 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9385 2012-03-15 David S. Miller <davem@davemloft.net>
9387 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9388 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9389 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9390 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9414 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9415 fmin/fmax sysdep routines.
9416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9418 2012-03-14 David S. Miller <davem@davemloft.net>
9420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9422 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9423 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9424 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9425 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9426 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9427 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9430 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9431 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9440 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9441 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9442 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9443 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9444 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9445 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9446 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9447 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9448 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9492 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9497 * sysdeps/sparc/configure.in: New file.
9498 * sysdeps/sparc/configure: Generate.
9499 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9500 * configure: Regenerate.
9501 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9502 * config.make.in (have-as-vis3): New.
9503 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9504 available use -Av9d instead of -Av9a.
9505 * sysdeps/sparc/sparc64/Makefile: Likewise.
9506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9515 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9516 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9517 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9518 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9519 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9521 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9522 fzeros/fnegs to load 0x80000000 into a float register instead of
9524 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9526 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9528 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9530 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9531 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9532 ($(inst_includedir)/bits/syscall.h): Remove rule.
9533 ($(objpfx)bits/syscall.d): Include instead of
9534 $(objpfx)syscall-list.d.
9535 (generated): Change syscall-list.h and syscall-list.d to
9536 bits/syscall.h and bits/syscall.d.
9538 2012-03-14 Roland McGrath <roland@hack.frob.com>
9541 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9543 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9546 * math/s_csqrt.c: Include <float.h>.
9547 (__csqrt): Scale large or subnormal inputs.
9548 * math/s_csqrtf.c: Likewise.
9549 * math/s_csqrtl.c: Likewise.
9550 * math/libm-test.inc (csqrt_test): Add more tests.
9551 * sysdeps/i386/fpu/libm-test-ulps: Update.
9552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9555 * math/libm-test.inc (hypot_test): Add more tests.
9557 2012-03-13 David S. Miller <davem@davemloft.net>
9560 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9561 double-precision for the calculation instead of scaling.
9563 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9565 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9566 manipulate bits before adding and subtracting TWO52[sx].
9567 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9568 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9570 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9572 2012-03-13 David S. Miller <davem@davemloft.net>
9574 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9575 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9576 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9577 rtld-global-offsets.h
9578 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9580 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9583 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9585 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9586 'err' in the ifdef scope in which it is actually used.
9588 * nss/nss_db/db-init.c: Include string.h
9590 2012-03-12 David S. Miller <davem@davemloft.net>
9592 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9593 masking out of the most significant byte of random value used.
9594 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9595 Fix coding style in previous change.
9597 * sysdeps/unix/sysv/linux/kernel-features.h
9598 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9599 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9601 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9604 2012-03-11 David S. Miller <davem@davemloft.net>
9606 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9607 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9608 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9609 for 'resultvar' otherwise things get truncated on 64-bit.
9611 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9612 Fix masking out of the most significant byte of random value used.
9614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9616 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9620 2012-03-09 David S. Miller <davem@davemloft.net>
9622 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9623 variables with appropriate CPP guards.
9624 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9625 frame pointer, not the stack pointer. Correct layout comments. Fix test
9626 on resulting framesize and the management of the outregs buffer for pltexit.
9627 Preserve floating point return values across _dl_call_pltexit call.
9628 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9629 framesize and the management of the outregs buffer for pltexit.
9630 Preserve floating point return values across _dl_call_pltexit
9632 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9633 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9634 (print_exit): Fix format string for return register value.
9636 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9638 * sunrpc/Makefile (others): Add rpcgen.
9639 ($(objpfx)rpcgen): Remove special build rule and dependency on
9641 * sunrpc/rpcgen.c: New file.
9643 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9646 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9647 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9648 * sysdeps/i386/crti.S: Likewise.
9649 * sysdeps/i386/crtn.S: Likewise.
9650 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9651 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9652 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9653 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9654 * sysdeps/sh/crti.S: Likewise.
9655 * sysdeps/sh/crtn.S: Likewise.
9656 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9659 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9661 * locale/programs/locfile-kw.gperf: Likewise.
9662 * locale/programs/charmap-kw.h: Regenerated.
9663 * locale/programs/locfile-kw.h: Likewise.
9666 * intl/plural.y: Replace FSF snail mail address with URL.
9667 * intl/plural.c: Regenerated.
9669 2012-03-09 Richard Henderson <rth@twiddle.net>
9671 * include/math_private.h: Remove file.
9672 * math/math_private.h: Move file ...
9673 * sysdeps/generic/math_private.h: ... here.
9675 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9676 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9677 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9679 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9680 and <math_private.h>.
9681 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9682 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9683 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9684 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9685 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9686 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9687 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9688 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9689 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9690 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9692 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9693 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9694 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9695 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9696 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9697 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9698 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9699 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9700 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9701 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9702 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9703 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9704 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9705 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9706 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9707 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9708 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9709 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9710 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9711 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9712 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9713 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9714 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9715 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9716 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9717 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9718 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9719 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9720 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9721 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9722 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9723 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9724 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9725 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9726 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9727 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9728 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9729 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9730 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9731 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9732 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9733 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9734 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9735 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9736 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9737 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9738 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9739 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9740 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9741 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9742 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9743 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9744 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9745 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9746 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9747 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9748 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9749 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9750 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9751 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9752 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9753 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9754 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9755 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9756 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9757 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9758 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9759 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9760 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9761 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9762 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9763 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9764 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9765 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9766 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9767 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9768 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9769 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9770 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9771 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9772 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9773 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9774 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9775 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9776 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9777 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9778 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9779 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9780 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9781 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9782 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9783 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9784 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9785 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9786 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9787 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9788 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9789 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9790 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9791 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9792 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9793 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9794 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9795 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9796 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9797 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9798 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9799 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9800 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9801 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9802 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9803 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9804 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9805 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9806 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9807 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9808 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9809 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9810 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9811 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9812 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9813 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9814 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9815 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9816 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9817 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9818 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9819 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9820 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9821 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9822 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9823 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9824 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9825 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9826 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9827 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9828 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9829 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9830 * sysdeps/ieee754/k_standard.c: Likewise.
9831 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9832 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9833 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9834 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9835 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9836 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9837 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9838 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9839 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9840 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9841 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9842 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9843 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9844 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9845 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9846 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9847 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9848 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9849 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9850 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9851 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9852 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9853 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9854 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9855 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9856 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9857 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9862 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9864 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9865 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9866 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9867 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9868 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9869 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9870 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9871 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9872 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9873 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9874 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9875 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9876 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9877 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9878 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9879 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9880 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9881 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9882 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9883 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9884 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9885 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9886 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9887 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9889 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9890 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9891 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9892 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9893 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9894 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9895 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9896 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9897 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9898 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9899 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9900 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9901 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9902 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9903 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9904 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9905 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9906 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9907 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9908 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9909 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9910 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9911 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9912 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9913 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9914 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9915 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9916 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9917 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9918 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9919 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9920 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9921 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9922 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9923 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9924 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9925 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9926 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9927 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9928 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9929 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9930 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9931 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9932 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9933 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9934 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9935 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9936 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9937 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9938 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9939 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9940 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9941 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9942 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9943 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9944 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9945 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9946 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9947 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9948 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9949 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9950 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9951 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9952 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9953 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9954 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9955 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9956 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9957 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9958 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9959 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9960 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9961 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9962 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9963 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9964 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9965 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9966 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9967 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9968 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9969 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9970 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9971 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9972 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9973 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9974 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9975 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9976 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9977 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9978 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9979 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9980 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9981 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9982 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9983 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9984 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9985 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9986 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9987 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9988 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9989 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9990 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9991 * sysdeps/ieee754/s_lib_version.c: Likewise.
9992 * sysdeps/ieee754/s_matherr.c: Likewise.
9993 * sysdeps/ieee754/s_signgam.c: Likewise.
9994 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9995 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9996 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9997 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9998 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9999 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10000 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10001 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10002 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10003 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10004 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10005 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10006 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10007 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10008 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10009 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10010 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10011 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10012 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10013 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10014 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10016 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10018 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10019 * sunrpc/rpc_main.c: Likewise.
10020 * sunrpc/rpc_svcout.c: Likewise.
10022 2012-03-09 David S. Miller <davem@davemloft.net>
10024 * include/math_private.h: New file.
10026 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10028 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10029 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10030 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10031 from <bits/socket_type.h>.
10032 (enum __socket_type): Don't define here.
10033 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10035 bits/socket_type.h.
10038 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10039 checking __USE_GNU.
10041 * Makerules ($(inst_includedir)/%.h): New rule.
10042 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10043 (install-others): Remove variable setting.
10044 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10046 2012-03-08 Richard Henderson <rth@twiddle.net>
10048 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10049 from macro to inline function; merge with the
10050 !__LIBC_INTERNAL_MATH_INLINES version.
10051 (__ieee754_sqrtf): Likewise.
10053 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10054 to inline function.
10055 (__rintf, __floor, __floorf): Likewise.
10057 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10058 macro to inline function.
10059 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10061 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10062 not <math/math_private.h>.
10064 2012-03-08 David S. Miller <davem@davemloft.net>
10066 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10068 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10070 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10072 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10074 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10075 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10077 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10079 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10080 be defined individually, they must be defined as a block. Define
10081 S for printing a string instead of hidint the different by using a
10082 macro for adding the 'l'.
10083 * stdio-common/tst-fphex-wide.c: Adjust.
10085 2012-03-07 Marek Polacek <polacek@redhat.com>
10087 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10089 2012-03-08 Marek Polacek <polacek@redhat.com>
10092 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10093 * stdio-common/tst-fphex.c: Define a few macros to make the
10094 test reusable. Use them.
10095 * stdio-common/tst-fphex-wide.c: New file.
10097 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10100 * manual/macros.texi (gnusystems): New macro.
10101 (nongnusystems): Likewise.
10102 (gnulinuxhurdsystems): Likewise.
10103 (gnuhurdsystems): Likewise..
10104 (gnulinuxsystems): Likewise.
10105 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10106 variants of the GNU system, not "GNU system".
10107 * manual/conf.texi: Likewise.
10108 * manual/errno.texi: Likewise. Update example of errno macro
10110 * manual/filesys.texi: Likewise.
10111 (getumask): Document as specific to GNU/Hurd.
10112 * manual/install.texi: Likewise. Reword some references to
10114 * manual/intro.texi: Likewise.
10115 * manual/io.texi: Likewise.
10116 (File Name Portability): Detail which constraints are inapplicable
10117 to all GNU systems and which are only inapplicable to GNU/Hurd.
10118 * manual/job.texi: Likewise.
10119 * manual/llio.texi: Likewise.
10120 (O_NOCTTY): Document as present on GNU/Linux.
10121 * manual/maint.texi: Likewise.
10122 * manual/memory.texi: Likewise.
10123 * manual/pattern.texi: Likewise.
10124 * manual/pipe.texi: Likewise.
10125 * manual/process.texi: Likewise.
10126 * manual/resource.texi: Likewise.
10127 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10129 * manual/setjmp.texi: Likewise.
10130 * manual/signal.texi: Likewise.
10131 * manual/startup.texi: Likewise.
10132 * manual/stdio.texi: Likewise.
10133 * manual/terminal.texi: Likewise.
10134 (ONLCR): Document as POSIX.
10135 (OXTABS): Document availability on GNU/Linux as XTABS.
10136 (ONOEOT): Document availability separately from other bits.
10137 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10138 * manual/time.texi: Likewise.
10139 * manual/users.texi: Likewise.
10140 * INSTALL: Regenerated.
10141 * sysdeps/gnu/errlist.c: Regenerated.
10143 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10144 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10145 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10147 * configure: Regenerated.
10149 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10151 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10152 default includes instead of AC_HEADER_CHECK.
10153 * sysdeps/i386/configure: Regenerated.
10156 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10157 * math/s_cacoshf.c (__cacoshf): Likewise.
10158 * math/s_cacoshl.c (__cacoshl): Likewise.
10159 * math/s_casinh.c (__casinh): Set signs of result from argument.
10160 * math/s_casinhf.c (__casinhf): Likewise.
10161 * math/s_casinhl.c (__casinhl): Likewise.
10162 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10163 (casinh_test): Add more tests.
10164 * sysdeps/i386/fpu/libm-test-ulps: Update.
10165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10167 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10169 * po/zh_TW.po: Update from translation team.
10171 * login/Makefile (distribute): Remove variable.
10172 * catgets/Makefile: Likewise.
10173 * mach/Makefile: Likewise.
10174 * malloc/Makefile: Likewise.
10175 * misc/Makefile: Likewise.
10176 * iconv/Makefile: Likewise.
10177 * nscd/Makefile: Likewise.
10178 * hurd/Makefile: Likewise.
10179 * manual/Makefile: Likewise.
10180 * locale/Makefile: Likewise.
10181 * intl/Makefile: Likewise.
10182 * conform/Makefile: Likewise.
10183 * nss/Makefile: Likewise.
10184 * time/Makefile: Likewise.
10185 * soft-fp/Makefile: Likewise.
10186 * dirent/Makefile: Likewise.
10187 * gmon/Makefile: Likewise.
10188 * po/Makefile: Likewise.
10189 * rt/Makefile: Likewise.
10190 * socket/Makefile: Likewise.
10191 * math/Makefile: Likewise.
10192 * signal/Makefile: Likewise.
10193 * debug/Makefile: Likewise.
10194 * elf/Makefile: Likewise.
10195 * timezone/Makefile: Likewise.
10196 * stdlib/Makefile: Likewise.
10197 * iconvdata/Makefile: Likewise.
10198 * sunrpc/Makefile: Likewise.
10199 * io/Makefile: Likewise.
10200 * argp/Makefile: Likewise.
10201 * inet/Makefile: Likewise.
10202 * hesiod/Makefile: Likewise.
10203 * grp/Makefile: Likewise.
10204 * csu/Makefile: Likewise.
10205 * wctype/Makefile: Likewise.
10206 * crypt/Makefile: Likewise.
10207 * libio/Makefile: Likewise.
10208 * string/Makefile: Likewise.
10209 * nis/Makefile: Likewise.
10210 * resolv/Makefile: Likewise.
10211 * stdio-common/Makefile: Likewise.
10212 * wcsmbs/Makefile: Likewise.
10213 * dlfcn/Makefile: Likewise.
10214 * posix/Makefile: Likewise.
10217 * timezone/Makefile: Don't install timezone files, just the programs
10220 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10222 * nss/databases.def: Add missing gshadow entry.
10224 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10226 2012-03-06 Marek Polacek <polacek@redhat.com>
10229 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10230 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10231 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10232 * stdio-common/tst-long-dbl-fphex.c: New file.
10234 2012-03-06 David S. Miller <davem@davemloft.net>
10236 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10237 (set_obp_int): New function.
10238 (get_obp_int): New function.
10239 (__get_clockfreq_via_dev_openprom): Likewise.
10240 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10241 Avoid unused variable warnings on 'val' and use builtin_expect.
10242 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10244 (INLINE_CLONE_SYSCALL): Likewise.
10246 2012-03-05 David S. Miller <davem@davemloft.net>
10248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10250 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10254 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10255 only for |x| >= 40.
10256 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10258 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10260 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10261 Replace gettimeofday with __vdso_gettimeofday.
10263 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10264 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10265 __vdso_clock_gettime and __vdso_getcpu.
10267 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10268 time with __vdso_time.
10270 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10272 * manual/lang.texi (size_t): Note types to which size_t may be
10273 equivalent with the GNU C Library, but do not describe when
10274 differences between them are significant.
10276 2012-03-05 Andreas Jaeger <aj@suse.de>
10278 * sysdeps/i386/fpu/libm-test-ulps: Update.
10280 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10283 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10284 (__ieee754_pow): Save and restore rounding mode and use
10285 round-to-nearest for main computations.
10286 * math/libm-test.inc (pow_test_tonearest): New function.
10287 (pow_test_towardzero): Likewise.
10288 (pow_test_downward): Likewise.
10289 (pow_test_upward): Likewise.
10290 (main): Call the new functions.
10291 * sysdeps/i386/fpu/libm-test-ulps: Update.
10292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10295 * math/libm-test.inc (cosh_test_tonearest): New function.
10296 (cosh_test_towardzero): Likewise.
10297 (cosh_test_downward): Likewise.
10298 (cosh_test_upward): Likewise.
10299 (sinh_test_tonearest): Likewise.
10300 (sinh_test_towardzero): Likewise.
10301 (sinh_test_downward): Likewise.
10302 (sinh_test_upward): Likewise.
10303 (main): Call the new functions.
10304 * sysdeps/i386/fpu/libm-test-ulps: Update.
10305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10307 2012-03-05 Tom de Vries <tom@codesourcery.com>
10309 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10310 default stack guard is set in last bytes.
10311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10313 2012-03-05 Kees Cook <keescook@chromium.org>
10315 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10318 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10319 possibly allocate from heap instead of stack.
10320 * stdio-common/bug-vfprintf-nargs.c: New file.
10321 * stdio-common/Makefile (tests): Add nargs overflow test.
10323 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10327 2012-03-03 Marek Polacek <polacek@redhat.com>
10329 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10330 * math/math_private.h: Likewise.
10331 * stdlib/tst-strtod.c: Likewise.
10332 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10333 * sysdeps/x86_64/bits/atomic.h: Likewise.
10335 2012-03-02 David S. Miller <davem@davemloft.net>
10337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10341 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10342 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10343 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10344 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10346 2012-03-02 Roland McGrath <roland@hack.frob.com>
10349 * manual/examples/README: New file, says the example source files
10350 can be used under GPL>=2.
10351 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10352 line containing just "*/".
10353 * manual/examples/add.c: Add copyright header (GPL>=2).
10354 * manual/examples/argp-ex1.c: Likewise.
10355 * manual/examples/argp-ex2.c: Likewise.
10356 * manual/examples/argp-ex3.c: Likewise.
10357 * manual/examples/argp-ex4.c: Likewise.
10358 * manual/examples/atexit.c: Likewise.
10359 * manual/examples/db.c: Likewise.
10360 * manual/examples/dir.c: Likewise.
10361 * manual/examples/dir2.c: Likewise.
10362 * manual/examples/execinfo.c: Likewise.
10363 * manual/examples/filecli.c: Likewise.
10364 * manual/examples/filesrv.c: Likewise.
10365 * manual/examples/fmtmsgexpl.c: Likewise.
10366 * manual/examples/genpass.c: Likewise.
10367 * manual/examples/inetcli.c: Likewise.
10368 * manual/examples/inetsrv.c: Likewise.
10369 * manual/examples/isockad.c: Likewise.
10370 * manual/examples/longopt.c: Likewise.
10371 * manual/examples/memopen.c: Likewise.
10372 * manual/examples/memstrm.c: Likewise.
10373 * manual/examples/mkfsock.c: Likewise.
10374 * manual/examples/mkisock.c: Likewise.
10375 * manual/examples/mygetpass.c: Likewise.
10376 * manual/examples/pipe.c: Likewise.
10377 * manual/examples/popen.c: Likewise.
10378 * manual/examples/rprintf.c: Likewise.
10379 * manual/examples/search.c: Likewise.
10380 * manual/examples/select.c: Likewise.
10381 * manual/examples/setjmp.c: Likewise.
10382 * manual/examples/sigh1.c: Likewise.
10383 * manual/examples/sigusr.c: Likewise.
10384 * manual/examples/stpcpy.c: Likewise.
10385 * manual/examples/strdupa.c: Likewise.
10386 * manual/examples/strftim.c: Likewise.
10387 * manual/examples/strncat.c: Likewise.
10388 * manual/examples/subopt.c: Likewise.
10389 * manual/examples/swapcontext.c: Likewise.
10390 * manual/examples/termios.c: Likewise.
10391 * manual/examples/testopt.c: Likewise.
10392 * manual/examples/testpass.c: Likewise.
10393 * manual/examples/timeval_subtract.c: Likewise.
10396 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10398 * manual/timeval_subtract.c.texi: ... here, new file.
10400 2012-03-02 David S. Miller <davem@davemloft.net>
10402 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10404 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10407 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10408 (__sin): Save and restore rounding mode and use round-to-nearest
10409 for all computations.
10410 (__cos): Save and restore rounding mode and use round-to-nearest
10411 for all computations.
10412 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10414 (tan): Save and restore rounding mode and use round-to-nearest for
10416 * math/libm-test.inc (cos_test_tonearest): New function.
10417 (cos_test_towardzero): Likewise.
10418 (cos_test_downward): Likewise.
10419 (cos_test_upward): Likewise.
10420 (sin_test_tonearest): Likewise.
10421 (sin_test_towardzero): Likewise.
10422 (sin_test_downward): Likewise.
10423 (sin_test_upward): Likewise.
10424 (tan_test_tonearest): Likewise.
10425 (tan_test_towardzero): Likewise.
10426 (tan_test_downward): Likewise.
10427 (tan_test_upward): Likewise.
10428 (main): Call the new functions.
10429 * sysdeps/i386/fpu/libm-test-ulps: Update.
10430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10433 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10434 small n, then large n, before computing and testing k+n.
10435 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10436 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10438 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10440 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10441 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10442 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10443 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10444 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10445 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10446 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10447 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10448 * math/libm-test.inc (scalbn_test): Add more tests.
10449 (scalbln_test): Likewise.
10451 * manual/filesys.texi (mode_t): Describe constraints on size and
10452 signedness, not exact equivalence to a particular type.
10454 (ino64_t): Likewise.
10456 (nlink_t): Likewise.
10457 (blkcnt_t): Likewise.
10458 (blkcnt64_t): Likewise.
10459 * manual/llio.texi (off_t): Likewise.
10462 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10463 (__ieee754_exp): Save and restore rounding mode and use
10464 round-to-nearest for all computations.
10465 * math/libm-test.inc (exp_test_tonearest): New function.
10466 (exp_test_towardzero): Likewise.
10467 (exp_test_downward): Likewise.
10468 (exp_test_upward): Likewise.
10469 (main): Call the new functions.
10470 * sysdeps/i386/fpu/libm-test-ulps: Update.
10471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10473 2012-03-01 Chris Demetriou <cgd@google.com>
10475 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10476 have predictable order.
10478 2012-03-01 David S. Miller <davem@davemloft.net>
10480 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10482 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10483 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10484 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10485 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10487 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10488 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10489 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10491 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10492 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10493 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10494 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10495 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10499 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10500 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10501 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10503 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10504 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10505 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10506 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10507 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10508 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10509 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10510 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10511 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10512 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10513 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10514 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10515 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10516 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10517 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10518 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10519 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10520 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10521 * sysdeps/sparc/elf/configure: Regenerated.
10523 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10525 * configure.in (AS, LD): Require binutils 2.20 or later.
10526 * configure: Regenerated.
10527 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10528 as required minimum version.
10529 * INSTALL: Regenerated.
10533 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10534 before squaring exponent.
10535 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10536 bottom long double and 27 bits of top long double before squaring
10538 * math/libm-test.inc (erfc_test): Add more tests.
10539 * sysdeps/i386/fpu/libm-test-ulps: Update.
10540 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10543 2012-03-01 Kai Tietz <ktietz@redhat.com>
10545 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10546 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10547 containing bit-fields.
10548 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10549 * soft-fp/single.h (_FP_UNION_S): Likewise.
10550 * soft-fp/double.h (_FP_UNION_D): Likewise.
10552 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10555 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10556 not include ../strcmp.S.
10557 [USE_AS_STRNCASECMP_L]: Likewise.
10558 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10559 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10560 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10561 (__strncasecmp_l_ia32): Define as alias to
10562 __strncasecmp_l_nonascii.
10565 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10566 * sysdeps/i386/fpu/libm-test-ulps: Update.
10567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10569 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10572 2012-02-29 Jeff Law <law@redhat.com>
10574 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10575 out of bounds read.
10577 2012-02-29 Marek Polacek <polacek@redhat.com>
10580 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10581 * elf/Makefile: Add rules to run tst-unused-dep.out.
10583 2012-02-28 David S. Miller <davem@davemloft.net>
10585 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10586 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10587 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10588 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10589 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10590 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10592 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10594 * math/libm-test.inc (llround_test): Move one test from
10595 lround_test. Use TEST_f_L in moved test.
10596 (lround_test): Move misplaced test to llround_test. Add testcase
10599 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10601 * sysdeps/x86_64/fpu/e_expf.S: New file.
10602 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10604 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10607 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10608 of remain_len that may cause incomplete multi-byte character and
10610 * posix/bug-regex33.c: New file.
10611 * posix/Makefile (tests): Add bug-regex33.
10613 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10615 * manual/macros.texi: New file.
10616 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10617 * manual/libc.texinfo: Include macros.texi.
10618 * manual/creatute.texi: Likewise.
10619 * manual/install.texi: Likewise.
10620 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10621 @glibcadj{} in references to the GNU C Library.
10622 * manual/charset.texi: Likewise.
10623 * manual/conf.texi: Likewise.
10624 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10625 when not using those macros.
10626 * manual/creature.texi: Likewise.
10627 * manual/crypt.texi: Likewise.
10628 * manual/errno.texi: Likewise.
10629 * manual/filesys.texi: Likewise.
10630 * manual/header.texi: Likewise.
10631 * manual/install.texi: Likewise.
10632 * manual/intro.texi: Likewise.
10633 * manual/io.texi: Likewise.
10634 * manual/job.texi: Likewise.
10635 * manual/lang.texi: Likewise.
10636 * manual/libc.texiinfo: Likewise.
10637 * manual/llio.texi: Likewise.
10638 * manual/locale.texi: Likewise.
10639 * manual/maint.texi: Likewise.
10640 * manual/math.texi: Likewise.
10641 * manual/memory.texi: Likewise.
10642 * manual/message.texi: Likewise.
10643 * manual/nss.texi: Likewise.
10644 * manual/pattern.texi: Likewise.
10645 * manual/process.texi: Likewise.
10646 * manual/resource.texi: Likewise.
10647 * manual/search.texi: Likewise.
10648 * manual/setjmp.texi: Likewise.
10649 * manual/signal.texi: Likewise.
10650 * manual/socket.texi: Likewise.
10651 * manual/startup.texi: Likewise.
10652 * manual/stdio.texi: Likewise.
10653 * manual/string.texi: Likewise.
10654 * manual/sysinfo.texi: Likewise.
10655 * manual/syslog.texi: Likewise.
10656 * manual/terminal.texi: Likewise.
10657 * manual/time.texi: Likewise.
10658 * manual/users.texi: Likewise.
10659 * INSTALL: Regenerated.
10660 * NOTES: Regenerated.
10661 * sysdeps/gnu/errlist.c: Regenerated.
10663 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10665 * include/dirent.h: Include <dirstream.h> before
10668 2012-02-28 David S. Miller <davem@davemloft.net>
10670 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10671 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10672 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10673 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10675 2012-02-27 David S. Miller <davem@davemloft.net>
10677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10679 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10680 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10683 frame pointer instead of stack pointer relative arg slot.
10684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10685 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10686 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10688 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10691 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10693 2012-02-27 David S. Miller <davem@davemloft.net>
10695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10699 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10700 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10701 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10702 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10704 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10706 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10707 later. Allow versions 5-9.
10708 * configure: Regenerated.
10709 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10710 required minimum version and 4.6 as recommended version. Do not
10711 mention bugs in GCC 2.7 and 2.8.
10712 * INSTALL: Regenerated.
10714 2012-02-27 David S. Miller <davem@davemloft.net>
10716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10720 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10721 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10722 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10723 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10725 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10726 manipulate bits before adding and subtracting TWO112[sx].
10727 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10729 2012-02-27 Roland McGrath <roland@hack.frob.com>
10732 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10733 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10734 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10735 being in POSIX, because they are in 1003.1-2008.
10737 * rt/tst-aio.c: Include <fcntl.h>.
10738 * rt/tst-aio7.c: Likewise.
10739 * rt/tst-aio64.c: Likewise.
10741 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10743 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10745 * manual/install.texi (--with-headers): Describe headers as
10746 interface headers, not private headers.
10747 (Specific advice for GNU/Linux systems): Describe use of headers
10748 from "make headers_install", not private headers from older
10750 * INSTALL: Regenerated.
10751 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10753 * sysdeps/unix/sysv/linux/configure: Regenerated.
10755 * manual/llio.texi (fclean): Remove documentation.
10757 * manual/Makefile (libc-texi-generated): New variable. Include
10759 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10760 $(libc-texi-generated), not duplicated list of files.
10761 (version.texi, stamp-version): New rules.
10762 (realclean): Remove $(libc-texi-generated), not individual files
10763 from that list. Do not remove dir-add.texinfo.
10764 * manual/libc.texinfo: Comment out uses of edition numbers and
10765 references to printed manual. Remove last-updated dates.
10766 (EDITION): Comment out.
10768 (VERSION, UPDATED): Remove.
10769 (version.texi): Include.
10771 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10773 * sysdeps/posix/spawni.c: Include <signal.h>.
10774 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10775 * sysdeps/pthread/aio_fsync.c: Likewise.
10777 2012-02-26 Ulrich Drepper <drepper@gmail.com>
10779 * conform/Makefile (tests): Run only when not cross-compiling and
10780 when fast-check is not defined.
10782 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10783 * conform/data/limits.h-data: Fixes for POSIX2008.
10784 * conform/run-conformtest.sh: Run all tests.
10785 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10787 * include/bits/dlfcn.h: Likewise.
10788 * include/langinfo.h: Likewise.
10789 * include/monetary.h: Likewise.
10790 * include/sys/poll.h: Likewise.
10792 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10794 * posix/spawn.h: Define __need_sigset_t.
10795 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10796 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10797 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10798 to get sigevent_t only.
10799 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10800 only for __USE_GNU.
10801 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10802 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10803 process_vm_writev only for __USE_GNU.
10804 * termios/termios.h: Declare tcgetsid also for POSIX2008.
10806 * conform/Makefile: For now ignore errors from run-conformtest.
10807 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10808 POSIX to avoid namespace pollution. Don't prepend headers.
10809 * conform/data/aio.h-data: Fixes for POSIX testing.
10810 * conform/data/fcntl.h-data: Likewise.
10811 * conform/data/glob.h-data: Likewise.
10812 * conform/data/grp.h-data: Likewise.
10813 * conform/data/pthread.h-data: Likewise.
10814 * conform/data/pwd.h-data: Likewise.
10815 * conform/data/signal.h-data: Likewise.
10816 * conform/data/spawn.h-data: Likewise.
10817 * conform/data/stdio.h-data: Likewise.
10818 * conform/data/stdlib.h-data: Likewise.
10819 * conform/data/stropts.h-data: Likewise.
10820 * conform/data/sys/mman.h-data: Likewise.
10821 * conform/data/sys/stat.h-data: Likewise.
10822 * conform/data/sys/types.h-data: Likewise.
10823 * conform/data/sys/wait.h-data: Likewise.
10824 * conform/data/time.h-data: Likewise.
10825 * conform/data/unistd.h-data: Likewise.
10826 * conform/data/utime.h-data: Likewise.
10828 * io/sys/stat.h: fchmod was always in POSIX.
10829 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10830 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10831 * rt/aio.h: Define __need_timespec before including <time.h>.
10832 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10833 struct. Add forward declaration of pthread_attr_t and use it in
10835 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10836 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10837 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10838 always remove CLK_TCK definition.
10840 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10842 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10844 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10846 * conform/run-conformtest.sh: New file.
10847 * conform/Makefile: Run run-conformtest for tests.
10848 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10851 * conform/data/uchar.h-data: New file.
10852 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10853 * conform/data/arpa/inet.h-data: Likewise.
10854 * conform/data/assert.h-data: Likewise.
10855 * conform/data/complex.h-data: Likewise.
10856 * conform/data/cpio.h-data: Likewise.
10857 * conform/data/ctype.h-data: Likewise.
10858 * conform/data/dirent.h-data: Likewise.
10859 * conform/data/dlfcn.h-data: Likewise.
10860 * conform/data/errno.h-data: Likewise.
10861 * conform/data/fcntl.h-data: Likewise.
10862 * conform/data/float.h-data: Likewise.
10863 * conform/data/fmtmsg.h-data: Likewise.
10864 * conform/data/fnmatch.h-data: Likewise.
10865 * conform/data/ftw.h-data: Likewise.
10866 * conform/data/glob.h-data: Likewise.
10867 * conform/data/grp.h-data: Likewise.
10868 * conform/data/iconv.h-data: Likewise.
10869 * conform/data/inttypes.h-data: Likewise.
10870 * conform/data/langinfo.h-data: Likewise.
10871 * conform/data/libgen.h-data: Likewise.
10872 * conform/data/limits.h-data: Likewise.
10873 * conform/data/locale.h-data: Likewise.
10874 * conform/data/math.h-data: Likewise.
10875 * conform/data/monetary.h-data: Likewise.
10876 * conform/data/mqueue.h-data: Likewise.
10877 * conform/data/ndbm.h-data: Likewise.
10878 * conform/data/net/if.h-data: Likewise.
10879 * conform/data/netdb.h-data: Likewise.
10880 * conform/data/netinet/in.h-data: Likewise.
10881 * conform/data/nl_types.h-data: Likewise.
10882 * conform/data/poll.h-data: Likewise.
10883 * conform/data/pthread.h-data: Likewise.
10884 * conform/data/pwd.h-data: Likewise.
10885 * conform/data/regex.h-data: Likewise.
10886 * conform/data/sched.h-data: Likewise.
10887 * conform/data/search.h-data: Likewise.
10888 * conform/data/semaphore.h-data: Likewise.
10889 * conform/data/setjmp.h-data: Likewise.
10890 * conform/data/signal.h-data: Likewise.
10891 * conform/data/spawn.h-data: Likewise.
10892 * conform/data/stdarg.h-data: Likewise.
10893 * conform/data/stdio.h-data: Likewise.
10894 * conform/data/stdlib.h-data: Likewise.
10895 * conform/data/string.h-data: Likewise.
10896 * conform/data/strings.h-data: Likewise.
10897 * conform/data/stropts.h-data: Likewise.
10898 * conform/data/sys/ipc.h-data: Likewise.
10899 * conform/data/sys/mman.h-data: Likewise.
10900 * conform/data/sys/msg.h-data: Likewise.
10901 * conform/data/sys/resource.h-data: Likewise.
10902 * conform/data/sys/select.h-data: Likewise.
10903 * conform/data/sys/sem.h-data: Likewise.
10904 * conform/data/sys/shm.h-data: Likewise.
10905 * conform/data/sys/socket.h-data: Likewise.
10906 * conform/data/sys/stat.h-data: Likewise.
10907 * conform/data/sys/statvfs.h-data: Likewise.
10908 * conform/data/sys/time.h-data: Likewise.
10909 * conform/data/sys/timeb.h-data: Likewise.
10910 * conform/data/sys/times.h-data: Likewise.
10911 * conform/data/sys/types.h-data: Likewise.
10912 * conform/data/sys/uio.h-data: Likewise.
10913 * conform/data/sys/un.h-data: Likewise.
10914 * conform/data/sys/utsname.h-data: Likewise.
10915 * conform/data/sys/wait.h-data: Likewise.
10916 * conform/data/syslog.h-data: Likewise.
10917 * conform/data/tar.h-data: Likewise.
10918 * conform/data/termios.h-data: Likewise.
10919 * conform/data/utime.h-data: Likewise.
10920 * conform/data/utmpx.h-data: Likewise.
10921 * conform/data/varargs.h-data: Likewise.
10922 * conform/data/wchar.h-data: Likewise.
10923 * conform/data/wctype.h-data: Likewise.
10924 * conform/data/wordexp.h-data: Likewise.
10926 * include/stropts.h: New file.
10927 * include/uchar.h: New file.
10928 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10929 * include/assert.h: Likewise.
10930 * include/ctype.h: Likewise.
10931 * include/dirent.h: Likewise.
10932 * include/dlfcn.h: Likewise.
10933 * include/fcntl.h: Likewise.
10934 * include/fnmatch.h: Likewise.
10935 * include/glob.h: Likewise.
10936 * include/grp.h: Likewise.
10937 * include/libio.h: Likewise.
10938 * include/locale.h: Likewise.
10939 * include/math.h: Likewise.
10940 * include/net/if.h: Likewise.
10941 * include/netdb.h: Likewise.
10942 * include/netinet/in.h: Likewise.
10943 * include/pthread.h: Likewise.
10944 * include/pwd.h: Likewise.
10945 * include/regex.h: Likewise.
10946 * include/sched.h: Likewise.
10947 * include/search.h: Likewise.
10948 * include/setjmp.h: Likewise.
10949 * include/signal.h: Likewise.
10950 * include/stdio.h: Likewise.
10951 * include/stdlib.h: Likewise.
10952 * include/string.h: Likewise.
10953 * include/sys/cdefs.h: Likewise.
10954 * include/sys/mman.h: Likewise.
10955 * include/sys/msg.h: Likewise.
10956 * include/sys/resource.h: Likewise.
10957 * include/sys/select.h: Likewise.
10958 * include/sys/socket.h: Likewise.
10959 * include/sys/stat.h: Likewise.
10960 * include/sys/statvfs.h: Likewise.
10961 * include/sys/time.h: Likewise.
10962 * include/sys/times.h: Likewise.
10963 * include/sys/uio.h: Likewise.
10964 * include/sys/utsname.h: Likewise.
10965 * include/sys/wait.h: Likewise.
10966 * include/termios.h: Likewise.
10967 * include/time.h: Likewise.
10968 * include/ulimit.h: Likewise.
10969 * include/unistd.h: Likewise.
10970 * include/utime.h: Likewise.
10971 * include/wchar.h: Likewise.
10972 * include/wctype.h: Likewise.
10973 * include/wordexp.h: Likewise.
10975 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10977 * time/time.h: TIME_UTC must be a macro.
10978 Make timespec_get available for ISO C11 only as well.
10980 2012-02-24 Ulrich Drepper <drepper@gmail.com>
10982 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10983 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10985 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10987 * configure.in: Use -o not -a in test for unsupported multi-arch.
10989 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10991 * manual/texinfo.tex: Update to version 2012-01-19.16.
10993 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10995 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10997 2012-02-24 Roland McGrath <roland@hack.frob.com>
11000 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11001 * manual/fdl-1.3.texi: New file.
11002 * manual/fdl-1.1.texi: File removed.
11005 * manual/libc.texinfo (FDL_VERSION): New @set.
11006 Use it for mention of FDL in cover text.
11007 (Documentation License): Use it in @include file name.
11009 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11010 Roland McGrath <roland@hack.frob.com>
11013 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11014 not LONG_LONG_MAX and LONG_LONG_MIN.
11015 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11016 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11018 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11020 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11024 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11025 manipulate bits before adding and subtracting TWO23[sx].
11026 * math/libm-test.inc (nearbyint_test): Add more tests.
11028 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11031 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11032 bits before adding and subtracting TWO23[sx].
11033 * math/libm-test.inc (rint_test): Add more tests.
11034 (rint_test_tonearest): Likewise.
11035 (rint_test_towardzero): Likewise.
11036 (rint_test_downward): Likewise.
11037 (rint_test_upward: Likewise.
11039 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11042 * include/stdc-predef.h: New file. Extracted from features.h.
11043 * include/features.h: Include stdc-predef.h.
11044 * Makefile (headers): Add stdc-predef.h.
11045 * CONFORMANCE (Compiler limitations): Update.
11047 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11049 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11051 2012-02-21 David S. Miller <davem@davemloft.net>
11053 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11054 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11056 2012-02-20 David S. Miller <davem@davemloft.net>
11058 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11059 using a normal save/restore sequence, rather than allocating a
11060 dummy stack frame just to store a frame pointer and restore.
11061 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11063 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11065 * manual/install.texi: Fix stray word in line-wrapped comment.
11067 2012-02-20 David S. Miller <davem@davemloft.net>
11069 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11070 both binutils and gcc support GOTDATA.
11072 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11073 "rd %pc" in the PIC register setup sequences.
11075 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11076 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11077 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11078 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11079 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11081 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11082 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11083 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11084 (SYSCALL_ERROR_HANDLER): Likewise.
11085 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11086 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11087 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11088 (SYSCALL_ERROR_HANDLER): Likewise.
11090 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11091 (HAVE_GCC_GOTDATA): New.
11092 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11093 relocation support in both binutils and gcc.
11094 * sysdeps/sparc/elf/configure: Regenerate.
11096 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11097 * sysdeps/sparc/sparc32/elf/configure: Delete.
11098 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11099 * sysdeps/sparc/sparc64/elf/configure: Delete.
11100 * sysdeps/sparc/elf/configure.in: New file.
11101 * sysdeps/sparc/elf/configure: Generate.
11103 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11104 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11105 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11106 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11107 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11109 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11111 * manual/install.texi: Do not mention specific glibc version
11113 * manual/libc.texinfo (VERSION, UPDATED): Update.
11114 (@copying): Use @copyright{} and range of years.
11116 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11119 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11120 [crti.S not in sysdirs] (generated): Do not append.
11121 [crti.S not in sysdirs] (omit-deps): Likewise.
11122 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11123 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11124 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11125 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11126 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11128 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11129 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11130 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11131 * csu/defs.awk: Remove file.
11132 * sysdeps/generic/initfini.c: Likewise.
11133 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11135 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11138 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11140 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11141 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11142 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11143 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11144 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11145 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11147 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11148 (__EPOLL_PACKED): Define to empty if not defined by
11150 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11154 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11156 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11157 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11158 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11159 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11161 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11165 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11167 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11169 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11170 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11171 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11174 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11176 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11177 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11179 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11181 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11182 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11184 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11186 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11189 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11191 * math/w_acos.c: Use non-signaling floating-point comparisons.
11192 * math/w_acosf.c: Likewise.
11193 * math/w_acosh.c: Likewise.
11194 * math/w_acoshf.c: Likewise.
11195 * math/w_acoshl.c: Likewise.
11196 * math/w_acosl.c: Likewise.
11197 * math/w_asin.c: Likewise.
11198 * math/w_asinf.c: Likewise.
11199 * math/w_asinl.c: Likewise.
11200 * math/w_atanh.c: Likewise.
11201 * math/w_atanhf.c: Likewise.
11202 * math/w_atanhl.c: Likewise.
11203 * math/w_exp2.c: Likewise.
11204 * math/w_exp2f.c: Likewise.
11205 * math/w_exp2l.c: Likewise.
11206 * math/w_j0.c: Likewise.
11207 * math/w_j0f.c: Likewise.
11208 * math/w_j0l.c: Likewise.
11209 * math/w_j1.c: Likewise.
11210 * math/w_j1f.c: Likewise.
11211 * math/w_j1l.c: Likewise.
11212 * math/w_jn.c: Likewise.
11213 * math/w_jnf.c: Likewise.
11214 * math/w_log.c: Likewise.
11215 * math/w_log10.c: Likewise.
11216 * math/w_log10f.c: Likewise.
11217 * math/w_log10l.c: Likewise.
11218 * math/w_log2.c: Likewise.
11219 * math/w_log2f.c: Likewise.
11220 * math/w_log2l.c: Likewise.
11221 * math/w_logf.c: Likewise.
11222 * math/w_logl.c: Likewise.
11223 * math/w_sqrt.c: Likewise.
11224 * math/w_sqrtf.c: Likewise.
11225 * math/w_sqrtl.c: Likewise.
11226 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11227 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11228 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11229 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11230 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11232 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11235 * manual/string.texi (strnlen): Use correct parameter name in
11236 equivalent expression.
11238 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11241 * manual/users.texi (seteuid): Consistently use neweuid for
11244 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11247 * manual/nss.texi (Services in the NSS configuration): Correct
11248 list of services in example configuration file.
11250 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11253 * manual/arith.texi: Remove statements about negative zero
11254 behaving identically to zero.
11256 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11259 * manual/install.texi: Do not document upgrading from libc5.
11261 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11264 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11266 2012-02-18 David S. Miller <davem@davemloft.net>
11268 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11269 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11270 %o7 across the call.
11271 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11273 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11274 SETUP_PIC_REG_LEAF.
11275 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11276 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11277 * sysdeps/sparc/crtn.S: Likewise.
11279 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11281 * aout/Makefile: Remove.
11283 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11286 * manual/examples/argp-ex1.c (main): Format definition in GNU
11288 * manual/examples/argp-ex2.c (main): Likewise.
11289 * manual/examples/argp-ex3.c (main): Likewise.
11290 * manual/examples/argp-ex4.c (main): Likewise.
11291 * manual/examples/longopt.c (main): Use new-style prototype
11293 * manual/examples/strncat.c (main): Specify return type and use
11294 (void) for arguments.
11295 * manual/examples/subopt.c (main): Use char **argv argument.
11297 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11300 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11303 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11306 * manual/string.texi (strchr): Change when strchrnul is
11309 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11312 * manual/locale.texi (setlocale): Document LOCPATH.
11314 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11317 * manual/process.texi (execle): Move @dots{} before last argument.
11319 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11322 * manual/charset.texi (Generic Charset Conversion): Fix typo
11323 (LC_TYPE -> LC_CTYPE).
11325 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11328 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11329 (scalbnf): Likewise.
11330 (scalbnl): Likewise.
11331 (scalbln): Likewise.
11332 (scalblnf): Likewise.
11333 (scalblnl): Likewise.
11334 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11335 (vwarnx): Likewise.
11338 * manual/filesys.texi (telldir): Use braces around return type.
11339 * manual/llio.texi (mmap): Add space after comma.
11340 (mmap64): Likewise.
11341 * manual/math.texi (jn): Use @var{} on parameter names.
11347 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11349 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11351 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11352 (sched_get_priority_max): Likewise.
11353 * manual/signal.texi (sigvec): Add space after comma.
11354 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11356 (if_indextoname): Likewise.
11357 (if_freenameindex): Likewise.
11358 (sendto): Use ',' instead of '.' in prototype.
11359 * manual/startup.texi (syscall): Use @dots{} instead of literal
11361 * manual/stdio.texi (__fpending): Separate initial words of
11362 paragraph from @deftypefun line.
11363 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11365 (vsyslog): Use @var{} on parameter names.
11366 * manual/terminal.texi (stty): Use @var{} on parameter names.
11367 * manual/users.texi (getutmp): Use @var{} on parameter names.
11368 (getutmpx): Likewise.
11370 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11373 * manual/stdio.texi (fopen): Fix typos in description of
11376 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11379 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11380 get clock_id definition.
11382 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11385 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11386 (madvise): Cast every argument to void on its own.
11388 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11391 * manual/startup.texi (Exit Status): Fix typo.
11393 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11396 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11397 * manual/examples/argp-ex2.c: Likewise.
11398 * manual/examples/argp-ex3.c: Likewise.
11400 2012-02-16 Richard Henderson <rth@redhat.com>
11402 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11403 * sysdeps/s390/s390-32/initfini.c: Remove.
11404 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11405 * sysdeps/s390/s390-64/initfini.c: Remove.
11407 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11409 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11410 compiler output for sysdeps/generic/initfini.c.
11411 * sysdeps/sh/elf/initfini.c: Remove file.
11413 2012-02-16 David S. Miller <davem@davemloft.net>
11416 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11418 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11419 * sysdeps/sparc/crti.S: New file.
11420 * sysdeps/sparc/crtn.S: New file.
11421 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11422 * sysdeps/sparc/sparc64/Makefile: Likewise.
11424 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11427 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11429 2012-02-15 Roland McGrath <roland@hack.frob.com>
11432 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11434 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11435 (write, read, close): Likewise.
11436 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11438 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11440 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11441 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11442 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11443 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11445 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11449 2012-02-14 Marek Polacek <polacek@redhat.com>
11451 * sysdeps/x86_64/crti.S: New file.
11452 * sysdeps/x86_64/crtn.S: New file.
11453 * sysdeps/x86_64/elf/initfini.c: Remove file.
11455 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11457 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11458 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11459 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11460 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11462 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11463 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11466 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11468 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11469 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11470 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11471 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11473 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11474 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11477 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11479 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11480 __feraiseexcept instead of feraiseexcept.
11482 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11483 nanosleep invocations.
11484 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11485 strings, and add error checking for a nanosleep invocations.
11487 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11489 Replace FSF snail mail address with URLs, as per GNU coding standards.
11490 Most of the snail mail addresses were wrong anyway, and omitting
11491 them makes the source code easier to maintain. Almost all of the
11492 changes are to license notices and to locale LC_IDENTIFICATION
11493 addresses, except for this one:
11494 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11495 not its snail mail address.
11497 2012-02-09 Richard Henderson <rth@twiddle.net>
11499 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11500 of kernel-features.h.
11502 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11504 2012-02-08 Marek Polacek <polacek@redhat.com>
11506 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11507 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11508 * sysdeps/gnu/_G_config.h: Likewise.
11509 * sysdeps/generic/_G_config.h: Likewise.
11511 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11513 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11517 * sysdeps/powerpc/powerpc32/crti.S: New file.
11518 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11519 * sysdeps/powerpc/powerpc64/crti.S: New file.
11520 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11522 * Makeconfig (have-initfini): Don't set.
11523 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11524 * configure.in (nopic_initfini): Don't substitute.
11525 * config.h.in (HAVE_INITFINI): Don't #undef.
11526 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11527 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11529 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11531 Support crti.S and crtn.S provided directly by architectures.
11532 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11533 [crti.S in sysdirs] (omit-deps): Likewise.
11534 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11535 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11536 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11537 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11538 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11539 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11540 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11541 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11542 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11543 compiler output for sysdeps/generic/initfini.c.
11544 * sysdeps/i386/elf/Makefile: Remove file.
11545 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11547 2012-02-07 Marek Polacek <polacek@redhat.com>
11549 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11550 * sysdeps/gnu/_G_config.h: Likewise.
11551 * sysdeps/mach/hurd/_G_config.h: Likewise.
11553 2012-02-07 Marek Polacek <polacek@redhat.com>
11555 * math/Makefile (tests): Add tst-CMPLX2.
11556 * math/tst-CMPLX2.c: New file.
11558 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11560 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11562 * math/libm-test.inc (jn_test): Add missing L suffix.
11564 2012-02-06 Marek Polacek <polacek@redhat.com>
11566 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11567 * sysdeps/i386/fpu/e_powf.S: Likewise.
11568 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11569 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11570 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11571 * sysdeps/i386/fpu/e_pow.S: Likewise.
11572 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11573 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11574 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11575 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11576 * sysdeps/i386/fpu/e_log2.S: Likewise.
11577 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11578 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11579 * sysdeps/i386/fpu/e_powl.S: Likewise.
11580 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11581 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11582 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11583 * sysdeps/i386/fpu/e_logl.S: Likewise.
11584 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11585 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11586 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11587 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11588 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11589 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11590 * sysdeps/i386/fpu/e_log.S: Likewise.
11591 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11592 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11593 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11594 * sysdeps/i386/fpu/e_logf.S: Likewise.
11595 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11596 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11597 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11598 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11599 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11600 * sysdeps/i386/fpu/e_log10.S: Likewise.
11601 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11602 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11603 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11604 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11605 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11606 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11607 * sysdeps/i386/asm-syntax.h: Likewise.
11608 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11609 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11610 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11611 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11612 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11613 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11614 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11615 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11616 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11617 * sysdeps/powerpc/sysdep.h: Likewise.
11618 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11619 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11621 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11624 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11626 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11628 * sysdeps/i386/sysdep.h: Include <features.h>.
11629 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11632 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11634 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11636 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11639 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11641 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11642 (SETUP_PIC_REG): Use GET_PC_THUNK.
11643 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11646 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11648 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11649 for non-PIC compilation.
11650 (SETUP_PIC_REG): Add .p2align directive.
11651 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11652 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11653 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11654 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11655 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11656 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11657 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11658 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11659 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11660 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11661 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11662 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11663 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11664 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11665 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11666 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11667 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11668 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11669 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11670 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11671 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11672 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11673 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11674 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11675 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11676 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11677 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11678 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11679 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11680 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11681 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11682 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11683 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11684 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11685 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11686 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11687 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11688 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11689 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11690 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11691 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11693 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11695 * math/tst-CMPLX.c: Include <stdio.h>.
11697 2012-01-31 Joseph Myers <joseph@codesourcery.com>
11699 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11701 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11702 * sysdeps/sparc/bits/mathdef.h: Likewise.
11704 2012-01-31 Marek Polacek <polacek@redhat.com>
11706 * libio/libio.h: Don't define _PARAMS.
11707 * locale/programs/config.h: Don't define PARAMS.
11708 * stdlib/strtol_l.c: Likewise.
11709 (__strtol_l): Remove PARAMS from the prototype.
11711 2012-01-31 Ulrich Drepper <drepper@gmail.com>
11713 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11714 names. Just use the correct names. Remove unnecessary wrapper
11716 * malloc/arena.c: Likewise.
11717 * malloc/hooks.c: Likewise.
11719 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11720 ARENA_TEST says not to. Simplify test for creation of a new arena.
11721 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11723 2012-01-30 Ulrich Drepper <drepper@gmail.com>
11725 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11727 (update_get_addr): New function.
11728 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11729 GET_ADDR_MODULE parameter.
11731 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11733 * crypt/cert.c: Remove __STDC__ conditionals.
11734 * crypt/crypt-entry.c: Likewise.
11735 * crypt/crypt_util.c: Likewise.
11736 * libio/filedoalloc.c: Likewise.
11737 * libio/fileops.c: Likewise.
11738 * libio/genops.c: Likewise.
11739 * libio/iofclose.c: Likewise.
11740 * libio/iofdopen.c: Likewise.
11741 * libio/iofopen.c: Likewise.
11742 * libio/iofopen64.c: Likewise.
11743 * libio/iogetdelim.c: Likewise.
11744 * libio/iopopen.c: Likewise.
11745 * libio/obprintf.c: Likewise.
11746 * libio/oldfileops.c: Likewise.
11747 * libio/oldiofclose.c: Likewise.
11748 * libio/oldiofdopen.c: Likewise.
11749 * libio/oldiofopen.c: Likewise.
11750 * libio/oldiopopen.c: Likewise.
11751 * libio/wfiledoalloc.c: Likewise.
11752 * libio/wgenops.c: Likewise.
11753 * locale/programs/xmalloc.c: Likewise.
11754 * misc/syslog.c: Likewise.
11755 * stdio-common/xbug.c: Likewise.
11756 * string/memchr.c: Likewise.
11757 * string/memcmp.c: Likewise.
11758 * string/memrchr.c: Likewise.
11759 * string/rawmemchr.c: Likewise.
11760 * sysdeps/posix/getcwd.c: Likewise.
11761 * time/strftime_l.c: Likewise.
11763 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11765 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11766 * config.make.in (config-cflags-sse2avx): Define.
11767 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11770 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11772 * scripts/config.guess: Update from upstream config git repository.
11773 * scripts/config.sub: Likewise.
11775 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11777 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11779 (R_TILEPRO_*, R_TILEGX_*): New macros.
11781 * scripts/firstversions.awk: Fix bug in version range handling.
11783 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11785 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11787 * include/sys/epoll.h: New file.
11788 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11791 2012-01-28 Ulrich Drepper <drepper@gmail.com>
11793 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11794 Avoid unnecessary __WORDSIZE == 64 test.
11795 (fmaxf): Use VEX format if possible.
11800 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11801 * math/math_private.h: Remove libc_fegetround* and
11803 * sysdeps/i386/configure.in: Check for -msse2avx.
11804 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11805 also if SSE2AVX is defined.
11806 Remove libc_fegetround* and libc_fesetround*.
11807 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11808 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11809 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11811 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11812 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11813 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11814 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11815 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11817 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11819 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11821 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11823 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11825 2012-01-27 Ulrich Drepper <drepper@gmail.com>
11828 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11830 * Makeconfig (libm): Define.
11831 * elf/Makefile: Add rules to build and run tst-relsort1.
11832 * elf/tst-relsort1.c: New file.
11833 * elf/tst-relsort1mod1.c: New file.
11834 * elf/tst-relsort1mod2.c: New file.
11836 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11838 * math/s_ldexp.c: Remove __STDC__ conditionals.
11839 * math/s_ldexpf.c: Likewise.
11840 * math/s_ldexpl.c: Likewise.
11841 * math/s_nextafter.c: Likewise.
11842 * math/s_nexttowardf.c: Likewise.
11843 * math/s_significand.c: Likewise.
11844 * math/s_significandf.c: Likewise.
11845 * math/s_significandl.c: Likewise.
11846 * math/w_jnl.c: Likewise.
11847 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11848 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11849 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11850 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11851 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11852 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11853 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11854 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11855 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11856 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11857 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11858 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11859 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11860 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11861 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11862 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11863 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11864 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11865 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11866 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11867 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11868 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11869 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11870 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11871 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11872 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11873 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11874 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11875 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11876 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11877 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11878 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11879 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11880 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11881 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11882 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11883 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11884 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11885 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11886 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11887 * sysdeps/ieee754/k_standard.c: Likewise.
11888 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11889 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11890 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11891 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11892 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11893 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11894 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11895 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11896 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11897 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11898 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11899 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11900 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11901 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11902 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11903 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11904 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11905 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11906 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11907 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11908 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11909 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11910 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11911 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11912 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11913 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11914 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11915 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11916 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11917 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11918 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11919 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11920 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11921 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11922 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11923 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11924 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11925 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11926 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11927 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11928 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11929 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11930 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11931 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11932 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11933 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11934 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11935 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11936 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11937 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11938 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11939 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11940 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11941 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11942 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11943 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11944 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11945 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11946 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11947 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11948 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11949 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11950 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11951 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11952 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11953 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11954 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11955 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11956 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11957 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11958 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11959 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11960 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11961 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11962 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11963 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11964 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11965 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11966 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11967 * sysdeps/ieee754/s_matherr.c: Likewise.
11968 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11969 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11970 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11971 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11973 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11975 * crypt/md5.h: Remove __STDC__ conditionals.
11976 * libio/libioP.h: Likewise.
11977 * locale/programs/config.h: Likewise.
11978 * sysdeps/generic/sysdep.h: Likewise.
11979 * sysdeps/i386/asm-syntax.h: Likewise.
11980 * sysdeps/s390/asm-syntax.h: Likewise.
11981 * sysdeps/unix/sysdep.h: Likewise.
11982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11985 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11987 * libio/libio.h: Remove __STDC__ conditionals.
11988 * malloc/obstack.h: Likewise.
11989 * math/complex.h: Likewise.
11990 * math/math.h: Likewise.
11991 * sysdeps/generic/_G_config.h: Likewise.
11992 * sysdeps/gnu/_G_config.h: Likewise.
11993 * sysdeps/mach/hurd/_G_config.h: Likewise.
11994 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11995 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11996 * sysdeps/sparc/bits/mathdef.h: Likewise.
11998 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12001 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12002 Clean up HAS_* macros.
12003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12004 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12006 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12008 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12009 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12010 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12011 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12012 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12014 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12016 * elf/tst-unique3.cc (gets): Remove declaration.
12017 * elf/tst-unique3lib.cc (gets): Likewise.
12018 * elf/tst-unique3lib2.cc (gets): Likewise.
12019 * elf/tst-unique4.cc (gets): Likewise.
12021 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12023 * include/stdio.h: Add C++ protection. Add gets declarations and
12025 * debug/tst-chk1.c: Don't declare gets here.
12026 * stdio-common/tst-gets.c: Likewise.
12028 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12030 * posix/glob: Remove directory.
12032 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12034 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12036 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12038 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12039 of the non-standard EPFNOSUPPORT.
12041 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12043 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12044 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12045 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12047 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12049 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12051 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12053 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12055 * nscd/grpcache.c (cache_addgr): Likewise.
12056 * nscd/hstcache.c (cache_addhst): Likewise.
12057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12058 * nscd/pwdcache.c (cache_addpw): Likewise.
12059 * nscd/servicescache.c (cache_addserv): Likewise.
12061 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12063 * malloc/malloc.c: Various cleanups.
12064 * malloc/hooks.c: Likewise.
12066 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12067 * stdlib/bug-fmtmsg1.c: New file.
12069 * stdlib/fmtmsg.c (init): Add missing unlock.
12070 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12072 2012-01-12 Marek Polacek <polacek@redhat.com>
12074 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12077 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12079 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12080 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12081 macro to ensure uniqueness of label name.
12082 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12083 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12085 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12087 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12089 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12090 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12091 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12092 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12094 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12096 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12098 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12099 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12100 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12102 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12104 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12105 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12106 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12107 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12109 * math/bits/math-finite.h: Add ldexp support.
12111 2012-01-10 Marek Polacek <polacek@redhat.com>
12113 * locale/programs/localedef.h (show_archive_content): Add noreturn
12116 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12118 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12120 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12122 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12124 * io/Makefile (headers): Add bits/poll2.h.
12126 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12129 typo #include statement.
12131 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12133 * include/sys/cdefs.h: Define __attribute_alloc_size.
12134 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12135 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12136 * elf/pldd.c: Likewise.
12137 * iconv/iconv_charmap.c: Likewise.
12138 * iconv/iconvconfig.c: Likewise.
12139 * iconv/strtab.c: Likewise.
12140 * locale/programs/locale.c: Likewise.
12141 * locale/programs/localedef.h: Likewise.
12142 * locale/programs/simple-hash.c: Likewise.
12143 * nscd/nscd.h: Likewise.
12144 * nss/makedb.c: Likewise.
12145 * sysdeps/generic/ldconfig.h: Likewise.
12146 * locale/programs/localedef.c: Remove xmalloc prototype.
12147 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12149 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12151 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12154 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12156 * math/Makefile (tests): Add tst-CMPLX.
12157 * math/tst-CMPLX.c: New file.
12159 * math/complex.h (CMPLXL): Fix typo.
12161 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12162 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12164 * debug/tst-chk1.c: Add poll and ppoll tests.
12165 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12166 * include/sys/poll.h: Add hidden proto for ppoll.
12167 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12168 * sysdeps/mach/hurd/ppoll.c: Likewise.
12169 * io/ppoll.c: Likewise.
12170 * debug/poll_chk.c: New file.
12171 * debug/ppoll_chk.c: New file.
12172 * include/bits/poll2.h: New file.
12173 * io/bits/poll2.h: New file.
12176 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12178 * configure.in: static is always set to yes. Remove.
12179 * config.make.in: Don't set build-static.
12180 * Makeconfig: Remove use of build-static.
12181 * dlfcn/Makefile: Likewise.
12182 * elf/Makefile: Likewise.
12183 * math/Makefile: Likewise.
12184 * misc/Makefile: Likewise.
12185 * nptl/Makefile: Likewise.
12186 * sysdeps/mach/hurd/Makefile: Likewise.
12188 * configure.in: PWD_P is not used anymore.
12189 * config.make.in: Remove PWD_P entry.
12191 * configure.in: Remove last remnants of RANLIB.
12192 No need to check for signed size_t anymore.
12193 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12195 Remove __builtin_expect test because we require at least gcc 3.4.
12196 * aclocal.m4: Likewise.
12198 * wcsmbs/mbrtoc16.c: Implement using towc function.
12199 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12200 * wcsmbs/wcsmbsload.c: Likewise.
12201 * iconv/gconv_simple.c: Likewise.
12202 * iconv/gconv_int.h: Likewise.
12203 * iconv/gconv_builtin.h: Likewise.
12204 * iconv/iconv_prog.c: Remove CHAR16 handling.
12206 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12208 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12210 * configure.in: Remove --with-elf and --enable-bounded options.
12211 Dont set base_machine for ia64. More non-ELF conditions removed.
12212 Remove testing and setting of leading underscore information.
12213 * config.make.in (build-bounded): Set to no.
12214 * config.h.in: Remove NO_UNDERSCORES entry.
12215 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12217 * csu/start.c: Remove !NO_UNDERSCORE code.
12218 * locale/localeinfo.h: Likewise.
12219 * sysdeps/generic/machine-gmon.h: Likewise.
12220 * sysdeps/generic/sysdep.h: Likewise.
12221 * sysdeps/i386/sysdep.h: Likewise.
12222 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12223 * sysdeps/mach/sysdep.h: Likewise.
12224 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12225 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12226 * sysdeps/sh/sysdep.h: Likewise.
12227 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12228 * sysdeps/unix/i386/sysdep.S: Likewise.
12229 * sysdeps/unix/sparc/start.c: Likewise.
12230 * sysdeps/unix/sparc/sysdep.S: Likewise.
12231 * sysdeps/unix/sparc/sysdep.h: Likewise.
12232 * sysdeps/unix/start.c: Likewise.
12233 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12234 * sysdeps/x86_64/sysdep.h: Likewise.
12236 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12239 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12241 * argp/argp-fmtstream.h: Use const instead __const.
12242 * argp/argp.h: Likewise.
12243 * assert/assert.h: Likewise.
12244 * bits/fenv.h: Likewise.
12245 * bits/sched.h: Likewise.
12246 * bits/sigset.h: Likewise.
12247 * bits/sigthread.h: Likewise.
12248 * catgets/nl_types.h: Likewise.
12249 * conform/data/pthread.h-data: Likewise.
12250 * crypt/crypt-private.h: Likewise.
12251 * crypt/crypt.h: Likewise.
12252 * crypt/crypt_util.c: Likewise.
12253 * ctype/ctype.h: Likewise.
12254 * debug/execinfo.h: Likewise.
12255 * debug/mbsnrtowcs_chk.c: Likewise.
12256 * debug/mbsrtowcs_chk.c: Likewise.
12257 * debug/wcsnrtombs_chk.c: Likewise.
12258 * debug/wcsrtombs_chk.c: Likewise.
12259 * debug/wcstombs_chk.c: Likewise.
12260 * dirent/dirent.h: Likewise.
12261 * dlfcn/dlfcn.h: Likewise.
12262 * elf/neededtest4.c: Likewise.
12263 * grp/grp.h: Likewise.
12264 * gshadow/gshadow.h: Likewise.
12265 * iconv/gconv.h: Likewise.
12266 * iconv/gconv_int.h: Likewise.
12267 * iconv/gconv_simple.c: Likewise.
12268 * iconv/iconv.h: Likewise.
12269 * iconv/loop.c: Likewise.
12270 * iconv/skeleton.c: Likewise.
12271 * include/aio.h: Likewise.
12272 * include/aliases.h: Likewise.
12273 * include/argz.h: Likewise.
12274 * include/arpa/inet.h: Likewise.
12275 * include/assert.h: Likewise.
12276 * include/dirent.h: Likewise.
12277 * include/dlfcn.h: Likewise.
12278 * include/execinfo.h: Likewise.
12279 * include/fcntl.h: Likewise.
12280 * include/fenv.h: Likewise.
12281 * include/glob.h: Likewise.
12282 * include/grp.h: Likewise.
12283 * include/libintl.h: Likewise.
12284 * include/mntent.h: Likewise.
12285 * include/netdb.h: Likewise.
12286 * include/pwd.h: Likewise.
12287 * include/rpc/netdb.h: Likewise.
12288 * include/sched.h: Likewise.
12289 * include/search.h: Likewise.
12290 * include/shadow.h: Likewise.
12291 * include/signal.h: Likewise.
12292 * include/stdio.h: Likewise.
12293 * include/stdlib.h: Likewise.
12294 * include/string.h: Likewise.
12295 * include/sys/socket.h: Likewise.
12296 * include/sys/stat.h: Likewise.
12297 * include/sys/statfs.h: Likewise.
12298 * include/sys/statvfs.h: Likewise.
12299 * include/sys/syslog.h: Likewise.
12300 * include/sys/time.h: Likewise.
12301 * include/sys/uio.h: Likewise.
12302 * include/time.h: Likewise.
12303 * include/unistd.h: Likewise.
12304 * include/utmp.h: Likewise.
12305 * include/wchar.h: Likewise.
12306 * include/wctype.h: Likewise.
12307 * inet/aliases.h: Likewise.
12308 * inet/arpa/inet.h: Likewise.
12309 * inet/netinet/ether.h: Likewise.
12310 * inet/netinet/in.h: Likewise.
12311 * intl/libintl.h: Likewise.
12312 * io/bits/fcntl2.h: Likewise.
12313 * io/fcntl.h: Likewise.
12314 * io/ftw.h: Likewise.
12315 * io/sys/poll.h: Likewise.
12316 * io/sys/stat.h: Likewise.
12317 * io/sys/statfs.h: Likewise.
12318 * io/sys/statvfs.h: Likewise.
12319 * io/utime.h: Likewise.
12320 * libio/bits/stdio.h: Likewise.
12321 * libio/bits/stdio2.h: Likewise.
12322 * libio/libio.h: Likewise.
12323 * libio/libioP.h: Likewise.
12324 * libio/stdio.h: Likewise.
12325 * locale/lc-ctype.c: Likewise.
12326 * locale/locale.h: Likewise.
12327 * login/utmp.h: Likewise.
12328 * malloc/arena.c: Likewise.
12329 * malloc/malloc.c: Likewise.
12330 * malloc/malloc.h: Likewise.
12331 * malloc/mcheck.c: Likewise.
12332 * malloc/mtrace.c: Likewise.
12333 * math/bits/mathcalls.h: Likewise.
12334 * math/fenv.h: Likewise.
12335 * math/math_private.h: Likewise.
12336 * misc/bits/error.h: Likewise.
12337 * misc/bits/syslog.h: Likewise.
12338 * misc/err.h: Likewise.
12339 * misc/error.h: Likewise.
12340 * misc/fstab.h: Likewise.
12341 * misc/mntent.h: Likewise.
12342 * misc/regexp.h: Likewise.
12343 * misc/search.h: Likewise.
12344 * misc/sgtty.h: Likewise.
12345 * misc/sys/mman.h: Likewise.
12346 * misc/sys/syslog.h: Likewise.
12347 * misc/sys/uio.h: Likewise.
12348 * misc/sys/xattr.h: Likewise.
12349 * misc/ttyent.h: Likewise.
12350 * nis/rpcsvc/ypclnt.h: Likewise.
12351 * nss/nss.h: Likewise.
12352 * posix/bits/unistd.h: Likewise.
12353 * posix/fnmatch.h: Likewise.
12354 * posix/glob.h: Likewise.
12355 * posix/sched.h: Likewise.
12356 * posix/spawn.h: Likewise.
12357 * posix/sys/wait.h: Likewise.
12358 * posix/unistd.h: Likewise.
12359 * posix/wordexp.h: Likewise.
12360 * pwd/pwd.h: Likewise.
12361 * resolv/netdb.h: Likewise.
12362 * resource/sys/resource.h: Likewise.
12363 * rt/aio.h: Likewise.
12364 * rt/bits/mqueue2.h: Likewise.
12365 * rt/mqueue.h: Likewise.
12366 * shadow/shadow.h: Likewise.
12367 * signal/signal.h: Likewise.
12368 * socket/send.c: Likewise.
12369 * socket/sendto.c: Likewise.
12370 * socket/sys/socket.h: Likewise.
12371 * stdio-common/printf.h: Likewise.
12372 * stdlib/bits/stdlib.h: Likewise.
12373 * stdlib/fmtmsg.h: Likewise.
12374 * stdlib/monetary.h: Likewise.
12375 * stdlib/stdlib.h: Likewise.
12376 * stdlib/ucontext.h: Likewise.
12377 * streams/stropts.h: Likewise.
12378 * string/argz.h: Likewise.
12379 * string/bits/string2.h: Likewise.
12380 * string/string.h: Likewise.
12381 * string/strings.h: Likewise.
12382 * sunrpc/rpc/auth.h: Likewise.
12383 * sunrpc/rpc/auth_des.h: Likewise.
12384 * sunrpc/rpc/clnt.h: Likewise.
12385 * sunrpc/rpc/netdb.h: Likewise.
12386 * sunrpc/rpc/pmap_clnt.h: Likewise.
12387 * sunrpc/rpc/xdr.h: Likewise.
12388 * sysdeps/generic/inttypes.h: Likewise.
12389 * sysdeps/generic/net/if.h: Likewise.
12390 * sysdeps/generic/sys/swap.h: Likewise.
12391 * sysdeps/gnu/net/if.h: Likewise.
12392 * sysdeps/gnu/utmpx.h: Likewise.
12393 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12394 * sysdeps/i386/i486/bits/string.h: Likewise.
12395 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12396 * sysdeps/s390/bits/string.h: Likewise.
12397 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12398 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12399 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12400 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12401 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12402 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12403 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12404 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12405 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12406 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12407 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12408 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12409 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12410 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12411 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12412 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12413 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12414 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12415 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12416 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12417 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12418 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12419 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12420 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12421 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12422 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12423 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12424 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12425 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12426 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12427 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12428 * sysvipc/sys/ipc.h: Likewise.
12429 * sysvipc/sys/msg.h: Likewise.
12430 * sysvipc/sys/sem.h: Likewise.
12431 * sysvipc/sys/shm.h: Likewise.
12432 * termios/termios.h: Likewise.
12433 * time/sys/time.h: Likewise.
12434 * time/time.h: Likewise.
12435 * wcsmbs/bits/wchar2.h: Likewise.
12436 * wcsmbs/uchar.h: Likewise.
12437 * wcsmbs/wchar.h: Likewise.
12438 * wctype/wctype.h: Likewise.
12441 * Makeconfig: Remove all but ELF support including AIX support.
12442 * Makerules: Likewise.
12443 * config.h.in: Likewise.
12444 * config.make.in: Likewise.
12445 * configure: Likewise.
12446 * configure.in: Likewise.
12447 * csu/Makefile: Likewise.
12448 * csu/version.c: Likewise.
12449 * debug/Makefile: Likewise.
12450 * dlfcn/Makefile: Likewise.
12451 * elf/Makefile: Likewise.
12452 * extra-lib.mk: Likewise.
12453 * iconv/Makefile: Likewise.
12454 * include/libc-symbols.h: Likewise.
12455 * include/shlib-compat.h: Likewise.
12456 * resolv/Makefile: Likewise.
12457 * resolv/res_libc.c: Likewise.
12458 * rt/Makefile: Likewise.
12459 * sysdeps/i386/asm-syntax.h: Likewise.
12460 * sysdeps/i386/sysdep.h: Likewise.
12461 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12462 * sysdeps/mach/sysdep.h: Likewise.
12463 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12464 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12465 * sysdeps/s390/asm-syntax.h: Likewise.
12466 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12467 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12468 * sysdeps/sh/sysdep.h: Likewise.
12469 * sysdeps/unix/sparc/sysdep.h: Likewise.
12470 * sysdeps/wordsize-32/divdi3.c: Likewise.
12471 * sysdeps/x86_64/sysdep.h: Likewise.
12473 * argp/Versions: Remove _argp_unlock_xxx.
12476 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12477 * abilist/libBrokenLocale.abilist: Likewise.
12478 * abilist/libanl.abilist: Likewise.
12479 * abilist/libc.abilist: Likewise.
12480 * abilist/libcrypt.abilist: Likewise.
12481 * abilist/libdl.abilist: Likewise.
12482 * abilist/libm.abilist: Likewise.
12483 * abilist/libnsl.abilist: Likewise.
12484 * abilist/libpthread.abilist: Likewise.
12485 * abilist/libresolv.abilist: Likewise.
12486 * abilist/librt.abilist: Likewise.
12487 * abilist/libthread_db.abilist: Likewise.
12488 * abilist/libutil.abilist: Likewise.
12489 * abilist/libnss_db.abilist: New file.
12491 * scripts/abilist.awk: Add support for indirect functions.
12493 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12495 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12497 * shlib-versions: Remove entries for ports architectures.
12499 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12501 * elf/stackguard-macros.h: Remove support for IA-64.
12502 * elf/tst-auditmod1.c: Likewise.
12503 * sysdeps/generic/ldsodefs.h: Likewise.
12505 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12506 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12510 * configure.in: Remove --enable-omitfp support.
12512 * config.make.in: Likewise.
12513 * Makeconfig: Likewise.
12514 * manual/install.texi: Likewise.
12516 In case anyone cares, the IA-64 architecture could move to ports.
12517 * sysdeps/ia64/*: Removed.
12518 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12519 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12522 * configure.in: Remove entries for unsupported architectures.
12525 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12526 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12528 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12529 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12530 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12531 fall back to using wcrtomb.
12532 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12533 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12535 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12536 * wcsmbs/tst-c16c32-1.c: New file.
12538 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12541 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12543 * elf/tst-unique3.cc: Add explicit declaration of gets.
12544 * elf/tst-unique3lib.cc: Likewise.
12545 * elf/tst-unique3lib2.cc: Likewise.
12546 * elf/tst-unique4.cc: Likewise.
12548 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12550 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12553 * assert/assert.h (static_assert): Don't define for C++.
12554 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12555 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12557 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12559 * iconv/loop.c (single loop): Fix assertion in storing of
12562 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12564 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12566 * posix/getconf.c: Update copyright year.
12567 * nss/getent.c: Likewise.
12568 * nss/makedb.c: Likewise.
12569 * iconv/iconvconfig.c: Likewise.
12570 * iconv/iconv_prog.c: Likewise.
12571 * elf/ldconfig.c: Likewise.
12572 * elf/pldd.c: Likewise.
12573 * elf/sotruss.ksh: Likewise.
12574 * catgets/gencat.c: Likewise.
12575 * csu/version.c: Likewise.
12576 * elf/ldd.bash.in: Likewise.
12577 * elf/sprof.c (print_version): Likewise.
12578 * locale/programs/locale.c: Likewise.
12579 * locale/programs/localedef.c: Likewise.
12580 * login/programs/pt_chown.c: Likewise.
12581 * nscd/nscd.c (print_version): Likewise.
12582 * debug/xtrace.sh: Likewise.
12583 * malloc/memusage.sh: Likewise.
12584 * malloc/mtrace.pl: Likewise.
12585 * debug/catchsegv.sh: Likewise.
12587 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12589 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12592 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12595 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12596 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12598 * iconv/gconv_int.h: Likewise.
12599 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12600 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12601 from libc for GLIBC_2.16.
12602 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12603 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12604 * wcsmbs/uchar.h: Really define mbstate_t.
12605 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12606 * wcsmbs/c16rtomb.c: New file.
12607 * wcsmbs/mbrtoc16.c: New file.
12608 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12609 for C/POSIX locale.
12610 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12611 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12613 * wcsmbs/wchar.h: Add missing __restrict.
12615 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12618 * time/Makefile (routines): Add timespec_get.
12619 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12620 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12621 timespec for ISO C11.
12622 * time/timespec_get.c: New file.
12623 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12624 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12627 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12628 * stdlib/stdlib.h: Declare aligned_alloc.
12629 * Versions.def: Add GLIBC_2.16 for libc.
12630 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12633 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12636 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12640 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12643 * assert/assert.h (static_assert): Define.
12645 * version.h: Update for 2.16 development version.
12648 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12651 * version.h (RELEASE): Bump for 2.15 release.
12652 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12654 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12655 Patch by Marek Polacek <mpolacek@redhat.com>.
12657 * bits/byteswap.h: Protect long long constants with __extension__.
12658 * sysdeps/i386/bits/byteswap.h: Likewise.
12659 * sysdeps/ia64/bits/byteswap.h: Likewise.
12660 * sysdeps/s390/bits/byteswap.h: Likewise.
12661 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12663 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12666 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12667 destination buffer.
12668 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12670 2011-12-23 Marek Polacek <polacek@redhat.com>
12672 * elf/dl-addr.c (determine_info): Add inline keyword.
12673 * elf/tst-auditmod4b.c (check_avx): Likewise.
12674 * elf/tst-auditmod6b.c (check_avx): Likewise.
12675 * elf/tst-auditmod6c.c (check_avx): Likewise.
12676 * elf/tst-auditmod7b.c (check_avx): Likewise.
12678 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12680 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12683 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12686 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12687 processing for last bytes.
12689 2011-08-06 Bruno Haible <bruno@clisp.org>
12692 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12693 U+0385, not to U+1FEE.
12696 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12697 entry for U+00A5 U+0301.
12699 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12702 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12703 buffer for the output is too small.
12705 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12709 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12710 SSE flags if possible.
12712 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12715 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12716 processing for last bytes.
12718 2011-12-22 Joseph Myers <joseph@codesourcery.com>
12720 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12721 (syscall-list-default-options, syscall-list-default-condition)
12722 (syscall-list-includes): Define.
12723 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12724 list of ABIs and options and #if conditions for each ABI. Do not
12725 handle common syscalls between ABIs specially.
12726 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12728 (syscall-list-variants, syscall-list-32bit-options)
12729 (syscall-list-32bit-condition, syscall-list-64bit-options)
12730 (syscall-list-64bit-condition): Define.
12731 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12732 (syscall-list-variants, syscall-list-32bit-options)
12733 (syscall-list-32bit-condition, syscall-list-64bit-options)
12734 (syscall-list-64bit-condition): Define.
12735 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12737 (syscall-list-variants, syscall-list-32bit-options)
12738 (syscall-list-32bit-condition, syscall-list-64bit-options)
12739 (syscall-list-64bit-condition): Define.
12740 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12742 (syscall-list-variants, syscall-list-32bit-options)
12743 (syscall-list-32bit-condition, syscall-list-64bit-options)
12744 (syscall-list-64bit-condition): Define.
12746 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12748 * locale/iso-639.def: Add brx entry.
12751 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12752 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12754 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12755 __feraiseexcept_renamed.
12757 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12760 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12761 EPOLLET with unsigned values.
12762 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12763 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12765 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12766 to large cancellation.
12767 * math/s_cacoshf.c: Likewise.
12768 * math/s_cacoshl.c: Likewise.
12770 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12774 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12775 * math/s_cacoshf.c: Likewise.
12776 * math/s_cacoshl.c: Likewise.
12778 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12781 * iconv/gconv.h: Define __GCONV_SWAP.
12782 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12783 * iconvdata/utf-16.c: Likewise.
12784 * iconvdata/utf-32.c: Likewise.
12786 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12789 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12790 numerator after shifting it by one limb.
12792 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12794 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12795 under [__USE_EXTERN_INLINES].
12797 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12800 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12802 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12804 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12805 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12807 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12808 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12809 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12810 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12811 for strncasecmp/strncasecmp_l compilation.
12812 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12813 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12815 2011-12-08 Marek Polacek <mpolacek@redhat.com>
12818 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12821 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12824 * time/tzfile.c (__tzfile_read): Check values from file header.
12826 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12828 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12829 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12830 * powerpc/powerpc32/dl-start.S: Likewise.
12831 * powerpc/powerpc32/elf/start.S: Likewise.
12832 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12833 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12834 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12835 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12836 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12837 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12838 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12839 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12840 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12841 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12842 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12843 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12844 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12845 * powerpc/powerpc32/memset.S: Likewise.
12846 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12847 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12848 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12849 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12850 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12851 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12852 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12853 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12854 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12855 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12856 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12857 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12858 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12860 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12862 * math/libm-test.inc: Added more nearbyint tests.
12863 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12864 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12865 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12866 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12868 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12870 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12873 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12875 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12876 Add wcscpy-ssse3 wcscpy-c.
12877 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12878 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12879 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12880 * sysdeps/x86_64/wcschr.S: New file.
12881 * sysdeps/x86_64/wcsrchr.S: New file.
12882 * string/test-strcmp.c: Remove checking of wcscmp function for
12884 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12885 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12886 wcsrchr-sse2 wcsrchr-c.
12887 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12888 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12889 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12890 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12891 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12892 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12893 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12894 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12895 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12896 * wcsmbc/wcschr.c (WCSCHR): New macro.
12898 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12900 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12901 * wcsmbs/test-wcsrchr.c: New file.
12902 * string/test-strrchr.c: Add wcsrchr support.
12904 * wcsmbs/test-wcscpy.c: New file.
12905 * string/test-strcpy.c: Add wcscpy support.
12908 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12910 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12913 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12916 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12918 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12920 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12921 Minor optimizations.
12923 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12924 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12925 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12927 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12929 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12930 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12931 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12932 for gcc to avoid warnings.
12933 * inet/Makefile (tests): Add tst-checks.
12934 * inet/tst-checks.c: New file.
12936 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12939 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12942 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12943 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12945 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12947 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12949 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12952 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12954 2011-11-29 Joseph Myers <joseph@codesourcery.com>
12956 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12957 conditional on GCC version.
12958 (__arch_compare_and_exchange_val_8_acq)
12959 (__arch_compare_and_exchange_val_16_acq)
12960 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12961 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12962 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12964 2011-12-02 Joseph Myers <joseph@codesourcery.com>
12966 * sysdeps/sh/backtrace.c: New file.
12968 2011-12-02 Andreas Schwab <schwab@redhat.com>
12970 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12973 2011-12-01 Andreas Schwab <schwab@redhat.com>
12975 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12976 falling back to utime.
12978 2011-11-30 Andreas Schwab <schwab@redhat.com>
12980 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12981 expectations for float.
12983 2011-11-29 Andreas Schwab <schwab@redhat.com>
12985 * locale/weight.h (findidx): Add parameter len.
12986 * locale/weightwc.h (findidx): Likewise.
12987 * posix/fnmatch_loop.c (FCT): Adjust caller.
12988 * posix/regcomp.c (build_equiv_class): Likewise.
12989 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12990 * posix/regexec.c (check_node_accept_bytes): Likewise.
12991 * string/strcoll_l.c (STRCOLL): Likewise.
12992 * string/strxfrm_l.c (STRXFRM): Likewise.
12994 2011-11-17 Ulrich Drepper <drepper@gmail.com>
12996 * Makefile.in: Remove CVSOPT handling.
12997 * configure.in: Remove use of AC_REVISION.
12998 * iconvdata/Makefile (distribute): No need to filter out CVS.
12999 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13002 2011-11-16 Andreas Schwab <schwab@redhat.com>
13004 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13005 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13006 [USE_AS_STRNCASECMP_L]: Likewise.
13007 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13008 NO_TLS_DIRECT_SEG_REFS.
13009 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13010 Fix argument offsets for non-PIC.
13011 [USE_AS_STRNCASECMP_L]: Likewise.
13012 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13013 NO_TLS_DIRECT_SEG_REFS.
13015 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13017 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13019 * locale/loadlocale.c (_nl_load_locale): Likewise.
13021 2011-11-15 Andreas Schwab <schwab@redhat.com>
13023 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13024 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13025 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13026 (SYSCALL_GETTIME): Set errno on error.
13028 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13029 count references to noai6ai_cached.
13031 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13033 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13035 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13036 FD_CLOEXEC for /proc/self/maps.
13038 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13039 FD_CLOEXEC for /proc/meminfo.
13041 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13044 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13045 FD_CLOEXEC for given file.
13047 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13049 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13050 FD_CLOEXEC for /etc/hosts.
13051 (_gethtent): Likewise.
13053 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13055 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13056 cancellation and set FD_CLOEXEC for /etc/netgroup.
13058 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13059 reading /etc/publickey.
13061 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13062 allow cancellation when reading /etc/group.
13064 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13066 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13068 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13069 when using data file.
13071 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13073 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13074 (write_nis_obj): Use "c" and "e" in fopen.
13076 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13078 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13080 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13082 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13084 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13087 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13089 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13091 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13093 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13094 file parsing and set FD_CLOEXEC.
13096 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13098 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13100 2011-11-14 Andreas Schwab <schwab@redhat.com>
13102 * malloc/arena.c (arena_get2): Don't call reused_arena when
13103 _int_new_arena failed.
13105 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13107 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13108 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13109 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13110 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13111 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13112 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13113 to compile strcasecmp and strncasecmp.
13114 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13115 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13119 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13121 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13122 locale-defines.sym to gen-as-const-headers.
13123 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13124 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13125 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13126 to compile strcasecmp and strncasecmp.
13127 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13128 strcasecmp_l and strncasecmp_l.
13129 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13130 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13131 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13132 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13133 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13134 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13135 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13136 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13137 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13138 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13139 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13141 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13143 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13144 result of SYSDEP_GETTIME_CPU to retval.
13145 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13146 parameter list to macro. Remove trailing semicolon. Adjust users.
13148 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13151 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13153 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13155 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13156 from unused variable.
13158 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13160 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13163 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13166 * sunrpc/rpc_prot.c (rejected): Fix case value.
13168 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13169 unsigned long long int to avoid warnings in shift.
13171 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13173 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13176 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13177 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13178 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13180 * nis/nis_table.c (nis_list): Use variable of correct type for
13181 result of __follow_path call.
13183 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13185 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13186 of math functions ceil, trunc, floor, round, and sqrt, when
13187 avaliable on the platform.
13188 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13190 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13191 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13192 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13194 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13196 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13197 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13199 2011-11-11 Roland McGrath <roland@hack.frob.com>
13201 * include/unistd.h: Fix __readlink return type.
13202 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13204 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13206 * stdlib/ucontext.h: Undo last change for makecontext.
13208 2011-11-11 Andreas Schwab <schwab@redhat.com>
13210 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13212 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13213 * setjmp/setjmp.h: Mark functions as non-leaf.
13214 * setjmp/bits/setjmp2.h: Likewise.
13215 * stdlib/ucontext.h: Likewise.
13217 2011-11-10 Andreas Schwab <schwab@redhat.com>
13219 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13220 (reused_arena): Don't check arena limit.
13221 (arena_get2): Atomically check arena limit.
13223 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13225 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13226 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13231 2011-11-07 Andreas Schwab <schwab@redhat.com>
13233 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13234 handler when locking.
13236 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13237 Fix size of allocated buffer.
13239 2011-11-04 Andreas Schwab <schwab@redhat.com>
13242 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13243 declarations for long double functions.
13244 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13246 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13248 2011-11-03 Andreas Schwab <schwab@redhat.com>
13250 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13253 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13256 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13258 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13260 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13262 * include/alloca.h (stackinfo_alloca_round): Define.
13263 (extend_alloca): Use it.
13264 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13265 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13268 * scripts/check-local-headers.sh: Ignore libaudit.h.
13270 * nscd/Makefile (extra-objs): Make recursively expanded.
13272 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13274 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13275 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13277 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13278 * posix/tst-rfc3484-2.c: Likewise.
13279 * posix/tst-rfc3484-3.c: Likewise.
13281 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13283 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13285 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13286 process_vm_writev from libc using GLIBC_2.15 version.
13288 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13290 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13292 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13295 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13298 * nss/getent.c (initgroups_keys): Show error message in case no group
13301 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13302 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13303 __bump_nl_timestamp.
13304 * nscd/connections (nscd_init): When host database is served open
13305 netlink socket and request notification about configuration changes.
13306 (main_loop_poll): Track netlink file descriptor and bump timestamp
13307 in case data becomes available.
13308 (main_loop_epoll): Likewise.
13309 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13310 (database_pers_head): Add extra_data fileds.
13311 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13312 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13313 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13315 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13316 in6ai data, call __free_in6ai.
13317 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13318 Add -DHAVE_NETLINK.
13319 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13320 interface information. Reuse previous data if netlink timestamp
13322 (__bump_nl_timestamp): New function.
13323 (__free_in6ai): New function.
13325 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13327 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13328 close_not_cancel_no_status here.
13329 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13331 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13334 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13337 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13338 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13339 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13341 2011-07-03 Andreas Jaeger <aj@suse.de>
13344 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13345 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13346 * math/libm-test.inc (sin_test): Add test case.
13348 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13351 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13352 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13354 * elf/chroot_canon.c (chroot_canon): Cleanups.
13356 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13359 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13360 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13362 * string/test-strchr.c: Make usable for strchrnul testing.
13363 * string/test-strchrnul.c: New file.
13364 * string/Makefile (strop-tests): Add strchrnul.
13366 * po/it.po: Update from translation team.
13367 * po/es.po: Likewise.
13369 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13371 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13372 the three constants needed as parameters. Drop the others.
13373 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13374 __m128i_strloadu_tolower.
13375 Create and initialize variable zero and use it in all the places
13376 where _mm_setzero_si128 was used.
13378 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13379 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13380 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13381 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13383 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13384 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13385 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13386 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13387 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13388 __mpranred, __mptan.
13389 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13390 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13391 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13392 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13393 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13394 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13395 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13396 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13397 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13399 2011-10-28 Andreas Schwab <schwab@redhat.com>
13401 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13402 redefine if SHARED.
13403 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13406 wide char related routines to wcsmbs subdir.
13408 2011-10-27 Andreas Schwab <schwab@redhat.com>
13411 * misc/sys/cdefs.h (__THROWNL): Define.
13412 * posix/unistd.h: Use __THREADNL instead of __THREAD
13413 for memory synchronization functions.
13415 2011-10-26 Roland McGrath <roland@hack.frob.com>
13418 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13420 * manual/stdio.texi (Obstack Streams): Node removed.
13422 2011-10-26 Andreas Schwab <schwab@redhat.com>
13424 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13425 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13426 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13428 * math/math_private.h (math_force_eval): Allow non-addressable
13430 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13432 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13434 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13435 file is not needed.
13437 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13438 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13439 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13440 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13441 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13442 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13443 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13444 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13446 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13447 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13448 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13449 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13450 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13451 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13452 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13453 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13454 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13455 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13456 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13457 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13458 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13459 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13460 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13461 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13462 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13463 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13464 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13466 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13467 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13469 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13470 place. Use VEX encoding when compiling for AVX.
13472 2011-10-25 Andreas Schwab <schwab@redhat.com>
13474 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13475 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13477 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13479 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13481 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13482 useless if() expression.
13483 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13484 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13485 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13486 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13487 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13488 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13489 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13490 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13491 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13492 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13493 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13494 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13495 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13496 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13497 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13498 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13499 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13500 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13501 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13503 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13505 2011-10-25 Andreas Schwab <schwab@redhat.com>
13507 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13509 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13511 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13513 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13514 .text section. Avoid duplicate constants.
13515 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13516 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13517 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13519 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13520 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13523 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13524 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13525 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13526 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13527 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13529 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13530 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13531 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13532 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13535 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13536 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13537 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13538 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13539 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13540 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13541 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13542 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13543 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13544 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13545 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13546 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13547 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13548 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13549 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13550 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13551 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13552 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13553 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13554 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13555 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13556 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13557 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13558 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13559 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13561 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13563 * sysdeps/x86_64/dla.h: Move to ...
13564 * sysdeps/x86_64/fpu/dla.h: ...here.
13565 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13566 situations. Use __builtin_fma only for gcc 4.6 and up.
13568 * config.make.in: Add have-mfma4 entry.
13569 * configure.in: Substitute libc_cv_cc_fma4.
13570 * math/Makefile (dbl-only-routines): Add sincostab.
13571 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13572 Use __sincostab not sincos.
13573 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13575 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13576 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13578 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13580 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13581 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13582 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13583 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13585 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13586 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13588 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13589 define aliases when function name is a macro.
13590 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13591 sysdeps/ieee754/dbl-64/sincos.tbl.
13592 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13593 fma4-enabled routines.
13594 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13595 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13596 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13597 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13598 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13599 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13600 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13601 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13602 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13603 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13604 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13605 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13606 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13607 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13608 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13609 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13610 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13611 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13612 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13613 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13614 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13615 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13616 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13617 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13618 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13619 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13620 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13621 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13622 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13623 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13625 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13627 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13628 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13630 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13631 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13632 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13633 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13634 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13636 2011-10-24 Andreas Schwab <schwab@redhat.com>
13638 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13640 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13642 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13644 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13646 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13648 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13649 Remove unused variable magic_bits.
13650 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13652 * string/strnlen.c: Define and use STRNLEN macro.
13653 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13654 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13655 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13656 * wcsmbs/wcslen.c: Define and use WCSLEN.
13657 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13658 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13659 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13660 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13661 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13662 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13663 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13665 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13668 strnlen-sse2-no-bsf.
13669 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13670 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13671 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13672 Add strnlen support.
13673 (USE_AS_STRNLEN): New macro.
13674 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13675 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13676 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13677 * sysdeps/x86_64/wcslen.S: New file.
13679 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13681 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13682 XMM-moves are used for copying on small sizes.
13684 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13686 * wcsmbs/Makefile (strop-tests): Add wcschr.
13687 * wcsmbs/test-wcschr.c: New file.
13688 * string/test-strchr.c: Update.
13689 Add wcschr support.
13692 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13694 * wcsmbs/Makefile (strop-tests): Add wcslen.
13695 * wcsmbs/test-wcslen.c: New file.
13696 * string/test-strlen.c: Update.
13697 Add wcslen support.
13700 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13702 * po/it.po: Update from translation team.
13704 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13706 * sysdeps/x86_64/wcscmp.S: Update.
13707 Fix wrong comparison semantics.
13708 wcscmp shall use signed comparison not unsigned.
13709 Don't use substraction to avoid overflow bug.
13710 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13711 * wcsmbc/wcscmp.c: Likewise.
13712 * string/test-strcmp.c: Likewise.
13713 Add new tests to check cases with negative values.
13715 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13717 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13718 * sysdeps/x86_64/dla.h: ...here. New file.
13719 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13720 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13721 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13722 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13724 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13725 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13726 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13727 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13729 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13731 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13732 __ynl_finite aliases.
13734 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13738 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13740 [DLA_FMA] (EMULV): Use DLA_FMA.
13741 [DLA_FMA] (MUL12): Use EMULV.
13742 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13743 that are not needed.
13744 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13745 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13746 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13747 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13748 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13749 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13750 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13752 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13754 * math/s_nan.c: Undef __nan.
13755 * math/s_nanf.c: Undef __nanf.
13756 * math/s_nanl.c: Undef __nanl.
13757 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13760 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13762 * math/s_catan.c: Add branch predictions.
13763 * math/s_catanf.c: Likewise.
13764 * math/s_catanh.c: Likewise.
13765 * math/s_catanhf.c: Likewise.
13766 * math/s_catanhl.c: Likewise.
13767 * math/s_catanl.c: Likewise.
13768 * math/s_cexp.c: Likewise.
13769 * math/s_cexpf.c: Likewise.
13770 * math/s_cexpl.c: Likewise.
13771 * math/s_clog.c: Likewise.
13772 * math/s_clog10.c: Likewise.
13773 * math/s_clog10f.c: Likewise.
13774 * math/s_clog10l.c: Likewise.
13775 * math/s_clogf.c: Likewise.
13776 * math/s_clogl.c: Likewise.
13777 * math/s_csqrt.c: Likewise.
13778 * math/s_csqrtf.c: Likewise.
13779 * math/s_csqrtl.c: Likewise.
13780 * math/s_ctanf.c: Likewise.
13781 * math/s_ctanh.c: Likewise.
13782 * math/s_ctanhf.c: Likewise.
13783 * math/s_ctanhl.c: Likewise.
13784 * math/s_ctanl.c: Likewise.
13786 * math/math_private.h: Define __nan, __nanf, __nanl.
13787 * math/s_cacosh.c: Include <math_private.h>.
13788 * math/s_cacoshl.c: Likewise.
13789 * math/s_casinh.c: Likewise.
13790 * math/s_casinhf.c: Likewise.
13791 * math/s_casinhl.c: Likewise.
13792 * math/s_ccos.c: Rely entire on ccosh.
13793 * math/s_ccosf.c: Rely entire on ccoshf.
13794 * math/s_ccosl.c: Rely entirely on ccoshl.
13795 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13796 Remove tests for FE_INVALID.
13797 * math/s_ccoshf.c: Likewise.
13798 * math/s_ccoshl.c: Likewise.
13799 * math/s_csin.c: Likewise.
13800 * math/s_csinf.c: Likewise.
13801 * math/s_csinh.c Likewise.
13802 * math/s_csinhf.c: Likewise.
13803 * math/s_csinhl.c: Likewise.
13804 * math/s_csinl.c: Likewise.
13805 * math/s_ctan.c: Likewise.
13806 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13807 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13808 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13810 2011-10-21 Ulrich Drepper <drepper@gmail.com>
13812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13813 compilation problems.
13815 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13818 2011-10-20 Ulrich Drepper <drepper@gmail.com>
13820 * sysdeps/i386/configure.in: Test for -mfma4 option.
13821 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13822 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13823 COMMON_CPUID_INDEX_80000001.
13824 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13825 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13826 use it if FMA3 is not supported.
13827 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13829 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13830 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13832 2011-10-20 Andreas Schwab <schwab@redhat.com>
13835 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13836 it would create a cycle with a link time dependency.
13838 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13840 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13842 * string/Makefile (strop-tests): Add rawmemchr.
13843 * string/test-rawmemchr.c: New file.
13845 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13846 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13847 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13848 when compiling str{,n}casecmp and when AVX is available. Hook up
13849 new optimized code in initializers.
13851 2011-10-19 Andreas Schwab <schwab@redhat.com>
13853 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13854 __feraiseexcept instead of feraiseexcept.
13856 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13858 * math/math_private.h: Define defaults for libc_fetestexcept and
13860 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13861 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13862 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13863 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13864 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13865 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13866 libc_fetestexcept and libc_feupdateenv.
13868 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13869 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13870 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13871 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13872 libc_feholdexcept_setround.
13874 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13875 Add s_nearbyint-c and s_nearbyintf-c.
13876 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13877 nearbyintf inlines.
13878 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13879 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13880 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13881 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13883 * math/math_private.h: Define defaults for libc_fegetround,
13884 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13885 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13886 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13887 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13888 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13889 standard functions.
13890 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13891 Remove comments and hacks for old compiler versions.
13892 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13893 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13894 libc_feholdexceptl.
13896 2011-10-18 Andreas Schwab <schwab@redhat.com>
13898 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13899 (__feraiseexcept_renamed): Add __NTH.
13900 (feraiseexcept): Add __NTH. Rename local variables to fix
13901 namespace violations.
13903 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13905 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13907 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13909 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13910 recently added interfaces.
13911 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13913 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13914 about macro parameter expansion.
13916 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13917 __NO_MATH_INLINES is defined. Cleanups.
13919 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13920 and __floorf is target has SSE4.1.
13921 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13922 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13923 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13924 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13926 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13928 (floorf): Likewise.
13930 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13932 2011-10-17 Andreas Schwab <schwab@redhat.com>
13934 * misc/sys/cdefs.h: Fix last change.
13936 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13939 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13941 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13943 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13944 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13945 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13946 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13947 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13948 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13949 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13950 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13951 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13952 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13953 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13954 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13955 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13956 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13957 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13958 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13959 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13960 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13961 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13962 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13963 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13964 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13966 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13967 ceil, ceilf, floor, floorf.
13969 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13970 Perform IRELATIVE relocations last.
13972 * elf/do-rel.h: Add another parameter nrelative, replacing the
13973 local variable with the same name. Change name of the function
13974 to end in Rel or Rela (uppercase).
13975 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13976 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13977 elf_dynamic_do_##reloc function.
13979 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13981 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13982 is sufficient, at least on modern CPUs.
13984 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13986 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13987 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13989 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13991 * math/bits/math-finite.h: Add entries for exp.
13992 * math/e_expl.c: Add __*_finite alias.
13993 * sysdeps/i386/fpu/e_exp.S: Likewise.
13994 * sysdeps/i386/fpu/e_expf.S: Likewise.
13995 * sysdeps/i386/fpu/e_expl.c: Likewise.
13996 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13997 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13998 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13999 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14000 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14001 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14002 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14004 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14005 is sufficient, at least on modern CPUs.
14007 * ctype/ctype-info.c (__ctype_init): Define.
14008 * include/ctype.h (__ctype_init): Declare.
14009 (__ctype_b_loc): The variable is always initialized.
14010 (__ctype_toupper_loc): Likewise.
14011 (__ctype_tolower_loc): Likewise.
14012 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14013 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14015 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14017 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14019 * configure.in: Also look in $cxxmachine/include for C++ system
14022 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14024 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14025 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14026 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14027 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14028 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14029 (USE_AS_WMEMCMP): New macro.
14031 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14032 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14033 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14034 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14035 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14036 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14037 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14038 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14039 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14040 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14041 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14042 (USE_AS_WMEMCMP): New macro.
14043 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14044 * sysdeps/string/test-memcmp.c: Update.
14045 Fix simple_wmemcmp.
14047 * wcsmbs/wmemcmp.c: Update.
14048 (WMEMCMP): New macro.
14051 2011-10-12 Andreas Jaeger <aj@suse.de>
14054 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14056 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14058 * libio/iofwide.c (do_length): Avoid warning.
14060 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14062 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14064 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14066 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14067 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14068 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14069 * sysdeps/i386/i686/fpu/e_log.S: New file.
14070 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14071 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14073 * ctype/ctype.h: Add support for inlined isXXX functions when
14074 compiling C++ code.
14076 2011-10-14 Andreas Schwab <schwab@redhat.com>
14078 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14080 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14082 2011-10-13 Roland McGrath <roland@hack.frob.com>
14085 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14087 2011-10-13 Andreas Schwab <schwab@redhat.com>
14089 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14090 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14093 * sysdeps/x86_64/memrchr.S: Check for zero size.
14095 * string/stratcliff.c: Add memrchr tests.
14097 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14099 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14100 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14101 rawmemchr-sse2 rawmemchr-sse2-bsf.
14102 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14103 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14104 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14105 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14106 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14107 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14108 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14109 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14110 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14111 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14112 * string/memrchr.c (MEMRCHR): New macro.
14114 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14116 Add integration with gcc's -ffinite-math-only and optimize wrapper
14118 * Versions.def: Define GLIBC_2.15 version for libm.
14119 * math/Makefile (headers): Add bits/math-finite.h.
14120 * math/bits/math-finite.h: New file.
14121 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14122 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14123 * math/e_acoshl.c: Add __*_finite alias.
14124 * math/e_acosl.c: Likewise.
14125 * math/e_asinl.c: Likewise.
14126 * math/e_atan2l.c: Likewise.
14127 * math/e_atanhl.c: Likewise.
14128 * math/e_coshl.c: Likewise.
14129 * math/e_exp10.c: Likewise.
14130 * math/e_exp10f.c: Likewise.
14131 * math/e_exp10l.c: Likewise.
14132 * math/e_exp2l.c: Likewise.
14133 * math/e_fmodl.c: Likewise.
14134 * math/e_gammal_r.c: Likewise.
14135 * math/e_hypotl.c: Likewise.
14136 * math/e_j0l.c: Likewise.
14137 * math/e_j1l.c: Likewise.
14138 * math/e_jnl.c: Likewise.
14139 * math/e_lgammal_r.c: Likewise.
14140 * math/e_log10l.c: Likewise.
14141 * math/e_log2l.c: Likewise.
14142 * math/e_logl.c: Likewise.
14143 * math/e_powl.c: Likewise.
14144 * math/e_sinhl.c: Likewise.
14145 * math/e_sqrtl.c: Likewise.
14146 * math/e_scalb.c: Completely rewritten and optimized.
14147 * math/e_scalbf.c: Likewise.
14148 * math/e_scalbl.c: Likewise.
14149 * math/w_acos.c: Likewise.
14150 * math/w_acosf.c: Likewise.
14151 * math/w_acosl.c: Likewise.
14152 * math/w_acosh.c: Likewise.
14153 * math/w_acoshf.c: Likewise.
14154 * math/w_acoshl.c: Likewise.
14155 * math/w_asin.c: Likewise.
14156 * math/w_asinf.c: Likewise.
14157 * math/w_asinl.c: Likewise.
14158 * math/w_atan2.c: Likewise.
14159 * math/w_atan2f.c: Likewise.
14160 * math/w_atan2l.c: Likewise.
14161 * math/w_atanh.c: Likewise.
14162 * math/w_atanhf.c: Likewise.
14163 * math/w_atanhl.c: Likewise.
14164 * math/w_exp10.c: Likewise.
14165 * math/w_exp10f.c: Likewise.
14166 * math/w_exp10l.c: Likewise.
14167 * math/w_fmod.c: Likewise.
14168 * math/w_fmodf.c: Likewise.
14169 * math/w_fmodl.c: Likewise.
14170 * math/w_j0.c: Likewise.
14171 * math/w_j0f.c: Likewise.
14172 * math/w_j0l.c: Likewise.
14173 * math/w_j1.c: Likewise.
14174 * math/w_j1f.c: Likewise.
14175 * math/w_j1l.c: Likewise.
14176 * math/w_jn.c: Likewise.
14177 * math/w_jnf.c: Likewise.
14178 * math/w_log.c: Likewise.
14179 * math/w_logf.c: Likewise.
14180 * math/w_logl.c: Likewise.
14181 * math/w_log10.c: Likewise.
14182 * math/w_log10f.c: Likewise.
14183 * math/w_log10l.c: Likewise.
14184 * math/w_log2.c: Likewise.
14185 * math/w_log2f.c: Likewise.
14186 * math/w_log2l.c: Likewise.
14187 * math/w_pow.c: Likewise.
14188 * math/w_powf.c: Likewise.
14189 * math/w_powl.c: Likewise.
14190 * math/w_remainder.c: Likewise.
14191 * math/w_remainderf.c: Likewise.
14192 * math/w_remainderl.c: Likewise.
14193 * math/w_scalb.c: Likewise.
14194 * math/w_scalbf.c: Likewise.
14195 * math/w_scalbl.c: Likewise.
14196 * math/w_sqrt.c: Likewise.
14197 * math/w_sqrtf.c: Likewise.
14198 * math/w_sqrtl.c: Likewise.
14199 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14200 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14202 * math/math_private.h: Declare __kernel_standard_f.
14203 * math/w_cosh.c: Remove cruft and optimize a bit.
14204 * math/w_coshf.c: Likewise.
14205 * math/w_coshl.c: Likewise.
14206 * math/w_exp2.c: Likewise.
14207 * math/w_exp2f.c: Likewise.
14208 * math/w_exp2l.c: Likewise.
14209 * math/w_hypot.c: Likewise.
14210 * math/w_hypotf.c: Likewise.
14211 * math/w_hypotl.c: Likewise.
14212 * math/w_lgamma.c: Likewise.
14213 * math/w_lgamma_r.c: Likewise.
14214 * math/w_lgammaf.c: Likewise.
14215 * math/w_lgammaf_r.c: Likewise.
14216 * math/w_lgammal.c: Likewise.
14217 * math/w_lgammal_r.c: Likewise.
14218 * math/w_sinh.c: Likewise.
14219 * math/w_sinhf.c: Likewise.
14220 * math/w_sinhl.c: Likewise.
14221 * math/w_tgamma.c: Likewise.
14222 * math/w_tgammaf.c: Likewise.
14223 * math/w_tgammal.c: Likewise.
14224 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14225 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14226 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14227 Minor optimizations. Pretty printing. Remove cruft.
14228 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14229 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14230 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14231 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14232 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14233 * sysdeps/i386/fpu/e_asin.S: Likewise.
14234 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14235 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14236 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14237 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14238 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14239 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14240 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14241 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14242 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14243 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14244 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14245 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14246 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14247 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14248 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14249 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14250 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14251 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14252 * sysdeps/i386/fpu/e_log.S: Likewise.
14253 * sysdeps/i386/fpu/e_log10.S: Likewise.
14254 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14255 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14256 * sysdeps/i386/fpu/e_log2.S: Likewise.
14257 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14258 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14259 * sysdeps/i386/fpu/e_logf.S: Likewise.
14260 * sysdeps/i386/fpu/e_logl.S: Likewise.
14261 * sysdeps/i386/fpu/e_pow.S: Likewise.
14262 * sysdeps/i386/fpu/e_powf.S: Likewise.
14263 * sysdeps/i386/fpu/e_powl.S: Likewise.
14264 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14265 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14266 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14267 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14268 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14269 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14270 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14271 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14272 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14273 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14274 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14275 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14276 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14277 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14278 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14279 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14280 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14281 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14282 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14283 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14284 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14285 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14286 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14287 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14288 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14289 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14290 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14291 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14292 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14293 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14294 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14295 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14296 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14297 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14298 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14299 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14300 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14301 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14302 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14303 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14304 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14305 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14306 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14307 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14308 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14309 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14310 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14311 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14312 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14313 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14314 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14315 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14316 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14317 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14318 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14319 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14320 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14321 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14322 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14323 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14324 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14325 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14326 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14327 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14328 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14329 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14330 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14331 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14332 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14333 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14334 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14335 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14336 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14337 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14338 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14339 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14340 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14341 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14342 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14343 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14344 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14345 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14346 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14347 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14348 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14349 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14350 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14351 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14352 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14353 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14354 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14355 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14356 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14357 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14358 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14359 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14360 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14361 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14362 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14363 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14364 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14365 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14366 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14367 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14368 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14369 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14370 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14371 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14372 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14373 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14374 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14375 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14376 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14377 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14378 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14379 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14380 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14381 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14382 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14383 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14384 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14385 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14386 (__isnanf): Likewise.
14387 (__isinf_ns): Likewise.
14388 (__isinf_nsf): Likewise.
14389 (__finite): Likewise.
14390 (__finitef): Likewise.
14391 (__ieee754_sqrt): Define as macro.
14392 (__ieee754_sqrtf): Define as macro.
14393 (__ieee754_sqrtl): Define as macro.
14394 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14396 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14397 __FINITE_MATH_ONLY__ consistent.
14398 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14400 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14402 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14405 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14407 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14409 * po/ja.po: Update from translation team.
14411 2011-10-08 Roland McGrath <roland@hack.frob.com>
14413 * locale/programs/locarchive.c (prepare_address_space): New function.
14414 (create_archive, enlarge_archive, open_archive): Use it.
14416 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14417 inside [SHARED], where it is used.
14419 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14421 * nss/getent.c (netgroup_keys): Remove unused variable.
14422 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14424 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14426 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14427 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14428 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14429 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14430 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14431 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14432 * math/Makefile (libm-calls): Add s_isinf_ns.
14433 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14434 * math/multc3.c: Likewise.
14435 * math/s_casin.c: Likewise.
14436 * math/s_casinf.c: Likewise.
14437 * math/s_casinl.c: Likewise.
14438 * math/s_ccos.c: Likewise.
14439 * math/s_ccosf.c: Likewise.
14440 * math/s_ccosl.c: Likewise.
14441 * math/s_ctan.c: Likewise.
14442 * math/s_ctanf.c: Likewise.
14443 * math/s_ctanh.c: Likewise.
14444 * math/s_ctanhf.c: Likewise.
14445 * math/s_ctanhl.c: Likewise.
14446 * math/s_ctanl.c: Likewise.
14447 * math/w_fmod.c: Likewise.
14448 * math/w_fmodf.c: Likewise.
14449 * math/w_fmodl.c: Likewise.
14450 * math/w_remainder.c: Likewise.
14451 * math/w_remainderf.c: Likewise.
14452 * math/w_remainderl.c: Likewise.
14453 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14454 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14455 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14456 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14457 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14458 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14459 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14460 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14462 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14464 * stdio-common/printf_fphex.c: Likewise.
14465 * stdio-common/printf_size.c: Likewise.
14467 * math/e_exp10.c: Include math_private.h using <...> not "...".
14468 * math/e_exp10f.c: Likewise.
14469 * math/e_exp10l.c: Likewise.
14470 * math/e_exp2l.c: Likewise.
14471 * math/e_j0l.c: Likewise.
14472 * math/e_j1l.c: Likewise.
14473 * math/e_jnl.c: Likewise.
14474 * math/e_lgammal_r.c: Likewise.
14475 * math/e_rem_pio2l.c: Likewise.
14476 * math/e_scalb.c: Likewise.
14477 * math/e_scalbf.c: Likewise.
14478 * math/e_scalbl.c: Likewise.
14479 * math/k_cosl.c: Likewise.
14480 * math/k_sinl.c: Likewise.
14481 * math/k_tanl.c: Likewise.
14482 * math/s_cacoshf.c: Likewise.
14483 * math/s_catan.c: Likewise.
14484 * math/s_catanf.c: Likewise.
14485 * math/s_catanh.c: Likewise.
14486 * math/s_catanhf.c: Likewise.
14487 * math/s_catanhl.c: Likewise.
14488 * math/s_catanl.c: Likewise.
14489 * math/s_ccosh.c: Likewise.
14490 * math/s_ccoshf.c: Likewise.
14491 * math/s_ccoshl.c: Likewise.
14492 * math/s_cexp.c: Likewise.
14493 * math/s_cexpf.c: Likewise.
14494 * math/s_cexpl.c: Likewise.
14495 * math/s_clog.c: Likewise.
14496 * math/s_clog10.c: Likewise.
14497 * math/s_clog10f.c: Likewise.
14498 * math/s_clog10l.c: Likewise.
14499 * math/s_clogf.c: Likewise.
14500 * math/s_clogl.c: Likewise.
14501 * math/s_csin.c: Likewise.
14502 * math/s_csinf.c: Likewise.
14503 * math/s_csinh.c: Likewise.
14504 * math/s_csinhf.c: Likewise.
14505 * math/s_csinhl.c: Likewise.
14506 * math/s_csinl.c: Likewise.
14507 * math/s_csqrt.c: Likewise.
14508 * math/s_csqrtf.c: Likewise.
14509 * math/s_csqrtl.c: Likewise.
14510 * math/s_ctan.c: Likewise.
14511 * math/s_ctanf.c: Likewise.
14512 * math/s_ctanh.c: Likewise.
14513 * math/s_ctanhf.c: Likewise.
14514 * math/s_ctanhl.c: Likewise.
14515 * math/s_ctanl.c: Likewise.
14516 * math/s_ldexp.c: Likewise.
14517 * math/s_ldexpf.c: Likewise.
14518 * math/s_ldexpl.c: Likewise.
14519 * math/s_significand.c: Likewise.
14520 * math/s_significandf.c: Likewise.
14521 * math/s_significandl.c: Likewise.
14522 * math/w_acos.c: Likewise.
14523 * math/w_acosf.c: Likewise.
14524 * math/w_acosh.c: Likewise.
14525 * math/w_acoshf.c: Likewise.
14526 * math/w_acoshl.c: Likewise.
14527 * math/w_acosl.c: Likewise.
14528 * math/w_asin.c: Likewise.
14529 * math/w_asinf.c: Likewise.
14530 * math/w_asinl.c: Likewise.
14531 * math/w_atan2.c: Likewise.
14532 * math/w_atan2f.c: Likewise.
14533 * math/w_atan2l.c: Likewise.
14534 * math/w_atanh.c: Likewise.
14535 * math/w_atanhf.c: Likewise.
14536 * math/w_atanhl.c: Likewise.
14537 * math/w_cosh.c: Likewise.
14538 * math/w_coshf.c: Likewise.
14539 * math/w_coshl.c: Likewise.
14540 * math/w_dremf.c: Likewise.
14541 * math/w_exp10.c: Likewise.
14542 * math/w_exp10f.c: Likewise.
14543 * math/w_exp10l.c: Likewise.
14544 * math/w_exp2.c: Likewise.
14545 * math/w_exp2f.c: Likewise.
14546 * math/w_fmod.c: Likewise.
14547 * math/w_fmodf.c: Likewise.
14548 * math/w_fmodl.c: Likewise.
14549 * math/w_hypot.c: Likewise.
14550 * math/w_hypotf.c: Likewise.
14551 * math/w_hypotl.c: Likewise.
14552 * math/w_j0.c: Likewise.
14553 * math/w_j0f.c: Likewise.
14554 * math/w_j0l.c: Likewise.
14555 * math/w_j1.c: Likewise.
14556 * math/w_j1f.c: Likewise.
14557 * math/w_j1l.c: Likewise.
14558 * math/w_jn.c: Likewise.
14559 * math/w_jnf.c: Likewise.
14560 * math/w_jnl.c: Likewise.
14561 * math/w_lgamma.c: Likewise.
14562 * math/w_lgamma_r.c: Likewise.
14563 * math/w_lgammaf.c: Likewise.
14564 * math/w_lgammaf_r.c: Likewise.
14565 * math/w_lgammal.c: Likewise.
14566 * math/w_lgammal_r.c: Likewise.
14567 * math/w_log.c: Likewise.
14568 * math/w_log10.c: Likewise.
14569 * math/w_log10f.c: Likewise.
14570 * math/w_log10l.c: Likewise.
14571 * math/w_log2.c: Likewise.
14572 * math/w_log2f.c: Likewise.
14573 * math/w_log2l.c: Likewise.
14574 * math/w_logf.c: Likewise.
14575 * math/w_logl.c: Likewise.
14576 * math/w_pow.c: Likewise.
14577 * math/w_powf.c: Likewise.
14578 * math/w_powl.c: Likewise.
14579 * math/w_remainder.c: Likewise.
14580 * math/w_remainderf.c: Likewise.
14581 * math/w_remainderl.c: Likewise.
14582 * math/w_scalb.c: Likewise.
14583 * math/w_scalbf.c: Likewise.
14584 * math/w_scalbl.c: Likewise.
14585 * math/w_sinh.c: Likewise.
14586 * math/w_sinhf.c: Likewise.
14587 * math/w_sinhl.c: Likewise.
14588 * math/w_sqrt.c: Likewise.
14589 * math/w_sqrtf.c: Likewise.
14590 * math/w_sqrtl.c: Likewise.
14591 * math/w_tgamma.c: Likewise.
14592 * math/w_tgammaf.c: Likewise.
14593 * math/w_tgammal.c: Likewise.
14595 * po/ja.po: Update from translation team.
14597 2011-09-29 Andreas Jaeger <aj@suse.de>
14600 * sunrpc/netname.c (netname2host): Fix logic.
14604 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14606 * math/w_remainder.c (__remainder): Likewise.
14607 * math/w_remainderf.c (__remainderf): Likewise.
14608 * math/libm-test.inc (remainder_test): Add test cases.
14610 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14612 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14615 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14617 * string/test-memcmp.c: Avoid unncessary #defines.
14618 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14620 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14622 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14623 Use new sse2 version for core i3 - i7 as it's faster
14624 than sse42 version.
14625 (bit_Prefer_PMINUB_for_stringop): New.
14626 * sysdeps/x86_64/rawmemchr.S: Update.
14627 Replace with faster SSE2 version.
14628 * sysdeps/x86_64/memrchr.S: New file.
14629 * sysdeps/x86_64/memchr.S: Update.
14630 Replace with faster SSE2 version.
14632 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14634 * elf/dl-load.c (lose): Add cast to avoid warning.
14636 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14638 * po/ca.po: Update from translation team.
14640 * inet/getnetgrent_r.c: Hook up nscd.
14641 * nscd/Makefile (routines): Add nscd_netgroup.
14642 (nscd-modules): Add netgroupcache.
14643 (CFLAGS-netgroupcache.c): Define.
14644 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14645 (cache_search): Add const to second parameter.
14646 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14648 (dbs): Add netgrdb entry.
14649 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14650 (verify_persistent_db): Handle netgrdb.
14651 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14652 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14654 (netgroup_response_header): Define.
14655 (innetgroup_response_header): Define.
14656 (datahead): Add netgroup_response_header and innetgroup_response_header
14658 * nscd/nscd.conf: Add entries for netgroup cache.
14659 * nscd/nscd.h (dbtype): Add netgrdb.
14660 (_PATH_NSCD_NETGROUP_DB): Define.
14661 (netgroup_iov_disabled): Declare.
14662 (xmalloc, xcalloc, xrealloc): Move declarations here.
14663 (cache_search): Adjust prototype.
14664 Add netgroup-related prototypes.
14665 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14666 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14667 (__nscd_innetgr): Declare.
14668 * nscd/selinux.c (perms): Use access_vector_t as element type and
14669 add netgroup-related initializers.
14670 * nscd/netgroupcache.c: New file.
14671 * nscd/nscd_netgroup.c: New file.
14672 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14673 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14674 For four parameters use innetgr.
14675 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14676 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14677 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14678 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14680 * nscd/connections.c (register_traced_file): Don't register file
14681 for disabled databases.
14683 2011-10-06 Ulrich Drepper <drepper@gmail.com>
14685 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14687 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14688 from tree and freeing node.
14690 2011-09-25 Jiri Olsa <jolsa@redhat.com>
14692 * nss/nsswitch.c (__nss_database_lookup): Handle
14693 nss_parse_service_list out of memory case.
14695 2011-09-15 Jiri Olsa <jolsa@redhat.com>
14697 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14698 out of memory case.
14700 2011-10-04 Andreas Schwab <schwab@redhat.com>
14702 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14703 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14705 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14706 elf_machine_rela, elf_machine_lazy_rel.
14707 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14708 (ELF_DYNAMIC_DO_REL): Likewise.
14709 (ELF_DYNAMIC_DO_RELA): Likewise.
14710 (ELF_DYNAMIC_RELOCATE): Likewise.
14711 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14712 to ELF_DYNAMIC_DO_REL.
14713 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14714 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14715 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14717 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14718 skip_ifunc, don't call ifunc function if non-zero.
14719 (elf_machine_rela): Likewise.
14720 (elf_machine_lazy_rel): Likewise.
14721 (elf_machine_lazy_rela): Likewise.
14722 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14723 (elf_machine_lazy_rel): Likewise.
14724 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14726 (elf_machine_lazy_rel): Likewise.
14727 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14729 (elf_machine_lazy_rel): Likewise.
14730 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14731 (elf_machine_lazy_rel): Likewise.
14732 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14733 (elf_machine_lazy_rel): Likewise.
14734 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14735 (elf_machine_lazy_rel): Likewise.
14736 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14737 (elf_machine_lazy_rel): Likewise.
14738 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14739 (elf_machine_lazy_rel): Likewise.
14740 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14741 (elf_machine_lazy_rel): Likewise.
14743 2011-09-28 Ulrich Drepper <drepper@gmail.com>
14745 * nss/nss_files/files-init.c (_nss_files_init): Use static
14746 initialization for all the *_traced_file variables.
14748 2011-09-28 Andreas Schwab <schwab@redhat.com>
14750 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14752 2011-09-27 Roland McGrath <roland@hack.frob.com>
14755 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14757 2011-09-27 Andreas Schwab <schwab@redhat.com>
14759 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14760 Reread the line before reparsing it.
14762 2011-09-26 Andreas Schwab <schwab@redhat.com>
14764 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14766 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14767 Maxim Kuvyrkov <maxim@codesourcery.com>
14768 Joseph Myers <joseph@codesourcery.com>
14770 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14771 if needed for __stack_chk_guard.
14773 2011-09-19 Roland McGrath <roland@hack.frob.com>
14775 * sysdeps/posix/spawni.c (script_execute): Always define it.
14776 It will be optimized away if unused.
14777 (maybe_script_execute): New function.
14778 (__spawni): Call it.
14780 * Makerules: Don't include tls.make.
14781 (config-tls): Always set to thread.
14782 * tls.make.c: File removed.
14784 2011-09-19 Mike Frysinger <vapier@gentoo.org>
14786 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14787 * config.make.in (CPPFLAGS-config): New substituted variable.
14789 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14791 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14794 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14795 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14797 2011-09-15 Roland McGrath <roland@hack.frob.com>
14799 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14800 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14801 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14802 (CALL_FAIL): Likewise.
14803 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14804 (CALL_FAIL): Macro removed.
14805 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14807 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14809 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14810 for __FINITE_MATH_ONLY__ == 1.
14812 2011-09-15 Andreas Schwab <schwab@redhat.com>
14814 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14815 __ieee754_sqrt instead of sqrt.
14816 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14817 __ieee754_sqrtf instead of sqrtf.
14818 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14819 __floorf instead of floorf.
14820 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14821 __floorf, __truncf instead of floorf, truncf.
14823 2011-09-14 Ulrich Drepper <drepper@gmail.com>
14825 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14827 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14828 __extern_always_inline.
14829 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14832 2011-09-14 Andreas Schwab <schwab@redhat.com>
14834 * elf/rtld.c (dl_main): Also relocate in dependency order when
14835 doing symbol dependency testing.
14837 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14839 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14840 Always define `refsym'.
14842 2011-09-13 Andreas Schwab <schwab@redhat.com>
14844 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14845 (__FD_ELT): Renamed from __FDELT.
14846 * misc/bits/select2.h (__FD_ELT): Likewise.
14847 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14848 __FD_MASK instead of __FDELT, __FDMASK.
14849 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14851 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14854 * elf/Makefile (gen-ldd): Fix pattern.
14856 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14857 (init_tls): Likewise.
14859 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14861 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14863 2011-09-12 Andreas Schwab <schwab@redhat.com>
14865 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14866 `struct cmsghdr *' instead of `void *'.
14867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14870 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14872 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14874 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14875 ldd_rewrite_script.
14877 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14879 * configure.in: Remove --with-tls option.
14880 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14881 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14882 out in case it is missing.
14883 * sysdeps/ia64/elf/configure.in: Likewise.
14884 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14885 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14886 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14887 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14888 * sysdeps/sh/elf/configure.in: Likewise.
14889 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14890 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14891 * sysdeps/x86_64/elf/configure.in: Likewise.
14892 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14893 * sysdeps/mach/hurd/tls.h: Likewise.
14896 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14899 * configure.in: Fix use of AC_INIT.
14901 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14903 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14905 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14907 * malloc/hooks.c: Likewise.
14910 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14911 variables statically.
14912 (narenas): Initialize.
14913 (list_lock): Initialize.
14914 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14915 initializtion of main_arena and list_lock. Small cleanups.
14916 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14917 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14918 Add initializers to main_arena and mp_.
14919 (malloc_state): Remove pagesize member. Change all users to use
14922 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14923 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14924 is always initialized.
14926 * malloc/malloc.c: Removed unused configurations and dead code.
14927 * malloc/arena.c: Likewise.
14928 * malloc/hooks.c: Likewise.
14929 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14931 * include/tls.h: Removed. USE___THREAD must always be defined.
14932 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14933 * elf/dl-libc.c: Likewise.
14934 * elf/dl-tsd.c: Likewise.
14935 * include/errno.h: Likewise.
14936 * include/netdb.h: Likewise.
14937 * include/resolv.h: Likewise.
14938 * inet/herrno-loc.c: Likewise.
14939 * inet/herrno.c: Likewise.
14940 * malloc/arena.c: Likewise.
14941 * malloc/hooks.c: Likewise.
14942 * malloc/malloc.c: Likewise.
14943 * resolv/res-state.c: Likewise.
14944 * resolv/res_libc.c: Likewise.
14945 * sysdeps/i386/dl-machine.h: Likewise.
14946 * sysdeps/ia64/dl-machine.h: Likewise.
14947 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14948 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14949 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14950 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14951 * sysdeps/sh/dl-machine.h: Likewise.
14952 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14953 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14954 * sysdeps/unix/i386/sysdep.S: Likewise.
14955 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14956 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14957 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14958 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14959 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14960 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14961 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14962 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14963 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14964 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14965 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14966 * sysdeps/x86_64/dl-machine.h: Likewise.
14967 * tls.make.c: Likewise.
14969 * configure.in: Remove --with-__thread option. Make tests for
14970 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14971 tls_model attribute fail if no support is available. Remove
14973 * Makeconfig: Adjust for dropped configure option. All features are
14975 * Makerules: Likewise.
14976 * Versions.def: Likewise.
14977 * argp/argp-fmtstream.c: Likewise.
14978 * argp/argp-fmtstream.h: Likewise.
14979 * argp/argp-help.c: Likewise.
14980 * assert/assert.c: Likewise.
14981 * config.h.in: Likewise.
14982 * config.make.in: Likewise.
14983 * configure: Likewise.
14984 * configure.in: Likewise.
14985 * csu/Versions: Likewise.
14986 * csu/init.c: Likewise.
14987 * elf/tst-audit2.c: Likewise.
14988 * elf/tst-tls10.c: Likewise.
14989 * elf/tst-tls10.h: Likewise.
14990 * elf/tst-tls11.c: Likewise.
14991 * elf/tst-tls12.c: Likewise.
14992 * elf/tst-tls14.c: Likewise.
14993 * elf/tst-tlsmod11.c: Likewise.
14994 * elf/tst-tlsmod12.c: Likewise.
14995 * elf/tst-tlsmod13.c: Likewise.
14996 * elf/tst-tlsmod13a.c: Likewise.
14997 * elf/tst-tlsmod14a.c: Likewise.
14998 * elf/tst-tlsmod15b.c: Likewise.
14999 * elf/tst-tlsmod16a.c: Likewise.
15000 * elf/tst-tlsmod16b.c: Likewise.
15001 * elf/tst-tlsmod7.c: Likewise.
15002 * elf/tst-tlsmod8.c: Likewise.
15003 * elf/tst-tlsmod9.c: Likewise.
15004 * gmon/gmon.c: Likewise.
15005 * grp/fgetgrent_r.c: Likewise.
15006 * grp/putgrent.c: Likewise.
15007 * hurd/fopenport.c: Likewise.
15008 * include/libc-symbols.h: Likewise.
15009 * include/tls.h: Likewise.
15010 * intl/gettextP.h: Likewise.
15011 * intl/loadinfo.h: Likewise.
15012 * locale/global-locale.c: Likewise.
15013 * locale/localeinfo.h: Likewise.
15014 * mach/devstream.c: Likewise.
15015 * malloc/arena.c: Likewise.
15016 * malloc/set-freeres.c: Likewise.
15017 * misc/err.c: Likewise.
15018 * misc/getttyent.c: Likewise.
15019 * misc/mntent_r.c: Likewise.
15020 * posix/getopt.c: Likewise.
15021 * posix/wordexp.c: Likewise.
15022 * pwd/fgetpwent_r.c: Likewise.
15023 * resolv/Versions: Likewise.
15024 * resolv/res_hconf.c: Likewise.
15025 * shadow/fgetspent_r.c: Likewise.
15026 * shadow/putspent.c: Likewise.
15027 * stdio-common/printf_fphex.c: Likewise.
15028 * stdio-common/tmpfile.c: Likewise.
15029 * stdlib/abort.c: Likewise.
15030 * stdlib/fmtmsg.c: Likewise.
15031 * sunrpc/auth_unix.c: Likewise.
15032 * sunrpc/clnt_perr.c: Likewise.
15033 * sunrpc/clnt_tcp.c: Likewise.
15034 * sunrpc/clnt_udp.c: Likewise.
15035 * sunrpc/clnt_unix.c: Likewise.
15036 * sunrpc/openchild.c: Likewise.
15037 * sunrpc/svc_simple.c: Likewise.
15038 * sunrpc/svc_tcp.c: Likewise.
15039 * sunrpc/svc_udp.c: Likewise.
15040 * sunrpc/svc_unix.c: Likewise.
15041 * sunrpc/xdr.c: Likewise.
15042 * sunrpc/xdr_array.c: Likewise.
15043 * sunrpc/xdr_rec.c: Likewise.
15044 * sunrpc/xdr_ref.c: Likewise.
15045 * sunrpc/xdr_stdio.c: Likewise.
15047 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15049 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15051 2011-07-03 Andreas Jaeger <aj@suse.de>
15053 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15054 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15055 regenerate with gen-libm-tests.pl.
15057 2010-05-12 Petr Baudis <pasky@suse.cz>
15060 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15061 around j0() zero points by switching to j1().
15062 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15063 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15064 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15065 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15067 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15069 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15071 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15073 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15074 Patch in part by Pavel Roskin <proski@gnu.org>.
15077 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15079 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15080 Free memory block if necessary.
15083 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15084 be NULL. Don't lock in this case.
15086 2011-09-09 Roland McGrath <roland@hack.frob.com>
15088 * elf/elf.h (ELFOSABI_GNU): New macro.
15089 (ELFOSABI_LINUX): Define to that.
15091 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15093 * string/strncat.c (strncat): Undef the symbol in case it has been
15094 defined in bits/string.h.
15096 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15098 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15100 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15103 2011-08-17 Andreas Jaeger <aj@suse.de>
15105 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15107 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15108 Ian Lance Taylor <iant@google.com>
15110 * math/libm-test.inc (lround_test): New testcase.
15111 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15113 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15115 * Makefile: Remove support for automatic cvs check-ins.
15116 * Makerules: Likewise.
15117 * config.make.in: Likewise.
15118 * configure.in: Likewise.
15119 * intl/Makefile: Likewise.
15120 * locale/Makefile: Likewise.
15121 * po/Makefile: Likewise.
15122 * posix/Makefile: Likewise.
15123 * sysdeps/gnu/Makefile: Likewise.
15124 * sysdeps/mach/hurd/Makefile: Likewise.
15125 * sysdeps/sparc/sparc32/Makefile: Likewise.
15128 * posix/Makefile (bug-regex32-ENV): Define.
15129 Patch by John Stanley <jpsinthemix@verizon.net>.
15131 * misc/Makefile (headers): Add bits/select2.h.
15132 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15133 * misc/bits/select2.h: New file.
15134 * include/bits/select2.h: New file.
15135 * debug/Makefile (routines): Add fdelt_chk.
15136 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15137 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15139 * debug/fdelt_chk.c: New file.
15141 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15142 * wcsmbs/test-wmemcmp.c: Likewise.
15143 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15144 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15146 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15148 * string/Makefile (strop-tests): Add memcmp.
15149 * string/test-wmemcmp.c: New file.
15150 * string/test-memcmp.c: Add wmemcmp support.
15152 2011-09-08 Roland McGrath <roland@hack.frob.com>
15155 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15158 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15159 garbage value in a __mach_port_mod_refs call in the cases of the
15160 task-self and thread-self ports.
15162 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15164 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15166 2011-09-08 Andreas Schwab <schwab@redhat.com>
15168 * elf/dl-load.c (lose): Check for non-null L.
15170 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15172 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15174 * elf/dl-libc.c (dlerror_run): Pass back error code from
15178 * elf/dl-load.c (lose): Free l_origin if it is valid.
15180 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15182 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15183 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15184 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15185 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15186 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15187 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15189 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15191 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15192 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15193 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15194 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15195 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15196 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15197 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15198 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15199 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15200 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15202 2011-08-15 Alan Modra <amodra@gmail.com>
15205 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15206 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15207 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15208 ppc_mcount to static-only-routines.
15209 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15211 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15212 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15214 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15216 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15217 for finite and infinity parameters.
15219 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15221 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15222 and add nop instructions for throughput optimization.
15223 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15225 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15227 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15228 aligned copy for power7 with vector-scalar instructions.
15229 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15231 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15233 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15236 2011-09-07 Andreas Schwab <schwab@redhat.com>
15239 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15242 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15244 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15245 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15246 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15247 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15250 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15252 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15253 Forgot to demangle the pointer.
15255 * sysdeps/i386/sysdep.h: Define atom_text_section.
15256 * sysdeps/x86_64/sysdep.h: Likewise.
15257 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15258 section with atom_text_section.
15259 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15260 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15261 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15262 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15263 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15265 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15266 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15267 already be defined. Change to take two parameters and don't assign
15268 result to variable. Adjust all users.
15269 Define INTERNAL_GETTIME if not already defined.
15270 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15272 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15273 HAVE_CLOCK_GETTIME_VSYSCALL.
15274 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15276 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15277 gettimeofday vsyscall, just use time.
15279 2011-09-06 Andreas Schwab <schwab@redhat.com>
15281 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15284 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15286 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15288 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15290 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15291 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15292 syscall if possible.
15294 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15296 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15297 e_ident. Don't pass to find_mapsXX.
15298 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15300 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15303 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15304 * sysdeps/x86_64/multiarch/strchr.S: Update.
15305 Check bit_slow_BSF bit.
15306 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15307 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15308 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15310 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15313 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15315 (tryshell): Define.
15316 (__spawni): Change last parameter to be flag. Test
15317 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15318 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15319 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15320 * posix/spawni.c: Likewise.
15321 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15322 * posix/spawnp.c: Likewise. Change normal version to use
15323 SPAWN_XFLAGS_USE_PATH.
15324 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15325 SPAWN_XFLAGS_TRY_SHELL.
15328 * posix/glob.h: Remove gcc 1.x support.
15331 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15333 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15335 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15336 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15338 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15339 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15340 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15341 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15342 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15343 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15345 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15347 * sysdeps/x86_64/wcscmp.S: New file.
15349 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15350 wcscmp-c wcscmp-sse2
15351 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15352 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15353 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15354 * wcsmbs/wcscmp.c: Allow renaming.
15356 2011-09-05 David S. Miller <davem@davemloft.net>
15358 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15359 stack slot, rather than the struct return pointer slot.
15360 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15361 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15363 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15365 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15367 * po/ja.po: Update from translation team.
15370 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15371 kernel in 64-bit binaries.
15373 2011-09-01 David S. Miller <davem@davemloft.net>
15375 * elf/elf.h (HWCAP_SPARC_*): Move to..
15376 * sysdeps/sparc/sysdep.h: this new file and add new values.
15377 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15378 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15379 _DL_HWCAP_COUNT to 24.
15380 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15382 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15383 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15384 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15386 instead of magic constants.
15387 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15389 2011-08-31 David S. Miller <davem@davemloft.net>
15391 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15392 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15393 Reimplement to do errno handling inline.
15394 (SYSCALL_ERROR_HANDLER): New macro.
15395 (__SYSCALL_STRING): Do not do errno handling in asm.
15396 (__CLONE_SYSCALL_STRING): Delete.
15397 (__INTERNAL_SYSCALL_STRING): Delete.
15398 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15399 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15400 (PSEUDO): Reimplement to do errno handling inline.
15401 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15402 (SYSCALL_ERROR_HANDLER): New macro.
15403 (__SYSCALL_STRING): Do not do errno handling in asm.
15404 (__CLONE_SYSCALL_STRING): Delete.
15405 (__INTERNAL_SYSCALL_STRING): Delete.
15406 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15407 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15409 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15410 (inline_syscall*): Add 'err' argument.
15411 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15412 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15413 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15414 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15416 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15417 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15419 2011-08-30 Andreas Schwab <schwab@redhat.com>
15421 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15423 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15425 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15428 2011-08-24 David S. Miller <davem@davemloft.net>
15430 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15432 2011-08-24 Andreas Schwab <schwab@redhat.com>
15434 * elf/Makefile: Add rules to build and run unload8 test.
15435 * elf/unload8.c: New file.
15436 * elf/unload8mod1.c: New file.
15437 * elf/unload8mod1x.c: New file.
15438 * elf/unload8mod2.c: New file.
15439 * elf/unload8mod3.c: New file.
15441 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15444 2011-08-23 David S. Miller <davem@davemloft.net>
15446 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15447 subtract stack bias.
15448 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15449 %sp not %fp in calculations.
15450 (_JMPBUF_UNWINDS_ADJ): Likewise.
15452 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15453 (aio_suspend): Call it to force an exception region around the
15454 AIO_MISC_WAIT() invocation.
15456 2011-08-23 Andreas Schwab <schwab@redhat.com>
15458 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15461 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15463 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15465 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15466 and <dl-machine.h>.
15467 (Elf64_FuncDesc): Remove.
15469 2011-08-22 David S. Miller <davem@davemloft.net>
15471 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15472 sigaltstack check, add missing cfi directives.
15473 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15474 missing cfi directives, and sigaltstack handling.
15476 2011-08-16 Andreas Schwab <schwab@redhat.com>
15479 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15480 object is seen twice.
15481 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15483 * elf/Makefile (distribute): Add tst-initorder2.c.
15484 (tests): Add tst-initorder2.
15485 (modules-names): Add tst-initorder2a tst-initorder2b
15486 tst-initorder2c tst-initorder2d. Add rules to build them.
15487 ($(objpfx)tst-initorder2.out): New rule.
15488 * elf/tst-initorder2.c: New file.
15489 * elf/tst-initorder2.exp: New file.
15491 2011-08-22 Andreas Schwab <schwab@redhat.com>
15493 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15495 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15496 dependencies back to end of function.
15498 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15499 $(elfobjdir)/ld.so.
15501 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15503 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15504 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15505 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15506 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15507 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15508 of __vdso_gettimeofday.
15509 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15510 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15512 (_libc_vdso_platform_setup): Remove initialization of
15513 __vdso_gettimeofday and __vdso_time.
15515 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15517 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15518 and fgetc_unlocked.
15519 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15522 * elf/dl-open.c (add_to_global): Report additions to the global scope
15523 for LD_DEBUG=scopes.
15524 (dl_open_worker): Also print scope of newly loaded dependencies.
15525 (_dl_show_scope): Indicate if there is no scope.
15528 * stdio-common/Makefile (tests): Add bug24.
15529 * stdio-common/bug24.c: New file.
15531 2011-08-19 Andreas Jaeger <aj@suse.de>
15534 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15535 non-existant file when using close-on-exec mode.
15537 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15539 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15540 the very first instruction.
15542 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15543 the CFI state in the end.
15544 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15545 inclusion of dl-trampoline.h.
15546 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15548 2011-08-19 Andreas Schwab <schwab@redhat.com>
15550 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15551 expectations for long double.
15553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15554 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15556 2011-08-14 David S. Miller <davem@davemloft.net>
15558 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15559 artificual limit depends upon the system page size.
15561 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15563 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15564 * resolv/Makefile: Define CFLAGS-libresolv.
15566 2011-08-17 Andreas Schwab <schwab@redhat.com>
15568 * nss/makedb.c (compute_tables): Make variables used in nested
15571 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15573 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15574 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15575 if buffer was too small.
15577 * elf/pldd.c (main): Attach to all threads in the process.
15578 Rewrite /proc handling to use *at functions.
15580 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15582 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15583 specifies first scope to show.
15584 (dl_open_worker): Update callers. Move printing scope of new
15585 object to before the relocation.
15586 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15587 * sysdeps/generic/ldsodefs.h: Update declaration.
15589 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15590 string for the scope number.
15592 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15594 * nscd/servicescache.c (cache_addserv): Make sure written is always
15597 2011-08-14 Roland McGrath <roland@hack.frob.com>
15599 * sysdeps/i386/i486/bits/atomic.h
15600 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15601 statement expression, so as to suppress "set but not used" warning.
15602 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15604 * string/strncat.c (STRNCAT): Use prototype definition.
15606 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15607 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15609 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15610 (localedef-modules): Add localedef.
15611 (locale-modules): Add locale.
15613 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15614 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15615 to avoid a warning.
15617 2011-08-14 David S. Miller <davem@davemloft.net>
15619 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15620 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15622 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15624 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15625 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15626 * elf/rtld.c (dl_main): Set l_name of vDSO.
15627 Call _dl_show_scope when DL_DEBUG_SCOPES.
15628 (process_dl_debug): Recognize scopes flag and also set it for all.
15629 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15630 Declare _dl_show_scope.
15632 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15633 (do_dlopen): Pass caller_dlopen to dl_open.
15634 (__libc_dlopen_mode): Initialize caller_dlopen.
15636 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15637 of libc. Make tolower call locale-independent. Optimize a bit by
15638 using isdigit instead of isalnum.
15639 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15641 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15643 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15644 was a dependency or dynamically loaded.
15646 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15648 * intl/l10nflist.c: Allow architecture-specific pop function.
15649 * sysdeps/x86_64/l10nflist.c: New file.
15651 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15654 2011-08-10 Andreas Schwab <schwab@redhat.com>
15656 * include/dirent.h: Add libc_hidden_proto for scandirat and
15657 scandirat64. Don't declare __scandirat64.
15658 * dirent/scandirat.c: Add libc_hidden_def.
15659 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15660 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15662 2011-08-10 David S. Miller <davem@davemloft.net>
15664 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15666 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15667 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15668 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15670 2011-08-09 Ulrich Drepper <drepper@gmail.com>
15672 * Versions.def [libc]: Add GLIBC_2.15.
15673 * dirent/Makefile (routines): Add scandirat and scandirat64.
15674 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15676 * dirent/dirent.h: Declare scandirat and scandirat64.
15677 * dirent/scandirat.c: New file.
15678 * dirent/scandirat64.c: New file.
15679 * sysdeps/wordsize-64/scandirat.c: New file.
15680 * sysdeps/wordsize-64/scandirat64.c: New file.
15681 * dirent/opendir.c: Define opendirat.
15682 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15684 * dirent/scandir64.c: Adjust for scandir.c change.
15685 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15686 __scandirat64, and __scandir_cancel_handler.
15687 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15688 additional parameter and use openat instead of open (outside of ld.so).
15689 Add new __opendir as wrapper around __opendirat.
15690 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15691 here without requiring old scandirat implementation.
15693 2011-08-08 Ulrich Drepper <drepper@gmail.com>
15695 * dirent/scandir.c (cancel_handler): Renamed to
15696 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15697 defined. Adjust users.
15698 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15699 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15701 2011-08-04 Ulrich Drepper <drepper@gmail.com>
15703 * string/test-string.h (IMPL): Use __STRING to expand name and then
15706 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15709 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15711 * string/Makefile: Update.
15712 (strop-tests): Append strncat.
15713 * string/test-wcscmp.c: New file.
15714 New comprehensive test for wcscmp.
15715 * string/test-strcmp.c: Update.
15716 (WIDE): New define.
15718 2011-07-22 Andreas Schwab <schwab@redhat.com>
15720 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15723 2011-07-26 Andreas Schwab <schwab@redhat.com>
15725 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15726 encoding to ACE if AI_IDN.
15728 2011-08-01 Jakub Jelinek <jakub@redhat.com>
15730 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15731 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15733 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15735 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15736 Fix overflow bug in strncat.
15737 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15739 * string/test-strncat.c: Update.
15740 Add new tests for checking overflow bugs.
15742 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15744 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15745 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15746 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15747 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15748 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15749 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15750 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15751 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15752 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15754 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15755 (USE_AS_STRCAT): Define.
15756 Add strcat and strncat support.
15757 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15759 2011-07-25 Andreas Schwab <schwab@redhat.com>
15761 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15762 __n bigger than INT_MAX+1.
15763 (__strncmp_g): Likewise.
15765 2011-07-23 Ulrich Drepper <drepper@gmail.com>
15767 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15768 * libio/stido.h: Likewise.
15770 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15772 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15775 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15776 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15777 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15778 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15779 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15782 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15785 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15787 (_dl_x86_64_save_sse): Likewise.
15789 2011-07-22 Ulrich Drepper <drepper@gmail.com>
15791 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15793 (_dl_x86_64_save_sse): Likewise.
15795 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15797 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15799 2011-07-21 Andreas Schwab <schwab@redhat.com>
15801 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15803 (_dl_x86_64_save_sse): Use correct AVX check.
15805 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15807 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15808 bug in strncpy/strncat.
15809 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15811 2011-07-21 Ulrich Drepper <drepper@gmail.com>
15813 * string/tester.c (test_strcat): Add tests for different alignments
15814 of source and destination.
15815 (test_strncat): Likewise.
15817 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15820 * posix/glob.c (glob): Check passed in values before using them in
15821 expressions to avoid some overflows.
15822 (glob_in_dir): Likewise.
15825 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15826 check for AVX enablement so that we don't crash with old kernels and
15828 * elf/tst-audit4.c: Add same checks here.
15829 * elf/tst-audit6.c: Likewise.
15831 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15833 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15835 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15837 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15839 * po/cs.po: Update from translation team.
15840 * po/bg.po: Likewise.
15842 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15844 * misc/sys/cdefs.h: Add support for const attribute.
15845 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15846 to gnu_dev_{major,minor,makedev} functions.
15848 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15850 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15852 2011-07-20 Andreas Schwab <schwab@redhat.com>
15854 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15857 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15859 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15860 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15861 register in order to avoid conflicts with the soft frame pointer
15862 being held in r11 when necessary.
15863 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15864 (INTERNAL_VSYSCALL_NCS): Likewise.
15866 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15868 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15869 * elf/dl-fini.c (_dl_fini): Adjust caller.
15870 * elf/dl-close.c (_dl_close_worker): Likewise.
15871 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15873 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15875 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15876 "aux_cache->nlibs < 0".
15878 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15879 in the reload-count case.
15881 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15884 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15885 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15886 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15887 * sysdeps/x86_64/multiarch/strcat.S: New file.
15888 * sysdeps/x86_64/multiarch/strncat.S: New file.
15889 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15890 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15891 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15892 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15893 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15894 (USE_AS_STRCAT): Define.
15895 Add strcat and strncat support.
15896 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15897 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15898 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15899 * string/strncat.c: Update.
15900 (USE_AS_STRNCAT): Define.
15901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15902 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15904 * sysdeps/x86_64/multiarch/init-arch.h
15905 (bit_Prefer_PMINUB_for_stringop): New.
15906 (index_Prefer_PMINUB_for_stringop): Likewise.
15907 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15908 bit_Prefer_PMINUB_for_stringop.
15910 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15912 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15914 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15915 of casting of buffer.
15916 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15917 buffer32 and buffer64.
15918 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15919 writes instead of casting of buffer.
15920 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15922 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15925 2011-07-19 Andreas Schwab <schwab@redhat.com>
15927 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15929 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15931 * nscd/nscd.c (termination_handler): Don't do anything for a database
15932 if it has not yet been initialized.
15934 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15936 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15938 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15940 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15942 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15944 * po/nl.po: Update from translation team.
15945 * po/sv.po: Likewise.
15947 2011-07-16 Roland McGrath <roland@hack.frob.com>
15949 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15950 now disallowed by GCC.
15952 * configure.in (use-default-link): Default to yes if a test -shared
15953 link meets our qualifications.
15954 * configure: Regenerated.
15956 * config.make.in (output-format): New variable.
15957 * configure.in: Check for ld --print-output-format support.
15958 * configure: Regenerated.
15959 * Makerules ($(common-objpfx)format.lds)
15960 [$(output-format) != unknown]: Just use $(output-format),
15961 instead of the linker-script munging.
15963 2011-07-14 Roland McGrath <roland@hack.frob.com>
15965 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15966 of $(common-objpfx)shlib.lds.
15967 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15969 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15970 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15972 * configure.in (-z relro check): Adjust test code to add a large
15973 writable data section after it.
15974 * configure: Regenerated.
15976 2011-07-11 Roland McGrath <roland@hack.frob.com>
15978 * configure.in (-z relro check): Fix test code to make the variable
15980 * configure: Regenerated.
15982 2011-07-11 Ulrich Drepper <drepper@gmail.com>
15984 * nscd/nscd.h (struct traced_file): Define.
15985 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15986 elements. Add traced_files.
15987 (inotify_fd): Declare.
15988 (register_traced_file): Declare.
15989 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15990 (inotify_fd): Export.
15991 (resolv_conf_descr): Remove.
15992 (nscd_init): Move inotify descriptor creation to main.
15993 Don't register files for notification here.
15994 (register_traced_file): New function.
15995 (invalidate_cache): Don't use reset_res to determine whether to call
15996 res_init, go through the list of registered files.
15997 (main_loop_poll): The inotify descriptors are now stored in the
15998 structures for the traced files.
15999 (main_loop_epoll): Likewise
16000 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16001 to __nss_disable_nscd.
16002 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16003 for a database anymore. Check the records for all the registered
16005 * nss/Makefile (libnss_files-routines): Add files-init.
16006 (libnss_db-routines): Add db-init.
16007 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16008 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16009 * nss/nss_db/db-init.c: New file.
16010 * nss/nss_files/files-init.c: New file.
16011 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16012 __nss_lookup_function.
16013 (__nss_lookup_function): Call nss_load_library.
16014 (nss_load_all_libraries): New function.
16015 (__nss_disable_nscd): Take parameter with callback function for files
16016 to register. Set is_nscd. Load all the DSOs for the NSS modules
16017 used for the cached services.
16018 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16019 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16020 options for features to all the files in nscd.
16022 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16024 2011-07-10 Roland McGrath <roland@hack.frob.com>
16026 * csu/elf-init.c (__libc_csu_init): Comment typo.
16028 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16030 * po/pl.po: Update from translation team.
16031 * po/ja.po: Likewise.
16032 * po/ru.po: Likewise.
16033 * po/ko.po: Likewise.
16034 * po/fr.po: Likewise.
16036 2011-07-09 Roland McGrath <roland@hack.frob.com>
16038 * configure.in (.ctors/.dtors header and trailer check):
16039 Use an empirical test on a built program.
16040 * configure: Regenerated.
16042 * configure.in (-z relro check): Use an empirical test on a built DSO.
16043 Detect, but do not require, on ia64.
16044 * configure: Regenerated.
16046 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16047 Update tests that use readelf to use $READELF instead.
16048 * configure: Regenerated.
16050 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16052 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16053 if the result is not used.
16055 2011-07-05 Andreas Jaeger <aj@suse.de>
16058 * stdlib/tst-strtod.c: Add testcase.
16060 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16062 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16063 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16064 The latter has a higher limit. Take additional parameter to pass to
16066 (__pathconf): Pass file to __statfs_link_max.
16067 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16069 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16073 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16074 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16076 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16077 (__statfs_filesize_max): Likewise.
16078 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16080 2011-07-05 Andreas Jaeger <aj@suse.de>
16082 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16084 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16086 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16088 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16091 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16093 * Makefile (strop-tests): Add strncat.
16094 * string/test-strncat.c: New file.
16096 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16098 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16100 2011-06-21 Andreas Jaeger <aj@suse.de>
16102 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16103 Copy rule from iconvdata/Makefile.
16105 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16108 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16109 but no long options are defined, just return 'W'.
16111 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16114 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16116 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16118 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16120 (innetgr): Likewise.
16122 2011-07-05 Roland McGrath <roland@hack.frob.com>
16124 * config.make.in (install_root): Default to $(DESTDIR).
16126 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16128 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16130 2011-07-02 Roland McGrath <roland@hack.frob.com>
16132 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16134 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16135 containing directory rather than embedding absolute directory names.
16137 * scripts/check-local-headers.sh: Rewritten using awk.
16138 Match by word, not by line. Print error messages for matches.
16139 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16141 * Makerules [shlib-lds-flags empty]:
16142 ($(common-objpfx)libc_pic.opts): New target.
16143 ($(common-objpfx)libc_pic.os.clean): New target.
16144 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16146 * config.make.in (OBJCOPY): New variable.
16147 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16148 * configure: Regenerated.
16150 * config.make.in (use-default-link): New variable.
16151 * configure.in (use_default_link): Grok --with-default-link to set it.
16152 * configure: Regenerated.
16153 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16154 (shlib-lds, shlib-lds-flags): Define to empty.
16156 * Makerules (shlib-lds): New variable.
16157 (shlib-lds-flags): New variable.
16158 (build-shlib, build-moduile, build-module-asneeded): Use it.
16159 ($(common-objpfx)libc.so): Use $(shlib-lds).
16160 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16161 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16163 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16164 DT_FLAGS/DT_FLAGS_1 with zero flags.
16166 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16167 linker script munging.
16169 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16171 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16173 * crypt/sha512.c (sha512_process_block): Perform total addition using
16174 128-bit if possible.
16175 (__sha512_finish_ctx): Likewise.
16176 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16178 * crypt/sha256.c (SWAP64): Define.
16179 (sha256_process_block): Perform total addition using 64-bit if
16181 (__sha256_finish_ctx): Likewise.
16183 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16185 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16186 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16187 * nscd/hstcache.c (cache_addhst): Likewise.
16188 * nscd/grpcache.c (cache_addgr): Likewise.
16189 * nscd/aicache.c (addhstaiX): Likewise
16190 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16192 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16194 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16195 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16196 * nscd/hstcache.c (cache_addhst): Likewise.
16197 * nscd/grpcache.c (cache_addgr): Likewise.
16198 * nscd/aicache.c (addhstaiX): Likewise
16200 2011-07-01 Andreas Schwab <schwab@redhat.com>
16202 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16203 domain only when needed.
16205 2011-06-30 Andreas Schwab <schwab@redhat.com>
16207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16208 is always restored.
16210 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16212 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16213 are re-adding the entry.
16214 * nscd/servicescache.c (cache_addserv): Likewise.
16216 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16218 * sysdeps/generic/dl-irel.h: fix protection against multiple
16220 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16222 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16225 * malloc/memusage.sh: Fix quoting in message.
16226 * debug/xtrace.sh: Likewise.
16228 * configure.in: Remove support for --experimental-malloc option, make
16230 * config.make.in: Likewise.
16231 * malloc/Makefile: Likewise.
16233 2011-06-27 Andreas Schwab <schwab@redhat.com>
16235 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16236 two-byte characters.
16238 2011-06-27 Roland McGrath <roland@hack.frob.com>
16240 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16241 AC_CACHE_CHECK invocation.
16242 * configure: Regenerated.
16244 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16246 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16249 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16250 bit from old_res_options.
16252 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16254 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16255 value type for setfct.
16257 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16259 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16260 __gettimeofday instead of gettimeofday.
16262 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16264 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16266 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16268 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16270 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16273 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16276 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16277 strcpy-sse2-unaligned strncpy-sse2-unaligned
16278 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16279 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16280 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16281 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16282 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16283 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16284 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16285 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16286 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16287 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16288 (STRCPY): Support SSE2 and SSSE3 versions.
16290 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16293 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16294 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16295 kernels which artificially limit size of requests.
16297 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16300 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16301 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16302 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16303 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16304 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16305 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16306 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16307 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16308 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16309 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16310 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16311 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16312 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16313 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16315 Enable unaligned load optimization for Intel Core i3, i5 and i7
16317 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16319 (index_Fast_Unaligned_Load): Define.
16320 (HAS_FAST_UNALIGNED_LOAD): Define.
16322 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16324 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16326 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16329 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16330 until it is clear that the information is realy needed.
16331 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16333 2011-06-22 Andreas Schwab <schwab@redhat.com>
16335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16337 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16339 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16340 /sys/devices/system/cpu/online if it is usable.
16342 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16343 reading the information from the /proc filesystem to once a second.
16345 2011-06-21 Andreas Jaeger <aj@suse.de>
16347 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16348 NULL after inclusion of kernel headers.
16350 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16352 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16353 calls to internal_setent.
16356 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16357 addresses using gethostbyname4_r ignore IPv4 addresses.
16359 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16360 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16362 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16364 2011-06-20 David S. Miller <davem@davemloft.net>
16366 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16368 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16370 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16371 (elf_irel): Use it.
16372 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16373 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16374 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16375 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16376 * sysdeps/x86_64/dl-irel.h: Likewise.
16378 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16379 * elf/dl-sym.c: Likewise.
16381 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16383 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16384 need to dereference resplen2.
16386 2011-06-14 Andreas Schwab <schwab@redhat.com>
16388 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16390 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16392 * Makeconfig: Define vardbdir and inst_vardbdir.
16393 * nss/Makefile: Add rules to install db-Makefile.
16395 * nss/nss_db/db-XXX.c: Cleanup.
16397 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16398 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16400 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16401 * nss/makedb.c: Implement -g option to specify that value strings
16402 are generated and should not be added to table iterated over for
16404 * nss/nss_db/db-initgroups.c: New file.
16406 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16409 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16410 (internal_getgrouplist): Adjust to name change.
16411 Update use_initgroups_entry if this is not the first call.
16412 * nss/databases.def: Add initgroups entry.
16414 * nss/makedb.c (compute_tables): Check result of multiple hash table
16415 sizes to minimize maximum chain length.
16417 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16419 * Versions.def: Add entry for libnss_db.
16420 * shlib-versions: Likewise.
16421 * nss/Makefile: Add rules to build libnss_db.
16422 * nss/Versions: Add libnss_db information. Organize libnss_files
16424 * nss/db-Makefile: Add gshadow support. Change rules for the new
16425 makedb progra. Some minor improvements to generate smaller files.
16426 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16428 * nss/makedb.c: ...here.
16429 Improve database format to be smaller and require less memory at
16431 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16433 * nss/nss_db/db-netgrp.c: Likewise.
16434 * nss/nss_db/db-open.c: Likewise.
16435 * nss/nss_files/flies-XXX.x: Adjust comments.
16436 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16437 * nss/nss_files/files-grp.c: Likewise.
16438 * nss/nss_files/files-hosts.c: Likewise.
16439 * nss/nss_files/files-network.c: Likewise.
16440 * nss/nss_files/files-proto.c: Likewise.
16441 * nss/nss_files/files-pwd.c: Likewise.
16442 * nss/nss_files/files-rpc.c: Likewise.
16443 * nss/nss_files/files-service.c: Likewise.
16444 * nss/nss_files/files-sgrp.c: Likewise.
16445 * nss/nss_files/files-spwd.c: Likewise.
16446 * nss/nss_db/db-alias.c: Removed.
16447 * nss/nss_db/dummy-db.h: Removed.
16449 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16451 * nss/makedb.c: Rewritten to not use database library.
16452 * nss/Makefile: Update to build new makedb program.
16454 2011-06-14 Andreas Jaeger <aj@suse.de>
16456 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16457 memset declaration.
16459 2011-06-10 Andreas Schwab <schwab@redhat.com>
16461 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16464 2011-06-10 Roland McGrath <roland@hack.frob.com>
16466 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16467 * elf/Makefile ($(objpfx)ld.so): Likewise.
16469 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16470 Don't list ld.so twice in dependencies.
16472 * posix/bug-regex31.c: Include <stdlib.h>.
16474 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16476 * nis/nss_compat/compat-spwd.c
16477 (getspent_next_nss_netgr): Remove unused variable.
16478 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16480 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16481 nonmembers" output to use the right array.
16483 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16485 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16487 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16488 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16489 * catgets/gencat.c (read_input_file): Likewise.
16490 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16492 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16493 variable definition inside #if's controlling its use.
16495 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16497 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16499 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16501 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16504 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16506 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16507 * configure: Regenerated.
16509 * Makerules: Revert last change.
16510 * elf/Makefile: Likewise.
16512 2011-06-09 Roland McGrath <roland@hack.frob.com>
16514 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16515 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16516 (reloc-link): Likewise.
16518 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16520 * elf/Makefile: Add rules to build pldd.
16521 * elf/pldd.c: New file.
16522 * elf/pldd-xx.c: New file.
16524 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16526 * version.h: Update for 2.15 development version.
16528 2011-06-07 David S. Miller <davem@davemloft.net>
16530 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16532 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16533 elf_machine_lazy_rel): Likewise.
16534 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16535 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16536 elf_machine_lazy_rel): Likewise.
16537 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16538 dl_hwcap via passed in argument.
16539 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16542 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16544 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16546 2011-06-06 Roland McGrath <roland@hack.frob.com>
16549 * manual/fdl-1.1.texi: New file, verbatim from:
16550 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16551 * manual/lgpl-2.1.texi: New file, verbatim from:
16552 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16553 * manual/Makefile (licenses): New variable, list those new file names.
16555 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16557 * manual/fdl.texi: File removed.
16558 * manual/lesser.texi: File removed.
16559 * manual/libc.texinfo (Copying, Documentation License):
16560 Use new @include file names, put @appendix directive before @include.
16562 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16565 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16566 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16567 (mq_open): Add __NTH.
16569 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16572 Assume Intel Core i3/i5/i7 processor if AVX is available.
16574 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16576 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16579 2011-05-31 Andreas Schwab <schwab@redhat.com>
16581 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16582 memory. Use alloca_account. Fix memory leak when retrying.
16584 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16586 * version.h (RELEASE): Bump for 2.14 release.
16587 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16589 * config.make.in (RANLIB): Remove entry.
16591 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16593 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16594 (libc.pot): Work around missing support for .ksh extension in xgettext.
16597 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16598 if both request failed.
16599 (send_dg): In case of server errors clear resplen or *resplen2.
16602 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16603 when there are multiple maps.
16604 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16605 (_dl_fini): Remove test here.
16607 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16609 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16612 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16613 bit from old_res_options.
16614 (gaih_inet): Likewise.
16617 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16620 * resolv/res_init.c (res_setoptions): Make the code more compact.
16623 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16627 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16629 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16632 * malloc/malloc.h: Declare malloc hook variables as volatile.
16634 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16638 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16639 raise in the comment.
16640 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16641 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16642 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16644 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16647 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16648 grow the buffers more if it already has to be sufficient.
16649 (build_wcs_upper_buffer): Likewise.
16650 * posix/regexec.c (check_matching): Likewise.
16651 (clean_state_log_if_needed): Likewise.
16652 (extend_buffers): Don't enlarge buffers beyond size of the input
16654 Patches mostly by Emil Wojak <emil@wojak.eu>.
16655 * posix/bug-regex32.c: New file.
16656 * posix/Makefile (tests): Add bug-regex32.
16658 * locale/findlocale.c (_nl_find_locale): Return right away if
16659 _nl_explode_name failed.
16660 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16662 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16664 * debug/xtrace.sh: Unify messages.
16665 * malloc/memusage.sh: Likewise.
16668 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16669 time symbol from vDSO. Substitute with vsyscall if not available.
16670 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16673 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16674 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16675 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16676 Add sendmmsg and internal_sendmmsg.
16677 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16678 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16679 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16681 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16682 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16683 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16685 2011-05-27 Ulrich Drepper <drepper@gmail.com>
16688 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16689 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16691 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16695 * iconvdata/Makefile (tests): Add bug-iconv9.
16696 * iconvdata/bug-iconv9.c: New file.
16698 2011-05-27 Andreas Schwab <schwab@redhat.com>
16701 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16703 2011-05-25 Jakub Jelinek <jakub@redhat.com>
16705 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16706 (struct user_regs_struct): Change intcs field back to cs.
16708 2011-05-25 Ulrich Drepper <drepper@gmail.com>
16710 * po/ja.po: Update from translation team.
16712 2011-05-23 Ulrich Drepper <drepper@gmail.com>
16715 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16716 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16718 2011-05-20 Andreas Schwab <schwab@redhat.com>
16720 * stdlib/longlong.h: Update from GCC.
16722 2011-05-23 Andreas Schwab <schwab@redhat.com>
16724 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16726 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16727 Add parameter name.
16728 (__sysconf): Pass it down.
16730 2011-05-22 Ulrich Drepper <drepper@gmail.com>
16733 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16735 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16736 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16737 add in in __libc_use_alloca calls. Adjust callers.
16738 (glob): Use malloc in some situations.
16740 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16741 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16744 2011-05-21 Ulrich Drepper <drepper@gmail.com>
16746 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16747 and CLOCK_BOOTTIME_ALARM.
16750 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16753 * string/_strerror.c (__strerror_r): Print negative errors as signed
16757 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16758 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16759 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16761 * configure.in: Fix typo in redirection and correct removal of test
16762 files in two cases.
16765 * locale/setlocale.c (new_composite_name): Fix test to check for
16766 identical name of all categories.
16769 * libio/filedoalloc.c (local_isatty): New function.
16770 (_IO_file_doallocate): Use local_isatty.
16771 * stdio-common/perror.c (perror): In case a new stream is used
16772 forward the stream error.
16773 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16776 2011-05-20 Ulrich Drepper <drepper@gmail.com>
16779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16781 * include/alloca.h (extend_alloca_account): Define.
16784 * posix/regex.h: Fix comments with documentation of user-accessible
16785 fields after compilation and describe correct free'ing of pattern
16786 after re_compile_pattern.
16787 Patch by Reuben Thomas <rrt@sc3d.org>.
16789 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16791 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16792 and -mno-altivec to prevent the compiler from using Altivec and/or
16793 VSX instructions when the corresponding registers are not available.
16795 2011-05-19 Andreas Schwab <schwab@redhat.com>
16797 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16799 2011-05-19 Ulrich Drepper <drepper@gmail.com>
16801 * libio/freopen.c (freopen): Use __dup2, not dup2.
16802 * libio/freopen64.c (freopen64): Likewise.
16804 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16807 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16808 * math/Makefile (tests): Add test-powl.
16809 (CFLAGS-test-powl.c): Define.
16810 * math/test-powl.c: New file.
16812 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16814 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16816 2011-05-17 Ulrich Drepper <drepper@gmail.com>
16819 * iconvdata/gb18030.c: Update to GB18020-2005.
16821 2011-05-16 Ulrich Drepper <drepper@gmail.com>
16823 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16824 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16825 Patch by Aharon Robbins <arnold@skeeve.com>.
16828 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16832 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16833 through underflows.
16836 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16837 point to strings before performing equality test for error_one_per_line
16841 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16844 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16845 (struct user_fpregs_struct): Avoid __uint*_t types.
16848 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16849 symbol info. Use it instead of calling _dl_addr locally.
16850 (lock_and_info): New function.
16851 (tr_freehook): Call lock_and_info and pass symbol info as additional
16852 parameter to tr_where.
16853 (tr_mallochook): Likewise.
16854 (tr_reallochook): Likewise.
16855 (tr_memalignhook): Likewise.
16857 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16858 used and couldn't be at all thread-safe.
16860 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16862 * libio/freopen.c (freopen): Don't close old file descriptor
16863 before the new one is opened. Instead dup the new file descriptor
16864 to the old one after the new stream is created.
16865 * libio/freopen64.c (freopen64): Likewise.
16866 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16867 * libio/fileops.c (_IO_new_file_close_it): Handle new
16868 _IO_FLAGS2_NOCLOSE flag.
16869 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16870 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16871 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16872 _IO_FLAGS2_NOCLOSE flag.
16873 * include/unistd.h: Add hidden_proto for dup3.
16874 Define __have_dup3.
16875 * io/dup3.c: Define hidden symbol.
16876 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16879 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16880 when an incomplete long option is used.
16881 * posix/tst-getopt_long1.c: New file.
16882 * posix/Makefile (tests): Add tst-getopt_long1.
16885 * scripts/config.guess: Update from autoconf-2.68.
16886 * scripts/config.sub: Likewise.
16889 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16891 (has_cpuclock): ...this. New function.
16892 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16893 macro here based on has_cpuclock code.
16896 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16897 First byte (not low byte) is now always NUL.
16898 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16900 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16901 Use non-cancelable interfaces.
16904 * locale/iso-639.def: Add entry for Sorani.
16907 * include/stdlib.h: Move include protection to the right place.
16908 Define abort_msg_s. Declare __abort_msg with it.
16909 * stdlib/abort.c (__abort_msg): Adjust type.
16910 * assert/assert.c (__assert_fail_base): New function. Majority
16911 of code from __assert_fail. Allocate memory for __abort_msg with
16913 (__assert_fail): Now call __assert_fail_base.
16914 * assert/assert-perr.c: Remove bulk of implementation. Use
16915 __assert_fail_base.
16916 * include/assert.hL Declare __assert_fail_base.
16917 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16919 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16921 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16925 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16926 until all modules are registered in the DTV.
16927 * elf/Makefile: Add rules to build and run tst-tls19.
16928 * elf/tst-tls19.c: New file.
16929 * elf/tst-tls19mod1.c: New file.
16930 * elf/tst-tls19mod2.c: New file.
16931 * elf/tst-tls19mod3.c: New file.
16932 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16935 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16939 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16940 two-byte sequence errors.
16941 * iconvdata/Makefile (tests): Add bug-iconv8.
16942 * iconvdata/bug-iconv8.c: New file.
16945 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16948 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16951 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16952 (dummy_getcfa): New function.
16953 (init): Get _Unwind_GetCFA address, use dummy if not found.
16954 (backtrace_helper): In recursion check, also check whether CFA changes.
16955 (__backtrace): Completely initialize arg.
16957 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16958 storing incomplete byte sequence in state object. Avoid testing for
16959 guaranteed too small input if we know there is enough data available.
16961 2011-05-11 Andreas Schwab <schwab@redhat.com>
16963 * Makeconfig (+link-pie): Indent.
16964 * Rules (binaries-pie): Define if $(have-fpie) and
16966 (binaries-shared): Also filter out $(binaries-pie).
16967 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16968 * nscd/Makefile (others-pie): Add nscd.
16969 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16970 ($(objpfx)nscd): Remove command override.
16971 * login/Makefile (others-pie): Add pt_chown.
16972 ($(objpfx)pt_chown): Remove command override.
16973 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16974 remove command overrides.
16976 2011-05-13 Ulrich Drepper <drepper@gmail.com>
16978 * libio/tst_putwc.c: Fix error messages.
16981 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16982 currently writing and seek to current position when not.
16983 * libio/Makefile (tests): Add bug-fclose1.
16984 * libio/bug-fclose1.c: New file.
16986 2011-05-12 Ulrich Drepper <drepper@gmail.com>
16989 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16990 don't set DF_1_NODELETE here.
16991 (do_lookup_x): When entering new entry test for copy relocation
16992 and if necessary set DF_1_NODELETE flag.
16993 * elf/tst-unique4.cc: New file.
16994 * elf/tst-unique4.h: New file.
16995 * elf/tst-unique4lib.cc: New file.
16996 * elf/Makefile: Add rules to build and run tst-unique4.
16997 Patch by Piotr Bury <pbury@goahead.com>.
16999 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17002 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17005 * misc/mntent_r.c (addmntent): Flush the stream after the output
17008 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17009 (is_trusted_path_normalize): Skip initial colon. Append slash
17010 to empty buffer. Duplicate is_trusted_path code but allow
17011 constructed patch to be prefix.
17012 (is_dst): Allow $ORIGIN followed by /.
17013 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17014 Correct testing of result of is_trusted_path_normalize
17015 (decompose_rpath): Fix warning.
17017 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17020 * grp/initgroups.c (internal_getgrouplist): When we found the service
17021 list through the initgroups entry in nsswitch.conf do not always
17022 continue on a successful lookup. Don't always use the
17023 __nss_group_database value if it is set.
17024 * nss/nsswitch.conf (initgroups): Change action for successful db
17025 lookup to continue for compatibility.
17027 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17030 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17032 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17034 * iconvdata/tst-tables.sh: Likewise.
17035 * iconvdata/cp770.c: New file.
17036 * iconvdata/cp771.c: New file.
17037 * iconvdata/cp772.c: New file.
17038 * iconvdata/cp773.c: New file.
17039 * iconvdata/cp774.c: New file.
17040 * iconvdata/testdata/CP770: New file.
17041 * iconvdata/testdata/CP770..UTF8: New file.
17042 * iconvdata/testdata/CP771: New file.
17043 * iconvdata/testdata/CP771..UTF8: New file.
17044 * iconvdata/testdata/CP772: New file.
17045 * iconvdata/testdata/CP772..UTF8: New file.
17046 * iconvdata/testdata/CP773: New file.
17047 * iconvdata/testdata/CP773..UTF8: New file.
17048 * iconvdata/testdata/CP774: New file.
17049 * iconvdata/testdata/CP774..UTF8: New file.
17051 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17053 * iconvdata/gen-8bit-gap.sh: Likewise.
17054 * iconvdata/gen-8bit.sh: Likewise.
17056 * locale/iso-639.def: Add ary entry.
17059 * locale/C-translit.h.in: Add U20A1 transliteration.
17062 * locale/iso-639.def: Add wae entry.
17063 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17066 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17070 * locale/C-translit.h.in: Add entry for U20B9.
17071 Patch by pravin.d.s@gmail.com.
17073 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17076 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17077 ENAMETOOLONG use generic getcwd.
17078 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17079 in rtld. Use *stat64.
17080 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17081 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17082 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17083 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17084 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17085 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17086 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17087 __fstatat64 macros.
17088 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17089 * dirent/rewinddir.c: Add libc_hidden_def.
17090 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17091 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17093 * include/dirent.h (__alloc_dir): Add flags parameter.
17094 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17095 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17097 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17098 from fdopendir if O_CLOEXEC is already set.
17100 2011-03-15 Alan Modra <amodra@gmail.com>
17102 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17103 l_tls_firstbyte_offset non-zero. Save padding offset in
17104 l_tls_firstbyte_offset for later use.
17105 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17106 freeing static tls block.
17108 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17110 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17111 where #ifdef was intended. The intent is to prevent ARG_MAX from
17112 being defined by the kernel headers.
17114 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17117 * resolv/resolv.h: Define RES_NOTLDQUERY.
17118 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17119 no-tld-query and set RES_NOTLDQUERY.
17120 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17121 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17122 modern BIND to search name as TLD unless forbidden.
17124 2011-05-07 Petr Baudis <pasky@suse.cz>
17125 Ulrich Drepper <drepper@gmail.com>
17128 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17129 (is_trusted_path): ...to here.
17130 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17131 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17132 using is_trusted_path_normalize() in setuid scripts.
17134 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17136 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17137 __BEGIN/__END_DECLS.
17139 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17141 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17142 NSS_STATUS_NOTFOUND if no record was found.
17144 2011-05-05 Andreas Schwab <schwab@redhat.com>
17146 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17147 (headers-not-in-tirpc): Remove rpc/netdb.h
17148 * resolv/netdb.h: Revert last change.
17150 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17152 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17153 circular dependency between libgcc.a and libc.a.
17155 2011-05-05 Andreas Schwab <schwab@redhat.com>
17157 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17158 * nis/Makefile: Don't install rpcsvc/*.
17159 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17160 instead of <rpc/types.h>.
17161 (MAXHOSTNAMELEN): Define.
17163 2011-05-03 Andreas Schwab <schwab@redhat.com>
17165 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17167 2011-04-28 Maciej Babinski <mbabinski@google.com>
17170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17171 gethostbyname4_r when IPv6 results are possible.
17173 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17176 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17177 _PC_PIPE_BUF handling.
17179 2011-04-30 Bruno Haible <bruno@clisp.org>
17182 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17183 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17185 * inet/getnameinfo.c (getnameinfo): Likewise.
17187 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17189 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17190 to groups setting in database lookup.
17191 * nss/nsswitch.conf: Add initgroups entry.
17193 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17196 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17198 Patch by Eric Blake <eblake@redhat.com>.
17200 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17202 * sunrpc/Makefile (need-export-routines): Add svc_run.
17203 (routines): Remove svc_run.
17204 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17205 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17206 * sunrpc/svc_run.c (svc_run): Likewise.
17207 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17209 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17211 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17212 problem in reallocation in last patch.
17214 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17216 * sunrpc/Makefile: Move inclusion of Rules.
17218 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17220 * nss/nss_files/files-initgroups.c: New file.
17221 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17222 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17223 _nss_files_initgroups_dyn.
17225 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17227 * elf/elf.h (R_ARM_IRELATIVE): Define.
17229 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17231 * po/ru.po: Update from translation team.
17233 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17235 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17238 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17241 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17242 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17243 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17244 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17245 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17247 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17249 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17251 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17252 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17253 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17255 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17258 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17260 * stdlib/bug-getcontext.c: New file.
17261 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17263 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17265 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17266 instructions into .machine "z9-109".
17267 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17268 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17270 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17272 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17273 between environment variables and auxiliary vector.
17275 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17277 * Makefile: Add rules to build linkobj/libc.so.
17278 * include/libc-symbols.h: Define libc_hidden_nolink.
17279 * include/rpc/auth.h: Mark functions which are to be hidden.
17280 * include/rpc/auth_des.h: Likewise.
17281 * include/rpc/auth_unix.h: Likewise.
17282 * include/rpc/clnt.h: Likewise.
17283 * include/rpc/des_crypt.h: Likewise.
17284 * include/rpc/key_prot.h: Likewise.
17285 * include/rpc/pmap_clnt.h: Likewise.
17286 * include/rpc/pmap_prot.h: Likewise.
17287 * include/rpc/pmap_rmt.h: Likewise.
17288 * include/rpc/rpc_msg.h: Likewise.
17289 * include/rpc/svc.h: Likewise.
17290 * include/rpc/svc_auth.h: Likewise.
17291 * include/rpc/xdr.h: Likewise.
17292 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17293 * nss/Makefile: Likewise.
17294 * sunrpc/Makefile: Don't install headers. Build library with normal
17295 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17296 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17297 for the compat linking library. Remove use of INTDEF/INTUSE.
17298 * sunrpc/auth_none.c: Likewise.
17299 * sunrpc/auth_unix.c: Likewise.
17300 * sunrpc/authdes_prot.c: Likewise.
17301 * sunrpc/authuxprot.c: Likewise.
17302 * sunrpc/clnt_gen.c: Likewise.
17303 * sunrpc/clnt_perr.c: Likewise.
17304 * sunrpc/clnt_raw.c: Likewise.
17305 * sunrpc/clnt_simp.c: Likewise.
17306 * sunrpc/clnt_tcp.c: Likewise.
17307 * sunrpc/clnt_udp.c: Likewise.
17308 * sunrpc/clnt_unix.c: Likewise.
17309 * sunrpc/des_crypt.c: Likewise.
17310 * sunrpc/des_soft.c: Likewise.
17311 * sunrpc/get_myaddr.c: Likewise.
17312 * sunrpc/key_call.c: Likewise.
17313 * sunrpc/key_prot.c: Likewise.
17314 * sunrpc/netname.c: Likewise.
17315 * sunrpc/pm_getmaps.c: Likewise.
17316 * sunrpc/pm_getport.c: Likewise.
17317 * sunrpc/pmap_clnt.c: Likewise.
17318 * sunrpc/pmap_prot.c: Likewise.
17319 * sunrpc/pmap_prot2.c: Likewise.
17320 * sunrpc/pmap_rmt.c: Likewise.
17321 * sunrpc/publickey.c: Likewise.
17322 * sunrpc/rpc_cmsg.c: Likewise.
17323 * sunrpc/rpc_common.c: Likewise.
17324 * sunrpc/rpc_dtable.c: Likewise.
17325 * sunrpc/rpc_prot.c: Likewise.
17326 * sunrpc/rpc_thread.c: Likewise.
17327 * sunrpc/rtime.c: Likewise.
17328 * sunrpc/svc.c: Likewise.
17329 * sunrpc/svc_auth.c: Likewise.
17330 * sunrpc/svc_authux.c: Likewise.
17331 * sunrpc/svc_raw.c: Likewise.
17332 * sunrpc/svc_run.c: Likewise.
17333 * sunrpc/svc_simple.c: Likewise.
17334 * sunrpc/svc_tcp.c: Likewise.
17335 * sunrpc/svc_udp.c: Likewise.
17336 * sunrpc/svc_unix.c: Likewise.
17337 * sunrpc/svcauth_des.c: Likewise.
17338 * sunrpc/xcrypt.c: Likewise.
17339 * sunrpc/xdr.c: Likewise.
17340 * sunrpc/xdr_array.c: Likewise.
17341 * sunrpc/xdr_float.c: Likewise.
17342 * sunrpc/xdr_intXX_t.c: Likewise.
17343 * sunrpc/xdr_mem.c: Likewise.
17344 * sunrpc/xdr_rec.c: Likewise.
17345 * sunrpc/xdr_ref.c: Likewise.
17346 * sunrpc/xdr_sizeof.c: Likewise.
17347 * sunrpc/xdr_stdio.c: Likewise.
17349 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17352 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17353 * sysdeps/ia64/dl-tls.h: Likewise.
17354 * sysdeps/powerpc/dl-tls.h: Likewise.
17355 * sysdeps/s390/dl-tls.h: Likewise.
17356 * sysdeps/sh/dl-tls.h: Likewise.
17357 * sysdeps/sparc/dl-tls.h: Likewise.
17358 * sysdeps/x86_64/dl-tls.h: Likewise.
17359 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17361 2011-03-14 Andreas Schwab <schwab@redhat.com>
17363 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17364 rpath element also skip the following colon.
17365 (expand_dynamic_string_token): Add is_path parameter and pass
17366 down to DL_DST_REQUIRED and _dl_dst_substitute.
17367 (decompose_rpath): Call expand_dynamic_string_token with
17368 non-zero is_path. Ignore empty rpaths.
17369 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17372 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17377 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17380 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17381 Patch by Filipe David Manana <fdmanana@apache.org>.
17383 2011-04-07 Andreas Schwab <schwab@redhat.com>
17385 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17386 Maintain aligned stack.
17387 (CHECK_RSP): Remove unused macro.
17389 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17391 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17392 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17394 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17396 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17398 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17400 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17403 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17404 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17405 * sysdeps/x86_64/memmove.c: New file.
17406 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17407 (memcpy): Renamed to ...
17408 (__new_memcpy): This.
17409 (memcpy): Provide GLIBC_2_14 memcpy.
17410 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17411 (memcpy): Provide GLIBC_2_2_5 memcpy.
17413 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17416 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17418 2011-03-30 Andreas Schwab <schwab@redhat.com>
17420 * misc/syncfs.c: New file.
17421 * misc/Makefile (routines): Add syncfs.
17422 * posix/unistd.h: Declare syncfs.
17423 * sysdeps/unix/syscalls.list: Add syncfs.
17425 2011-04-01 Andreas Schwab <schwab@redhat.com>
17427 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17429 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17430 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17431 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17432 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17433 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17434 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17435 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17437 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17439 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17440 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17441 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17442 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17443 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17444 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17445 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17447 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17448 sync_file_range.c with -fexceptions.
17449 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17450 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17451 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17452 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17453 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17454 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17455 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17456 sync_file_range as cancellation point
17457 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17458 now a wrapper around __call_sync_file_range with cancellation handling.
17459 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17460 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17461 function name to __call_sync_file_range.
17462 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17463 Add call_sync_file_range.
17465 2011-04-01 Andreas Schwab <schwab@redhat.com>
17467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17470 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17472 * iconv/iconv.h: Fix typo in comment.
17473 * io/fcntl.h: Likewise.
17474 * libio/stdio.h: Likewise.
17475 * posix/spawn.h: Likewise.
17476 * posix/unistd.h: Likewise.
17477 * stdlib/stdlib.h: Likewise.
17478 * time/time.h: Likewise.
17479 * wcsmbs/wchar.h: Likewise.
17481 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17482 open_by_handle): Add.
17483 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17484 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17485 Augment a few comments.
17486 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17487 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17488 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17489 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17490 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17491 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17494 * io/fcntl.h (AT_EMPTY_PATH): Define.
17496 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17498 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17499 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17500 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17502 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17503 * Versions.def: Add GLIBC_2.14.
17504 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17507 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17509 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17511 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17513 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17516 * string/test-strncmp.c (do_page_test): New function.
17517 (check2): Likewise.
17518 (test_main): Call check2.
17519 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17521 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17524 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17525 Handle cache information in CPU leaf 4.
17526 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17528 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17531 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17532 character representation.
17533 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17535 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17537 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17538 END(__isnan) to END(__isnanf) to match function entry point/label
17539 EALIGN(__isnanf,...).
17541 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17543 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17545 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17548 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17549 copy from the symbol referenced in the relocation to initialize the
17551 Patch by Piotr Bury <pbury@goahead.com>.
17552 * elf/Makefile: Add rules to build and tst-unique3.
17553 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17554 * elf/tst-unique3.cc: New file.
17555 * elf/tst-unique3.h: New file.
17556 * elf/tst-unique3lib.cc: New file.
17557 * elf/tst-unique3lib2.cc: New file.
17559 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17561 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17563 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17564 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17567 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17569 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17570 to-be-loaded object along a path to loader is ld.so.
17572 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17573 Ulrich Drepper <drepper@gmail.com>
17575 * sysdeps/x86_64/memset.S: After aligning destination, code
17576 branches to different locations depending on the value of
17577 misalignment, when multiarch is enabled. Fix this.
17579 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17581 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17582 Set _x86_64_preferred_memory_instruction for AMD processsors.
17583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17584 Set bit_Prefer_SSE_for_memop for AMD processors.
17586 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17588 * libio/fmemopen.c (fmemopen): Optimize a bit.
17590 2011-03-03 Andreas Schwab <schwab@redhat.com>
17592 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17594 2011-03-03 Roland McGrath <roland@redhat.com>
17596 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17598 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17600 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17601 __bzero_ultra1 instead of __memset_ultra1.
17603 2011-02-23 Andreas Schwab <schwab@redhat.com>
17604 Ulrich Drepper <drepper@gmail.com>
17607 * include/link.h (struct link_map): Add l_orig_initfini.
17608 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17609 returning unsuccessfully.
17610 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17611 close of a file loaded at startup, restore the original l_initfini
17613 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17614 list, store the pointer.
17615 * elf/Makefile ($(objpfx)noload-mem): New rule.
17616 (noload-ENV): Define.
17617 (tests): Add $(objpfx)noload-mem.
17618 * elf/noload.c: Include <memcheck.h>.
17619 (main): Call mtrace. Close all opened handles.
17621 2011-02-17 Andreas Schwab <schwab@redhat.com>
17624 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17625 dependencies are missing.
17627 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17629 Fix __if_freereq crash: Unlike the generic version which uses free,
17631 * sysdeps/mach/hurd/ifreq.h: New file.
17633 2011-01-27 Petr Baudis <pasky@suse.cz>
17634 Ulrich Drepper <drepper@gmail.com>
17637 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17638 to extend_alloca().
17639 * stdio-common/bug23.c: New file.
17640 * stdio-common/Makefile (tests): Add bug23.
17642 2010-09-28 Andreas Schwab <schwab@redhat.com>
17643 Ulrich Drepper <drepper@gmail.com>
17646 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17647 before performing relro protection. At old place add assertion
17648 to make sure nothing changed.
17650 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17651 Glauber de Oliveira Costa <glommer@gmail.com>
17653 * elf/elf.h: Add new ARM TLS relocs.
17655 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17658 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17660 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17662 * sysdeps/wordsize-64/tst-writev.c: New file.
17664 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17666 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17667 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17668 insns in _dl_start to prevent a TOC reference before relocs are
17671 2011-02-15 Ulrich Drepper <drepper@gmail.com>
17674 * Makeconfig: Remove RANLIB definition.
17675 * Makerules: Don't use RANLIB.
17676 * aclocal.m4: Remove ranlib test.
17677 * configure.in: No need to check for ranlib.
17678 * elf/rtld-Rules: Don't use RANLIB.
17680 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17682 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17684 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17685 inclusion protection macro.
17687 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17688 SIGRTMIN and SIGRTMAX and print information in that case only when
17689 SIGRTMIN is defined.
17691 2011-02-11 Jakub Jelinek <jakub@redhat.com>
17693 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17694 arginfo fn returning -1.
17696 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17697 and thousands string is zero terminated.
17699 2011-02-03 Andreas Schwab <schwab@redhat.com>
17701 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17702 sysdeps/unix/sysv/linux/bits/socket.h.
17704 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17706 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17707 (__CPU_COUNT): Remove old macros.
17708 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17709 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17710 (__CPU_ALLOC, __CPU_FREE): Add macros.
17711 (__sched_cpualloc, __sched_cpufree): Add declarations.
17713 2011-02-05 Ulrich Drepper <drepper@gmail.com>
17715 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17716 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17717 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17718 (readdhstai): Return value of addhstaiX call.
17719 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17720 (addgrbyX): Return value returned by cache_addgr.
17721 (readdgrbyname): Return value returned by addgrbyX.
17722 (readdgrbygid): Likewise.
17723 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17724 (addpwbyX): Return value returned by cache_addpw.
17725 (readdpwbyname): Return value returned by addhstbyX.
17726 (readdpwbyuid): Likewise.
17727 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17728 (addservbyX): Return value returned by cache_addserv.
17729 (readdservbyname): Return value returned by addservbyX:
17730 (readdservbyport): Likewise.
17731 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17732 (addhstbyX): Return value returned by cache_addhst.
17733 (readdhstbyname): Return value returned by addhstbyX.
17734 (readdhstbyaddr): Likewise.
17735 (readdhstbynamev6): Likewise.
17736 (readdhstbyaddrv6): Likewise.
17737 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17738 (readdinitgroups): Return value returned by addinitgroupsX.
17739 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17740 (prune_cache): Keep track of timeout value of re-added entries.
17741 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17742 * nscd/nscd.h: Adjust prototypes of readd* functions.
17744 2011-02-04 Roland McGrath <roland@redhat.com>
17746 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17747 (nis_stats): Likewise.
17748 * nis/nis_modify.c (nis_modify): Likewise.
17749 * nis/nis_remove.c (nis_remove): Likewise.
17750 * nis/nis_add.c (nis_add): Likewise.
17752 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17754 * posix/fnmatch_loop.c: Add some consts.
17756 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17758 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17761 * config.make.in (config-cflags-novzeroupper): Define.
17762 * configure.in: Substitute libc_cv_cc_novzeroupper.
17763 * elf/Makefile (AVX-CFLAGS): Define.
17764 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17765 (CFLAGS-tst-auditmod4a.c): Likewise.
17766 (CFLAGS-tst-auditmod4b.c): Likewise.
17767 (CFLAGS-tst-auditmod6b.c): Likewise.
17768 (CFLAGS-tst-auditmod6c.c): Likewise.
17769 (CFLAGS-tst-auditmod7b.c): Likewise.
17770 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17772 2011-02-02 Ulrich Drepper <drepper@gmail.com>
17774 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17775 function to the callback.
17776 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17778 2011-02-02 Andreas Schwab <schwab@redhat.com>
17780 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17783 2011-01-19 Ulrich Drepper <drepper@gmail.com>
17786 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17788 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17790 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17793 * elf/Makefile: Add rules to build and run new test.
17794 * elf/tst-initorder.c: New file.
17795 * elf/tst-initorder.exp: New file.
17796 * elf/tst-initordera1.c: New file.
17797 * elf/tst-initordera2.c: New file.
17798 * elf/tst-initordera3.c: New file.
17799 * elf/tst-initordera4.c: New file.
17800 * elf/tst-initorderb1.c: New file.
17801 * elf/tst-initorderb2.c: New file.
17802 * elf/tst-order-a1.c: New file.
17803 * elf/tst-order-a2.c: New file.
17804 * elf/tst-order-a3.c: New file.
17805 * elf/tst-order-a4.c: New file.
17806 * elf/tst-order-b1.c: New file.
17807 * elf/tst-order-b2.c: New file.
17808 * elf/tst-order-main.c: New file.
17809 New test case by George Gensure <werkt0@gmail.com>.
17811 2010-10-01 Andreas Schwab <schwab@redhat.com>
17813 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17814 decoding ACE if AI_CANONIDN.
17816 2011-01-18 Ulrich Drepper <drepper@gmail.com>
17818 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17820 2011-01-17 Ulrich Drepper <drepper@gmail.com>
17822 * version.h (RELEASE): Bump for 2.13 release.
17823 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17825 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17827 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17829 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17830 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17831 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17832 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17833 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17834 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17836 * posix/getconf.c: Update copyright year.
17837 * catgets/gencat.c: Likewise.
17838 * csu/version.c: Likewise.
17839 * debug/catchsegv.sh: Likewise.
17840 * debug/xtrace.sh: Likewise.
17841 * elf/ldconfig.c: Likewise.
17842 * elf/ldd.bash.in: Likewise.
17843 * elf/sprof.c (print_version): Likewise.
17844 * iconv/iconv_prog.c: Likewise.
17845 * iconv/iconvconfig.c: Likewise.
17846 * locale/programs/locale.c: Likewise.
17847 * locale/programs/localedef.c: Likewise.
17848 * malloc/memusage.sh: Likewise.
17849 * malloc/mtrace.pl: Likewise.
17850 * nscd/nscd.c (print_version): Likewise.
17851 * nss/getent.c: Likewise.
17853 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17854 PF_CAIF, and PF_ALG.
17855 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17857 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17859 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17860 (modules-names): Use them.
17861 (ifunc-test-modules, ifunc-pie-tests): Define.
17862 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17863 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17864 (test-extras): Likewise.
17865 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17866 $(compile-command.c).
17867 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17868 (all-built-dso): Define.
17869 (check-textrel.out, check-execstack.out): Depend on it.
17871 * configure.in: Don't override --enable-multi-arch.
17873 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17876 * nscd/hstcache.c (tryagain): Define.
17877 (cache_addhst): Return tryagain not notfound for temporary errors.
17878 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17881 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17884 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17885 to make the syscall.
17886 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17889 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17890 and fall back to matching as normal character if the string ends before
17891 the matching ']' is found. This is what POSIX requires.
17892 * posix/testfnm.c: Adjust test result.
17893 * posix/globtest.sh: Adjust test result. Add new test.
17894 * posix/tst-fnmatch.input: Likewise.
17895 * posix/tst-fnmatch2.c: Add new test.
17897 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17899 * elf/Makefile (check-execstack): Revert last change. Depend on
17901 (check-execstack.h): New target.
17902 (generated): Add check-execstack.h.
17903 * elf/check-execstack.c: Include "check-execstack.h".
17904 (main): Revert last change.
17905 (handle_file): Return zero if GNU_STACK is absent and
17906 DEFAULT_STACK_PERMS doesn't include PF_X.
17908 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17910 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17911 in child fails because the descriptor is already closed.
17912 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17913 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17914 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17917 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17921 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17922 temporary buffer used to handle multi lookups locally.
17923 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17925 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17927 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17930 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17932 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17933 alignment for SSE2.
17935 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17938 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17939 characters. When rounding increased number of integer digits recompute
17941 * stdio-common/tst-grouping.c: New file.
17942 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17944 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17946 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17947 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17949 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17951 * bits/select.h: Likewise.
17953 2011-01-08 Ulrich Drepper <drepper@gmail.com>
17955 * po/ja.po: Update from translation team.
17957 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
17960 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17961 implementation just like for lxstat, fxstatat, et al.
17963 2010-12-27 Jim Meyering <meyering@redhat.com>
17966 * posix/regexec.c (build_trtable): Return failure indication upon
17967 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17969 2010-12-25 Ulrich Drepper <drepper@gmail.com>
17972 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17973 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17974 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17975 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17978 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17981 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17982 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17984 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17986 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17987 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17988 script has SORT_BY_INIT_PRIORITY.
17989 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17990 NO_CTORS_DTORS_SECTIONS is defined.
17991 * elf/soinit.c: Likewise.
17992 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17993 NO_CTORS_DTORS_SECTIONS is defined.
17994 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17995 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17996 * sysdeps/sh/init-first.c: Likewise.
17997 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17999 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18001 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18002 always use the slow path.
18004 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18006 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18007 similar rule which adds the sysdep directories to the header search in
18008 order to pick up the correct platform stackinfo.h.
18009 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18010 perform test if it is, otherwise return successfully without testing.
18011 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18012 DEFAULT_STACK_PERMS define in stackinfo.h.
18013 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18014 defined in stackinfo.h.
18015 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18016 DEFAULT_STACK_PERMS defined in stackinfo.h.
18017 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18018 * sysdeps/ia64/stackinfo.h: Likewise.
18019 * sysdeps/s390/stackinfo.h: Likewise.
18020 * sysdeps/sh/stackinfo.h: Likewise.
18021 * sysdeps/sparc/stackinfo.h: Likewise.
18022 * sysdeps/x86_64/stackinfo.h: Likewise.
18023 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18024 PF_X for powerpc64. Retain PF_X for powerpc32.
18026 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18028 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18030 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18031 GETDENTS_64BIT_ALIGNED.
18033 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18035 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18037 2010-12-10 Andreas Schwab <schwab@redhat.com>
18039 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18042 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18043 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18045 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18046 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18048 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18051 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18054 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18056 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18058 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18060 * po/it.po: Update from translation team.
18062 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18064 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18067 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18069 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18071 2010-11-24 Andreas Schwab <schwab@redhat.com>
18073 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18075 (gaih_getanswer_slice): Likewise.
18077 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18081 2010-05-31 Petr Baudis <pasky@suse.cz>
18084 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18085 silently even in the chroot mode.
18087 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18089 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18090 last patch a bit. Pretty printing
18092 2010-05-31 Petr Baudis <pasky@suse.cz>
18095 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18096 initialization of skip_initgroups_dyn.
18098 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18100 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18101 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18103 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18105 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18107 2010-11-11 Andreas Schwab <schwab@redhat.com>
18109 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18110 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18111 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18112 ($(objpfx)tst-fnmatch-mem): New rule.
18113 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18114 * posix/tst-fnmatch.c (main): Call mtrace.
18116 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18119 Support Intel processor model 6 and model 0x2c.
18121 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18123 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18126 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18129 * string/test-strncasecmp.c (check_result): New function.
18130 (do_one_test): Use it.
18131 (check1): New function.
18132 (test_main): Use it.
18133 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18134 Support strcasecmp and strncasecmp.
18136 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18139 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18140 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18142 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18144 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18148 * sysdeps/x86_64/multiarch/bzero.S: New file.
18149 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18150 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18151 * sysdeps/x86_64/multiarch/memset.S: New file.
18152 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18154 Set bit_Prefer_SSE_for_memop for Intel processors.
18155 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18157 (index_Prefer_SSE_for_memop): Define.
18158 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18160 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18162 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18163 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18165 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18168 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18169 (__x86_64_raw_data_cache_size_half): Likewise.
18170 (__x86_64_raw_shared_cache_size): Likewise.
18171 (__x86_64_raw_shared_cache_size_half): Likewise.
18173 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18174 (__x86_64_raw_data_cache_size_half): Likewise.
18175 (__x86_64_raw_shared_cache_size): Likewise.
18176 (__x86_64_raw_shared_cache_size_half): Likewise.
18177 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18178 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18179 and __x86_64_raw_shared_cache_size_half. Round
18180 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18181 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18182 to multiple of 256 bytes.
18184 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18187 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18188 of inacessible symlinks. Verify result of symlink before returning it.
18189 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18190 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18192 2010-10-28 Erich Ritz <erichritz@gmail.com>
18194 * math/math.h (isinf): Fix typo in comment.
18196 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18198 * po/da.po: Update from translation team.
18200 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18202 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18203 is added to the list.
18205 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18206 Ulrich Drepper <drepper@gmail.com>
18208 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18209 the global list here. Move code to...
18210 (_dl_add_to_namespace_list): ...here. New function.
18211 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18212 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18213 * elf/dl-load.c (lose): Don't remove the element from the list.
18214 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18215 (_dl_map_object): Likewise.
18217 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18220 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18221 into all bytes of SSE register.
18222 Patch by Richard Li <richardpku@gmail.com>.
18224 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18227 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18230 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18232 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18233 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18234 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18235 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18240 2010-10-22 Andreas Schwab <schwab@redhat.com>
18242 * include/dlfcn.h (__RTLD_SECURE): Define.
18243 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18244 mode & __RTLD_SECURE instead.
18245 (open_path): Rename preloaded parameter to secure.
18246 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18247 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18248 * elf/dl-deps.c (openaux): Likewise.
18249 * elf/rtld.c (struct map_args): Remove is_preloaded.
18250 (map_doit): Don't use it.
18251 (dl_main): Likewise.
18252 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18253 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18255 2010-09-09 Andreas Schwab <schwab@redhat.com>
18257 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18258 (sysd-rules-targets): Remove duplicates.
18259 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18260 rtld-%.$o dependency.
18262 2010-10-18 Andreas Schwab <schwab@redhat.com>
18264 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18265 _dl_map_object do it.
18267 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18269 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18270 fast fma builtins, define the macros in the C99 standard.
18271 (FP_FAST_FMAF): Likewise.
18272 (FP_FAST_FMAL): Likewise.
18273 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18275 * bits/mathdef.h: Update copyright year.
18276 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18278 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18280 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18281 builtins, define the macros in the C99 standard.
18282 (FP_FAST_FMAF): Likewise.
18283 (FP_FAST_FMAL): Likewise.
18284 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18286 (FP_FAST_FMAF): Likewise.
18288 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18291 * math/libm-test.inc (fma_test): Some new testcases.
18292 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18293 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18294 y and infinite z. Do multiplication by C already in long double.
18295 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18296 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18297 y and infinite z. Do bitwise or of inexact bit into u.d.
18298 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18299 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18300 * sysdeps/i386/fpu/s_fma.S: Removed.
18301 * sysdeps/i386/fpu/s_fmal.S: Removed.
18303 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18306 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18307 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18308 computation is not scheduled after fetestexcept. Fix value
18309 of minimum denormal long double.
18311 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18314 * math/libm-test.inc (fma_test): Add some more tests.
18315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18318 2010-10-15 Andreas Schwab <schwab@redhat.com>
18320 * scripts/data/localplt-s390-linux-gnu.data: New file.
18321 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18323 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18326 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18327 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18329 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18331 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18332 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18333 if one of x and y is very large and the other is subnormal.
18334 * sysdeps/s390/fpu/s_fmaf.c: New file.
18335 * sysdeps/s390/fpu/s_fma.c: New file.
18336 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18337 * sysdeps/powerpc/fpu/s_fma.S: New file.
18338 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18339 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18340 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18342 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18345 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18347 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18348 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18349 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18350 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18351 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18352 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18353 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18355 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18358 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18359 * posix/bug-regex31.input: Add test case.
18361 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18363 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18364 * posix/bug-regex31.input: New file.
18367 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18368 (parse_sub_exp): Fix last change, use postorder.
18370 * posix/bug-regex31.c: New file.
18371 * posix/Makefile: Add rules to build and run bug-regex31.
18373 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18376 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18379 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18380 to have entries in sys_siglist.
18383 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18386 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18389 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18390 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18391 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18392 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18393 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18394 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18395 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18396 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18397 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18398 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18399 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18400 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18401 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18402 * math/ftestexcept.c (fetestexcept): Likewise.
18403 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18404 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18405 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18406 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18407 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18408 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18409 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18411 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18414 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18417 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18419 * string/bug-strstr1.c: New file.
18420 * string/Makefile: Add rules to build and run bug-strstr1.
18422 2010-10-05 Eric Blake <eblake@redhat.com>
18425 * string/str-two-way.h (two_way_long_needle): Always clear memory
18426 when skipping input due to the shift table.
18428 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18431 * malloc/mcheck.c: Handle large requests.
18434 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18435 for strncmp and strncasecmp.
18436 * string/stratcliff.c: Add tests for strcmp and strncmp.
18437 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18439 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18441 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18444 2010-09-30 Andreas Jaeger <aj@suse.de>
18446 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18447 (CGROUP_SUPER_MAGIC): Define.
18448 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18449 Handle btrfs and cgroup file systems.
18450 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18453 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18455 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18456 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18458 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18461 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18462 trying to locate the ELF header.
18464 2010-09-27 Andreas Schwab <schwab@redhat.com>
18467 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18468 Mask out sign-bit copies when constructing f_fsid.
18470 2010-09-24 Petr Baudis <pasky@suse.cz>
18472 * debug/stack_chk_fail_local.c: Add missing licence exception.
18473 * debug/warning-nop.c: Likewise.
18475 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18477 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18478 implementing getdents64 using getdents syscall, set d_type if
18479 __ASSUME_GETDENTS32_D_TYPE.
18481 2010-09-16 Andreas Schwab <schwab@redhat.com>
18483 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18484 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18486 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18489 * posix/unistd.h: Undo change of feature selection for ftruncate from
18492 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18494 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18497 2010-09-20 Andreas Schwab <schwab@redhat.com>
18499 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18501 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18503 2010-09-14 Andreas Schwab <schwab@redhat.com>
18505 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18506 variables after CHECK_SP call.
18507 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18509 2010-09-13 Andreas Schwab <schwab@redhat.com>
18510 Ulrich Drepper <drepper@redhat.com>
18512 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18513 re-relocationg ld.so.
18514 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18515 _dl_init_paths call.
18516 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18519 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18521 * resolv/res_init.c (__res_vinit): Count the default server we added.
18523 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18524 Ulrich Drepper <drepper@redhat.com>
18527 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18528 (____longjmp_chk): Use %ebx for saving value across system call.
18531 2010-09-06 Andreas Schwab <schwab@redhat.com>
18533 * manual/Makefile: Don't mix pattern rules with normal rules.
18535 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18537 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18539 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18540 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18541 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18542 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18543 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18546 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18549 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18550 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18552 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18554 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18555 * sysdeps/x86_64/addmul_1.S: Likewise.
18556 * sysdeps/x86_64/lshift.S: Likewise.
18557 * sysdeps/x86_64/mul_1.S: Likewise.
18558 * sysdeps/x86_64/rshift.S: Likewise.
18559 * sysdeps/x86_64/sub_n.S: Likewise.
18560 * sysdeps/x86_64/submul_1.S: Likewise.
18562 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18564 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18565 Define __sched_param instead of SCHED_* and sched_param when
18566 <bits/sched.h> is included with __need_schedparam defined.
18567 * bits/sched.h [__need_schedparam]
18568 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18569 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18570 (__defined_schedparam): Define to 1.
18571 (__sched_param): New structure, identical to sched_param.
18572 (__need_schedparam): Undefine.
18574 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18576 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18577 (epoll_create1): Declare.
18579 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18581 2010-08-31 Andreas Schwab <schwab@redhat.com>
18584 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18585 shifting retval into place.
18587 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18589 * nis/rpcsvc/nis.h: Update copyright notice.
18590 * nis/rpcsvc/nis.x: Likewise.
18591 * nis/rpcsvc/nis_callback.h: Likewise.
18592 * nis/rpcsvc/nis_callback.x: Likewise.
18593 * nis/rpcsvc/nis_object.x: Likewise.
18594 * nis/rpcsvc/nis_tags.h: Likewise.
18595 * nis/rpcsvc/yp.h: Likewise.
18596 * nis/rpcsvc/yp.x: Likewise.
18597 * nis/rpcsvc/ypupd.h: Likewise.
18598 * nis/yp_xdr.c: Likewise.
18599 * nis/ypupdate_xdr.c: Likewise.
18601 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18602 mainly the body of pmap_getport. Add parameters to specify timeouts.
18603 (pmap_getport): Use __libc_rpc_getport.
18604 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18605 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18606 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18608 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18613 2010-08-27 Roland McGrath <roland@redhat.com>
18615 * sysdeps/i386/i686/multiarch/Makefile
18616 (CFLAGS-varshift.c): New variable.
18618 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18620 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18621 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18623 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18625 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18627 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18629 * sysdeps/x86_64/strlen.S: Unroll the loop.
18630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18631 strlen-sse2 strlen-sse2-bsf.
18632 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18633 __strlen_no_bsf if bit_Slow_BSF is set.
18634 (__strlen_sse42): Removed.
18635 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18636 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18638 2010-08-25 Roland McGrath <roland@redhat.com>
18640 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18641 * sysdeps/x86_64/multiarch/varshift.c: New file.
18642 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18643 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18644 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18645 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18647 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18649 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18650 strlen-sse2 strlen-sse2-bsf.
18651 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18652 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18653 (__strlen_sse2): Removed.
18654 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18655 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18657 bit_Slow_BSF for Atom.
18658 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18659 (index_Slow_BSF): Define.
18660 (HAS_SLOW_BSF): Define.
18662 2010-08-25 Ulrich Drepper <drepper@redhat.com>
18665 * resolv/res_init.c (__res_vinit): When no server address at all
18666 is given default to loopback.
18668 2010-08-24 Roland McGrath <roland@redhat.com>
18670 * configure.in: Remove config-name.h generation.
18671 * configure: Regenerated.
18672 * config-name.in: File removed.
18673 * scripts/config-uname.sh: New file.
18674 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18675 ($(objdir)config-name.h): New target.
18677 * sunrpc/rpc_parse.h: Avoid nested comment.
18679 2010-08-24 Richard Henderson <rth@redhat.com>
18680 Ulrich Drepper <drepper@redhat.com>
18681 H.J. Lu <hongjiu.lu@intel.com>
18683 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18685 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18686 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18687 _mm_alignr_epi8 with _mm_loadu_si128.
18688 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18689 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18690 (__m128i_shift_right): Removed.
18691 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18692 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18693 * sysdeps/x86_64/multiarch/varshift.h: New file.
18694 * sysdeps/x86_64/multiarch/varshift.S: New file.
18696 2010-08-21 Mike Frysinger <vapier@gentoo.org>
18698 * configure.in: Move assembler checks to before sysdep dir checking.
18700 2010-08-20 Petr Baudis <pasky@suse.cz>
18702 * LICENSES: Sync the sunrpc license.
18704 2010-08-19 Ulrich Drepper <drepper@redhat.com>
18706 * sunrpc/auth_des.c: Update copyright notice once again.
18707 * sunrpc/auth_none.c: Likewise.
18708 * sunrpc/auth_unix.c: Likewise.
18709 * sunrpc/authdes_prot.c: Likewise.
18710 * sunrpc/authuxprot.c: Likewise.
18711 * sunrpc/bindrsvprt.c: Likewise.
18712 * sunrpc/clnt_gen.c: Likewise.
18713 * sunrpc/clnt_perr.c: Likewise.
18714 * sunrpc/clnt_raw.c: Likewise.
18715 * sunrpc/clnt_simp.c: Likewise.
18716 * sunrpc/clnt_tcp.c: Likewise.
18717 * sunrpc/clnt_udp.c: Likewise.
18718 * sunrpc/clnt_unix.c: Likewise.
18719 * sunrpc/des_crypt.c: Likewise.
18720 * sunrpc/des_soft.c: Likewise.
18721 * sunrpc/get_myaddr.c: Likewise.
18722 * sunrpc/getrpcport.c: Likewise.
18723 * sunrpc/key_call.c: Likewise.
18724 * sunrpc/key_prot.c: Likewise.
18725 * sunrpc/openchild.c: Likewise.
18726 * sunrpc/pm_getmaps.c: Likewise.
18727 * sunrpc/pm_getport.c: Likewise.
18728 * sunrpc/pmap_clnt.c: Likewise.
18729 * sunrpc/pmap_prot.c: Likewise.
18730 * sunrpc/pmap_prot2.c: Likewise.
18731 * sunrpc/pmap_rmt.c: Likewise.
18732 * sunrpc/rpc/auth.h: Likewise.
18733 * sunrpc/rpc/auth_unix.h: Likewise.
18734 * sunrpc/rpc/clnt.h: Likewise.
18735 * sunrpc/rpc/des_crypt.h: Likewise.
18736 * sunrpc/rpc/key_prot.h: Likewise.
18737 * sunrpc/rpc/netdb.h: Likewise.
18738 * sunrpc/rpc/pmap_clnt.h: Likewise.
18739 * sunrpc/rpc/pmap_prot.h: Likewise.
18740 * sunrpc/rpc/pmap_rmt.h: Likewise.
18741 * sunrpc/rpc/rpc.h: Likewise.
18742 * sunrpc/rpc/rpc_des.h: Likewise.
18743 * sunrpc/rpc/rpc_msg.h: Likewise.
18744 * sunrpc/rpc/svc.h: Likewise.
18745 * sunrpc/rpc/svc_auth.h: Likewise.
18746 * sunrpc/rpc/types.h: Likewise.
18747 * sunrpc/rpc/xdr.h: Likewise.
18748 * sunrpc/rpc_clntout.c: Likewise.
18749 * sunrpc/rpc_cmsg.c: Likewise.
18750 * sunrpc/rpc_common.c: Likewise.
18751 * sunrpc/rpc_cout.c: Likewise.
18752 * sunrpc/rpc_dtable.c: Likewise.
18753 * sunrpc/rpc_hout.c: Likewise.
18754 * sunrpc/rpc_main.c: Likewise.
18755 * sunrpc/rpc_parse.c: Likewise.
18756 * sunrpc/rpc_parse.h: Likewise.
18757 * sunrpc/rpc_prot.c: Likewise.
18758 * sunrpc/rpc_sample.c: Likewise.
18759 * sunrpc/rpc_scan.c: Likewise.
18760 * sunrpc/rpc_scan.h: Likewise.
18761 * sunrpc/rpc_svcout.c: Likewise.
18762 * sunrpc/rpc_tblout.c: Likewise.
18763 * sunrpc/rpc_util.c: Likewise.
18764 * sunrpc/rpc_util.h: Likewise.
18765 * sunrpc/rpcinfo.c: Likewise.
18766 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18767 * sunrpc/rpcsvc/key_prot.x: Likewise.
18768 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18769 * sunrpc/rpcsvc/mount.x: Likewise.
18770 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18771 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18772 * sunrpc/rpcsvc/rex.x: Likewise.
18773 * sunrpc/rpcsvc/rstat.x: Likewise.
18774 * sunrpc/rpcsvc/rusers.x: Likewise.
18775 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18776 * sunrpc/rpcsvc/spray.x: Likewise.
18777 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18778 * sunrpc/rtime.c: Likewise.
18779 * sunrpc/svc.c: Likewise.
18780 * sunrpc/svc_auth.c: Likewise.
18781 * sunrpc/svc_authux.c: Likewise.
18782 * sunrpc/svc_raw.c: Likewise.
18783 * sunrpc/svc_run.c: Likewise.
18784 * sunrpc/svc_simple.c: Likewise.
18785 * sunrpc/svc_tcp.c: Likewise.
18786 * sunrpc/svc_udp.c: Likewise.
18787 * sunrpc/svc_unix.c: Likewise.
18788 * sunrpc/svcauth_des.c: Likewise.
18789 * sunrpc/xcrypt.c: Likewise.
18790 * sunrpc/xdr.c: Likewise.
18791 * sunrpc/xdr_array.c: Likewise.
18792 * sunrpc/xdr_float.c: Likewise.
18793 * sunrpc/xdr_mem.c: Likewise.
18794 * sunrpc/xdr_rec.c: Likewise.
18795 * sunrpc/xdr_ref.c: Likewise.
18796 * sunrpc/xdr_sizeof.c: Likewise.
18797 * sunrpc/xdr_stdio.c: Likewise.
18799 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18802 2010-08-19 Andreas Schwab <schwab@redhat.com>
18804 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18806 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
18808 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18809 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18810 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18811 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18812 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18813 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18814 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18815 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18816 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18817 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18818 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18819 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18820 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18821 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18823 2010-07-26 Anton Blanchard <anton@samba.org>
18825 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18826 * malloc/arena.c (heap_trim): Likewise.
18828 2010-08-16 Ulrich Drepper <drepper@redhat.com>
18830 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18832 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18833 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18835 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18837 * sysdeps/i386/elf/Makefile: New file.
18839 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18841 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18842 from fanotify_init.
18843 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18844 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18846 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18848 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18850 * sysdeps/multiarch/strcmp.S: Likewise.
18852 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18854 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18855 strncase_l-nonascii.
18856 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18857 Add strncase_l-ssse3.
18858 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18859 * sysdeps/x86_64/strcmp.S: Likewise.
18860 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18861 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18862 * sysdeps/x86_64/strncase.S: New file.
18863 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18864 * sysdeps/x86_64/strncase_l.S: New file.
18865 * string/Makefile (strop-tests): Add strncasecmp.
18866 * string/test-strncasecmp.c: New file.
18868 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18871 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18872 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18874 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18876 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18878 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18880 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18881 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18882 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18884 2010-05-01 Alan Modra <amodra@gmail.com>
18886 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18887 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18888 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18889 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18890 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18891 tidying. Don't tail-call __sigjmp_save for static lib.
18892 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18894 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18895 (CALL_MCOUNT): Add eh info, and nop after bl.
18896 (TAIL_CALL_SYSCALL_ERROR): New macro.
18897 (PSEUDO_RET): Use it.
18898 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18899 Correct save location of integer regs and cr.
18900 (_dl_profile_resolve): Correct cr save location. Delete nops
18901 after bl when SHARED. Reduce cfi size a little by better
18902 placement of cfi directives.
18903 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18904 make a stack frame. Instead use parm save area as a temp.
18905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18906 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18908 Don't make a stack frame for parent, use parm save area.
18909 Increase child stack frame to 112 bytes. Don't save unused reg,
18910 and adjust reg usage. Set up cfi on error recovery and
18911 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18913 (__makecontext): Add dummy nop after jump to exit.
18914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18915 Use correct parm save area and cr save, reduce stack frame.
18916 Correct cfi for possible PSEUDO_RET frame setup.
18917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18918 Branch to local label emitted by PSEUDO_RET rather than
18921 2010-08-12 Andreas Schwab <schwab@redhat.com>
18924 * locale/programs/locale.c (print_assignment): New function.
18925 (show_locale_vars): Use it.
18927 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18929 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18931 (struct statfs64): Likewise.
18932 (_STATFS_F_FLAGS): Define.
18933 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18934 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18935 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18936 (ST_VALID): Define locally.
18937 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18938 __statvfs_getflags, use the provided value.
18939 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18940 __ASSUME_STATFS_F_FLAGS.
18942 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18944 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18945 Add sys/fanotify.h.
18946 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18947 fanotify_mask for GLIBC_2.13.
18948 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18949 fanotify_init and fanotify_mark.
18950 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18951 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18953 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18955 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18956 prlimit64 for GLIBC_2.13.
18957 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18959 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18962 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18963 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18964 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18965 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18967 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18970 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18971 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18973 * nss/Makefile: Add rules to build and run tst-nss-test1.
18974 * shlib-versions: Add entry for libnss_test1.
18975 * nss/nss_test1.c: New file.
18976 * nss/tst-nss-test1.c: New file.
18978 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18979 (__nss_configure_lookup): Set appropriate entry in
18980 __nss_configure_lookup to true.
18981 * nss/nsswitch.h: Define enum with indeces of databases in
18982 databases and __nss_database_custom arrays. Declare
18983 __nss_database_custom.
18984 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18985 to avoid using nscd when custom rules are installed.
18986 * nss/getXXbyYY_r.c: Likewise.
18987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18989 * nss/nss_files/files-parse.c: Whitespace fixes.
18991 2010-08-09 Ulrich Drepper <drepper@redhat.com>
18994 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18995 * posix/fnmatch_loop.c: Likewise.
18997 2010-07-17 Andi Kleen <ak@linux.intel.com>
18999 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19000 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19001 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19002 * Versions.def [GLIBC_2.13]: Add.
19004 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19006 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19007 Also fail if tpwd after pwuid call is NULL.
19009 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19011 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19012 when converting to ms.
19014 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19016 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19017 EOPNOTSUPP errors with ENOTTY.
19018 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19019 EOPNOTSUPP errors with ENOTTY.
19021 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19023 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19024 Add strcasecmp_l-ssse3.
19025 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19027 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19028 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19029 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19031 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19033 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19035 * string/Makefile (strop-tests): Add strcasecmp.
19036 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19037 strcasecmp_l-nonascii.
19038 (gen-as-const-headers): Add locale-defines.sym.
19039 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19040 * sysdeps/x86_64/strcasecmp.S: New file.
19041 * sysdeps/x86_64/strcasecmp_l.S: New file.
19042 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19043 * sysdeps/x86_64/locale-defines.sym: New file.
19044 * string/test-strcasecmp.c: New file.
19046 * string/test-strcasestr.c: Test both ends of the range of characters.
19047 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19049 2010-07-29 Roland McGrath <roland@redhat.com>
19052 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19054 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19056 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19059 2010-07-27 Andreas Schwab <schwab@redhat.com>
19061 * manual/memory.texi (Malloc Tunable Parameters): Document
19064 2010-07-26 Roland McGrath <roland@redhat.com>
19067 * configure.in (-fgnu89-inline check): Set and substitute
19068 gnu89_inline, not libc_cv_gnu89_inline.
19069 * configure: Regenerated.
19070 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19072 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19074 * string/test-strnlen.c: New file.
19075 * string/Makefile (strop-tests): Add strnlen.
19076 * string/tester.c (test_strnlen): Add a few more test cases.
19077 * string/tst-strlen.c: Better error reporting.
19079 * sysdeps/x86_64/strnlen.S: New file.
19081 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19083 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19084 lower-latency instructions.
19086 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19088 * string/test-strcasestr.c: New file.
19089 * string/test-strstr.c: New file.
19090 * string/Makefile (strop-tests): Add strstr and strcasestr.
19091 * string/str-two-way.h: Don't undefine MAX.
19092 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19094 2010-07-21 Andreas Schwab <schwab@redhat.com>
19096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19097 strcasestr-nonascii.
19098 (CFLAGS-strcasestr-nonascii.c): Define.
19099 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19100 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19101 Remove unused attribute.
19103 2010-07-20 Roland McGrath <roland@redhat.com>
19105 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19106 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19107 ld.so.cache was broken. With it, there is no way to disable dsocaps
19108 like LD_HWCAP_MASK can disable hwcaps.
19110 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19112 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19114 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19116 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19117 call in strcasestr.
19118 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19119 __strcasestr_sse42_nonascii.
19120 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19121 strcasestr-nonascii.c.
19122 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19124 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19126 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19127 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19128 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19129 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19131 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19133 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19136 2010-07-06 Andreas Schwab <schwab@redhat.com>
19139 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19142 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19144 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19145 _PC_PIPE_BUF using F_GETPIPE_SZ.
19147 2010-07-05 Roland McGrath <roland@redhat.com>
19149 * manual/arith.texi (Rounding Functions): Fix rint description
19150 implicit in round description.
19152 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19154 * elf/Makefile: Fix linking for a few tests to make recent linker
19157 2010-06-30 Andreas Schwab <schwab@redhat.com>
19159 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19160 $(common-objpfx)libc_nonshared.a.
19162 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19164 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19165 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19166 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19167 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19168 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19169 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19170 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19171 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19186 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19187 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19188 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19189 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19190 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19191 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19192 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19193 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19194 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19195 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19196 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19197 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19213 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19215 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19216 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19217 * string/memmove.c (memmove): Renamed to ...
19218 (MEMMOVE): ...this. Default to memmove.
19219 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19220 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19223 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19224 mempcpy-ssse3-back memmove-ssse3-back.
19225 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19226 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19227 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19228 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19229 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19230 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19231 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19232 * sysdeps/x86_64/multiarch/memmove.c: New file.
19233 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19234 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19235 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19236 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19237 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19238 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19240 (index_Fast_Copy_Backward): Define.
19241 (HAS_ARCH_FEATURE): Define.
19242 (HAS_FAST_REP_STRING): Define.
19243 (HAS_FAST_COPY_BACKWARD): Define.
19245 2010-06-21 Andreas Schwab <schwab@redhat.com>
19247 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19248 Restore proper fallback handling.
19250 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19253 * posix/group_member.c (__group_member): Correct checking loop.
19255 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19256 OOM in getpwuid_r correctly. Return error number when the caller
19257 should return, otherwise -1.
19258 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19259 call returning > 0 value.
19260 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19262 2010-06-07 Andreas Schwab <schwab@redhat.com>
19264 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19265 libc_nonshared.a from targets in modules-names.
19267 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19269 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19272 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19274 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19275 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19276 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19277 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19279 2010-06-02 Andreas Schwab <schwab@redhat.com>
19281 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19283 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19285 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19287 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19288 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19289 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19291 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19292 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19294 2010-06-14 Roland McGrath <roland@redhat.com>
19296 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19298 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19300 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19301 __REDIRECT followed by __THROW.
19302 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19303 * posix/getopt.h (getopt): Likewise.
19305 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19307 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19308 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19309 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19311 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19312 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19314 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19316 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19318 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19322 Properly check family and model.
19324 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19326 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19328 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19330 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19332 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19334 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19337 2010-05-19 Andreas Schwab <schwab@redhat.com>
19339 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19342 2010-05-21 Andreas Schwab <schwab@redhat.com>
19344 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19345 and internal_recvmmsg.
19346 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19347 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19348 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19349 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19351 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19352 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19353 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19355 2010-05-20 Andreas Schwab <schwab@redhat.com>
19357 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19359 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19361 POWER7 optimizations.
19362 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19363 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19365 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19367 * version.h: Update for 2.13 development version.
19369 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19371 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19372 exceptions. Return 0.
19374 2010-05-07 Roland McGrath <roland@redhat.com>
19376 * elf/ldconfig.c (main): Add a const.
19378 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19380 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19381 (args_options): Add no-idn option.
19382 (ahosts_keys_int): Add idn_flags to ai_flags.
19383 (parse_option): Handle 'i' option to clear idn_flags.
19385 * malloc/malloc.c (_int_free): Possible race in the most recently
19386 added check. Only act on the data if no current modification
19389 See ChangeLog.17 for earlier changes.