1 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
10 2012-09-13 Joseph Myers <joseph@codesourcery.com>
12 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17 2012-09-12 Joseph Myers <joseph@codesourcery.com>
20 * include/rounding-mode.h: New file.
21 * sysdeps/generic/get-rounding-mode.h: Likewise.
22 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24 (MAX_VALUE): New macro.
25 (MIN_VALUE): Likewise.
26 (overflow_value): New function.
27 (underflow_value): Likewise.
28 (round_and_return): Use overflow_value and underflow_value to
29 determine return values in overflow and underflow cases. Use
30 round_away to determine rounding depending on rounding mode.
31 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32 determine return values in overflow and underflow cases.
33 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34 (struct test_results): New structure.
35 (struct test): Use struct test_results to store expected results
36 for all rounding modes.
37 (TEST): Include expected results for all rounding modes.
38 (test_in_one_mode): New function.
39 (do_test): Use test_in_one_mode to compute and check results.
40 Check results for all rounding modes.
41 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44 2012-12-09 Allan McRae <allan@archlinux.org>
46 * sysdeps/i386/fpu/libm-test-ulps: Update
48 2012-09-11 Joseph Myers <joseph@codesourcery.com>
50 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
51 (_G_int32_t): Likewise.
52 (_G_uint16_t): Likewise.
53 (_G_uint32_t): Likewise.
54 (_G_HAVE_BOOL): Likewise.
55 (_G_HAVE_ATEXIT): Likewise.
56 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57 (_G_HAVE_IO_FILE_OPEN): Likewise.
58 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
59 (_G_int32_t): Likewise.
60 (_G_uint16_t): Likewise.
61 (_G_uint32_t): Likewise.
62 (_G_HAVE_BOOL): Likewise.
63 (_G_HAVE_ATEXIT): Likewise.
64 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65 (_G_HAVE_IO_FILE_OPEN): Likewise.
66 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
67 (_G_int32_t): Likewise.
68 (_G_uint16_t): Likewise.
69 (_G_uint32_t): Likewise.
70 (_G_HAVE_BOOL): Likewise.
71 (_G_HAVE_ATEXIT): Likewise.
72 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73 (_G_HAVE_IO_FILE_OPEN): Likewise.
75 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
77 * csu/libc-tls.c: Update copyright years.
79 2012-09-10 Joseph Myers <joseph@codesourcery.com>
81 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
82 [!_G_USING_THUNKS]: Remove conditional code.
83 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
84 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
86 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
87 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
88 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
89 (_G_VTABLE_LABEL_PREFIX): Likewise.
90 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
91 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
92 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
93 (_G_VTABLE_LABEL_PREFIX): Likewise.
94 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
95 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
96 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
97 (_G_VTABLE_LABEL_PREFIX): Likewise.
98 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
100 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
102 * libio/Makefile: Include ../Makeconfig before tests.
103 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
104 only if $(build-shared) is yes.
106 * iconv/gconv_db.c: Update copyright years.
108 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
110 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
111 unwind info if defined PIC. Fix special cases description.
112 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
114 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
116 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
118 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
120 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
122 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
125 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
126 (LDLIBS-tst-chk4): This.
127 (LDFLAGS-tst-chk5): Renamed to ...
128 (LDLIBS-tst-chk5): This.
129 (LDFLAGS-tst-chk6): Renamed to ...
130 (LDLIBS-tst-chk6): This.
131 (LDFLAGS-tst-lfschk4): Renamed to ...
132 (LDLIBS-tst-lfschk4): This.
133 (LDFLAGS-tst-lfschk5): Renamed to ...
134 (LDLIBS-tst-lfschk5): This.
135 (LDFLAGS-tst-lfschk6): Renamed to ...
136 (LDLIBS-tst-lfschk6): This.
138 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
139 on $(common-objpfx)soversions.mk.
141 2012-09-07 Joseph Myers <joseph@codesourcery.com>
144 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
147 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
149 * malloc/arena.c (arena_get_retry): New function that gets
150 another arena for the caller to try its request on.
151 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
152 current arena cannot fulfill the request.
153 (__libc_memalign): Likewise.
154 (__libc_memalign): Likewise.
155 (__libc_pvalloc): Likewise.
156 (__libc_calloc): Likewise.
158 2012-09-05 John Tobey <john.tobey@gmail.com>
161 * manual/arith.texi (Operations on Complex): Fix description
164 2012-09-06 Joseph Myers <joseph@codesourcery.com>
167 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
171 * manual/memory.texi (Memory): Make order of menu items match
174 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
176 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
177 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
178 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
180 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
182 * csu/libc-tls.c (static_dtv): Renamed to ...
183 (_dl_static_dtv): This. Make it global.
184 (_dl_initial_dtv): Removed.
185 (__libc_setup_tls): Updated.
186 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
187 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
190 2012-09-06 Petr Machata <pmachata@redhat.com>
192 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
193 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
194 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
195 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
197 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
200 * csu/libc-tls.c (_dl_initial_dtv): New variable.
201 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
204 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
207 * Makeconfig (link-static-before-libc): Replace $(+prector)
209 (link-static-after-libc): Replace $(+postctor) with
211 (link-bounded): Replace $(+prector)/$(+postctor) with
212 $(+prectorT)/$(+postctorT).
213 (+prectorT): New macro.
214 (+postctorT): Likewise.
216 2012-09-06 Joseph Myers <joseph@codesourcery.com>
218 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
219 (round_str): Handle values above the maximum for IBM long double
221 * stdlib/tst-strtod-round.c (tests): Regenerated.
223 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
225 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
227 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
228 zarch_nohighgprs around the zarch optimized routines.
229 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
230 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
231 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
234 2012-09-05 David S. Miller <davem@davemloft.net>
236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
238 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
239 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
240 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
241 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
244 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
246 * malloc/arena.c: Fold copyright years.
247 * malloc/mcheck.c, malloc/memusage.c: Likewise.
249 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
251 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
253 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
255 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
257 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
259 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
260 change internal state upon failure.
262 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
264 * malloc/mcheck.c (mcheck_check_all): Fix typo.
265 * malloc/memusage.c (mmap): Likewise.
266 (mmap64, mremap): Likewise. Adjust name in comment.
268 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
270 * libio/fileops.c: Fix typos in comments.
271 * libio/oldfileops.c: Likewise.
272 * libio/wfileops.c: Likewise.
274 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
277 * malloc/Makefile (tests): Add tst-malloc-usable test case.
278 (tst-malloc-usable-ENV): Set environment for test case.
279 * malloc/hooks.c (malloc_check_get_size): New function to get
281 * malloc/malloc.c (musable): Use malloc_check_get_size.
282 * malloc/tst-malloc-usable.c: New test case.
284 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
286 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
288 2012-09-05 Allan McRae <allan@archlinux.org>
291 * configure.in (CXX_SYSINCLUDES): Use compiler output to
292 determine header location.
293 * configure: Regenerated.
295 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
297 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
299 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
300 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
304 2012-09-04 David S. Miller <davem@davemloft.net>
306 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
307 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
308 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
310 2012-09-04 Florian Weimer <fweimer@redhat.com>
312 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
315 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
317 2012-09-04 Joseph Myers <joseph@codesourcery.com>
320 * libio/iogetdelim.c: Include <limits.h>.
321 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
322 + len + 1 would overflow.
324 2012-09-03 Andreas Jaeger <aj@suse.de>
326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
327 * sysdeps/i386/fpu/libm-test-ulps: Update.
329 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
331 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
332 Add s_sinf-sse2, s_conf-sse2.
334 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
335 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
336 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
337 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
339 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
340 for using routine as __sinf_ia32.
341 Use macro for function declaration and weak_alias.
342 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
343 for using routine as __cosf_ia32.
344 Use macro for function declaration and weak_alias.
346 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
347 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
349 * sysdeps/x86_64/fpu/s_sinf.S: New file.
350 * sysdeps/x86_64/fpu/s_cosf.S: New file.
351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
353 * math/libm-test.inc (cos_test): Add more test cases.
354 (sin_test): Likewise.
355 (sincos_test): Likewise.
357 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
359 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
360 (IFUNC_RESOLVE): Make pointers to the specialized implementations
362 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
364 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
367 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
368 first element of the GOT.
369 (elf_machine_load_address): Return the difference between
370 the runtime address of _DYNAMIC and elf_machine_dynamic ().
372 2012-09-01 Allan McRae <allan@archlinux.org>
375 * configure.in (AWK): Require gawk version 3.0 or later.
376 * configure: Regenerated.
378 2012-09-01 Joseph Myers <joseph@codesourcery.com>
380 * sysdeps/unix/sysv/linux/kernel-features.h
381 (__ASSUME_POSIX_CPU_TIMERS): Remove.
382 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
383 [__NR_clock_getres]: Make code unconditional.
384 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
385 (clock_getcpuclockid): Remove code left unreachable by removal of
387 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
389 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
390 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
391 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
392 Make code unconditional.
393 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
394 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
395 * sysdeps/unix/sysv/linux/clock_settime.c
396 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
398 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
399 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
401 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
404 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
405 scripts/test-installation.pl.
407 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
408 and $ld_so_version if it is set.
410 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
413 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
414 failure if reading from procfs failed.
415 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
417 2012-08-27 Joseph Myers <joseph@codesourcery.com>
419 * sysdeps/unix/sysv/linux/kernel-features.h
420 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
421 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
422 Remove conditional code.
423 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
424 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
425 Remove conditional code.
426 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
427 * sysdeps/unix/sysv/linux/i386/fxstat.c
428 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
429 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
430 * sysdeps/unix/sysv/linux/i386/fxstatat.c
431 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
432 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
433 * sysdeps/unix/sysv/linux/i386/lxstat.c
434 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
435 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
436 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
437 Remove conditional code.
438 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
439 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
440 Remove conditional code.
441 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
442 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
444 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
446 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
447 Remove conditional code.
448 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
449 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
452 2012-08-27 Mike Frysinger <vapier@gentoo.org>
455 * NEWS: Add fixed bug number.
457 2012-08-27 Joseph Myers <joseph@codesourcery.com>
460 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
461 underflowing exponent in case of negative sign.
462 * stdlib/tst-strtod-round-data: Add more tests.
463 * stdlib/tst-strtod-round.c (tests): Regenerated.
466 * stdlib/strtod_l.c (NDIG): Remove.
468 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
469 smallest representable value.
470 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
471 lie within an exact representation of 1/2 ulp of the result.
472 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
474 (TENS_P9_IDX): Define unconditionally.
475 (TENS_P9_SIZE): Likewise.
476 (TENS_P10_IDX): Likewise.
477 (TENS_P10_SIZE): Likewise.
478 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
479 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
480 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
481 entries for 10^2^13 and 10^2^14.
482 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
483 (TENS_P13_IDX): Define.
484 (TENS_P13_SIZE): Likewise.
485 (TENS_P14_IDX): Likewise.
486 (TENS_P14_SIZE): Likewise.
487 (_fpioconst_pow10): Change array size to
488 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
490 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
491 1024]: Add entries for 10^2^13 and 10^2^14.
492 [LAST_POW10 > _LAST_POW10]: Remove #error.
493 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
494 (_fpioconst_pow10): Change array size to
495 FPIOCONST_POW10_ARRAY_SIZE.
496 * stdlib/gen-fpioconst.c: New file.
497 * stdlib/gen-tst-strtod-round.c: Likewise.
498 * stdlib/tst-strtod-round-data: Likewise.
499 * stdlib/tst-strtod-round.c: Likewise.
500 * stdlib/Makefile (tests): Add tst-strtod-round.
503 * stdlib/strtod_l.c: Include <stdint.h>.
504 (NDEBUG): Do not define.
505 (round_and_return): Change EXPONENT parameter to type intmax_t.
506 Rearrange calculations to avoid internal overflow possibilities.
507 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
508 Rearrange calculations to avoid internal overflow possibilities.
509 Assert that number fits inside MPNSIZE limbs.
510 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
511 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
512 calculations and add assertions to avoid internal overflow
513 possibilities. Add casts to avoid signed/unsigned operations.
514 * stdlib/tst-strtod-overflow.c: New file.
515 * stdlib/Makefile (tests): Add tst-strtod-overflow.
517 2012-08-25 Marek Polacek <polacek@redhat.com>
519 * time/time.h: Fix some typos in comments.
521 2012-08-23 Roland McGrath <roland@hack.frob.com>
523 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
524 * posix/tst-rfc3484-2.c: Likewise.
525 * posix/tst-rfc3484-3.c: Likewise.
527 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
529 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
530 (EF_ARM_ABI_FLOAT_HARD): Likewise.
532 2012-08-23 Joseph Myers <joseph@codesourcery.com>
534 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
535 #include of fxstatat64.c.
537 2012-08-22 Roland McGrath <roland@hack.frob.com>
539 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
540 * shadow/getspent_r.c: Likewise.
541 * shadow/getspnam.c: Likewise.
542 * shadow/getspnam_r.c: Likewise.
543 * gshadow/getsgent.c: Likewise.
544 * gshadow/getsgent_r.c: Likewise.
545 * gshadow/getsgnam.c: Likewise.
546 * gshadow/getsgnam_r.c: Likewise.
547 * inet/getnetbyad.c: Likewise.
548 * inet/getnetbyad_r.c: Likewise.
549 * inet/getnetbynm.c: Likewise.
550 * inet/getnetbynm_r.c: Likewise.
551 * inet/getnetent.c: Likewise.
552 * inet/getnetent_r.c: Likewise.
553 * inet/getproto.c: Likewise.
554 * inet/getproto_r.c: Likewise.
555 * inet/getprtent.c: Likewise.
556 * inet/getprtent_r.c: Likewise.
557 * inet/getprtname.c: Likewise.
558 * inet/getprtname_r.c: Likewise.
559 * inet/getrpcbyname.c: Likewise.
560 * inet/getrpcbyname_r.c: Likewise.
561 * inet/getrpcbynumber.c: Likewise.
562 * inet/getrpcbynumber_r.c: Likewise.
563 * inet/getrpcent.c: Likewise.
564 * inet/getrpcent_r.c: Likewise.
565 * inet/getaliasent.c: Likewise.
566 * inet/getaliasent_r.c: Likewise.
567 * inet/getaliasname.c: Likewise.
568 * inet/getaliasname_r.c: Likewise.
569 * nscd/getgrgid_r.c: Likewise.
570 * nscd/getgrnam_r.c: Likewise.
571 * nscd/gethstbyad_r.c: Likewise.
572 * nscd/gethstbynm3_r.c: Likewise.
573 * nscd/getpwnam_r.c: Likewise.
574 * nscd/getpwuid_r.c: Likewise.
575 * nscd/getsrvbynm_r.c: Likewise.
576 * nscd/getsrvbypt_r.c: Likewise.
577 * nscd/gai.c: Likewise.
579 * configure.in (build_nscd): New substituted variable, set
580 by --disable-build-nscd and defaults to $use_nscd.
581 * configure: Regenerated.
582 * config.make.in (build-nscd): New substituted variable.
583 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
584 Change conditional to require [$(build-nscd) = yes] as well.
585 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
588 * configure.in (use_nscd): New substituted variable, set by
589 --disable-nscd. If enabled, define USE_NSCD.
590 * configure: Regenerated.
591 * config.h.in: Add USE_NSCD.
592 * config.make.in (use-nscd): New substituted variable.
593 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
594 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
595 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
596 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
597 (CFLAGS-getgrnam_r.c): Likewise.
598 (CFLAGS-initgroups.c): Likewise.
599 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
600 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
602 * inet/getnetgrent_r.c
603 (nscd_setnetgrent): New function, broken out of ...
604 (setnetgrent): ... here. Call it.
605 (innetgr): Conditionalize nscd bits on [USE_NSCD].
606 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
607 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
608 * nscd/Makefile (routines, aux): Move definitions after include of
609 Makeconfig. Conditionalize on [$(use-nscd) != no].
610 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
611 Conditionalize on [USE_NSCD].
612 (is_nscd, nscd_init_cb): Likewise.
613 (nss_load_library): Conditionalize init callback on [USE_NSCD].
614 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
615 * nss/nss_db/db-init.c: Likewise.
616 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
618 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
619 (make_request): Use it.
620 (cache_valid_p): New function.
621 (__check_pf): Use it.
622 * NEWS: Add item for --disable-nscd.
624 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
626 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
627 to support sed >= 4.2.1-20-ga9bf076.
628 * configure: Regenerated.
630 2012-08-22 Roland McGrath <roland@hack.frob.com>
632 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
633 Conditionalize whole body on [IREL].
635 2012-08-22 Jeff Law <law@redhat.com>
638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
639 if the family is PF_UNSPEC.
641 2012-08-22 Mike Frysinger <vapier@gentoo.org>
643 * Makerules (lib-version): Rename from V.
644 (install-lib-nosubdir): Change V to lib-version.
646 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
649 * powerpc32/power6/wcschr.c: New file.
650 * powerpc32/power6/wcscpy.c: New file.
651 * powerpc32/power6/wcsrchr.c: New file.
652 * powerpc64/power6/wcschr.c: New file.
653 * powerpc64/power6/wcscpy.c: New file.
654 * powerpc64/power6/wcsrchr.c: New file.
656 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
658 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
659 (two_way_short_needle): Use it.
660 * string/strstr.c (AVAILABLE1_USES_J): Define.
661 * string/strcasestr.c: Likewise.
663 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
665 * string/strcasestr.c (TOLOWER): Make side-effect safe.
668 * NEWS: Add an entry.
669 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
670 define their defaults.
671 (two_way_short_needle): Detect end-of-string on-the-fly.
672 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
673 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
674 * string/bug-strcasestr1.c: New test.
675 * string/Makefile: Run it.
677 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
680 * string/str-two-way.h (two_way_short_needle): Optimize matching of
683 2012-08-21 Roland McGrath <roland@hack.frob.com>
685 * csu/elf-init.c (__libc_csu_irel): Function removed.
686 * csu/libc-start.c (apply_irel): New function.
687 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
689 2012-08-21 Joseph Myers <joseph@codesourcery.com>
691 * sysdeps/unix/sysv/linux/kernel-features.h
692 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
693 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
695 [__NR_fadvise64_64]: Make code unconditional.
696 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
697 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
698 !__NR_fadvise64_64)]: Likewise.
699 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
700 !__NR_fadvise64_64))]: Likewise.
701 [__NR_fadvise64]: Make code unconditional.
702 [!__NR_fadvise64]: Remove conditional code.
703 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
705 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
707 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
710 not include <kernel-features.h>.
711 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
713 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
715 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
716 include <kernel-features.h>.
717 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
719 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
722 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
724 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
725 slight instruction rearrangements per scrollpipe analysis.
726 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
728 2012-08-20 Roland McGrath <roland@hack.frob.com>
730 * manual/syslog.texi (syslog; vsyslog, closelog):
731 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
732 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
734 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
735 DSOCAPS to match condition on defining it.
737 2012-08-20 Joseph Myers <joseph@codesourcery.com>
739 * sysdeps/unix/sysv/linux/kernel-features.h
740 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
742 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
743 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
745 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
746 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
748 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
749 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
751 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
752 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
754 * sysdeps/unix/sysv/linux/kernel-features.h
755 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
756 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
758 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
759 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
760 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
761 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
762 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
763 Make code unconditional.
764 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
765 (__mmap64) [!__NR_mmap2]: Likewise.
766 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
767 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
768 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
769 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
770 [__NR_mmap2]: Make code unconditional.
771 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
772 (__mmap64) [!__NR_mmap2]: Likewise.
774 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
776 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
778 2012-08-18 Andreas Jaeger <aj@suse.de>
780 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
782 2012-08-18 Mike Frysinger <vapier@gentoo.org>
784 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
785 * include/unistd.h (__have_sock_cloexec): Likewise.
786 (__have_pipe2): Likewise.
787 (__have_dup3): Likewise.
789 2012-08-18 Mike Frysinger <vapier@gentoo.org>
792 * include/unistd.h (__have_pipe2): Change define into an extern int.
793 (__have_dup3): Likewise.
794 * socket/have_sock_cloexec.c: Include fcntl.h.
795 (__have_pipe2): New variable.
796 (__have_dup3): Likewise.
798 2012-08-17 Mike Frysinger <vapier@gentoo.org>
800 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
802 2012-08-17 Marek Polacek <polacek@redhat.com>
804 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
805 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
807 2012-08-17 Roland McGrath <roland@hack.frob.com>
809 * configure.in: Add AC_SUBST for sysheaders.
810 * configure: Regenerated.
811 * config.make.in (sysheaders): New substituted variable.
813 * sysdeps/unix/mkfifo.c: Moved ...
814 * sysdeps/posix/mkfifo.c: ... here.
815 * sysdeps/unix/mkfifoat.c: Moved ...
816 * sysdeps/posix/mkfifoat.c: ... here.
818 * sysdeps/unix/utime.c: Moved ...
819 * sysdeps/posix/utime.c: ... here.
821 * sysdeps/unix/time.c: Moved ...
822 * sysdeps/posix/time.c: ... here.
823 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
824 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
826 * sysdeps/unix/nice.c: Moved ...
827 * sysdeps/posix/nice.c: ... here.
829 * sysdeps/unix/alarm.c: Moved ...
830 * sysdeps/posix/alarm.c: ... here.
832 * intl/Makefile ($(codeset_mo)): Depend on the input file.
834 2012-08-17 Jeff Law <law@redhat.com>
836 * intl/Makefile (codeset_mo): New variable.
837 ($(codeset_mo)): New target.
838 (tst-codeset.out): Depend on that. Remove explicit rule.
839 (tst-gettext3.out, tst-gettext5.out): Likewise.
840 (LOCPATH-ENV, tst-codeset-ENV): New variables.
841 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
842 * intl/tst-codeset.sh: Remove.
843 * intl/tst-gettext3.sh: Likewise.
844 * intl/tst-gettext5.sh: Likewise.
846 2012-08-17 Roland McGrath <roland@hack.frob.com>
848 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
849 * sysdeps/unix/syscalls.list: ... here.
851 * sysdeps/posix/getaddrinfo.c
852 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
853 (gaiconf_init, gaiconf_reload): Use them.
855 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
856 Define using time_t rather than struct timespec.
858 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
859 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
861 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
863 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
864 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
867 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
868 __libc_cleanup_push argument.
870 * bits/param.h: New file.
871 * misc/sys/param.h: New file.
872 * include/sys/param.h: New file.
873 * misc/Makefile (headers): Add bits/param.h.
874 * sysdeps/generic/sys/param.h: File removed.
875 * sysdeps/unix/sysv/linux/bits/param.h: New file.
876 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
877 * sysdeps/mach/hurd/bits/param.h: New file.
878 * sysdeps/mach/hurd/sys/param.h: New file.
880 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
883 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
885 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
886 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
889 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
890 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
891 rather than -D_IO_MTSAFE_IO conditionally.
892 * stdio-common/Makefile (CPPFLAGS): Likewise.
893 * wcsmbs/Makefile (CPPFLAGS): Likewise.
894 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
896 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
898 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
899 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
900 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
901 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
902 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
903 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
904 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
905 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
906 (CFLAGS-fread_u_chk.c): Likewise.
907 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
908 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
909 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
910 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
911 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
912 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
913 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
914 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
915 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
917 * libio/Makefile: Test [$(libc-reentrant) = yes]
918 instead of [$(filter %REENTRANT, $(defines)) nonempty].
921 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
922 * sysdeps/pthread/configure: File removed.
923 * sysdeps/pthread/Makeconfig: New file.
924 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
925 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
927 2012-08-16 Gary Benson <gbenson@redhat.com>
929 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
930 unmapping the first object in a namespace.
932 2012-08-16 Roland McGrath <roland@hack.frob.com>
934 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
935 (__internal_setnetgrent): ... this. Add internal_function to
936 definition. Add libc_hidden_def.
937 (setnetgrent): Update caller.
938 (internal_endnetgrent): Renamed to ...
939 (__internal_endnetgrent): ... this. Add internal_function to
940 definition. Add libc_hidden_def.
941 (endnetgrent): Update caller.
942 (internal_getnetgrent_r): Renamed to ...
943 (__internal_getnetgrent_r): ... this. Add internal_function to
944 definition. Add libc_hidden_def.
945 (__getnetgrent_r): Update caller.
946 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
948 2012-08-16 Joseph Myers <joseph@codesourcery.com>
950 * stdlib/longlong.h: Update from GCC.
952 2012-08-16 Roland McGrath <roland@hack.frob.com>
954 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
955 on _QL, which is set by umul_ppmm but never used.
956 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
957 variables, which are set by GMP macros but never used.
958 * stdio-common/_itowa.c (_itowa): Likewise.
959 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
960 * stdlib/mod_1.c (mpn_mod_1): Likewise.
962 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
964 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
965 struct La_sh_regs is not constant.
966 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
967 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
968 and struct La_sparc64_regs are not constant.
970 2012-08-16 Joseph Myers <joseph@codesourcery.com>
972 * sysdeps/unix/sysv/linux/kernel-features.h
973 (__ASSUME_POSIX_TIMERS): Remove.
974 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
975 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
976 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
977 Make code unconditional.
978 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
979 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
980 Make code unconditional.
981 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
982 * sysdeps/unix/sysv/linux/clock_nanosleep.c
983 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
984 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
985 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
986 Make code unconditional.
987 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
988 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
989 (__libc_missing_posix_timers): Remove.
991 2012-08-15 Roland McGrath <roland@hack.frob.com>
993 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
994 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
996 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
998 * elf/dl-sym.c: Include <stdlib.h>.
1000 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1001 constants, which avoids warnings in 32-bit builds.
1003 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1004 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1006 * misc/lseek.c: File moved to ...
1007 * io/lseek.c: ... here.
1009 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1011 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1012 shifting LEN more than 31 bits at once.
1014 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1017 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1018 segmentation fault for a case of two empty input strings.
1019 * string/test-strncasecmp.c (check1): Renamed to...
1021 (bz14195): Add new testcase for two empty input strings and N > 0.
1022 (test_main): Call new testcase, adapt for renamed function.
1024 2012-08-15 Andreas Jaeger <aj@suse.de>
1027 * crypt/md5test2.c: New test, based on test supplied by Serge
1028 Belyshev <belyshev@depni.sinp.msu.ru>.
1029 * crypt/Makefile (xtests): Add md5test-giant..
1030 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1032 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1035 * crypt/md5.c (md5_process_block): Don't assume the buffer
1036 length is less than 2**32.
1037 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1038 length is less than 2**64.
1040 2012-08-15 Roland McGrath <roland@hack.frob.com>
1042 * string/str-two-way.h: Include <sys/param.h>.
1043 (MAX): Macro removed.
1045 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1046 Move #define and #undef of memmove to just before and after
1047 including <string.h>.
1049 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1050 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1051 and after including <string.h>. Move declarations of
1052 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1053 to before #include "string/memmove.c".
1055 * include/dirent.h: Declare __getdirentries.
1057 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1058 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1060 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1062 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1063 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1064 * sysdeps/i386/configure: Regenerated.
1065 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1066 STABS_CURRENT_FILE, and STABS_FUN.
1067 (END): Remove call to STABS_FUN_END.
1068 (STABS_CURRENT_FILE1): Delete.
1069 (STABS_CURRENT_FILE): Likewise.
1070 (STABS_FUN): Likewise.
1071 (STABS_FUN_END): Likewise.
1072 (STABS_FUN2): Likewise.
1073 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1074 * sysdeps/x86_64/configure: Regenerated.
1076 2012-08-14 Roland McGrath <roland@hack.frob.com>
1078 * elf/dl-open.c: Include <atomic.h>.
1079 * elf/dl-lookup.c: Likewise.
1081 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1083 * sysdeps/unix/sysv/linux/kernel-features.h
1084 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1085 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1087 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1089 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1090 condition on __ASSUME_CLONE_THREAD_FLAGS.
1092 2012-08-14 Andreas Jaeger <aj@suse.de>
1094 * sysdeps/i386/fpu/libm-test-ulps: Update.
1096 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1098 * include/atomic.h (atomic_exchange_and_add): Split into ...
1099 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1102 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1106 2012-08-13 Jeff Law <law@redhat.com>
1108 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1109 null byte in the output string.
1111 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1113 * sysdeps/unix/sysv/linux/kernel-features.h
1114 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1115 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1116 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1117 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1118 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1119 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1120 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1122 2012-08-09 Jeff Law <law@redhat.com>
1125 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1126 When avoid_arena is set, don't retry in the that arena. Pick the
1127 next one, whatever it might be.
1128 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1129 (arena_lock): Pass in new parameter to arena_get2.
1130 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1132 (__libc_malloc): Unify retrying after main arena failure with
1133 __libc_memalign version.
1134 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1136 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1139 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1140 to __redirect_strstr.
1141 (__strstr_sse42): Use typeof __redirect_strstr.
1142 (__strstr_ia32): Likewise.
1143 (__libc_strstr): New prototype.
1144 (strstr): Renamed to ...
1145 (__libc_strstr): This.
1146 (strstr): New strong alias of __libc_strstr.
1147 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1148 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1151 (__libc_time): New prototype.
1152 (time_ifunc): Replace time with __libc_time.
1153 (time): New strong alias and hidden definition of __libc_time.
1154 (__GI_time): Remove strong alias.
1155 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1157 (memmove): Redefined to __redirect_memmove.
1158 (__memmove_sse2): Use typeof __redirect_memmove.
1159 (__memmove_ssse3): Likewise.
1160 (__memmove_ssse3_back): Likewise.
1161 (__libc_memmove): New prototype.
1162 (memmove): Renamed to ...
1163 (__libc_memmove): This.
1164 (memmove): New strong alias of __libc_memmove.
1166 2012-08-08 Mark Salter <msalter@redhat.com>
1169 (R_MN10300_TLS_GD): Define.
1170 (R_MN10300_TLS_LD): Likewise.
1171 (R_MN10300_TLS_LDO): Likewise.
1172 (R_MN10300_TLS_GOTIE): Likewise.
1173 (R_MN10300_TLS_IE): Likewise.
1174 (R_MN10300_TLS_LE): Likewise.
1175 (R_MN10300_TLS_DTPMOD): Likewise.
1176 (R_MN10300_TLS_DTPOFF): Likewise.
1177 (R_MN10300_TLS_TPOFF): Likewise.
1178 (R_MN10300_SYM_DIFF): Likewise.
1179 (R_MN10300_ALIGN): Likewise.
1180 (R_MN10300_NUM): Update.
1182 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1184 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1187 2012-08-08 Roland McGrath <roland@hack.frob.com>
1189 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1191 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1192 sysdeps/unix -> sysdeps/posix move.
1193 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1195 2012-08-07 Allan McRae <allan@archlinux.org>
1198 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1199 (SUNOS_CPP): Likewise.
1200 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1202 (open_input): Call CPP using execvp.
1204 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1206 * sysdeps/unix/sysv/linux/kernel-features.h
1207 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1208 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1209 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1210 (__ASSUME_WAITID_SYSCALL): Likewise.
1211 * sysdeps/unix/sysv/linux/dl-execstack.c
1212 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1214 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1216 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1217 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1218 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1220 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1222 [__ASSUME_WAITID_SYSCALL]: Likewise.
1223 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1225 2012-08-07 Roland McGrath <roland@hack.frob.com>
1227 * sysdeps/unix/closedir.c: Renamed to ...
1228 * sysdeps/posix/closedir.c: ... here.
1229 * sysdeps/unix/dirfd.c: Renamed to ...
1230 * sysdeps/posix/dirfd.c: ... here.
1231 * sysdeps/unix/dirstream.h: Renamed to ...
1232 * sysdeps/posix/dirstream.h: ... here.
1233 * sysdeps/unix/fdopendir.c: Renamed to ...
1234 * sysdeps/posix/fdopendir.c: ... here.
1235 * sysdeps/unix/opendir.c: Renamed to ...
1236 * sysdeps/posix/opendir.c: ... here.
1237 * sysdeps/unix/readdir.c: Renamed to ...
1238 * sysdeps/posix/readdir.c: ... here.
1239 * sysdeps/unix/readdir_r.c: Renamed to ...
1240 * sysdeps/posix/readdir_r.c: ... here.
1241 * sysdeps/unix/rewinddir.c: Renamed to ...
1242 * sysdeps/posix/rewinddir.c: ... here.
1243 * sysdeps/unix/seekdir.c: Renamed to ...
1244 * sysdeps/posix/seekdir.c: ... here.
1245 * sysdeps/unix/telldir.c: Renamed to ...
1246 * sysdeps/posix/telldir.c: ... here.
1247 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1248 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1249 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1250 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1252 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1253 * bits/fcntl.h: ... here.
1255 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1257 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1258 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1259 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1260 (struct flock): Move l_start, l_len to the beginning.
1261 Use __pid_t for l_pid.
1262 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1263 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1264 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1265 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1266 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1267 [__USE_LARGEFILE64] (struct flock64): New type.
1268 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1270 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1271 * bits/dirent.h: ... here.
1273 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1274 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1276 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1278 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1279 Change from 2.6.0 to 2.6.16.
1280 * sysdeps/unix/sysv/linux/configure: Regenerated.
1281 * sysdeps/unix/sysv/linux/kernel-features.h
1282 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1283 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1285 (__ASSUME_UTIMES): Likewise.
1286 (__ASSUME_CLONE_STOPPED): Remove.
1287 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1288 architectures, not kernel version.
1289 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1290 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1291 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1292 (__ASSUME_WAITID_SYSCALL): Likewise.
1293 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1294 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1295 * README: State 2.6.16 as minimum Linux kernel version. Do not
1296 refer to older versions.
1298 2012-08-06 Roland McGrath <roland@hack.frob.com>
1300 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1301 Define alphasort64 as an alias.
1302 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1303 Define versionsort64 as an alias.
1304 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1305 Define scandir64 as an alias.
1306 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1307 Define scandirat64 as an alias.
1308 * dirent/alphasort64.c (alphasort64):
1309 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1310 * dirent/versionsort64.c: Likewise.
1311 * dirent/scandir64.c: Likewise.
1312 * dirent/scandirat64.c: Likewise.
1313 * sysdeps/wordsize-64/alphasort.c: File removed.
1314 * sysdeps/wordsize-64/alphasort64.c: File removed.
1315 * sysdeps/wordsize-64/scandir.c: File removed.
1316 * sysdeps/wordsize-64/scandir64.c: File removed.
1317 * sysdeps/wordsize-64/scandirat.c: File removed.
1318 * sysdeps/wordsize-64/scandirat64.c: File removed.
1319 * sysdeps/wordsize-64/versionsort.c: File removed.
1320 * sysdeps/wordsize-64/versionsort64.c: File removed.
1321 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1322 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1323 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1324 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1325 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1326 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1327 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1328 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1330 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1331 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1332 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1333 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1334 [defined __arch64__ || defined __sparcv9]
1335 (__INO_T_MATCHES_INO64_T): New macro.
1336 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1337 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1338 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1339 * sysdeps/unix/sysv/linux/bits/dirent.h
1340 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1341 (_DIRENT_MATCHES_DIRENT64): New macro.
1343 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1344 Define lockf64 as an alias.
1345 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1346 Define fseeko64 as an alias.
1347 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1348 Define ftello64 as an alias.
1349 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1350 Define _IO_fgetpos64 and fgetpos64 as aliases.
1351 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1352 Define _IO_fsetpos64 and fsetpos64 as aliases.
1353 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1354 Conditionalize body on this.
1355 * libio/fseeko64.c: Likewise.
1356 * libio/ftello64.c: Likewise.
1357 * libio/iofgetpos64.c: Likewise.
1358 * libio/iofsetpos64.c: Likewise.
1359 * sysdeps/wordsize-64/lockf.c: File removed.
1360 * sysdeps/wordsize-64/lockf64.c: File removed.
1361 * sysdeps/wordsize-64/fseeko.c: File removed.
1362 * sysdeps/wordsize-64/fseeko64.c: File removed.
1363 * sysdeps/wordsize-64/ftello.c: File removed.
1364 * sysdeps/wordsize-64/ftello64.c: File removed.
1365 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1366 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1367 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1368 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1369 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1370 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1371 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1372 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1373 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1374 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1375 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1376 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1377 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1378 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1380 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1381 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1382 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1383 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1384 [defined __arch64__ || defined __sparcv9]
1385 (__OFF_T_MATCHES_OFF64_T): New macro.
1386 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1387 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1388 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1389 (__OFF_T_MATCHES_OFF64_T): New macro.
1391 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1393 * stdlib/secure-getenv.c (__secure_getenv): Replace
1394 GLIBC_2_16 with GLIBC_2_17.
1396 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1398 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1399 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1401 2012-08-03 David S. Miller <davem@davemloft.net>
1403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1405 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1407 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1409 (__ASSUME_CORRECT_SI_PID): Likewise.
1410 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1411 (__ASSUME_TMPFS_NAME): Likewise.
1412 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1413 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1414 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1415 (HAVE_AUX_SECURE): Make definition unconditional.
1416 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1417 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1419 2012-08-03 Roland McGrath <roland@hack.frob.com>
1421 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1422 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1423 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1424 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1425 __eloop_threshold instead of SYMLOOP_MAX.
1427 * sysdeps/generic/eloop-threshold.h: New file.
1428 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1430 * elf/chroot_canon.c (chroot_canon): Likewise.
1432 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1435 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1436 Change to 2.6.0 everywhere.
1437 * sysdeps/unix/sysv/linux/configure: Regenerated.
1438 * sysdeps/unix/sysv/linux/kernel-features.h
1439 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1440 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1442 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1443 (__ASSUME_FUTEX_REQUEUE): Remove.
1444 (__ASSUME_STATFS64): Define unconditionally.
1445 (__ASSUME_AT_SECURE): Likewise.
1446 (__ASSUME_CORRECT_SI_PID): Likewise.
1447 (__ASSUME_TGKILL): Define without depending on kernel version for
1449 (__ASSUME_UTIMES): Likewise.
1450 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1452 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1453 (__ASSUME_TMPFS_NAME): Likewise.
1454 * README: Update reference to Linux kernel versions.
1456 2012-08-02 Marek Polacek <polacek@redhat.com>
1459 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1460 libc_cv_asm_type_prefix with %.
1461 * configure: Regenerated.
1462 * include/libc-symbols.h: Remove comment about
1463 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1464 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1465 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1466 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1467 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1468 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1469 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1470 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1471 * elf/tst-unique2mod1.c: Likewise.
1472 * elf/tst-unique1mod2.c: Likewise.
1473 * elf/tst-unique1mod1.c: Likewise.
1474 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1475 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1476 Replace ASM_TYPE_DIRECTIVE with .type.
1477 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1478 * sysdeps/i386/sysdep.h: Likewise.
1479 * sysdeps/x86_64/sysdep.h: Likewise.
1480 * sysdeps/sh/sysdep.h: Likewise.
1481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1482 Do not define ASM_TYPE_DIRECTIVE.
1483 * sysdeps/powerpc/sysdep.h: Likewise.
1484 * sysdeps/powerpc/powerpc32/sysdep.h:
1485 Replace ASM_TYPE_DIRECTIVE with .type.
1486 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1487 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1488 * sysdeps/i386/fpu/e_powf.S: Likewise.
1489 * sysdeps/i386/fpu/e_expl.S: Likewise.
1490 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1491 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1492 * sysdeps/i386/fpu/e_pow.S: Likewise.
1493 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1494 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1495 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1496 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1497 * sysdeps/i386/fpu/e_log2.S: Likewise.
1498 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1499 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1500 * sysdeps/i386/fpu/e_powl.S: Likewise.
1501 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1502 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1503 * sysdeps/i386/fpu/e_logl.S: Likewise.
1504 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1505 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1506 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1507 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1508 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1509 * sysdeps/i386/fpu/e_log.S: Likewise.
1510 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1511 * sysdeps/i386/fpu/e_logf.S: Likewise.
1512 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1513 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1514 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1515 * sysdeps/i386/fpu/e_log10.S: Likewise.
1516 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1517 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1518 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1519 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1520 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1521 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1522 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1523 * sysdeps/i386/i686/strtok.S: Likewise.
1524 * sysdeps/i386/i386-mcount.S: Likewise.
1525 * sysdeps/i386/strtok.S: Likewise.
1526 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1527 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1528 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1529 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1530 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1531 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1532 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1533 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1534 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1535 * sysdeps/x86_64/_mcount.S: Likewise.
1536 * sysdeps/x86_64/strtok.S: Likewise.
1537 * sysdeps/sh/_mcount.S: Likewise.
1539 2012-08-01 Roland McGrath <roland@hack.frob.com>
1541 * libio/iofopen.c: Include <fcntl.h>.
1542 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1543 (_IO_fopen64, fopen64): Define as aliases.
1544 * libio/iofopen64.c: Include <fcntl.h>.
1545 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1546 Conditionalize body on this.
1547 * sysdeps/wordsize-64/iofopen.c: File removed.
1548 * sysdeps/wordsize-64/iofopen64.c: File removed.
1550 2012-08-01 Marek Polacek <polacek@redhat.com>
1552 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1553 Use dlfcn directly instead of a variable.
1554 (binfmt-subdir): Do not define.
1557 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1559 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1560 Remove all definitions.
1561 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1562 <kernel-features.h>.
1563 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1564 (miss_F_GETOWN_EX): Remove all definitions.
1565 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1567 [!__ASSUME_FCNTL64]: Remove conditional code.
1568 [__ASSUME_FCNTL64]: Make code unconditional.
1569 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1570 <kernel-features.h>.
1571 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1572 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1573 (lockf64) [__NR_fcntl64]: Make code unconditional.
1574 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1576 * sysdeps/unix/sysv/linux/kernel-features.h
1577 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1578 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1579 Make code unconditional.
1580 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1581 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1583 [__NR_vfork]: Make code unconditional.
1584 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1585 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1587 [__NR_vfork]: Make code unconditional.
1588 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1589 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1591 2012-08-01 Roland McGrath <roland@hack.frob.com>
1593 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1594 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1596 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1597 Define mkstemp64 as an alias.
1598 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1599 Define mkstemps64 as an alias.
1600 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1601 Define mkostemp64 as an alias.
1602 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1603 Define mkostemps64 as an alias.
1604 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1605 Conditionalize body on this.
1606 * misc/mkostemp64.c: Likewise.
1607 * misc/mkostemps64.c: Likewise.
1608 * misc/mkstemps64.c: Likewise.
1609 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1610 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1611 * sysdeps/wordsize-64/mkostemp.c: File removed.
1612 * sysdeps/wordsize-64/mkstemp.c: File removed.
1613 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1614 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1615 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1616 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1619 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1620 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1621 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1622 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1624 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1625 compat_symbol macros from <shlib-compat.h> rather than the underlying
1626 default_symbol_version and symbol_version macros, so that DEFAULT
1627 lines in shlib-versions are respected.
1628 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1630 2012-08-01 Florian Weimer <fweimer@redhat.com>
1632 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1633 Declare with warn_unused_result.
1634 (setgid, setregid, setegid, setresgid): Likewise.
1635 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1637 * WUR-REPORT: Remove set*id functions.
1639 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1641 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1643 2012-07-31 Roland McGrath <roland@hack.frob.com>
1645 * include/sys/socket.h (__libc_accept, __libc_accept4):
1646 Add attribute_hidden.
1647 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1649 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1651 * inet/getnetgrent_r.c (setup): Likewise.
1653 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1655 2012-07-31 David S. Miller <davem@davemloft.net>
1657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1659 2012-07-31 Joseph Myers <joseph@codesourcery.com>
1662 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1663 value between 1.0 and 2.0 and smaller part has absolute value less
1665 * math/s_clog10.c (__clog10): Likewise.
1666 * math/s_clog10f.c (__clog10f): Likewise.
1667 * math/s_clog10l.c (__clog10l): Likewise.
1668 * math/s_clogf.c (__clogf): Likewise.
1669 * math/s_clogl.c (__clogl): Likewise.
1670 * math/libm-test.inc (clog_test): Add more tests.
1671 (clog10_test): Likewise.
1672 * sysdeps/i386/fpu/libm-test-ulps: Update.
1673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1675 2012-07-31 Florian Weimer <fweimer@redhat.com>
1677 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1678 Exit with zero in case no suitable GID is found, and write a
1679 message to standard error.
1681 2012-07-30 Roland McGrath <roland@hack.frob.com>
1683 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1685 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1686 (MAXPATHLEN): Removed.
1687 (NOGROUP, NODEV): New macros.
1688 (setbit, clrbit, isset, isclr): New macros.
1689 (howmany, roundup, powerof2): New macros.
1690 (DEV_BSIZE): New macro.
1692 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1693 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1695 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1696 definition on [!__NO_LONG_DOUBLE_MATH].
1698 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1699 PTR_MANGLE and PTR_DEMANGLE.
1701 * socket/accept4.c (accept4): Rename to __libc_accept4.
1702 Define accept4 as a weak alias.
1704 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1705 on [_DIRENT_HAVE_D_TYPE].
1706 * io/ftw.c (ftw_dir): Likewise.
1708 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1710 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1712 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1713 Use the BSD numbers rather than the arbitrary ones we had.
1714 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1715 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1716 (SIGXCPU, SIGXFSZ): New macros.
1719 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1720 initializer on [_LIBC_REENTRANT].
1722 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1723 definitions inside [_POSIX_MAPPED_FILES].
1725 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1727 * dirent/opendir.c: Include <fcntl.h>.
1729 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1730 (__libc_getspecific): Likewise.
1731 (__libc_key_create): Likewise.
1733 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1734 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1735 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1736 (tmpfile64): Define as alias.
1737 * sysdeps/wordsize-64/tmpfile.c: File removed.
1738 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1739 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1740 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1742 * stdio-common/vfscanf.c: Include <stdbool.h>.
1743 * nss/makedb.c: Likewise.
1744 * stdio-common/_i18n_number.h: Likewise.
1745 * argp/argp-help.c: Likewise.
1746 * posix/wordexp.c: Likewise.
1747 * sysdeps/posix/spawni.c: Likewise.
1748 * nss/nss_files/files-initgroups.c: Likewise.
1749 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1750 * nss/nss_files/files-initgroups.c: Likewise.
1751 * nss/nss_db/db-netgrp.c: Likewise.
1752 * nss/nss_db/db-initgroups.c: Likewise.
1753 * io/fchmodat.c: Include <sys/stat.h>.
1755 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1756 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1758 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1761 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1762 Add multiple inclusion protection.
1764 2012-07-27 David S. Miller <davem@davemloft.net>
1766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1768 2012-07-27 Gary Benson <gbenson@redhat.com>
1771 * elf/rtld.c: Include <stap-probe.h>.
1772 (dl_main): Added static probes "init_start" and "init_complete".
1773 * elf/dl-load.c: Include <stap-probe.h>.
1774 (lose): Take new parameter "nsid".
1775 Added static probe "map_failed".
1776 (_dl_map_object_from_fd): Pass namespace id to lose.
1777 Added static probe "map_start".
1778 (open_verify): Pass namespace id to lose.
1779 * elf/dl-open.c: Include <stap-probe.h>.
1780 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1781 and "reloc_complete".
1782 * elf/dl-close.c: Include <stap-probe.h>.
1783 (_dl_close_worker): Added static probes "unmap_start" and
1785 * elf/rtld-debugger-interface.txt: New file documenting the above.
1787 2012-07-26 Roland McGrath <roland@hack.frob.com>
1789 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1790 rather than a string variable.
1791 * sunrpc/rpc_main.c (h_output): Likewise.
1792 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1794 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1796 * inet/check_native.c: New file.
1798 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1801 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1802 if larger part has absolute value 1.0.
1803 * math/s_clog10.c (__clog10): Likewise.
1804 * math/s_clog10f.c (__clog10f): Likewise.
1805 * math/s_clog10l.c (__clog10l): Likewise.
1806 * math/s_clogf.c (__clogf): Likewise.
1807 * math/s_clogl.c (__clogl): Likewise.
1808 * math/libm-test.inc (clog_test): Add more tests.
1809 (clog10_test): Likewise.
1810 * sysdeps/i386/fpu/libm-test-ulps: Update.
1811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1813 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1814 (pltexit): Likewise.
1815 (La_regs): Likewise.
1816 (La_retval): Likewise.
1817 (int_retval): Likewise.
1818 Update #error for removed macros to refer only to definitions in
1820 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1822 (pltexit): Likewise.
1823 (La_regs): Likewise.
1824 (La_retval): Likewise.
1825 (int_retval): Likewise.
1826 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1828 (pltexit): Likewise.
1829 (La_regs): Likewise.
1830 (La_retval): Likewise.
1831 (int_retval): Likewise.
1832 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1834 (pltexit): Likewise.
1835 (La_regs): Likewise.
1836 (La_retval): Likewise.
1837 (int_retval): Likewise.
1838 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1840 (pltexit): Likewise.
1841 (La_regs): Likewise.
1842 (La_retval): Likewise.
1843 (int_retval): Likewise.
1844 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1846 (pltexit): Likewise.
1847 (La_regs): Likewise.
1848 (La_retval): Likewise.
1849 (int_retval): Likewise.
1850 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1852 (pltexit): Likewise.
1853 (La_regs): Likewise.
1854 (La_retval): Likewise.
1855 (int_retval): Likewise.
1856 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1857 macro definitions in tst-audit.h.
1858 * sysdeps/i386/tst-audit.h: New file.
1859 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1860 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1861 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1862 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1863 * sysdeps/sh/tst-audit.h: Likewise.
1864 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1865 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1866 * sysdeps/x86_64/tst-audit.h: Likewise.
1868 2012-07-26 Andreas Jaeger <aj@suse.de>
1870 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1873 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1874 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1875 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1877 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1878 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1879 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1881 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1884 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1886 (si_call_addr, si_syscall, si_arch): Define new macro.
1887 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1889 (si_call_addr, si_syscall, si_arch): Define new marcro.
1890 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1892 (si_call_addr, si_syscall, si_arch): Define new macro.
1893 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1895 (si_call_addr, si_syscall, si_arch): Define new macro.
1897 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1900 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1901 Change to 2.4.21 where previously 2.4.1.
1902 * sysdeps/unix/sysv/linux/configure: Regenerated.
1903 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1904 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1905 Linux kernel version.
1906 (__ASSUME_STD_AUXV): Remove.
1907 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1909 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1910 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1911 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1912 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1913 (__ASSUME_NETLINK_SUPPORT): Likewise.
1914 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1915 (__no_netlink_support): Remove conditional definition.
1916 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1918 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1919 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1920 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1921 (if_nameindex_ioctl): Remove.
1922 (if_nameindex_netlink): Do not handle __no_netlink_support.
1923 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1925 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1926 Remove conditional code.
1927 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1929 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1931 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1932 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1933 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1935 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1936 [!__ASSUME_STD_AUXV]: Remove conditional code.
1937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1938 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1939 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1941 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1942 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1944 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1946 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1947 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1949 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1951 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1954 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1957 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1959 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1961 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1963 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1966 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1968 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1971 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1973 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1975 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1977 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1980 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1982 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1984 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1986 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1989 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1991 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1992 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1993 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1994 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1995 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1996 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1997 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1998 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1999 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2000 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2001 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2002 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2003 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2004 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2005 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2006 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2007 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2008 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2009 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2010 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2011 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2012 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2013 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2015 2012-07-25 Florian Weimer <fweimer@redhat.com>
2017 * Versions.def: Add GLIBC_2.17.
2018 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2019 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2020 Introduce __libc_secure_getenv.
2021 * stdlib/Versions (2.17): Add secure_getenv
2022 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2023 * stdlib/secure-getenv.c: Rename __secure_getenv to
2024 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2025 symbol __secure_getenv for GLIBC_2.0.
2026 * stdlib/tst-secure-getenv.c: New.
2027 * stdlib/Makefile (tests): Add testcase.
2028 * manual/startup.texi (Environment Access): Document
2030 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2031 __libc_secure_getenv.
2032 * inet/ruserpass.c (ruserpass): Likewise.
2033 * malloc/mtrace.c (mtrace): Likewise.
2034 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2035 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2036 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2037 * sysdeps/posix/tempname.c: Likewise. Evaluate
2039 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2040 __secure_getenv to __libc_secure_getenv.
2041 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2048 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2054 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2056 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2057 (struct La_i86_retval): Likewise.
2058 (struct La_x86_64_regs): Likewise.
2059 (struct La_x86_64_retval): Likewise.
2060 (struct La_x32_regs): Likewise.
2061 (struct La_x32_retval): Likewise.
2062 (struct La_ppc32_regs): Likewise.
2063 (struct La_ppc32_retval): Likewise.
2064 (struct La_ppc64_regs): Likewise.
2065 (struct La_ppc64_retval): Likewise.
2066 (struct La_sh_regs): Likewise.
2067 (struct La_sh_retval): Likewise.
2068 (struct La_s390_32_regs): Likewise.
2069 (struct La_s390_32_retval): Likewise.
2070 (struct La_s390_64_regs): Likewise.
2071 (struct La_s390_64_retval): Likewise.
2072 (struct La_sparc32_regs): Likewise.
2073 (struct La_sparc32_retval): Likewise.
2074 (struct La_sparc64_regs): Likewise.
2075 (struct La_sparc64_retval): Likewise.
2076 (struct audit_ifaces): Remove architecture-specific pltenter and
2078 * sysdeps/i386/ldsodefs.h: New file.
2079 * sysdeps/powerpc/ldsodefs.h: Likewise.
2080 * sysdeps/s390/ldsodefs.h: Likewise.
2081 * sysdeps/sh/ldsodefs.h: Likewise.
2082 * sysdeps/sparc/ldsodefs.h: Likewise.
2083 * sysdeps/x86_64/ldsodefs.h: Likewise.
2085 2012-07-25 Marek Polacek <polacek@redhat.com>
2088 * math/libm-test.inc (yn_test): Add another test.
2089 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2090 to ERANGE when the result is +-Inf.
2091 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2092 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2093 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2094 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2096 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2098 * conform/data/time.h-data (NULL): Use macro-constant. Require
2100 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2102 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2104 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2106 * configure.in <sysdeps resolving>: Correct printing
2108 * configure: Regenerate.
2110 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2112 * math/w_ilogb.c: Include <limits.h>.
2113 * math/w_ilogbl.c: Likewise.
2115 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2117 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2118 va_copy. Document allowing for unavailable va_copy only as
2119 pre-C99 compatibility.
2120 * manual/string.texi (Copying and Concatenation): Use va_copy
2121 instead of __va_copy in concat example.
2123 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2125 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2126 (__sendto): Use create_address_port. Initialize APORT and deallocate
2129 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2130 with O_NOLINK passed to __file_name_lookup.
2132 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2133 with O_NOLINK passed to __file_name_lookup.
2135 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2136 negative N or less than NGIDS.
2138 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2139 type to string_t. Set ERANGE as errno and return it if NAME is not big
2140 enough. Use memcpy instead of strncpy.
2142 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2144 * elf/Makefile (check-data): Remove.
2145 (localplt.data): New vpath directive.
2146 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2147 instead of $(check-data).
2148 * scripts/data/localplt-generic.data: Move to ...
2149 * sysdeps/generic/localplt.data: ... here.
2150 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2151 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2152 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2155 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2158 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2161 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2164 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2167 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2171 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2173 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2174 PPC32 and PPC64 files.
2175 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2176 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2178 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2180 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2181 __makecontext_ret to ...
2182 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2183 ... here and call exit if uc_link is NULL. New file.
2184 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2185 __makecontext_ret.S.
2186 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2187 __makecontext_ret to ...
2188 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2189 ... here and call exit if uc_link is NULL. New file.
2190 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2191 __makecontext_ret.S.
2193 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2195 * elf/elf.h (R_390_IRELATIVE): New definition.
2196 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2197 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2198 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2199 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2200 (elf_machine_lazy_rel): Likewise.
2201 * sysdeps/s390/dl-irel.h: New file.
2202 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2203 * sysdeps/s390/s390-64/memset.S: New asm code.
2204 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2205 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2206 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2207 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2208 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2209 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2210 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2211 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2212 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2213 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2214 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2215 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2216 * sysdeps/s390/s390-32/memset.S: New asm code.
2217 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2219 2012-07-17 Marek Polacek <polacek@redhat.com>
2222 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2223 * sysdeps/s390/s390-64/configure.in: Likewise.
2224 * sysdeps/sparc/configure.in: Likewise.
2225 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2226 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2227 * sysdeps/i386/configure.in: Likewise.
2228 * sysdeps/x86_64/configure.in: Likewise.
2229 * sysdeps/sh/configure.in: Likewise.
2230 * sysdeps/s390/s390-32/configure: Regenerated.
2231 * sysdeps/s390/s390-64/configure: Likewise.
2232 * sysdeps/x86_64/configure: Likewise.
2233 * sysdeps/sh/configure: Likewise.
2234 * sysdeps/powerpc/powerpc64/configure: Likewise.
2235 * sysdeps/powerpc/powerpc32/configure: Likewise.
2236 * sysdeps/sparc/configure: Likwise.
2237 * sysdeps/i386/configure: Likewise.
2239 * elf/dl-open.c: Comment fixes.
2241 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2243 * Makefile [CXX] (check-data): Remove.
2244 [CXX] (c++-types.data): New vpath directive.
2245 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2246 vpath. Do not allow for C++ type data being missing.
2247 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2248 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2249 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2250 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2251 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2252 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2253 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2256 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2259 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2262 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2265 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2268 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2271 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2274 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2277 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2278 definitions to architecture-specific files.
2282 * sysdeps/i386/tls-macros.h: New file.
2283 * sysdeps/powerpc/tls-macros.h: Likewise.
2284 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2285 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2286 * sysdeps/sh/tls-macros.h: Likewise.
2287 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2288 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2289 * sysdeps/x86_64/tls-macros.h: Likewise.
2291 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2293 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2294 zero value for regular exit case.
2296 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2297 (__start_context): Preserve zero value for regular exit case.
2299 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2300 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2302 * manual/setjmp.texi (setcontext): Clarify normal process
2303 termination when uc_link is the null pointer.
2304 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2307 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2309 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2310 preprocessor. Test for each exception mask separately.
2312 2012-07-16 Andreas Jaeger <aj@suse.de>
2314 * po/ru.po: Update from translation team.
2316 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2318 * conform/data/string.h-data (NULL): Use macro-constant. Require
2320 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2321 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2322 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2323 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2324 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2326 2012-07-13 Andreas Jaeger <aj@suse.de>
2328 * po/fr.po: Update from translation team.
2330 2012-07-12 Marek Polacek <polacek@redhat.com>
2333 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2334 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2337 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2340 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2341 Change to 2.4.1 where previously 2.4.0.
2342 * sysdeps/unix/sysv/linux/configure: Regenerated.
2343 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2344 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2346 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2347 (__ASSUME_AT_CLKTCK): Remove.
2348 (__ASSUME_AT_PAGESIZE): Likewise.
2349 (__ASSUME_AT_XID): Likewise.
2350 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2351 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2352 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2354 (HAVE_AUX_PAGESIZE): Likewise.
2355 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2356 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2357 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2359 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2363 the temporary buffer used to invoke __gethostbyname2_r,
2364 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2365 host_data / struct gaih_addrtuple.
2366 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2367 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2368 header file nss/nsswitch.h.
2369 * nss/nsswitch.h (global scope): Add definition of implementation
2370 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2371 resolv/nss_dns/dns-host.c).
2373 2012-07-11 Andreas Jaeger <aj@suse.de>
2375 * po/fr.po: Update from translation team.
2377 * po/sv.po: Update from translation team
2378 * po/fr.po: Another update from translation team.
2380 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2382 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2383 for subnormals or multiply small sinh result by itself.
2384 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2387 2012-07-11 David S. Miller <davem@davemloft.net>
2389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2391 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2394 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2395 (INTERNAL_MARK): Shift it here.
2397 2012-07-10 Marek Polacek <polacek@redhat.com>
2400 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2401 libc_cv_asm_global_directive with .globl.
2402 * configure: Regenerated.
2403 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2405 * sysdeps/i386/configure: Regenerated.
2406 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2408 * sysdeps/x86_64/configure: Regenerated.
2409 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2410 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2411 * elf/tst-unique2mod2.c: Likewise.
2412 * elf/tst-unique2mod1.c: Likewise.
2413 * elf/tst-unique1mod2.c: Likewise.
2414 * elf/tst-unique1mod1.c: Likewise.
2415 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2416 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2417 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2418 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2419 * sysdeps/mach/sysdep.h: Likewise.
2420 * sysdeps/i386/sysdep.h: Likewise.
2421 * sysdeps/i386/i386-mcount.S: Likewise.
2422 * sysdeps/x86_64/_mcount.S: Likewise.
2423 * sysdeps/x86_64/sysdep.h: Likewise.
2424 * sysdeps/sh/_mcount.S: Likewise.
2425 * sysdeps/sh/sysdep.h: Likewise.
2426 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2427 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2428 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2429 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2430 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2431 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2432 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2433 * locale/localeinfo.h: Likewise.
2434 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2435 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2437 2012-07-09 Roland McGrath <roland@hack.frob.com>
2440 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2442 * manual/message.texi (The Uniforum approach): Likewise.
2443 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2444 (glibc iconv Implementation): Likewise.
2446 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2449 * math/s_clog.c (__clog): Avoid scaling a value down where that
2450 could result in underflow.
2451 * math/s_clog10.c (__clog10): Likewise.
2452 * math/s_clog10f.c (__clog10f): Likewise.
2453 * math/s_clog10l.c (__clog10l): Likewise.
2454 * math/s_clogf.c (__clogf): Likewise.
2455 * math/s_clogl.c (__clogl): Likewise.
2456 * math/libm-test.inc (clog_test): Add more tests.
2457 (clog10_test): Likewise.
2458 * sysdeps/i386/fpu/libm-test-ulps: Update.
2459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2461 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2464 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2465 by 7 not 8 to examine high bit of fractional part.
2468 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2469 for call to __mcount_internal.
2470 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2471 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2472 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2474 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2477 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2478 approximation for values within 0x1p-13f of an odd multiple of
2480 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2481 exception. Add more tests.
2482 * sysdeps/i386/fpu/libm-test-ulps: Update.
2485 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2486 inputs and return -1 for them. Do not check for +Inf in case not
2488 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2489 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2490 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2491 and return -1 for them. Do not check for +Inf in case not
2493 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2495 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2496 and return -1 for them. Do not check for +Inf in case not
2498 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2500 * sysdeps/i386/fpu/libm-test-ulps: Update.
2501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2503 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2505 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2507 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2511 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2512 could result in spurious underflow. Scale down values above
2513 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2514 * math/s_csqrtf.c (__csqrtf): Likewise.
2515 * math/s_csqrtl.c (__csqrtl): Likewise.
2516 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2518 * sysdeps/i386/fpu/libm-test-ulps: Update.
2519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2521 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2523 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2525 * catgets/xopen-msg.awk: New file.
2526 * catgets/xopen-msg.sed: Removed.
2528 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2530 * intl/po2test.awk: New file.
2531 * intl/po2test.sed: Removed.
2533 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2536 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2537 or multiply small sinh result by itself.
2538 * math/s_ctanf.c (__ctanf): Likewise.
2539 * math/s_ctanh.c (__ctanh): Likewise.
2540 * math/s_ctanhf.c (__ctanhf): Likewise.
2541 * math/s_ctanhl.c (__ctanhl): Likewise.
2542 * math/s_ctanl.c (__ctanl): Likewise.
2543 * math/libm-test.inc (ctan_test_tonearest): New function.
2544 (ctan_test_towardzero): Likewise.
2545 (ctan_test_downward): Likewise.
2546 (ctan_test_upward): Likewise.
2547 (ctanh_test_tonearest): Likewise.
2548 (ctanh_test_towardzero): Likewise.
2549 (ctanh_test_downward): Likewise.
2550 (ctanh_test_upward): Likewise.
2551 (main): Call these new functions.
2552 * sysdeps/i386/fpu/libm-test-ulps: Update.
2553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2555 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2557 * .gitignore: Delete /ports entry.
2559 2012-07-03 Andreas Jaeger <aj@suse.de>
2561 * po/bg.po: Update from translation team.
2562 * po/cs.po: Likewise.
2563 * po/de.po: Likewise.
2564 * po/hr.po: Likewise.
2565 * po/nl.pl: Likewise.
2566 * po/pl.po: Likewise.
2567 * po/vi.po: Likewise.
2569 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2571 * Makeconfig [!+link] (+link-before-libc): New variable.
2572 [!+link] (+link-after-libc): Likewise.
2573 [!+link] (+link-tests): Likewise.
2574 [!+link] (+link): Define in terms of $(+link-before-libc) and
2575 $(+link-after-libc).
2576 [!+link-static] (+link-static-before-libc): New variable.
2577 [!+link-static] (+link-static-after-libc): Likewise.
2578 [!+link-static] (+link-static-tests): Likewise.
2579 [!+link-static] (+link-static): Define in terms of
2580 $(+link-static-before-libc) and $(+link-static-after-libc).
2581 [build-shared] (link-libc-before-gnulib): New variable.
2582 [build-shared] (link-libc-tests): Likewise.
2583 [build-shared] (link-libc): Define in terms of
2584 $(link-libc-before-gnulib).
2585 [!build-shared] (link-libc-tests): New variable.
2586 (link-libc-static-tests): New variable.
2587 [!gnulib] (gnulib-arch): New variable.
2588 [!gnulib] (gnulib-tests): Likewise.
2589 [!gnulib] (static-gnulib-arch): Likewise.
2590 [!gnulib] (static-gnulib-tests): Likewise.
2591 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2592 Define with "=" instead of ":=".
2593 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2594 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2595 * Rules (binaries-all-notests): New variable.
2596 (binaries-all-tests): Likewise.
2597 (binaries-static-notests): Likewise.
2598 (binaries-static-tests): Likewise.
2599 (binaries-all): Define using $(binaries-all-notests) and
2600 $(binaries-all-tests).
2601 (binaries-static): Define using $(binaries-static-notests) and
2602 $(binaries-static-tests).
2603 (binaries-shared-tests): New variable.
2604 (binaries-shared-notests): Likewise.
2605 (binaries-shared): Remove variable.
2606 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2607 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2608 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2609 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2610 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2611 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2612 * elf/Makefile (sln-modules): New variable.
2613 (extra-objs): Add $(sln-modules:=.o).
2614 (ldconfig-modules): Add static-stubs.
2615 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2616 * elf/static-stubs.c: New file.
2619 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2620 by 7 not 8 to examine high bit of fractional part. Use volatile
2621 variables when splitting into final array of floats if
2622 __FLT_EVAL_METHOD__ != 0.
2623 * math/libm-test.inc (cos_test): Add another test.
2624 (sin_test): Likewise.
2625 * sysdeps/i386/fpu/libm-test-ulps: Update.
2628 * math/libm-test.inc (cosh_test): Add more tests.
2630 * version.h (RELEASE): Set to "development".
2631 (VERSION): Set to "2.16.90".
2633 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2635 * NEWS: Update copyright. Remove last-updated date.
2636 Mention math library bug fixes and timezone data changes.
2637 * README: Mention GNU/Hurd, x32, and HPPA support status.
2639 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2641 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2643 2012-06-27 Andreas Jaeger <aj@suse.de>
2645 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2647 2012-06-25 Andreas Jaeger <aj@suse.de>
2649 * sysdeps/s390/fpu/libm-test-ulps: Update.
2651 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2652 Thomas Schwinge <thomas@codesourcery.com>
2654 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2655 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2656 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2659 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2661 * sysdeps/mach/start.c: Remove file.
2662 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2663 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2664 * sysdeps/sh/init-first.c: Likewise.
2666 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2667 registers for frame unwinding purposes, add CFI directives.
2668 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2669 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2670 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2673 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2674 __fortify_fail returning.
2675 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2677 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2678 sysdeps/sh/____longjmp_chk.S.
2679 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2680 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2681 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2682 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2684 * sysdeps/sh/abort-instr.h: New file.
2685 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2686 process in case exit returns.
2688 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2689 initialize the GOT register before use.
2691 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2692 calculation of ARGC > 4.
2694 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2695 meaningful names to some local labels.
2697 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2698 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2700 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2701 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2702 (__arch_compare_and_exchange_val_16_acq): Likewise.
2703 (__arch_compare_and_exchange_val_32_acq): Likewise.
2704 (atomic_exchange_and_add): Fix gUSA sequence.
2705 (atomic_add): Likewise.
2706 (atomic_add_negative): Likewise.
2707 (atomic_add_zero): Likewise.
2708 (atomic_bit_test_set): Likewise.
2710 2012-06-22 Andreas Schwab <schwab@redhat.com>
2713 * include/link.h (struct link_map): Add l_free_initfini.
2714 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2716 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2717 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2718 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2721 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2723 * configure.in: Use AC_LANG_SOURCE.
2724 * configure: Regenerate.
2726 2012-06-22 Roland McGrath <roland@hack.frob.com>
2728 * configure.in (libc_cv_localstatedir): New substituted variable.
2729 * configure: Regenerated.
2730 * config.make.in (localstatedir): New variable, substituted from
2731 libc_cv_localstatedir.
2732 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2733 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2734 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2735 * sysdeps/gnu/configure: Regenerated.
2737 2012-06-21 Jeff Law <law@redhat.com>
2740 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2741 free. Simplify list management for _LIBC case.
2743 2012-06-21 Joseph Myers <joseph@codesourcery.com>
2746 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2747 Clear sign bit of 64-bit integer value before comparing against
2750 * sysdeps/mach/configure: Regenerated.
2752 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2755 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2757 2012-06-21 Jeff Law <law@redhat.com>
2760 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2761 uint16_t for elements in the "seen" array to avoid char overflows.
2762 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2763 * elf/dl-open.c (dl_open_worker): Likewise.
2765 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2767 * scripts/list-sources.sh: Scan PORTS for translations.
2768 * po/libc.pot: Regenerated.
2770 2012-06-21 Andreas Jaeger <aj@suse.de>
2773 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2775 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2776 * bits/byteswap-16.h (__bswap_16): Likewise.
2777 * bits/byteswap.h (__bswap_constant_16): Likewise.
2779 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2782 * sysdeps/i386/fpu_control.h: Removed.
2783 * sysdeps/x86_64/fpu_control.h: Moved to ...
2784 * sysdeps/x86/fpu_control.h: Here.
2786 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2787 (_FPU_SETCW): Likewise.
2789 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2792 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2793 * sysdeps/x86/fpu/bits/mathinline.h: This.
2794 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2798 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2799 functions if __x86_64__ is defined.
2801 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2803 * string/endian.h: Add !__ASSEMBLER__ condition for including
2804 conversion interfaces.
2806 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2809 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2810 of ABS(x) in calculating zero to negative powers other than odd
2812 * math/libm-test.inc (pow_test): Add more tests.
2814 2012-06-15 Andreas Jaeger <aj@suse.de>
2816 * manual/contrib.texi (Contributors): Update entry of Liubov
2817 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2820 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2822 * string/string.h: Add __wur to GNU version of strerror_r.
2824 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2827 * string/Makefile (tests): Add tst-strtok_r.
2828 * string/tst-strtok_r.c: New file.
2829 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2830 RAX_LP/RDX_LP on SAVE_PTR.
2832 2012-06-14 Roland McGrath <roland@hack.frob.com>
2834 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2836 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2838 * libm_test.inc (csqrt_test): Allow more spurious underflow
2840 (j0_test): Likewise.
2841 (j1_test): Likewise.
2842 (y0_test): Likewise.
2843 (y1_test): Likewise.
2845 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2847 * po/Makefile (libc.pot): Use UTF-8 charset.
2849 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2852 Suppress sign-conversion warning from FD_SET.
2853 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2854 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2855 not unsigned long int.
2856 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2858 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2862 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2863 __extern_always_inline instead of __extern_inline.
2864 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2865 (__signbit): Likewise.
2866 (__signbitl): Support C++ namespace.
2867 (lrintf): New inline function.
2869 (llrintf): Likewise.
2881 (nearbyint): Likewise.
2882 (nearbyintf): Likewise.
2884 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2886 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2887 non-default versions.
2889 2012-06-11 Roland McGrath <roland@hack.frob.com>
2892 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2894 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2896 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2897 (FE_UPWARD, FE_DOWNWARD): Don't define.
2898 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2899 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2901 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2903 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2904 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2906 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2908 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2909 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2910 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2911 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2913 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2916 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2917 * sysdeps/i386/fpu/Implies: New file.
2918 * sysdeps/x86_64/fpu/Implies: Likewise.
2919 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2920 * sysdeps/x86/fpu/bits/fenv.h: This.
2922 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2925 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2928 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2929 character 0xffff that matches the last element of the
2932 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2934 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2937 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2939 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2940 values higher than 25.6283.
2942 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2944 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2945 subnormal exponent extraction and add some __builtin_expect.
2946 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2947 Fix for subnormal mantissa calculation.
2949 2012-06-04 Mike Frysinger <vapier@gentoo.org>
2951 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2952 cpu2 is -1 and errno is not ENOSYS.
2954 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2957 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2958 * sysdeps/x86/bits/string.h: This.
2959 * sysdeps/x86_64/bits/string.h: Removed.
2961 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2962 if not compiling for x86-64, but compiling for >= i486.
2964 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2965 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2967 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2968 New macro from Linux kernel 3.4.0.
2969 (FP_XSTATE_MAGIC2): Likewise.
2970 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2971 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2972 (struct _fpx_sw_bytes): New struct.
2973 (struct _xsave_hdr): Likewise.
2974 (struct _ymmh_state): Likewise.
2975 (struct _xstate): Likewise.
2977 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2978 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2979 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2980 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2981 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2982 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2984 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2985 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2986 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2987 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2988 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2989 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2991 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2994 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2995 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2996 (sysdep_headers): Include sys/platform/ppc.h.
2997 * sysdeps/powerpc/test-gettimebase.c: Test for
2998 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2999 * manual/Makefile (appendices): Include platform.texi.
3000 * manual/contrib.texi (Contributors): Update @node pointers.
3001 * manual/maint.texi (Maintenance): Likewise.
3002 (Platform): New node.
3003 * manual/platform.texi: New file. Document the new features.
3005 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3006 Jakub Jelinek <jakub@redhat.com>
3009 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3010 where __builtin_expect is unavailable.
3012 2012-06-03 David S. Miller <davem@davemloft.net>
3014 * stdlib/longlong.h: Updated from GCC.
3016 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3019 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3020 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3023 (GLIBC_2.16): Likewise.
3025 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3027 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3029 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3032 (default-abi): New variable.
3033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3034 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3036 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3038 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3040 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3043 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3044 definition. Document in comment.
3046 2012-06-01 David S. Miller <davem@davemloft.net>
3048 * stdlib/longlong.h: Updated from GCC.
3050 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3053 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3054 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3055 sys/debugreg.h sys/io.h here.
3056 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3057 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3059 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3060 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3061 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3062 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3063 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3064 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3066 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3067 Define only if __x86_64__ is defined.
3069 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3072 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3073 Use int64_t for variable i.
3074 * math/libm-test.inc (fmod_test): Add more tests.
3076 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3077 z computation is not scheduled after fetestexcept.
3078 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3079 Use math_force_eval instead of asm to ensure calculation scheduled
3080 before exception test.
3081 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3082 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3084 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3086 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3087 computation is not scheduled after fetestexcept.
3089 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3092 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3093 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3095 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3097 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3098 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3100 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3103 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3105 (__WCHAR_MIN): Support __WORDSIZE == 64.
3106 (__WCHAR_MAX): Likewise.
3108 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3109 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3112 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3113 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3116 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3117 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3119 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3120 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3122 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3123 Defined to 1 if __x86_64__ isn't defined.
3124 (_STAT_VER_LINUX_OLD): New.
3125 (st_atime): Remove duplicate.
3126 (st_mtime): Likewise.
3127 (st_ctime): Likewise.
3129 2012-05-31 David S. Miller <davem@davemloft.net>
3131 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3134 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3136 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3140 * elf/dl-reloc.c: Include <_itoa.h>.
3141 (_dl_reloc_bad_type): Remove use of INTUSE.
3142 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3143 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3144 * stdio-common/psiginfo.c (psiginfo): Likewise.
3145 * stdio-common/psignal.c (psignal): Likewise.
3146 * string/strsignal.c (strsignal): Likewise.
3147 * include/signal.h (_sys_siglist): Declare hidden proto.
3148 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3149 INTVARDEF with libc_hidden_data_def.
3150 * stdio-common/itoa-udigits.c: Likewise.
3151 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3152 (_itoa_lower_digits_internal): Remove declaration.
3153 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3154 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3155 (_sys_sigabbrev_internal): Remove aliases.
3156 (_sys_siglist): Define hidden alias.
3158 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3163 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3166 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3167 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3169 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3170 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3171 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3172 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3173 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3174 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3176 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3177 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3178 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3180 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3188 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3189 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3190 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3192 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3193 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3194 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3195 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3196 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3197 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3199 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3200 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3202 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3203 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3205 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3206 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3207 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3209 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3210 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3212 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3214 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3215 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3216 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3218 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3220 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3222 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3224 * math/math.h (M_El): Use two more decimal places.
3225 (M_LOG2El): Likewise.
3226 (M_LOG10El): Likewise.
3228 (M_LN10l): Likewise.
3230 (M_PI_2l): Likewise.
3231 (M_PI_4l): Likewise.
3232 (M_1_PIl): Likewise.
3233 (M_2_PIl): Likewise.
3234 (M_2_SQRTPIl): Likewise.
3235 (M_SQRT2l): Likewise.
3236 (M_SQRT1_2l): Likewise.
3238 2012-05-31 David S. Miller <davem@davemloft.net>
3240 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3241 values between float registers.
3242 * sysdeps/sparc/sparc64/memset.S: Likewise.
3243 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3245 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3247 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3248 -D_FORTIFY_SOURCE=1.
3249 (CPPFLAGS-tst-longjmp_chk.c): Define.
3250 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3251 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3252 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3253 CFLAGS-tst-wchar-h.c.
3255 2012-05-31 Marek Polacek <polacek@redhat.com>
3258 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3259 __endmntent_internal): Remove declaration.
3260 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3261 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3262 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3264 2012-05-30 David S. Miller <davem@davemloft.net>
3266 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3267 (___Q_simulate_exceptions): Use real FP ops rather than writing
3269 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3272 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3275 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3276 * sysdeps/x86/bits/xtitypes.h: This.
3278 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3279 * sysdeps/x86/bits/wordsize.h: This.
3281 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3282 * sysdeps/x86/bits/huge_vall.h: This.
3284 * sysdeps/i386/bits/select.h: Removed.
3285 * sysdeps/x86_64/bits/select.h: Renamed to ...
3286 * sysdeps/x86/bits/select.h: This.
3288 * sysdeps/i386/bits/setjmp.h: Removed.
3289 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3290 * sysdeps/x86/bits/setjmp.h: This.
3292 * sysdeps/i386/bits/mathdef.h: Removed.
3293 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3294 * sysdeps/x86/bits/mathdef.h: This.
3296 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3299 * include/sys/socket.h (__connect_internal)
3300 (__libc_sa_len_internal): Remove declaration.
3301 (__connect, __libc_sa_len): Declare hidden_proto.
3302 (SA_LEN): Remove use of INTUSE.
3303 * socket/connect.c: Add libc_hidden_def.
3304 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3305 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3306 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3308 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3309 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3310 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3311 of adding _internal alias.
3313 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3316 * sysdeps/i386/bits/link.h: Removed.
3317 * sysdeps/i386/bits/linkmap.h: Likewise.
3318 * sysdeps/x86_64/bits/link.h: Renamed to ...
3319 * sysdeps/x86/bits/link.h: This.
3320 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3321 * sysdeps/x86/bits/linkmap.h: This.
3323 * sysdeps/i386/bits/endian.h: Removed.
3324 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3325 * sysdeps/x86/bits/endian.h: This.
3327 * sysdeps/i386/bits/byteswap.h: Removed.
3328 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3329 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3330 * sysdeps/x86/bits/byteswap.h: This.
3331 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3332 * sysdeps/x86/bits/byteswap-16.h: This.
3333 * sysdeps/i386/Implies: Add x86.
3334 * sysdeps/x86_64/Implies: Likewise.
3336 2012-05-30 David S. Miller <davem@davemloft.net>
3338 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3339 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3340 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3341 (FP_TRAPPING_EXCEPTIONS): Define.
3342 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3343 (FP_TRAPPING_EXCEPTIONS): Define.
3344 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3345 subnormals only when inexact has been signalled or underflow
3346 exceptions are enabled.
3347 (_FP_PACK_CANONICAL): Likewise.
3349 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3352 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3353 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3355 2012-05-30 Richard Henderson <rth@twiddle.net>
3357 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3358 with #ifndef NOT_IN_libc.
3360 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3361 marked to avoid plt entry.
3363 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3366 * Makeconfig (default-abi): New macro.
3367 (abi-includes): Likewise.
3368 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3369 $(abi-$(default-abi)-lib-soname) for soname if defined.
3370 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3372 * Makefile (installed-stubs): Likewise.
3373 * include/stubs-biarch.h: Removed.
3374 * scripts/lib-names.awk: Only handle one library at a time.
3375 * scripts/soversions.awk: Remove WORDSIZE support.
3376 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3378 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3380 (syscall-list-default-condition): Likewise.
3381 (syscall-list-default-condition): Likewise.
3382 (syscall-list-includes): Likewise.
3383 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3384 syscall-list-* with abi-*. Handle undefined abi-variants.
3385 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3386 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3387 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3388 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3389 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3390 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3392 (syscall-list-32-options): Likewise.
3393 (syscall-list-32-condition): Likewise.
3394 (syscall-list-64-options): Likewise.
3395 (syscall-list-64-condition): Likewise.
3396 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3398 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3401 (abi-64-ld-soname): New macro.
3402 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3403 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3406 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3407 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3409 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3411 * sysdeps/unix/sysv/linux/kernel-features.h
3412 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3413 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3414 include <kernel-features.h>.
3415 [!__NR_ftruncate64]: Remove conditional code.
3416 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3417 [__NR_ftruncate64]: Make code unconditional.
3418 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3419 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3420 include <kernel-features.h>.
3421 [!__NR_ftruncate64]: Remove conditional code.
3422 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3423 [__NR_ftruncate64]: Make code unconditional.
3424 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3426 include <kernel-features.h>.
3427 [!__NR_ftruncate64]: Remove conditional code.
3428 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3429 [__NR_ftruncate64]: Make code unconditional.
3430 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3432 include <kernel-features.h>.
3433 [!__NR_ftruncate64]: Remove conditional code.
3434 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3435 [__NR_ftruncate64]: Make code unconditional.
3436 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3438 * configure.in (libc_cv_fpie): Weaken to a compile test using
3440 * configure: Regenerated.
3442 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3457 2012-05-27 David S. Miller <davem@davemloft.net>
3459 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3461 (__Q_simulate_exceptions): Return void. Change to simulate
3462 exceptions by writing into the %fsr.
3463 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3464 (__Qp_handle_exceptions): Likewise.
3466 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3467 __Qp_handle_exceptions.
3468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3469 __Qp_handle_exceptions.
3470 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3471 as unused and give dummy FP_RND_NEAREST initializer.
3472 (FP_INHIBIT_RESULTS): Define.
3473 (___Q_simulate_exceptions): Update declaration.
3474 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3476 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3477 as unused and give dummy FP_RND_NEAREST initializer.
3478 (__Qp_handle_exceptions): Update declaration.
3479 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3482 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3484 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3485 the temporary FPU control word.
3486 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3487 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3488 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3489 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3490 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3491 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3492 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3493 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3494 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3495 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3496 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3498 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3500 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3503 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3505 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3506 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3507 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3508 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3510 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3511 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3514 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3516 * po/h.po: Update from translation team.
3518 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3520 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3522 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3523 handling of denormals.
3524 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3525 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3526 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3527 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3528 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3529 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3530 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3533 2012-05-26 Marek Polacek <polacek@redhat.com>
3536 * math/libm-test.inc (fma_test): Don't always expect underflow
3539 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3542 * elf/tst-execstack.c: Include stackinfo.h.
3543 (do_test): Adjust test case to ensure that pthread_getattr_np
3544 behaviour remains the same after marking stack executable.
3546 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3548 * sysdeps/unix/sysv/linux/kernel-features.h
3549 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3550 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3552 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3553 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3554 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3556 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3557 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3559 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3561 * configure.in: Define the default includes to being none.
3562 * configure: Regenerated.
3564 2012-05-25 Roland McGrath <roland@hack.frob.com>
3566 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3567 * sysdeps/x86_64/setjmp.S: Likewise.
3568 * sysdeps/i386/bsd-setjmp.S: Likewise.
3569 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3570 * sysdeps/i386/setjmp.S: Likewise.
3571 * sysdeps/i386/__longjmp.S: Likewise.
3572 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3573 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3575 * include/stap-probe.h: New file.
3576 * configure.in: Handle --enable-systemtap.
3577 * configure: Regenerated.
3578 * config.h.in (USE_STAP_PROBE): New #undef.
3579 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3580 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3581 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3583 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3586 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3587 to 2.4.0 where earlier.
3588 * sysdeps/unix/sysv/linux/configure: Regenerated.
3589 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3590 <kernel-features.h>.
3591 [__ASSUME_32BITUIDS]: Make code unconditional.
3592 [!__ASSUME_32BITUIDS]: Remove conditional code.
3593 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3594 <kernel-features.h>.
3595 [__ASSUME_32BITUIDS]: Make code unconditional.
3596 [!__ASSUME_32BITUIDS]: Remove conditional code.
3597 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3598 [__ASSUME_32BITUIDS]: Make code unconditional.
3599 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3600 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3601 <kernel-features.h>.
3602 [__ASSUME_32BITUIDS]: Make code unconditional.
3603 [!__ASSUME_32BITUIDS]: Remove conditional code.
3604 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3605 <kernel-features.h>.
3606 [__ASSUME_32BITUIDS]: Make code unconditional.
3607 [!__ASSUME_32BITUIDS]: Remove conditional code.
3608 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3609 <kernel-features.h>.
3610 [__ASSUME_32BITUIDS]: Make code unconditional.
3611 [!__ASSUME_32BITUIDS]: Remove conditional code.
3612 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3613 <kernel-features.h>.
3614 [__ASSUME_32BITUIDS]: Make code unconditional.
3615 [!__ASSUME_32BITUIDS]: Remove conditional code.
3616 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3617 <kernel-features.h>.
3618 [__ASSUME_32BITUIDS]: Make code unconditional.
3619 [!__ASSUME_32BITUIDS]: Remove conditional code.
3620 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3621 <kernel-features.h>.
3622 [__ASSUME_32BITUIDS]: Make code unconditional.
3623 [!__ASSUME_32BITUIDS]: Remove conditional code.
3624 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3625 <kernel-features.h>.
3626 [__ASSUME_32BITUIDS]: Make code unconditional.
3627 [!__ASSUME_32BITUIDS]: Remove conditional code.
3628 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3629 <kernel-features.h>.
3630 [__ASSUME_32BITUIDS]: Make code unconditional.
3631 [!__ASSUME_32BITUIDS]: Remove conditional code.
3632 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3633 <kernel-features.h>.
3634 [__ASSUME_32BITUIDS]: Make code unconditional.
3635 [!__ASSUME_32BITUIDS]: Remove conditional code.
3636 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3637 <kernel-features.h>.
3638 [__ASSUME_32BITUIDS]: Make code unconditional.
3639 [!__ASSUME_32BITUIDS]: Remove conditional code.
3640 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3641 <kernel-features.h>.
3642 [__NR_setresgid] (__setresgid): Do not declare.
3643 [__ASSUME_32BITUIDS]: Make code unconditional.
3644 [!__ASSUME_32BITUIDS]: Remove conditional code.
3645 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3646 <kernel-features.h>.
3647 [__NR_setresuid] (__setresuid): Do not declare.
3648 [__ASSUME_32BITUIDS]: Make code unconditional.
3649 [!__ASSUME_32BITUIDS]: Remove conditional code.
3650 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3651 <kernel-features.h>.
3652 [__ASSUME_32BITUIDS]: Make code unconditional.
3653 [!__ASSUME_32BITUIDS]: Remove conditional code.
3654 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3655 <kernel-features.h>.
3656 [__ASSUME_32BITUIDS]: Make code unconditional.
3657 [!__ASSUME_32BITUIDS]: Remove conditional code.
3658 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3659 <kernel-features.h>.
3660 [__ASSUME_32BITUIDS]: Make code unconditional.
3661 [!__ASSUME_32BITUIDS]: Remove conditional code.
3662 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3663 <kernel-features.h>.
3664 [__ASSUME_32BITUIDS]: Make code unconditional.
3665 [!__ASSUME_32BITUIDS]: Remove conditional code.
3666 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3667 <kernel-features.h>.
3668 [__ASSUME_32BITUIDS]: Make code unconditional.
3669 [!__ASSUME_32BITUIDS]: Remove conditional code.
3670 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3671 <kernel-features.h>.
3672 [__ASSUME_32BITUIDS]: Make code unconditional.
3673 [!__ASSUME_32BITUIDS]: Remove conditional code.
3674 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3675 <kernel-features.h>.
3676 [__ASSUME_32BITUIDS]: Make code unconditional.
3677 [!__ASSUME_32BITUIDS]: Remove conditional code.
3678 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3679 <kernel-features.h>.
3680 [__ASSUME_32BITUIDS]: Make code unconditional.
3681 [!__ASSUME_32BITUIDS]: Remove conditional code.
3682 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3683 <kernel-features.h>.
3684 [__ASSUME_32BITUIDS]: Make code unconditional.
3685 [!__ASSUME_32BITUIDS]: Remove conditional code.
3686 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3687 <kernel-features.h>.
3688 [__ASSUME_32BITUIDS]: Make code unconditional.
3689 [!__ASSUME_32BITUIDS]: Remove conditional code.
3690 * sysdeps/unix/sysv/linux/kernel-features.h
3691 (__ASSUME_SETRESUID_SYSCALL): Remove.
3692 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3693 (__ASSUME_32BITUIDS): Likewise.
3694 (__ASSUME_LDT_WORKS): Likewise.
3695 (__ASSUME_O_DIRECTORY): Likewise.
3696 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3697 architecture but not kernel version.
3698 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3699 (__ASSUME_MMAP2_SYSCALL): Likewise.
3700 (__ASSUME_STAT64_SYSCALL): Likewise.
3701 (__ASSUME_IPC64): Likewise.
3702 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3703 <kernel-features.h>.
3704 [__ASSUME_32BITUIDS]: Make code unconditional.
3705 [!__ASSUME_32BITUIDS]: Remove conditional code.
3706 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3707 <kernel-features.h>.
3708 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3709 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3710 132096]: Remove conditional code.
3711 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3712 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3713 <kernel-features.h>.
3714 [__ASSUME_32BITUIDS]: Make code unconditional.
3715 [!__ASSUME_32BITUIDS]: Remove conditional code.
3716 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3717 <kernel-features.h>.
3718 [__ASSUME_32BITUIDS]: Make code unconditional.
3719 [!__ASSUME_32BITUIDS]: Remove conditional code.
3720 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3721 <kernel-features.h>.
3722 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3724 (__setresgid): Do not declare.
3725 [__ASSUME_32BITUIDS]: Make code unconditional.
3726 [!__ASSUME_32BITUIDS]: Remove conditional code.
3727 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3728 <kernel-features.h>.
3729 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3731 (__setresuid): Do not declare.
3732 [__ASSUME_32BITUIDS]: Make code unconditional.
3733 [!__ASSUME_32BITUIDS]: Remove conditional code.
3734 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3735 <kernel-features.h>.
3736 [__ASSUME_32BITUIDS]: Make code unconditional.
3737 [!__ASSUME_32BITUIDS]: Remove conditional code.
3738 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3739 <kernel-features.h>.
3740 [__ASSUME_32BITUIDS]: Make code unconditional.
3741 [!__ASSUME_32BITUIDS]: Remove conditional code.
3743 2012-05-25 Richard Henderson <rth@twiddle.net>
3745 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3746 dl_hwcap to ifunc resolver.
3747 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3749 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3750 dl_hwcap to ifunc resolver.
3751 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3753 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3756 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3757 for |x| <= 2**-26, not 2**-57.
3758 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3761 2012-05-24 Jeff Law <law@redhat.com>
3763 * stdio-common/Makefile (tests): Add bug25.
3764 * stdio-common/bug25.c: New test.
3766 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3769 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3770 multiple of MALLOC_ALIGNMENT in size.
3771 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3773 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3775 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3777 (FILENAME_MAX): Use macro-int-constant.
3778 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3779 (_IOFBF): Use macro-int-constant.
3782 (SEEK_CUR): Likewise.
3783 (SEEK_END): Likewise.
3784 (SEEK_SET): Likewise.
3785 (TMP_MAX): Likewise.
3786 (EOF): Use macro-int-constant. Require < 0.
3787 (NULL): Use macro-constant. Require == 0.
3788 (stdin): Require type to be FILE *.
3791 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3793 (EXIT_SUCCESS): Likewise.
3794 (NULL): Use macro-constant. Require == 0.
3795 (RAND_MAX): Use macro-int-constant.
3796 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3797 [C99-based standards] (strtof): Require function.
3798 [C99-based standards] (strtold): Likewise.
3799 [C99-based standards] (strtoll): Likewise.
3800 [C99-based standards] (strtoull): Likewise.
3801 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3802 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3803 [ISO || ISO99 || ISO11] (math.h): Likewise.
3804 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3805 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3806 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3808 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3811 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3812 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3813 * intl/dgettext.c (DCGETTEXT): Likewise.
3814 * intl/gettext.c (DCGETTEXT): Likewise.
3815 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3816 * posix/regex_internal.h (gettext): Likewise.
3817 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3819 * include/argz.h (__argz_count_internal)
3820 (__argz_stringify_internal): Remove declaration.
3821 (__argz_count, __argz_stringify): Declare hidden proto.
3822 * intl/dcgettext.c: Remove use of INTDEF.
3823 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3824 * string/argz-stringify.c: Likewise.
3825 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3826 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3827 Declare hidden proto.
3828 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3829 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3830 Declare hidden proto.
3831 * include/stdio.h (__asprintf_internal): Don't declare.
3832 (__asprintf): Don't define as macro. Declare hidden proto.
3833 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3834 (__fsetlocking): Declare hidden proto.
3835 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3836 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3838 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3839 (_IO_setlinebuf): Remove use of INTUSE.
3840 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3841 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3842 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3844 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3845 (_IO_do_flush): Remove use of INTUSE.
3846 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3847 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3848 (_IO_adjust_column, _IO_least_wmarker)
3849 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3850 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3851 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3852 (_IO_default_doallocate, _IO_wdefault_doallocate)
3853 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3854 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3855 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3856 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3857 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3858 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3859 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3860 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3861 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3862 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3863 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3864 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3865 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3867 (_IO_flush_all_internal, _IO_adjust_column_internal)
3868 (_IO_default_uflow_internal, _IO_default_finish_internal)
3869 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3870 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3871 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3872 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3873 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3874 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3875 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3876 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3877 (_IO_file_close_internal, _IO_file_close_it_internal)
3878 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3879 (_IO_file_init_internal, _IO_file_attach_internal)
3880 (_IO_file_fopen_internal, _IO_file_read_internal)
3881 (_IO_file_sync_internal, _IO_file_seek_internal)
3882 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3883 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3884 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3885 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3886 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3887 (_IO_list_all_internal, _IO_link_in_internal)
3888 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3889 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3890 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3891 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3892 (_IO_do_write_internal, _IO_padn_internal)
3893 (_IO_getline_info_internal, _IO_getline_internal)
3894 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3895 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3896 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3897 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3898 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3899 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3900 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3901 with libc_hidden_ver, remove use of INTUSE.
3902 * libio/genops.c: Likewise.
3903 * libio/freopen.c: Likewise.
3904 * libio/freopen64.c: Likewise.
3905 * libio/iofclose.c: Likewise.
3906 * libio/iofdopen.c: Likewise.
3907 * libio/iofflush.c: Likewise.
3908 * libio/iofflush_u.c: Likewise.
3909 * libio/iofgets.c: Likewise.
3910 * libio/iofgets_u.c: Likewise.
3911 * libio/iofopen.c: Likewise.
3912 * libio/iofopncook.c: Likewise.
3913 * libio/iofread.c: Likewise.
3914 * libio/iofread_u.c: Likewise.
3915 * libio/ioftell.c: Likewise.
3916 * libio/iofwrite.c: Likewise.
3917 * libio/iogetline.c: Likewise.
3918 * libio/iogets.c: Likewise.
3919 * libio/iogetwline.c: Likewise.
3920 * libio/iopadn.c: Likewise.
3921 * libio/iopopen.c: Likewise.
3922 * libio/ioseekoff.c: Likewise.
3923 * libio/ioseekpos.c: Likewise.
3924 * libio/iosetbuffer.c: Likewise.
3925 * libio/iosetvbuf.c: Likewise.
3926 * libio/ioungetc.c: Likewise.
3927 * libio/ioungetwc.c: Likewise.
3928 * libio/iovdprintf.c: Likewise.
3929 * libio/iovsprintf.c: Likewise.
3930 * libio/iovsscanf.c: Likewise.
3931 * libio/memstream.c: Likewise.
3932 * libio/obprintf.c: Likewise.
3933 * libio/oldfileops.c: Likewise.
3934 * libio/oldiofclose.c: Likewise.
3935 * libio/oldiofdopen.c: Likewise.
3936 * libio/oldiofopen.c: Likewise.
3937 * libio/oldiopopen.c: Likewise.
3938 * libio/oldstdfiles.c: Likewise.
3939 * libio/putc.c: Likewise.
3940 * libio/setbuf.c: Likewise.
3941 * libio/setlinebuf.c: Likewise.
3942 * libio/stdfiles.c: Likewise.
3943 * libio/strops.c: Likewise.
3944 * libio/vasprintf.c: Likewise.
3945 * libio/vscanf.c: Likewise.
3946 * libio/vsnprintf.c: Likewise.
3947 * libio/vswprintf.c: Likewise.
3948 * libio/wfiledoalloc.c: Likewise.
3949 * libio/wfileops.c: Likewise.
3950 * libio/wgenops.c: Likewise.
3951 * libio/wmemstream.c: Likewise.
3952 * libio/wstrops.c: Likewise.
3953 * libio/__fpurge.c: Likewise.
3954 * libio/__fsetlocking.c: Likewise.
3955 * assert/assert.c: Likewise.
3956 * debug/fgets_chk.c: Likewise.
3957 * debug/fgets_u_chk.c: Likewise.
3958 * debug/fread_chk.c: Likewise.
3959 * debug/fread_u_chk.c: Likewise.
3960 * debug/gets_chk.c: Likewise.
3961 * debug/obprintf_chk.c: Likewise.
3962 * debug/vasprintf_chk.c: Likewise.
3963 * debug/vdprintf_chk.c: Likewise.
3964 * debug/vsnprintf_chk.c: Likewise.
3965 * debug/vsprintf_chk.c: Likewise.
3966 * malloc/mtrace.c: Likewise.
3967 * misc/error.c: Likewise.
3968 * misc/syslog.c: Likewise.
3969 * stdio-common/asprintf.c: Likewise.
3970 * stdio-common/fxprintf.c: Likewise.
3971 * stdio-common/getw.c: Likewise.
3972 * stdio-common/isoc99_fscanf.c: Likewise.
3973 * stdio-common/isoc99_scanf.c: Likewise.
3974 * stdio-common/isoc99_vfscanf.c: Likewise.
3975 * stdio-common/isoc99_vscanf.c: Likewise.
3976 * stdio-common/isoc99_vsscanf.c: Likewise.
3977 * stdio-common/printf-prs.c: Likewise.
3978 * stdio-common/printf_fp.c: Likewise.
3979 * stdio-common/printf_fphex.c: Likewise.
3980 * stdio-common/printf_size.c: Likewise.
3981 * stdio-common/putw.c: Likewise.
3982 * stdio-common/scanf.c: Likewise.
3983 * stdio-common/sprintf.c: Likewise.
3984 * stdio-common/tmpfile.c: Likewise.
3985 * stdio-common/vfprintf.c: Likewise.
3986 * stdio-common/vfscanf.c: Likewise.
3987 * stdlib/strfmon_l.c: Likewise.
3988 * sunrpc/openchild.c: Likewise.
3989 * sunrpc/xdr_stdio.c: Likewise.
3990 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3991 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3993 2012-05-24 Roland McGrath <roland@hack.frob.com>
3995 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3997 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3998 in the third column, to generate for the shared library an IFUNC
3999 that uses _dl_vdso_vsym.
4000 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4001 * Makeconfig (object-suffixes-noshared): New variable.
4003 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4004 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4005 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4006 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4009 * include/sys/time.h (__gettimeofday): Remove macro.
4010 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4011 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4013 (__gettimeofday): Add libc_hidden_def.
4014 (gettimeofday): Add libc_hidden_weak.
4015 * sysdeps/mach/gettimeofday.c: Likewise.
4016 * sysdeps/posix/gettimeofday.c: Likewise.
4017 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4018 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4019 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4020 (__gettimeofday_internal): Remove strong_alias.
4021 (__gettimeofday): Add libc_hidden_def.
4022 (gettimeofday): Add libc_hidden_weak.
4023 * sysdeps/unix/syscalls.list (gettimeofday):
4024 Remove __gettimeofday_internal alias.
4026 2012-05-24 Daniel Jacobowitz <drow@false.org>
4027 H.J. Lu <hongjiu.lu@intel.com>
4030 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4031 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4032 (largebin_index_32_big): New.
4033 (largebin_index): Use it for 16-byte alignment.
4034 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4035 correction with front_misalign.
4037 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4065 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4066 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4068 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4072 * math/libm-test.inc (exp_test): Add test from bug 14036.
4073 (pow_test): Add test from bug 10846.
4075 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4077 (special_function): Do not include flags in test name.
4078 (parse_args): Likewise.
4079 * sysdeps/i386/fpu/libm-test-ulps: Update.
4080 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4081 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4082 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4085 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4087 * math/libm-test.inc ("Philosophy"): Update comment about
4089 (UNDERFLOW_EXCEPTION): New macro.
4090 (UNDERFLOW_EXCEPTION_OK): Likewise.
4091 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4092 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4093 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4094 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4095 (INVALID_EXCEPTION_OK): Update value.
4096 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4097 (OVERFLOW_EXCEPTION_OK): Likewise.
4098 (IGNORE_ZERO_INF_SIGN): Likewise.
4099 (test_exceptions): Handle underflow exceptions.
4100 (acos_test): Update for underflow exception expectations.
4101 (cexp_test): Likewise.
4102 (clog_test): Likewise.
4103 (clog10_test): Likewise.
4104 (csqrt_test): Likewise.
4105 (ctan_test): Likewise.
4106 (ctanh_test): Likewise.
4107 (exp_test): Likewise.
4108 (exp10_test): Likewise.
4109 (exp2_test): Likewise.
4110 (expm1_test): Likewise.
4111 (fma_test): Likewise.
4112 (j0_test): Likewise.
4113 (jn_test): Likewise.
4114 (nexttoward_test): Likewise.
4115 (pow_test): Likewise.
4116 (scalbn_test): Likewise.
4117 (scalbln_test): Likewise.
4118 (tan_test): Likewise.
4119 (y1_test): Likewise.
4120 * sysdeps/i386/fpu/libm-test-ulps: Update.
4121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4123 2012-05-23 David S. Miller <davem@davemloft.net>
4125 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4126 (__libc_sigaction): Remove unused local variables.
4128 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4130 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4132 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4134 mktime: avoid signed integer overflow
4135 * time/mktime.c (__mktime_internal): Do not mishandle the case
4136 where diff == INT_MIN.
4138 mktime: simplify computation of average
4139 * time/mktime.c (ranged_convert): Use new time_t_avg function
4140 instead of rolling our own (probably-slower) code.
4142 mktime: do not assume signed right shift propagates sign bit
4143 * time/mktime.c (isdst_differ): New static function.
4144 (__mktime_internal): No need to normalize tm_isdst now.
4145 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4148 mktime: merge another wrapv change from gnulib
4149 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4150 from some compilers.
4152 mktime: remove incorrect attempt at unusual arithmetics
4153 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4154 The code didn't really work on such machines anyway.
4155 (TYPE_MINIMUM): Assume two's complement.
4156 (twos_complement_arithmetic): Verify that long_int and time_t
4157 are two's complement (or unsigned, in the latter case).
4159 mktime: check signed shifts on long_int and time_t, too
4160 * time/mktime.c (SHR): Check that shifts work as desired
4161 on the types long_int and time_t too, as SHR is used on
4164 mktime: do not assume 'long' is wide enough
4165 * time/mktime.c (verify): Move decl up.
4166 (long_int): New type.
4167 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4168 to remove assumption in the code that 'long' is wide enough to
4169 store year values. This assumption is not true on x32 and on
4170 some non-glibc platforms.
4172 mktime: merge wrapv change from gnulib
4173 * time/mktime.c (WRAPV): New macro.
4174 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4175 (guess_time_tm, __mktime_internal): Do not assume that signed
4176 integer overflow wraps around; modern compilers generate code
4177 where this assumption is no longer valid.
4179 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4181 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4182 Replace "jmp L(pseudo_end)" with "ret".
4183 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4186 2012-05-23 Andreas Jaeger <aj@suse.de>
4188 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4189 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4191 2012-05-23 Andreas Jaeger <aj@suse.de>
4192 Maximilian Attems <max@stro.at>
4194 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4197 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4199 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4200 code so that pseudo_end is just ret and the stack pointer is
4201 correct also for static library in error case.
4203 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4205 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4206 move to syscalls.list.
4207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4212 * manual/install.texi (Running make install): Do not mention Linux
4213 kernel version for which pt_chown is not needed.
4214 (Linux): Do not mention problems with nscd with 2.0 kernels.
4215 * INSTALL: Regenerated.
4217 2012-05-23 Andreas Jaeger <aj@suse.de>
4219 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4220 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4222 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4223 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4224 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4225 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4226 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4227 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4228 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4229 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4230 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4231 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4232 * sysdeps/unix/sysv/linux/bits/in.h
4233 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4235 2012-05-22 Roland McGrath <roland@hack.frob.com>
4237 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4238 (PREPARE_VERSION): Just use assert instead, it will be elided
4239 under [NDEBUG] anyway.
4241 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4243 * sysdeps/unix/sysv/linux/Makefile: Include
4244 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4245 (sysdep_routines): Remove sysctl.
4246 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4247 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4248 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4249 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4250 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4252 2012-05-22 Andreas Jaeger <aj@suse.de>
4254 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4255 that pseudo_end is just ret and the stack pointer is correct also
4256 for static library in error case.
4258 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4261 * nss/nsswitch.c (defconfig_entries): New variable.
4262 (__nss_database_lookup): Don't leak defconfig entries.
4263 (nss_parse_service_list): Don't leak on error paths.
4264 (free_database_entries): New function.
4265 (free_defconfig): New function.
4266 (free_mem): Move common code to free_database_entries.
4268 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4270 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4272 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4274 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4275 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4276 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4278 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4279 (INTERNAL_SYSCALL_TYPES): Likewise.
4280 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4281 (LOAD_REGS_TYPES_[1-6]): Likewise.
4282 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4283 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4285 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4287 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4288 copysignl for GLIBC_2_0.
4289 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4290 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4291 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4292 logbl for GLIBC_2_0.
4293 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4294 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4296 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4298 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4299 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4301 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4304 * time/mktime.c: Update copyright years.
4306 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4308 mktime: merge comment-quoting-style change from gnulib
4309 * time/mktime.c: Quote 'like this' in comments.
4310 The GNU coding standards suggest that we no longer quote `like this',
4311 as "`" and "'" are typically rendered asymmetrically nowadays.
4312 The typical gnulib style is to quote 'like this' when quoting
4313 code, and "like this" when quoting English.
4315 * time/mktime.c (compile-command): Add "-I.".
4317 mktime: merge mktime-internal.h change from gnulib
4318 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4320 mktime: merge time_r change from gnulib
4321 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4323 mktime: merge DEBUG change from gnulib
4324 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4325 case system <time.h> has a #define.
4327 mktime: merge <sys/types.h> change from gnulib
4328 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4329 since <time.t> is now guaranteed to define time_t.
4331 mktime: merge HAVE_CONFIG_H change from gnulib
4332 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4334 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4336 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4339 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4341 (struct rusage): Use anonymous union to pad each field to
4344 2012-05-21 David S. Miller <davem@davemloft.net>
4346 * Makefules (o-iterator): Remove .s cases.
4347 (compile-command.s): Delete.
4348 (COMPILE.s): Delete.
4349 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4351 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4353 * configure.in (libc_cv_predef_stack_protector): Only consider
4354 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4355 * configure: Regenerated.
4357 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4360 New macro. Use R*LP on int and pointer.
4361 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4362 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4363 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4364 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4366 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4367 [__WORDSIZE_TIME64_COMPAT32] instead of
4368 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4369 (struct utmp): Likewise.
4370 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4371 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4373 (__WORDSIZE_TIME64_COMPAT32): This.
4374 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4375 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4376 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4377 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4378 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4379 (__WORDSIZE_TIME64_COMPAT32): New macro.
4381 2012-05-21 Andreas Jaeger <aj@suse.de>
4383 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4384 only if [SHARED]. Add prototype for __wcschr_ia32.
4386 2012-05-21 Roland McGrath <roland@hack.frob.com>
4388 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4389 of %rbp unmolested in the jmp_buf while mangling the low bits.
4390 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4391 unmolested high bits of %rbp while demangling the low bits.
4392 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4394 2012-05-21 Andreas Jaeger <aj@suse.de>
4396 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4397 * sunrpc/svc_simple.c: Use it for registerrpc.
4398 * sunrpc/xcrypt.c: Use it for passwd2des.
4400 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4402 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4404 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4405 Don't define if [__SYSCALL_WORDSIZE != 32].
4406 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4409 2012-05-21 Bruno Haible <bruno@clisp.org>
4410 Andreas Jaeger <aj@suse.de>
4412 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4413 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4414 inptr and inend for must_buffer_ch.
4415 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4416 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4417 * stdio-common/Makefile (tests): Remove bug15.
4418 (bug15-ENV): Remove macro.
4419 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4422 2012-05-19 Andreas Jaeger <aj@suse.de>
4423 Roland McGrath <roland@hack.frob.com>
4425 * manual/contrib.texi: Completely rewritten. It contains now an
4426 alphabetical list of contributors and their contributions.
4428 2012-05-21 Richard Henderson <rth@twiddle.net>
4430 * misc/getauxval.c (__getauxval): Use unsigned long int.
4431 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4432 (getauxval): Use unsigned long int.
4434 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4436 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4438 2012-05-21 Roland McGrath <roland@hack.frob.com>
4440 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4441 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4442 __alignof__ (long double).
4444 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4448 2012-05-20 Richard Henderson <rth@twiddle.net>
4450 * misc/getauxval.c: New file.
4451 * misc/sys/auxv.h: New file.
4452 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4453 (routines): Add getauxval.
4454 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4455 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4456 * elf/dl-sysdep.c (_dl_auxv): Remove.
4457 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4458 * elf/dl-support.c (_dl_auxv): New variable.
4459 (_dl_aux_init): Initialize it.
4460 * manual/startup.texi (Auxiliary Vector): New node.
4461 * sysdeps/generic/bits/hwcap.h: New file.
4462 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4463 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4464 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4465 * sysdeps/sparc/sysdep.h: ... here. Include it.
4466 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4467 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4473 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4479 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4483 2012-05-19 David S. Miller <davem@davemloft.net>
4485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4487 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4490 * math/s_ccosh.c: Include <float.h>
4491 (__ccosh): Avoid internal overflow calculating sinh and cosh
4492 values before multiplying by sin and cos values.
4493 * math/s_ccoshf.c: Likewise.
4494 * math/s_ccoshl.c: Likewise.
4495 * math/s_csin.c: Likewise.
4496 * math/s_csinf.c: Likewise.
4497 * math/s_csinl.c: Likewise.
4498 * math/s_csinh.c: Likewise.
4499 * math/s_csinhf.c: Likewise.
4500 * math/s_csinhl.c: Likewise.
4501 * math/libm-test.inc (ccos_test): Add more tests.
4502 (ccosh_test): Likewise.
4503 (csin_test): Likewise.
4504 (csinh_test): Likewise.
4505 * sysdeps/i386/fpu/libm-test-ulps: Update.
4506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4508 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4510 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4511 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4513 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4515 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4517 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4518 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4519 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4520 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4521 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4522 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4523 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4524 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4525 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4526 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4527 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4528 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4529 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4530 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4531 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4532 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4533 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4534 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4535 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4536 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4537 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4538 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4539 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4540 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4541 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4542 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4543 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4544 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4545 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4546 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4547 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4549 2012-05-18 Andreas Jaeger <aj@suse.de>
4551 * csu/.gitignore: Delete.
4553 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4555 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4556 (timex): Use __syscall_slong_t.
4558 2012-05-18 Andreas Jaeger <aj@suse.de>
4559 Carlos O'Donell <carlos_odonell@mentor.com>
4561 * manual/install.texi (Configuring and compiling): Update
4562 description about files modified in the source directory.
4563 * INSTALL: Regenerated.
4565 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4567 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4568 value. Use "or" to set return value to -1.
4569 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4570 negate return value.
4572 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4574 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4575 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4576 failure if the compiler has Graphite support disabled.
4577 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4579 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4580 CFLAGS-memmove.c): Likewise.
4581 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4584 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4586 * sysdeps/x86_64/x32/_itoa.h: New file.
4588 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4589 getdents system call only if kernel and user dirents have the
4590 same d_ino and d_off.
4592 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4593 LLONG_MAX != LONG_MAX.
4594 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4595 (_fitoa_word): Likewise.
4597 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4599 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4600 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4601 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4603 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4604 include <bits/wordsize.h>. Check __x86_64__ instead of
4606 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4607 if __x86_64__ is defined. Use anonymous union on fpstate.
4609 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4612 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4614 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4615 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4616 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4617 Refer to _rtld_local_ro instead of _rtld_global_ro.
4618 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4620 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4622 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4624 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4625 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4626 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4628 * sysdeps/powerpc/powerpc32/dl-machine.c
4629 (__elf_machine_runtime_setup) [PROF]: Don't reference
4632 2012-05-18 Andreas Jaeger <aj@suse.de>
4634 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4635 function only available for GCCs before 3.4 since GCC 3.4
4636 introduced a builtin.
4638 (llrintf): Likewise.
4646 (nearbyint): Likewise.
4647 (nearbyintf): Likewise.
4653 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4655 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4656 on both fields and cast pointer to __syscall_ulong_t.
4658 * bits/types.h (__fsword_t): New type.
4659 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4660 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4661 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4662 (__FSWORD_T_TYPE): Likewise.
4663 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4664 (__FSWORD_T_TYPE): Likewise.
4665 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4666 (__FSWORD_T_TYPE): Likewise.
4667 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4668 (__FSWORD_T_TYPE): Likewise.
4669 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4670 __SWORD_TYPE with __fsword_t.
4671 (statfs64): Likewise.
4673 2012-05-17 David S. Miller <davem@davemloft.net>
4675 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4677 2012-05-17 Andreas Jaeger <aj@suse.de>
4679 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4682 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4684 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4686 2012-05-17 Andreas Jaeger <aj@suse.de>
4688 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4691 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4693 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4695 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4697 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4698 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4700 2012-05-17 Andreas Jaeger <aj@suse.de>
4701 Carlos O'Donell <carlos_odonell@mentor.com>
4704 * sysdeps/x86_64/multiarch/init-arch.h
4705 (bit_YMM_Usable): Rename to...
4706 (bit_AVX_Usable): ... this.
4707 (bit_FMA4_Usable): New macro.
4708 (bit_XMM_state): New macro.
4709 (bit_YMM_state): New macro.
4710 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4711 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4712 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4713 (CPUID_OSXSAVE): New macro.
4714 (CPUID_AVX): New macro.
4715 (CPUID_FMA4): New macro.
4716 (index_YMM_Usable): Rename to...
4717 (index_AVX_Usable): ... this.
4718 (HAS_AVX): Use HAS_ARCH_FEATURE.
4719 (HAS_FMA4): Likewise.
4720 (HAS_YMM_USABLE): Remove.
4721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4722 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4724 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4725 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4726 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4727 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4728 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4730 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4732 * math/libm-test.c: Support platforms without multiple rounding modes.
4733 * math/bug-nextafter.c: Support platforms without FP exceptions.
4734 * math/bug-nexttoward.c: Likewise.
4735 * math/test-fenv.c: Likewise.
4736 * math/test-misc.c: Likewise.
4737 * stdlib/bug-getcontext.c: Likewise.
4739 2012-05-17 Andreas Jaeger <aj@suse.de>
4741 * manual/examples/search.c (critter_cmp): Change signature to
4743 * manual/string.texi (Collation Functions): Likewise.
4745 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4747 * bits/types.h: Fold copyright years.
4748 * bits/typesizes.h: Likewise.
4749 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4750 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4751 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4752 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4753 * time/time.h: Likewise.
4755 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4758 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4759 in instead of returning them. Return void.
4760 (__libc_mallinfo): Accumulate over all arenas.
4761 (__malloc_stats): Adjust for change in int_mallinfo interface.
4763 2012-05-16 Roland McGrath <roland@hack.frob.com>
4766 * configure.in (NM): Add AC_CHECK_TOOL for it.
4767 (libc_extra_cflags): New substituted variable.
4768 Check for -fstack-protector being used implicitly.
4769 * configure: Regenerated.
4770 * config.make.in (config-extra-cflags): New variable,
4771 gets @libc_extra_cflags@.
4772 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4775 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4776 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4777 * configure: Regenerated.
4778 * config.make.in (CPPUNDEFS): New substituted variable.
4779 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4780 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4781 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4783 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4785 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4786 (mq_attr): Use __syscall_slong_t.
4788 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4790 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4791 Check __x86_64__ instead of __WORDSIZE.
4792 (_STAT_VER_LINUX): Likewise.
4793 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4794 __syscall_ulong_t and __syscall_slong_t.
4797 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4799 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4801 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4803 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4805 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4807 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4810 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4811 include <bits/wordsize.h>. Check __x86_64__ instead of
4813 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4815 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4817 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4818 include <bits/wordsize.h>. Check __x86_64__ instead of
4820 (user_regs_struct): Use "__extension__ unsigned long long"
4821 instead of "unsigned long" if __x86_64__ is defined.
4822 (user): Likewise. Pad after pointer field if __ILP32__ is
4825 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4827 * configure.in (makeinfo): Require version 4.5 or later. Allow
4829 * configure: Regenerated.
4830 * manual/install.texi (texinfo): Increase version requirement to
4832 * INSTALL: Regenerated.
4834 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4836 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4838 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4840 * sysdeps/x86_64/x32/ffs.c: New file.
4842 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4844 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4845 defined. Use __syscall_ulong_t.
4846 (shminfo): Use __syscall_ulong_t.
4847 (shm_info): Likewise.
4849 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4852 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4854 (msgqnum_t): Use __syscall_ulong_t.
4855 (msglen_t): Likewise.
4856 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4859 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4860 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4862 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4864 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4865 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4867 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4870 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4871 include <bits/wordsize.h>. Check __x86_64__ instead of
4874 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4875 "unsigned long long int" if __x86_64__ is defined.
4876 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4878 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4879 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4880 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4882 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4884 (GET_PC): Cast to uintptr_t first.
4885 (GET_FRAME): Likewise.
4886 (GET_STACK): Likewise.
4888 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4889 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4890 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4891 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4892 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4893 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4894 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4895 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4896 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4897 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4898 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4899 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4900 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4901 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4902 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4903 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4904 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4905 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4906 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4907 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4908 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4909 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4910 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4911 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4912 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4913 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4914 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4915 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4916 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4918 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4920 * Makerules (+depfiles): Also collect depfiles from .oS in
4922 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4923 .oS, $(libnldbl-routines)).
4925 * Makerules (native-compile-mkdep-flags): Define.
4926 * sunrpc/Makefile (extra-objs): Add $(addprefix
4927 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4928 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4929 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4930 calling $(make-target-directory).
4932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4934 * bits/types.h (__snseconds_t): Removed.
4935 * time/time.h (struct timespec): Replace __snseconds_t with
4937 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4938 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4940 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4941 (__SNSECONDS_T_TYPE): Likewise.
4942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4943 (__SNSECONDS_T_TYPE): Likewise.
4944 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4945 (__SNSECONDS_T_TYPE): Likewise.
4947 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4949 * sysdeps/mach/hurd/bits/typesizes.h
4950 (__SYSCALL_SLONG_TYPE): New macro.
4951 (__SYSCALL_ULONG_TYPE): Likewise.
4953 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4955 * bits/types.h (__syscall_slong_t): New type.
4956 (__syscall_ulong_t): Likewise.
4958 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4959 (__SYSCALL_ULONG_TYPE): Likewise.
4960 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4961 (__SYSCALL_SLONG_TYPE): Likewise.
4962 (__SYSCALL_ULONG_TYPE): Likewise.
4963 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4964 (__SYSCALL_SLONG_TYPE): Likewise.
4965 (__SYSCALL_ULONG_TYPE): Likewise.
4966 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4967 (__SYSCALL_SLONG_TYPE): Likewise.
4968 (__SYSCALL_ULONG_TYPE): Likewise.
4970 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4972 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4973 Add sigaltstack-offsets.sym.
4974 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4975 <sigaltstack-offsets.h>.
4976 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4977 longjmp_msg pointer.
4978 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4979 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4981 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4983 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4985 * elf/stackguard-macros.h: Remove file.
4986 * sysdeps/generic/stackguard-macros.h: New file.
4987 * sysdeps/i386/stackguard-macros.h: Likewise.
4988 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4989 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4990 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4991 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4992 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4993 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4994 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4995 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4996 <elf/stackguard-macros.h>.
4999 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5000 __aligned__ in attribute.
5001 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5002 (gregset_t): Likewise.
5004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5006 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5007 * sysdeps/x86_64/64/Implies-after: Here. New file.
5008 * sysdeps/x86_64/x32/Implies-after: New file.
5010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5012 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5013 and access return value for _dl_profile_fixup. Use R10_LP to
5016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5018 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5020 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5022 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5023 * sysdeps/x86_64/x32/sysdep.h: New file.
5025 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5027 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5028 * sysdeps/x86_64/setjmp.S: Likewise.
5030 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5032 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5033 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5034 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5035 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5036 remove unused global constant.
5038 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5040 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5041 include of <not-cancel.h>.
5043 2012-05-15 Roland McGrath <roland@hack.frob.com>
5045 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5047 2012-05-15 Jeff Law <law@redhat.com>
5048 Andreas Jaeger <aj@suse.de>
5051 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5053 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5054 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5055 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5056 code changing __hst_map_handle.map.
5058 2012-05-15 Roland McGrath <roland@hack.frob.com>
5060 * configure.in (sysnames): Look for Implies-before and Implies-after
5062 * configure: Regenerated.
5064 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5066 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5067 8-byte data alignment with LP_SIZE alignment.
5069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5071 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5074 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5076 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5078 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5080 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5081 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5082 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5084 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5088 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5089 (stackinfo_sub_sp): Likewise.
5091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5093 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5096 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5098 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5101 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5103 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5106 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5108 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5110 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5112 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5113 into R11_LP and load __x86_64_shared_cache_size_half into
5116 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5118 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5121 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5123 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5125 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5127 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5129 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5130 powerpc32/power7/fpu/s_logb.c via #include.
5131 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5132 powerpc32/power7/fpu/s_logbf.c via #include.
5133 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5134 powerpc32/power7/fpu/s_logbl.c via #include.
5136 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5138 * README.libm: Remove file.
5140 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5142 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5143 count for x32. Use R*_LP and omit operand-size suffix.
5145 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5147 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5148 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5149 * sysdeps/x86_64/x32/shlib-versions: New file.
5151 2012-05-14 Roland McGrath <roland@hack.frob.com>
5153 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5154 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5155 Use _dl_fatal_printf instead.
5157 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5159 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5160 set if not set by the user. Do not allow for being unset.
5161 * sysdeps/unix/sysv/linux/configure: Regenerated.
5163 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5165 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5166 the `q' suffix from lea and replace .quad with ASM_ADDR.
5168 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5170 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5171 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5173 (PTR_DEMANGLE): Likewise.
5175 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5177 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5179 (ASM_ADDR): Likewise.
5197 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5199 * sysdeps/x86_64/x32/dl-machine.h: New file.
5201 2012-05-14 Andreas Jaeger <aj@suse.de>
5203 * manual/Makefile (subdir): Remove export of subdir.
5204 (all): Remove target.
5205 (.PHONY): Remove all from list.
5206 (mkinstalldirs): Remove.
5207 (.PHONY): Remove installdirs from list.
5208 ($(inst_infodir)/libc.info): Use make-target-directory.
5209 (installdirs): Remove.
5211 (glibc-targets): Remove.
5214 ($(objpfx)stubs ../po/manual.pot): Remove.
5215 ($(objpfx)stamp%): Remove.
5216 (make-target-directory): Remove.
5217 (subdir_install): Remove.
5225 * manual/.gitignore: Remove, it's not needed anymore.
5226 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5228 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5230 (texis): Renamed to $(objpfx)texis.
5231 (texis-path): New, contains path to generated files.
5232 (chapters.%): Use texis-path for complete path, add extra argument
5234 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5235 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5236 (summary,texi, stamp-summary): Use complete path of
5237 files. Generate files in build dir.
5238 (dir-add.texi): Build in build dir.
5239 (libm-err.texi,stamp-libm-err): Likewise.
5240 (version.texi, stamp-version): Likewise.
5241 (.%c.texi): Likewise.
5242 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5243 (mostlyclean): Remove target.
5244 (realclean): Remove target.
5245 (generated): Add new variable with contents from mostlyclean and
5246 realclean, remove entries duplicated in common-mostlyclean, add
5247 stamp-libm-err and stamp-version.
5248 (generated-dirs): Add libc directory.
5249 ($(inst_infodir)/libc.info): Install files from build dir.
5251 * manual/install.texi (Configuring and compiling): Adjust since
5252 the info files are not part of the tar ball anymore.
5254 2012-05-14 Andreas Jaeger <aj@suse.de>
5256 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5259 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5262 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5263 to 2.2.0 where earlier.
5264 * sysdeps/unix/sysv/linux/configure: Regenerated.
5265 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5266 Remove conditional code.
5267 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5268 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5269 Remove conditional code.
5270 [!__NR_lchown]: Likewise.
5271 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5272 [__NR_lchown]: Likewise.
5273 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5274 comment referencing __ASSUME_LCHOWN_SYSCALL.
5275 * sysdeps/unix/sysv/linux/i386/sigaction.c
5276 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5277 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5278 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5279 Remove conditional code.
5280 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5281 (__protocol_available): Remove #if 0 code.
5282 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5284 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5285 * sysdeps/unix/sysv/linux/kernel-features.h
5286 (__ASSUME_GETCWD_SYSCALL): Don't define.
5287 (__ASSUME_REALTIME_SIGNALS): Likewise.
5288 (__ASSUME_PREAD_SYSCALL): Likewise.
5289 (__ASSUME_PWRITE_SYSCALL): Likewise.
5290 (__ASSUME_POLL_SYSCALL): Likewise.
5291 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5292 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5294 (__ASSUME_SIOCGIFNAME): Don't define.
5295 (__ASSUME_MSG_NOSIGNAL): Likewise.
5296 (__ASSUME_SENDFILE): Define unconditionally.
5297 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5298 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5300 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5301 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5302 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5303 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5304 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5305 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5306 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5308 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5311 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5312 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5314 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5317 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5318 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5320 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5321 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5323 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5324 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5326 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5327 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5329 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5330 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5331 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5332 Remove conditional code.
5333 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5334 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5335 Remove conditional code.
5336 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5337 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5338 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5339 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5340 Remove conditional code.
5341 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5342 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5343 Remove conditional code.
5344 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5345 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5346 Remove conditional code.
5347 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5348 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5349 Remove conditional code.
5350 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5351 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5352 Remove conditional code.
5353 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5354 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5355 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5356 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5357 * sysdeps/unix/sysv/linux/sigaction.c
5358 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5359 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5360 * sysdeps/unix/sysv/linux/sigpending.c
5361 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5362 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5363 * sysdeps/unix/sysv/linux/sigprocmask.c
5364 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5365 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5366 * sysdeps/unix/sysv/linux/sigsuspend.c
5367 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5368 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5369 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5370 (__libc_missing_rt_sigs): Remove.
5371 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5372 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5373 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5374 Remove conditional code.
5375 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5376 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5378 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5379 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5380 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5381 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5383 2012-05-14 Andreas Jaeger <aj@suse.de>
5385 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5386 it's not used in glibc.
5387 (__coshm1): Likewise.
5388 (__acosh1p): Likewise.
5391 * manual/string.texi (Copying and Concatenation): Add missing
5392 variable in concat example.
5393 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5395 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5398 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5399 __builtin_clzl with __builtin_clzll.
5401 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5404 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5407 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5409 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5410 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5411 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5412 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5414 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5416 * NEWS: Update ia64 info.
5418 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5420 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5423 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5425 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5426 * sysdeps/unix/syscalls.list (dup3): Likewise.
5427 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5428 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5430 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5432 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5433 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5435 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5437 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5439 (TLS_IE): Use mov/add instead of movq/addq to load thread
5441 (TLS_GD_PREFIX): New.
5444 2012-05-11 David S. Miller <davem@davemloft.net>
5446 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5447 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5448 (_FPU_SETCW): Likewise.
5450 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5452 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5455 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5458 * iconvdata/gb18030.c: Update tables.
5459 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5460 characters specially.
5461 (BODY for TO_LOOP): Add encoding of missing ranges.
5463 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5466 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5467 * sysdeps/mach/hurd/dup3.c: Likewise.
5468 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5469 * sysdeps/powerpc/memmove.c:: Likewise.
5471 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5473 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5474 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5476 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5478 * elf/elf.h (R_X86_64_RELATIVE64): New.
5479 (R_X86_64_NUM): Updated.
5480 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5481 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5482 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5483 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5484 tst-quad1pie tst-quad2pie
5485 (modules-names): Add tst-quadmod1 tst-quadmod2.
5486 ($(objpfx)tst-quad1): New dependency.
5487 ($(objpfx)tst-quad2): Likewise.
5488 ($(objpfx)tst-quad1pie): Likewise.
5489 ($(objpfx)tst-quad2pie): Likewise.
5490 * sysdeps/x86_64/tst-quad1.c: New file.
5491 * sysdeps/x86_64/tst-quad1pie.c: New file.
5492 * sysdeps/x86_64/tst-quad2.c: Likewise.
5493 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5494 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5495 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5496 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5497 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5499 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5501 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5502 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5503 * streams/stropts.h (t_scalar_t): Define type.
5505 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5506 (_PATH_PRESERVE): Set to "/var/lib".
5507 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5509 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5512 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5513 if __dir_mkfile succeeded.
5515 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5516 checking for _hurd_dtablesize. Unlock it right after having
5517 finished _hurd_dtable allocation.
5519 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5521 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5522 * sysdeps/mach/hurd/configure: Regenerated.
5523 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5524 special-casing to...
5525 * sysdeps/gnu/configure.in: ... this new file.
5526 * sysdeps/unix/sysv/linux/configure: Regenerated.
5527 * sysdeps/gnu/configure: New generated file.
5529 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5530 for Linux: use nsec instead of usec, as well as:
5531 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5532 members of type struct timespec.
5533 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5535 (struct stat64): Likewise.
5536 (_STATBUF_ST_NSEC): New macro.
5537 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5539 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5540 __strtoul_internal rather than strtoul.
5542 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5544 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5547 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5549 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5550 which preserves existing values.
5551 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5553 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5555 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5556 TIMEOUT values. Return EINVAL for NFDS values either negative or
5557 greater than FD_SETSIZE.
5559 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5561 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5562 allocated, call __vm_protect to finish enabling the existing space, and
5563 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5564 allocate the remainder.
5566 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5568 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5569 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5571 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5573 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5574 sysdeps/mach/hurd/readlink.c.
5576 * posix/tst-sysconf.c (posix_options): Only use
5577 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5578 _POSIX_SYNCHRONIZED_IO when they are defined
5579 * sysdeps/mach/hurd/bits/posix_opt.h:
5580 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5581 (_XOPEN_REALTIME): Undefine macro.
5582 (_XOPEN_REALTIME_THREADS): Undefine macro.
5583 (_XOPEN_SHM): Undefine macro.
5584 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5586 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5588 (_POSIX_ASYNC_IO): Undefine macro.
5589 (_POSIX_PRIORITIZED_IO): Undefine macro.
5590 (_POSIX_SPIN_LOCKS): Define macro to -1.
5592 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5593 SA_NODEFER, SA_RESETHAND.
5594 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5595 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5598 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5600 * elf/Makefile (pldd-modules): Define unconditionally.
5602 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5604 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5606 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5608 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5609 Return ENOENT when name is empty.
5610 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5612 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5614 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5616 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5618 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5620 Fix mlock in all cases except non-readable pages.
5621 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5622 instead of VM_PROT_ALL as parameter to __vm_wire function.
5624 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5625 (__mkdir): When path is `/', just fail with EEXIST.
5626 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5628 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5630 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5631 <sys/uio.h> (for writev).
5632 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5633 and <sys/param.h> (for MIN).
5635 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5637 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5638 REQUESTED_TIME. Properly set the remaining time and return EINTR
5641 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5643 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5644 Depend on against $(link-rpcuserlibs).
5646 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5648 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5649 (__libc_stack_end): Do not use attribute_relro.
5650 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5651 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5652 to libthread-provided value.
5653 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5656 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5659 * bits/libc-lock.h (__libc_once_get): New macro.
5660 * sysdeps/mach/bits/libc-lock.h: Likewise.
5661 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5662 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5663 instead of using implementation details.
5665 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5666 * libio/freopen.c: Likewise.
5667 * libio/freopen64.c: Likewise.
5668 * misc/syslog.c: Likewise.
5669 * nscd/connections.c: Likewise.
5670 * nscd/netgroupcache.c: Likewise.
5671 * sysdeps/posix/getcwd.c: Likewise.
5673 2012-05-10 Roland McGrath <roland@hack.frob.com>
5675 * math/w_ilogbf.c: Add #include <limits.h>.
5677 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5679 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5680 path instead of returning without unlocking.
5682 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5683 immediate-write ioctls.
5684 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5686 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5688 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5689 __builtin_frame_address instead of making assumptions about the
5690 location of the return address relative to DATA. Force early load of
5692 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5693 __builtin_frame_address.
5696 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5697 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5698 implement dup3 and do some further code clean-ups.
5699 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5700 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5702 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5704 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5706 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5707 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5708 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5709 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5710 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5713 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5714 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5715 when handler == SIG_ERR, not when handler != SIG_ERR.
5717 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5719 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5720 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5723 accept4 for GNU Hurd.
5724 * include/sys/socket.h (__libc_accept4): New prototype.
5725 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5726 to implement __libc_accept4.
5727 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5729 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5731 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5732 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5733 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5736 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5738 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5740 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5742 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5743 assertion on O_CLOEXEC flag.
5744 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5745 * hurd/intern-fd.c: Likewise.
5746 * hurd/port2fd.c: Likewise.
5748 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5751 * bits/in.h (IPV6_PKTINFO): Define new macro.
5752 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5754 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5759 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5760 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5761 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5762 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5763 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5764 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5765 * math/libm-test.inc (logb_test) : Additional logb tests.
5767 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5768 Andreas Jaeger <aj@suse.de>
5770 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5771 * configure: Regenerated.
5772 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5773 * config.make.in (link-obsolete-rpc): New substituted variable.
5774 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5775 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5776 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5777 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5778 so that libc.a contains the symbols.
5779 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5780 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5781 * sunrpc/auth_none.c: Likewise.
5782 * sunrpc/auth_unix.c: Likewise.
5783 * sunrpc/authdes_prot.c: Likewise.
5784 * sunrpc/authuxprot.c: Likewise.
5785 * sunrpc/clnt_gen.c: Likewise.
5786 * sunrpc/clnt_perr.c: Likewise.
5787 * sunrpc/clnt_raw.c: Likewise.
5788 * sunrpc/clnt_simp.c: Likewise.
5789 * sunrpc/clnt_tcp.c: Likewise.
5790 * sunrpc/clnt_udp.c: Likewise.
5791 * sunrpc/clnt_unix.c: Likewise.
5792 * sunrpc/des_crypt.c: Likewise.
5793 * sunrpc/des_soft.c: Likewise.
5794 * sunrpc/get_myaddr.c: Likewise.
5795 * sunrpc/key_call.c: Likewise.
5796 * sunrpc/key_prot.c: Likewise.
5797 * sunrpc/netname.c: Likewise.
5798 * sunrpc/pm_getmaps.c: Likewise.
5799 * sunrpc/pm_getport.c: Likewise.
5800 * sunrpc/pmap_clnt.c: Likewise.
5801 * sunrpc/pmap_prot.c: Likewise.
5802 * sunrpc/pmap_prot2.c: Likewise.
5803 * sunrpc/pmap_rmt.c: Likewise.
5804 * sunrpc/publickey.c: Likewise.
5805 * sunrpc/rpc_cmsg.c: Likewise.
5806 * sunrpc/rpc_common.c: Likewise.
5807 * sunrpc/rpc_dtable.c: Likewise.
5808 * sunrpc/rpc_prot.c: Likewise.
5809 * sunrpc/rpc_thread.c: Likewise.
5810 * sunrpc/rtime.c: Likewise.
5811 * sunrpc/svc.c: Likewise.
5812 * sunrpc/svc_auth.c: Likewise.
5813 * sunrpc/svc_raw.c: Likewise.
5814 * sunrpc/svc_run.c: Likewise.
5815 * sunrpc/svc_tcp.c: Likewise.
5816 * sunrpc/svc_udp.c: Likewise.
5817 * sunrpc/svc_unix.c: Likewise.
5818 * sunrpc/svcauth_des.c: Likewise.
5819 * sunrpc/xcrypt.c: Likewise.
5820 * sunrpc/xdr.c: Likewise.
5821 * sunrpc/xdr_array.c: Likewise.
5822 * sunrpc/xdr_float.c: Likewise.
5823 * sunrpc/xdr_intXX_t.c: Likewise.
5824 * sunrpc/xdr_mem.c: Likewise.
5825 * sunrpc/xdr_rec.c: Likewise.
5826 * sunrpc/xdr_ref.c: Likewise.
5827 * sunrpc/xdr_sizeof.c: Likewise.
5828 * sunrpc/xdr_stdio.c: Likewise.
5830 2012-05-10 Roland McGrath <roland@hack.frob.com>
5832 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5833 change. Update copyright years.
5835 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5837 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5839 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5840 Joseph Myers <joseph@codesourcery.com>
5841 Paul Pluzhnikov <ppluzhnikov@google.com>
5844 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5846 [cross-compiling] (extra-libs): Likewise.
5847 [cross-compiling] (extra-libs-others): Likewise.
5848 [cross-compiling] (librpcsvc-routines): Likewise.
5849 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5850 [cross-compiling] (omit-deps): Likewise.
5851 (sunrpc-CPPFLAGS): New variable.
5852 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5853 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5854 (cross-rpcgen-objs): New variable.
5855 (extra-objs): Append $(cross-rpcgen-objs).
5856 ($(cross-rpcgen-objs)): New rule.
5857 ($(objpfx)cross-rpcgen): Likewise.
5858 (rpcgen-cmd): Define to use $(built-program-file). Expand
5860 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5861 ($(objpfx)x%.stmp): Likewise.
5862 * sunrpc/proto.h [IS_IN_build] (_): Define.
5863 [IS_IN_build] (_libc_intl_domainname): Likewise.
5865 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5867 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5868 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5869 and R_X86_64_TPOFF64.
5871 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5873 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5874 sysdeps/unix/sysv/syscalls.list.
5877 * sysdeps/unix/sysv/syscalls.list: Remove file.
5879 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5882 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5883 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5884 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5885 (__LC_IDENTIFICATION): Make these macros useful in #if
5886 expressions, as required by C99.
5888 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5890 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5891 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5894 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5896 * stdlib/longlong.h: Updated from GCC.
5898 2012-05-09 Andreas Jaeger <aj@suse.de>
5900 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5901 default is first entry.
5902 (run_mode): Set type.
5903 (main): Remove informal message about syslog.
5904 (options): Fix typo.
5907 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5910 (llrintf): Likewise.
5914 (nearbyint): Likewise.
5915 (nearbyintf): Likewise.
5917 2012-05-09 Andreas Jaeger <aj@suse.de>
5918 Pedro Alves <palves@redhat.com>
5920 * nscd/nscd.c (run_mode): Use enum.
5921 (main): Cleanup coding style issue.
5923 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
5924 Andreas Jaeger <aj@suse.de>
5926 * nscd/nscd.c (go_background): Replaced with...
5927 (run_mode): ... this.
5928 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5929 (options): Add -F --foreground.
5930 (main): Implement it.
5931 (parse_opt): Parse it.
5933 2012-05-09 Andreas Jaeger <aj@suse.de>
5936 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5937 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5938 -Wconversion warning.
5939 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5942 2012-05-09 Joseph Myers <joseph@codesourcery.com>
5944 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5946 (LC_ALL): Use macro-int-constant.
5947 (LC_COLLATE): Likewise.
5948 (LC_CTYPE): Likewise.
5949 (LC_MESSAGES): Likewise.
5950 (LC_MONETARY): Likewise.
5951 (LC_NUMERIC): Likewise.
5952 (LC_TIME): Likewise.
5953 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5954 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5955 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5956 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5958 [C99-based standards] (float_t): Expect type.
5959 [C99-based standards] (double_t): Expect type.
5960 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5962 [C99-based standards] (HUGE_VALL): Likewise.
5963 [C99-based standards] (INFINITY): Likewise.
5964 [C99-based standards] (NAN): Likewise.
5965 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5966 [C99-based standards] (FP_NAN): Likewise.
5967 [C99-based standards] (FP_NORMAL): Likewise.
5968 [C99-based standards] (FP_SUBNORMAL): Likewise.
5969 [C99-based standards] (FP_ZERO): Likewise.
5970 [C99-based standards] (FP_FAST_FMA): Use
5971 optional-macro-int-constant. Specify type. Require == 1.
5972 [C99-based standards] (FP_FAST_FMAF): Likewise.
5973 [C99-based standards] (FP_FAST_FMAL): Likewise.
5974 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5975 [C99-based standards] (FP_ILOGBNAN): Likewise.
5976 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5978 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5979 [C99-based standards] (math_errhandling): Specify type.
5980 [ISO99 || ISO11] (signgam): Do not allow.
5981 [non-C99-based standards] (copysignf): Do not allow.
5982 [non-C99-based standards] (exp2f): Likewise.
5983 [non-C99-based standards] (log2f): Likewise.
5984 [non-C99-based standards] (modff): Allow.
5985 [non-C99-based standards] (erff): Do not allow.
5986 [non-C99-based standards] (erfcf): Likewise.
5987 [non-C99-based standards] (gammaf): Likewise.
5988 [non-C99-based standards] (hypotf): Likewise.
5989 [non-C99-based standards] (j0f): Likewise.
5990 [non-C99-based standards] (j1f): Likewise.
5991 [non-C99-based standards] (jnf): Likewise.
5992 [non-C99-based standards] (lgammaf): Likewise.
5993 [non-C99-based standards] (tgammaf): Likewise.
5994 [non-C99-based standards] (y0f): Likewise.
5995 [non-C99-based standards] (y1f): Likewise.
5996 [non-C99-based standards] (ynf): Likewise.
5997 [non-C99-based standards] (isnanf): Likewise.
5998 [non-C99-based standards] (acoshf): Likewise.
5999 [non-C99-based standards] (asinhf): Likewise.
6000 [non-C99-based standards] (atanhf): Likewise.
6001 [non-C99-based standards] (cbrtf): Likewise.
6002 [non-C99-based standards] (expm1f): Likewise.
6003 [non-C99-based standards] (ilogbf): Likewise.
6004 [non-C99-based standards] (log1pf): Likewise.
6005 [non-C99-based standards] (logbf): Likewise.
6006 [non-C99-based standards] (nextafterf): Likewise.
6007 [non-C99-based standards] (remainderf): Likewise.
6008 [non-C99-based standards] (rintf): Likewise.
6009 [non-C99-based standards] (scalbf): Likewise.
6010 [non-C99-based standards] (copysignl): Likewise.
6011 [non-C99-based standards] (exp2l): Likewise.
6012 [non-C99-based standards] (log2l): Likewise.
6013 [non-C99-based standards] (modfl): Allow.
6014 [non-C99-based standards] (erfl): Do not allow.
6015 [non-C99-based standards] (erfcl): Likewise.
6016 [non-C99-based standards] (gammal): Likewise.
6017 [non-C99-based standards] (hypotl): Likewise.
6018 [non-C99-based standards] (j0l): Likewise.
6019 [non-C99-based standards] (j1l): Likewise.
6020 [non-C99-based standards] (jnl): Likewise.
6021 [non-C99-based standards] (lgammal): Likewise.
6022 [non-C99-based standards] (tgammal): Likewise.
6023 [non-C99-based standards] (y0l): Likewise.
6024 [non-C99-based standards] (y1l): Likewise.
6025 [non-C99-based standards] (ynl): Likewise.
6026 [non-C99-based standards] (isnanl): Likewise.
6027 [non-C99-based standards] (acoshl): Likewise.
6028 [non-C99-based standards] (asinhl): Likewise.
6029 [non-C99-based standards] (atanhl): Likewise.
6030 [non-C99-based standards] (cbrtl): Likewise.
6031 [non-C99-based standards] (expm1l): Likewise.
6032 [non-C99-based standards] (ilogbl): Likewise.
6033 [non-C99-based standards] (log1pl): Likewise.
6034 [non-C99-based standards] (logbl): Likewise.
6035 [non-C99-based standards] (nextafterl): Likewise.
6036 [non-C99-based standards] (remainderl): Likewise.
6037 [non-C99-based standards] (rintl): Likewise.
6038 [non-C99-based standards] (scalbl): Likewise.
6039 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6040 [non-C99-based standards] (FP_*): Do not allow.
6041 [C99-based standards] (FP_*): Change to
6042 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6043 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6045 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6046 (SIG_ERR): Likewise.
6047 [X/Open-based standards] (SIG_HOLD): Likewise.
6048 (SIG_IGN): Likewise.
6049 (SIGABRT): Use macro-int-constant. Specify type. Require
6054 (SIGSEGV): Likewise.
6056 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6057 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6058 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6059 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6060 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6061 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6062 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6063 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6064 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6065 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6066 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6067 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6068 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6069 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6070 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6071 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6072 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6073 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6074 [X/Open-based standards] (SIGTRAP): Likewise.
6075 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6076 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6077 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6078 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6079 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6082 2012-05-08 Ian Wienand <ianw@vmware.com>
6085 * time/tzset.c (__tzset_parse_tz): Update default rules for
6086 daylight time changes in the Energy Policy Act of 2005.
6088 2012-05-09 Andreas Jaeger <aj@suse.de>
6091 * elf/ldconfig.c (parse_conf): Change string to make clear that
6092 ldconfig only issued a warning if ld.so.conf does not exist.
6094 2012-05-08 David S. Miller <davem@davemloft.net>
6096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6097 movxtod instead of popping the value on the stack.
6099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6101 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6103 * config.h.in: Add HAVE_ARM_PCS_VFP.
6105 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6108 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6109 checking but the checks are disabled for any reason.
6111 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6113 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6114 and ELF64_R_TYPE with ELFW(R_TYPE).
6116 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6118 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6121 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6122 (settimeofday): Likewise.
6124 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6126 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6127 a struct th_u2 inside the union, and move tu_block/tu_code into
6128 a new th_u3 union of tu_block/tu_code inside of that. Move
6129 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6130 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6131 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6132 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6133 (th_stuff): Change to th_u1.tu_stuff.
6135 (th_msg): Change to th_u1.th_u2.tu_data.
6137 2012-05-07 David S. Miller <davem@davemloft.net>
6139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6142 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6143 (SETUP_PIC_REG): Use it.
6144 (SETUP_PIC_REG_LEAF): Use it.
6146 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6150 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6152 (EXPL_FINITE): Likewise.
6154 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6155 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6157 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6159 (EXPL_FINITE): Likewise.
6161 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6162 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6164 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6165 test of -max_value argument for long double.
6166 * sysdeps/i386/fpu/libm-test-ulps: Update.
6167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6169 2012-05-06 David S. Miller <davem@davemloft.net>
6171 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6172 quad soft-float symbols whose references which are compiler
6174 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6176 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6180 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6182 (EXPL_FINITE): Likewise.
6186 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6187 Adjust comments for base varying.
6188 (__expl_finite): Change alias to EXPL_FINITE.
6189 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6191 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6192 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6193 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6194 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6195 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6197 (EXPL_FINITE): Likewise.
6201 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6202 Adjust comments for base varying.
6203 (__expl_finite): Change alias to EXPL_FINITE.
6204 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6209 * math/libm-test.inc (check_float_internal): Correct ulp
6210 calculation for subnormal expected results.
6212 2012-05-06 Andreas Jaeger <aj@suse.de>
6214 * Makeconfig (+math-flags): New, set to -frounding-math.
6215 (+cflags): Add +math-flags so that all of glibc gets compiled with
6218 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6220 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6222 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6228 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6229 (__ieee754_expl): Allow for and saturate large arguments.
6230 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6231 (u_threshold): Likewise.
6232 (__exp): Call __ieee754_exp before checking for overflow and
6234 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6235 (u_threshold): Likewise.
6236 (__expf): Call __ieee754_expf before checking for overflow and
6238 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6239 (u_threshold): Likewise.
6240 (__expl): Call __ieee754_expl before checking for overflow and
6242 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6243 (__ieee754_expl): Allow for and saturate large arguments.
6244 * math/libm-test.inc (exp_test): Add another test. Do not allow
6245 missing overflow exception on overflow.
6246 (expm1_test): Do not allow missing overflow exception on overflow.
6248 * sysdeps/i386/fpu/e_expl.c: Move to ...
6249 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6250 rather than using inline asm.
6251 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6252 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6253 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6255 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6262 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6264 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6265 sysdeps/unix/common/syscalls.list.
6268 (ftruncate): Likewise.
6269 (getrusage): Likewise.
6270 (gettimeofday): Likewise.
6271 (setpgid): Likewise.
6272 (setregid): Likewise.
6273 (setreuid): Likewise.
6274 (sigaction): Likewise.
6275 (truncate): Likewise.
6276 (vhangup): Likewise.
6277 * sysdeps/unix/common/syscalls.list: Remove file.
6278 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6279 * sysdeps/unix/sysv/linux/Implies: Likewise.
6281 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6283 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6285 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6289 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6292 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6295 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6298 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6301 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6304 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6307 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6311 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6315 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6318 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6322 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6326 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6328 * sysdeps/unix/common/bits/dirent.h: Remove file.
6329 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6331 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6332 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6333 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6334 * sysdeps/unix/bsd/isatty.c: Likewise.
6335 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6336 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6337 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6339 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6342 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6343 long double comparison inaccuracies.
6344 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6347 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6349 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6350 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6352 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6355 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6356 nonzero digits before rounding a hex value.
6357 * stdlib/tst-strtod.c (tests): Add another test.
6359 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6361 * sysdeps/s390/fpu/libm-test-ulps: Update.
6363 2012-05-03 Andreas Jaeger <aj@suse.de>
6365 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6366 does not get optimized out.
6367 (malloc_opt_barrier): New.
6369 2012-05-03 Andreas Jaeger <aj@suse.de>
6370 Roland McGrath <roland@hack.frob.com>
6372 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6373 intermediate file deletion.
6374 (generated): Add .symlist files.
6376 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6379 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6380 Redirect under this condition.
6381 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6382 [__USE_GNU] (__dprintf_chk): Not under this condition.
6383 [__USE_GNU] (__vdprintf_chk): Likewise.
6384 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6385 under this condition.
6386 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6387 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6388 [__USE_XOPEN2K8] (vdprintf): Likewise.
6389 [__USE_GNU] (__dprintf_chk): Not under this condition.
6390 [__USE_GNU] (__vdprintf_chk): Likewise.
6391 [__USE_GNU] (dprintf): Likewise.
6392 [__USE_GNU] (vdprintf): Likewise.
6394 2012-05-03 Roland McGrath <roland@hack.frob.com>
6396 * elf/Makefile (common-generated): Set this instead of generated for
6397 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6398 $(all-built-dso)-derived lists.
6400 2012-05-03 Andreas Jaeger <aj@suse.de>
6402 * sysdeps/i386/fpu/libm-test-ulps: Update.
6406 * scripts/gen-FAQ.pl: Likewise.
6407 * manual/install.texi (Installation): Point to online location of
6409 * Makefile (files-for-dist): Remove FAQ.
6412 2012-05-02 Allan McRae <allan@archlinux.org>
6414 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6415 (LDFLAGS-reldepmod5.so): Likewise.
6416 (LDFLAGS-reldep6mod1.so): Likewise.
6417 (LDFLAGS-reldep6mod4.so): Likewise.
6418 (LDFLAGS-reldep8mod3.so): Likewise.
6419 (LDFLAGS-unload4mod1.so): Likewise.
6420 (LDFLAGS-unload4mod2.so): Likewise.
6421 (LDFLAGS-tst-initorder): Likewise.
6422 (LDFLAGS-tst-initordera2.so): Likewise.
6423 (LDFLAGS-tst-initordera3.so): Likewise.
6424 (LDFLAGS-tst-initordera4.so): Likewise.
6425 (LDFLAGS-tst-initorderb2.so): Likewise.
6426 (LDFLAGS-noload): Likewise.
6427 (LDFLAGS-next): Likewise.
6428 (LDFLAGS-order2mod1.so): Likewise.
6429 (LDFLAGS-order2mod2.so): Likewise.
6430 (LDFLAGS-tst-initorder2): Likewise.
6431 (LDFLAGS-tst-initorder2a.so): Likewise.
6432 (LDFLAGS-tst-initorder2b.so): Likewise.
6433 (LDFLAGS-tst-initorder2c.so): Likewise.
6434 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6436 2012-05-02 David S. Miller <davem@davemloft.net>
6438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6440 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6443 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6445 2012-05-02 Andreas Jaeger <aj@suse.de>
6447 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6448 since we manipulate rounding mode.
6449 (CPPFLAGS-test-idouble.c): Likewise.
6450 (CPPFLAGS-test-ifloat.c): Likewise.
6451 (CFLAGS-test-ldouble.c): Likewise.
6452 (CFLAGS-test-double.c): Likewise.
6453 (CFLAGS-test-float.c): Likewise.
6454 (CFLAGS-test-misc.c): Likewise.
6455 (CFLAGS-test-test-fenv.c): Likewise.
6457 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6461 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6462 comparisons to determine direction to adjust input.
6464 2012-05-01 Roland McGrath <roland@hack.frob.com>
6466 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6467 output to the target.
6469 * scripts/localplt.awk: New file.
6470 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6471 (check-localplt-CFLAGS): Variable removed.
6472 ($(all-built-dso:=.jmprel)): New static pattern rule.
6473 (generated): Add those targets.
6474 (localplt-built-dso): New variable.
6475 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6477 * elf/check-localplt.c: File removed.
6479 * scripts/check-execstack.awk: New file.
6480 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6481 (check-execstack-CFLAGS): Variable removed.
6482 ($(objpfx)check-execstack.h): Target removed.
6483 ($(objpfx)execstack-default): New target.
6484 (generated): Add that instead of check-execstack.h.
6485 ($(all-built-dso:=.phdr)): New static pattern rule.
6486 (generated): Add those targets.
6487 * elf/check-execstack.c: File removed.
6489 * scripts/check-textrel.awk: New file.
6490 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6491 (check-textrel-CFLAGS): Variable removed.
6492 (all-built-dso): Use := to define.o
6493 ($(all-built-dso:=.dyn)): New static pattern rule.
6494 (generated): Add those targets.
6495 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6496 * config.make.in (READELF): New substituted variable.
6497 * elf/check-textrel.c: File removed.
6499 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6501 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6503 * conform/data/ctype.h-data [C99-based standards] (isblank):
6505 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6506 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6507 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6508 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6509 Specify type. Require positive value.
6512 [ISO || POSIX] (EILSEQ): Do not expect.
6513 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6514 Specify type. Require positive value.
6515 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6516 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6517 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6518 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6519 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6520 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6521 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6522 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6523 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6524 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6525 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6526 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6527 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6528 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6529 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6530 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6531 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6532 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6533 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6534 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6535 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6536 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6537 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6538 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6539 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6540 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6541 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6542 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6543 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6544 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6545 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6546 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6547 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6548 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6549 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6550 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6551 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6552 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6553 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6554 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6555 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6556 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6557 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6558 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6559 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6560 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6561 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6562 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6563 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6564 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6565 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6566 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6567 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6568 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6569 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6570 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6571 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6572 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6573 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6574 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6575 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6576 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6577 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6578 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6579 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6580 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6581 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6582 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6583 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6584 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6585 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6586 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6587 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6588 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6589 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6590 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6591 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6593 (FLT_ROUNDS): Expect as macro, not constant.
6594 (FLT_MANT_DIG): Use macro-int-constant.
6595 (DBL_MANT_DIG): Likewise.
6596 (LDBL_MANT_DIG): Likewise.
6597 (FLT_DIG): Likewise.
6598 (DBL_DIG): Likewise.
6599 (LDBL_DIG): Likewise.
6600 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6601 (DBL_MIN_EXP): Likewise.
6602 (LDBL_MIN_EXP): Likewise.
6603 (FLT_MAX_EXP): Use macro-int-constant.
6604 (DBL_MAX_EXP): Likewise.
6605 (LDBL_MAX_EXP): Likewise.
6606 (FLT_MAX_10_EXP): Likewise.
6607 (DBL_MAX_10_EXP): Likewise.
6608 (LDBL_MAX_10_EXP): Likewise.
6609 (FLT_MAX): Use macro-constant.
6610 (DBL_MAX): Likewise.
6611 (LDBL_MAX): Likewise.
6612 (FLT_EPSILON): Use macro-constant. Give upper bound.
6613 (DBL_EPSILON): Likewise.
6614 (LDBL_EPSILON): Likewise.
6615 (FLT_MIN): Likewise.
6616 (DBL_MIN): Likewise.
6617 (LDBL_MIN): Likewise.
6618 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6619 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6620 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6621 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6622 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6623 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6624 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6625 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6626 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6627 [ISO11] (FLT_TRUE_MIN): Likewise.
6628 [ISO11] (LDBL_TRUE_MIN): Likewise.
6629 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6630 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6631 (SCHAR_MIN): Use macro-int-constant. Specify type.
6632 (SCHAR_MAX): Likewise.
6633 (UCHAR_MAX): Likewise.
6634 (CHAR_MIN): Likewise.
6635 (CHAR_MAX): Likewise.
6636 (MB_LEN_MAX): Use macro-int-constant.
6637 (SHRT_MIN): Use macro-int-constant. Specify type.
6638 (SHRT_MAX): Likewise.
6639 (USHRT_MAX): Likewise.
6640 (INT_MAX): Likewise.
6641 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6643 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6645 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6647 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6648 bound negative. Suffix upper bound with "L".
6649 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6651 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6653 [C99-based standards] (LLONG_MAX): Likewise.
6654 [C99-based standards] (ULLONG_MAX): Likewise.
6655 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6657 [ISO11] (max_align_t): Require type.
6658 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6660 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6661 from $CFLAGS, without defining away __attribute__ calls.
6662 (checknamespace): Use $CFLAGS_namespace.
6664 * conform/conformtest.pl (@keywords): Only include C99 keywords
6665 for standards based on C99 or C11.
6667 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6669 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6672 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6673 usability of symbols in #if.
6675 * conform/conformtest.pl: If macro or constant types start
6676 "promoted:", expect the symbol to be of the following type
6677 promoted by the integer promotions.
6679 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6680 in one place. Also handle "macro-constant".
6682 * conform/conformtest.pl: Only accept expected macro values with
6683 "==". Parse all "macro" lines in one place.
6684 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6686 * conform/conformtest.pl: Handle braced types on "constant" lines
6687 instead of handling "typed-constant".
6688 * conform/data/signal.h-data: Use "constant" instead of
6691 * conform/conformtest.pl: Handle "optional-" at start of lines in
6692 one place rather than duplicating several cases. Handle each
6693 format of "macro" line with initial "optional-".
6695 * conform/conformtest.pl: Only accept expected constant or
6696 optional-constant values with "==". Parse all "constant" lines in
6697 one place. Parse all "optional-constant" lines in one place.
6698 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6699 * conform/data/fmtmsg.h-data: Likewise.
6700 * conform/data/netinet/in.h-data: Likewise.
6701 * conform/data/tar.h-data: Likewise.
6702 * conform/data/limits.h-data: Use "==" form on "constant" and
6703 "optional-constant" lines.
6705 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6706 Use -std=c99 for XOPEN2K.
6707 (@knownproblems): Remove.
6708 (newtoken): Don't check %isknown.
6710 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6711 Do not expect macro.
6712 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6713 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6714 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6715 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6716 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6717 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6718 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6719 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6720 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6721 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6722 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6723 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6724 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6725 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6726 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6727 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6728 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6729 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6730 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6731 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6732 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6733 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6734 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6735 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6736 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6737 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6738 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6739 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6740 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6741 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6742 [XPG3] (acosh): Likewise.
6743 [XPG3] (asinh): Likewise.
6744 [XPG3] (atanh): Likewise.
6745 [XPG3] (cbrt): Likewise.
6746 [XPG3] (expm1): Likewise.
6747 [XPG3] (ilogb): Likewise.
6748 [XPG3] (log1p): Likewise.
6749 [XPG3] (logb): Likewise.
6750 [XPG3] (nextafter): Likewise.
6751 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6752 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6753 [XPG3] (remainder): Likewise.
6754 [XPG3] (rint): Likewise.
6755 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6756 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6757 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6758 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6759 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6760 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6761 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6762 [UNIX98 || XOPEN2K] (scalb): Expect.
6763 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6764 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6765 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6766 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6767 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6768 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6769 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6770 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6771 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6772 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6773 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6774 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6775 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6776 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6777 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6778 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6779 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6780 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6781 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6782 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6783 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6784 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6785 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6786 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6787 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6788 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6789 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6790 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6791 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6792 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6793 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6794 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6795 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6796 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6797 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6798 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6799 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6800 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6801 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6802 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6803 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6804 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6805 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6806 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6807 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6808 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6809 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6810 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6811 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6812 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6813 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6814 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6815 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6816 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6817 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6818 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6819 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6820 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6821 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6822 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6823 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6824 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6825 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6826 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6827 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6828 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6829 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6830 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6831 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6832 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6833 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6834 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6835 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6836 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6837 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6838 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6839 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6840 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6841 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6842 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6843 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6844 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6845 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6846 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6847 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6848 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6849 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6850 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6851 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6852 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6853 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6854 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6855 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6856 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6857 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6858 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6859 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6860 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6861 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6862 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6863 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6864 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6865 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6866 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6867 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6868 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6869 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6870 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6871 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6872 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6873 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6874 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6875 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6876 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6877 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6878 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6879 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6880 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6881 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6882 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6883 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6884 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6885 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6886 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6887 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6888 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6889 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6890 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6891 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6892 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6893 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6894 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6895 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6896 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6897 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6898 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6899 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6901 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6902 _XOPEN_SOURCE_EXTENDED for XPG4.
6904 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6906 * Makeconfig (localtime): Remove variable.
6907 (inst_localtime-file): Likewise.
6909 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6930 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6934 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6935 comparisons to determine direction to adjust input.
6936 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6937 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6938 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6940 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6942 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6944 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6945 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6947 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6949 * math/libm-test.inc (nexttoward_test): Add more tests.
6951 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6954 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6955 in version GLIBC_2.1, not GLIBC_2.0.
6956 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6959 2012-04-30 Joseph Myers <joseph@codesourcery.com>
6962 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6964 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6965 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6966 * math/libm-test.inc (acos_test): Add more tests.
6967 (asin_test): Likewise.
6968 * sysdeps/i386/fpu/libm-test-ulps: Update.
6969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6972 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6974 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6975 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6976 * math/libm-test.inc (acos_test_tonearest): New function.
6977 (acos_test_towardzero): Likewise.
6978 (acos_test_downward): Likewise.
6979 (acos_test_upward): Likewise.
6980 (asin_test_tonearest): Likewise.
6981 (asin_test_towardzero): Likewise.
6982 (asin_test_downward): Likewise.
6983 (asin_test_upward): Likewise.
6984 (main): Call the new functions.
6985 * sysdeps/i386/fpu/libm-test-ulps: Update.
6986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6990 * math/e_exp10.c: Include <float.h>.
6991 (__ieee754_exp10): Handle underflow here rather than multiplying
6992 large negative argument by M_LN10.
6993 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6995 * math/e_exp10l.c: Include <float.h>.
6996 (__ieee754_exp10l): Handle underflow here rather than multiplying
6997 large negative argument by M_LN10l.
6998 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6999 spurious overflow exception on underflow.
7001 2012-04-29 Marek Polacek <polacek@redhat.com>
7003 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7004 (__fortify_function): New macro.
7005 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7006 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7007 __extern_always_inline.
7008 * libio/bits/stdio2.h: Likewise.
7009 * libio/bits/stdio.h: Likewise.
7010 * string/string.h: Likewise.
7011 * string/bits/string3.h: Likewise.
7012 * include/stdio.h: Likewise.
7013 * stdlib/bits/stdlib.h: Likewise.
7014 * stdlib/stdlib.h: Likewise.
7015 * rt/bits/mqueue2.h: Likewise.
7016 * rt/mqueue.h: Likewise.
7017 * posix/bits/unistd.h: Likewise.
7018 * posix/unistd.h: Likewise.
7019 * io/bits/poll2.h: Likewise.
7020 * io/bits/fcntl2.h: Likewise.
7021 * io/fcntl.h: Likewise.
7022 * io/sys/poll.h: Likewise.
7023 * misc/bits/syslog.h: Likewise.
7024 * misc/bits/syslog-ldbl.h: Likewise.
7025 * misc/sys/syslog.h: Likewise.
7026 * socket/bits/socket2.h: Likewise.
7027 * socket/sys/socket.h: Likewise.
7028 * debug/tst-chk1.c: Likewise.
7029 * wcsmbs/bits/wchar2.h: Likewise.
7030 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7031 * wcsmbs/wchar.h: Likewise.
7033 2012-04-29 Andreas Jaeger <aj@suse.de>
7035 * Makerules (tests): Remove enable-check-abi protection.
7036 (check-abi-warn): Remove.
7037 (check-abi-%): Remove check-abi-warn usage.
7039 * configure.in: Remove check-abi configure option.
7040 * configure: Regenerated.
7041 * config.make.in (enable-check-abi): Remove.
7043 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7046 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7047 double functions to double *_finite functions.
7050 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7051 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7053 * stdio-common/Makefile (tests): Add tst-sprintf3.
7054 * stdio-common/tst-sprintf3.c: New file.
7056 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7057 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7059 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7061 * conform/conformtest.pl: Remove duplicate typed-constant
7064 2012-04-28 David S. Miller <davem@davemloft.net>
7066 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7067 (check-abi-%): Remove AWK script prerequisite and explicit
7069 (check-abi): Rewrite to just diff the symlist with the abilist.
7070 (config-tls, config-abi-config): Delete, no longer used.
7071 (update-abi-%): Remove AWK script and explicit abilist directory.
7072 (update-abi): Rewrite to simply compare and conditionally copy the
7073 symlist and the sysdep abilist file. Remove update-abi-config
7075 * abilist/ld.abilist: Remove.
7076 * abilist/libBrokenLocale.abilist: Remove.
7077 * abilist/libanl.abilist: Remove.
7078 * abilist/libcrypt.abilist: Remove.
7079 * abilist/libdl.abilist: Remove.
7080 * abilist/librt.abilist: Remove.
7081 * abilist/libthread_db.abilist: Remove.
7082 * abilist/libutil.abilist: Remove.
7083 * scripts/extract-abilist.awk: Remove.
7084 * scripts/merge-abilist.awk: Remove.
7085 * sysdeps/generic/libcidn.abilist: New file.
7086 * sysdeps/generic/libnss_compat.abilist: New file.
7087 * sysdeps/generic/libnss_db.abilist: New file.
7088 * sysdeps/generic/libnss_dns.abilist: New file.
7089 * sysdeps/generic/libnss_files.abilist: New file.
7090 * sysdeps/generic/libnss_hesiod.abilist: New file.
7091 * sysdeps/generic/libnss_nis.abilist: New file.
7092 * sysdeps/generic/libnss_nisplus.abilist: New file.
7093 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7094 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7095 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7097 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7098 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7099 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7100 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7101 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7102 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7103 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7104 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7105 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7107 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7108 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7109 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7110 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7112 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7113 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7114 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7115 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7116 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7117 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7119 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7120 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7121 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7123 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7124 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7126 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7128 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7130 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7132 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7134 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7136 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7138 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7226 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7227 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7228 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7230 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7231 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7232 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7233 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7234 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7235 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7236 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7237 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7238 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7239 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7291 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7293 * conform/conformtest.pl: Fix typo in handling typed-constant from
7296 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7298 * README: Cut down references to pre-2.6 Linux kernels and
7299 Linuxthreads. Update lists of configurations in libc and ports
7300 and sort alphabetically. Say "or newer" with Linux kernel version
7303 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7305 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7308 * math/libm-test.inc (logb_test_downward): New test to expose
7309 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7312 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7315 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7317 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7318 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7320 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7322 * sysdeps/unix/i386/brk.S: Remove file.
7323 * sysdeps/unix/i386/dl-brk.S: Likewise.
7324 * sysdeps/unix/i386/pipe.S: Likewise.
7325 * sysdeps/unix/i386/sigreturn.S: Likewise.
7326 * sysdeps/unix/i386/syscall.S: Likewise.
7327 * sysdeps/unix/i386/vfork.S: Likewise.
7328 * sysdeps/unix/i386/wait.S: Likewise.
7330 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7331 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7333 * configure.in (arm*-none*): Do not allow without
7334 --enable-hacker-mode.
7335 (netbsd*): Remove case setting base_os.
7336 (386bsd*): Likewise.
7337 (freebsd*): Likewise.
7341 (ultrix*): Likewise.
7342 (newsos*): Likewise.
7352 (solaris[2-9]*): Likewise.
7354 * configure: Regenerated.
7356 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7359 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7360 overflow or cancellation in calculating denominator.
7361 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7362 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7363 down expression to avoid unexpected rounding in newer GCCs.
7364 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7366 2012-04-26 David S. Miller <davem@davemloft.net>
7368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7369 long-double compat symbols.
7370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7384 2012-04-25 David S. Miller <davem@davemloft.net>
7386 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7387 HWCAP_* values only after the memory barriers have been defined.
7388 (atomic_full_barrier): Define.
7389 (atomic_read_barrier): Define.
7390 (atomic_write_barrier): Define.
7392 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7394 * shlib-versions: Add libgcc_s version information.
7395 * sysdeps/generic/libgcc_s.h: Remove.
7396 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7398 * sysdeps/gnu/unwind-resume.c: Likewise.
7399 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7401 2012-04-25 David S. Miller <davem@davemloft.net>
7403 * sysdeps/unix/sparc/brk.S: Delete.
7404 * sysdeps/unix/sparc/dl-brk.S: Delete.
7405 * sysdeps/unix/sparc/pipe.S: Delete.
7406 * sysdeps/unix/sparc/sysdep.S: Delete.
7407 * sysdeps/unix/sparc/sysdep.h: Delete.
7408 * sysdeps/unix/sparc/vfork.S: Delete.
7409 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7410 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7411 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7412 ret_ERRVAL, r0, r1, MOVE): Define.
7413 (JUMPTARGET): Remove.
7414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7415 sysdeps/unix/sparc/sysdep.h
7416 (ENTRY, END): Remove.
7417 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7419 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7421 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7422 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7425 * timezone/README: Update upstream location and email address for
7427 * timezone/zdump.c: Update from tzcode 2012b.
7428 * timezone/zic.c: Likewise.
7430 * configure.in (libc_cv_as_needed): Remove test.
7431 * configure: Regenerated.
7432 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7433 conditional definition.
7434 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7435 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7436 * config.make.in (have-as-needed): Remove variable.
7438 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7439 Paul Pluzhnikov <ppluzhnikov@google.com>
7441 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7444 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7446 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7447 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7448 * sysdeps/sh/strlen.S: Likewise.
7450 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7452 * sysdeps/unix/fork.S: Remove file.
7453 * sysdeps/unix/i386/fork.S: Likewise.
7454 * sysdeps/unix/sparc/fork.S: Likewise.
7456 * sysdeps/unix/system.c: Remove file.
7457 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7459 * sysdeps/unix/getegid.S: Remove file.
7460 * sysdeps/unix/geteuid.S: Likewise.
7462 2012-04-24 Roland McGrath <roland@hack.frob.com>
7464 * scripts/check-localplt.awk: New file.
7465 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7467 * scripts/data/localplt-generic.data: Add a comment.
7469 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7470 NODE when __dir_mkfile failed.
7471 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7472 Reported by Ludovic Courtès <ludo@gnu.org>.
7474 2012-04-24 Andreas Jaeger <aj@suse.de>
7476 * Makerules (common-clean): Also remove gen-as-const-headers
7479 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7481 * Makerules (native-compile): Do not change working directory for
7482 build. Use $(OUTPUT_OPTION) in command.
7483 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7485 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7488 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7489 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7490 * math/libm-test.inc (floor_test): Add more tests.
7491 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7493 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7495 * sysdeps/unix/getdents.c: Remove file.
7496 * sysdeps/unix/sysv/getdents.c: Likewise.
7497 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7499 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7500 sysdeps/unix/mman/syscalls.list.
7502 (mprotect): Likewise.
7505 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7506 * sysdeps/unix/mman/syscalls.list: Remove.
7507 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7509 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7510 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7511 * configure: Regenerated.
7512 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7514 * config.make.in (libgcc_s_suffix): Remove variable.
7516 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7518 * sysdeps/unix/sysv/gethostname.c: Move to ...
7519 * sysdeps/posix/gethostname.c: ... here.
7521 * sysdeps/unix/execve.S: Remove file.
7523 * sysdeps/unix/_exit.S: Remove file.
7525 2012-04-23 Andreas Jaeger <aj@suse.de>
7528 * manual/Makefile: Remove make dist support, there's no
7529 need for a stand-alone documentation tar ball.
7530 (TEXI2DVI): Define always, it's not in Makeconfig.
7534 (glibc-doc-$(edition).tar): Removed
7538 (ETAGS): Remove, it's in Makeconfig.
7539 (move-if-change): Remove, it's in Makeconfig.
7541 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7544 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7545 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7546 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7547 (strtod_l, strtof_l, strtold_l): Remove __wur.
7548 It is not necessarily an error to ignore strtol's return value.
7549 One can reliably look at the stored endptr to decide whether
7550 the number had valid syntax.
7552 2012-04-21 Andreas Jaeger <aj@suse.de>
7555 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7557 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7559 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7560 * sysdeps/unix/sysv/Versions: Remove file.
7562 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7567 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7570 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7571 version from __vm86.
7573 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7575 * sysdeps/unix/common/lxstat.c: Remove file.
7576 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7578 * sysdeps/unix/sysv/Makefile: Remove file.
7580 * sysdeps/unix/sysv/direct.h: Remove file.
7582 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7583 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7584 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7585 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7586 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7587 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7588 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7590 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7592 * sysdeps/unix/xmknod.c: Remove file.
7593 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7595 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7597 * sysdeps/unix/sysv/i386/time.S: Remove file.
7599 * sysdeps/unix/fxstat.c: Remove file.
7600 * sysdeps/unix/xstat.c: Likewise.
7601 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7603 * sysdeps/unix/sysv/sigaction.c: Remove file.
7605 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7606 (sysdep_headers): Remove variable.
7607 [termio.h not in sysdep_headers] (generated): Likewise.
7608 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7609 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7610 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7611 * sysdeps/unix/sysv/tcflow.c: Likewise.
7612 * sysdeps/unix/sysv/tcflush.c: Likewise.
7613 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7614 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7615 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7616 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7617 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7619 * sysdeps/unix/siglist.c: Remove file.
7621 * sysdeps/unix/getppid.S: Remove file.
7623 * sysdeps/unix/mkdir.c: Remove file.
7624 * sysdeps/unix/rmdir.c: Likewise.
7626 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7628 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7630 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7631 errlist-compat value.
7633 2012-04-18 David S. Miller <davem@davemloft.net>
7635 * sysdeps/generic/memcopy.h (reg_char): Delete.
7636 * debug/strcat_chk.c: Use char, not reg_char.
7637 * debug/strcpy_chk.c: Likewise.
7638 * debug/strncat_chk.c: Likewise.
7639 * debug/strncpy_chk.c: Likewise.
7640 * string/memchr.c: Likewise.
7641 * string/memrchr.c: Likewise.
7642 * string/rawmemchr.c: Likewise.
7643 * string/strcat.c: Likewise.
7644 * string/strchr.c: Likewise.
7645 * string/strchrnul.c: Likewise.
7646 * string/strcmp.c: Likewise.
7647 * string/strcpy.c: Likewise.
7648 * string/strncat.c: Likewise.
7649 * string/strncmp.c: Likewise.
7650 * string/strncpy.c: Likewise.
7652 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7654 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7655 __builtin_memcopy is called when src and dest ranges are known to not
7658 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7660 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7661 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7662 fwd_align_merge macro call.
7663 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7664 bwd_align_merge macro call.
7665 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7667 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7669 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7670 bwd_align_merge macros.
7671 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7672 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7673 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7675 2012-04-18 David S. Miller <davem@davemloft.net>
7677 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7679 2012-04-18 Andreas Jaeger <aj@suse.de>
7682 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7683 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7684 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7686 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7687 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7688 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7690 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7691 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7692 Adjust for changed ldbl-128 files.
7694 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7695 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7696 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7698 2012-04-17 David S. Miller <davem@davemloft.net>
7700 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7702 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7704 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7705 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7706 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7707 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7708 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7709 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7711 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7714 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7715 * math/libm-test.inc: Add ilogb errno and exception tests.
7716 * math/w_ilogb.c: New file: ilogb wrapper.
7717 * math/w_ilogbf.c: New file: ilogbf wrapper.
7718 * math/w_ilogbl.c: New file: ilogbl wrapper.
7719 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7720 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7721 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7722 exception being thrown with 0.0 as argument.
7723 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7724 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7725 exception being thrown with 0.0 as argument.
7726 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7727 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7728 exception being thrown with 0.0 as argument.
7729 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7730 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7731 exception being thrown with 0.0 as argument.
7732 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7733 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7734 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7735 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7736 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7737 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7738 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7739 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7740 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7742 2012-04-17 Petr Baudis <pasky@ucw.cz>
7744 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7747 2012-04-16 Marek Polacek <polacek@redhat.com>
7749 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7751 2012-04-16 Marek Polacek <polacek@redhat.com>
7753 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7754 operands of fdivp instruction.
7756 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7758 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7759 * elf/tst-auditmod3b.c: Likewise.
7760 * elf/tst-auditmod4b.c: Likewise.
7761 * elf/tst-auditmod5b.c: Likewise.
7762 * elf/tst-auditmod6b.c: Likewise.
7763 * elf/tst-auditmod6c.c: Likewise.
7764 * elf/tst-auditmod7b.c: Likewise.
7765 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7766 * sysdeps/x86_64/preconfigure.in: Likewise.
7767 * sysdeps/x86_64/preconfigure: Regenerated.
7769 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7771 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7774 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
7776 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7777 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7779 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7782 * locale/iso-639.def: Fix gl language name. Spotted by
7785 2012-04-12 Roland McGrath <roland@hack.frob.com>
7788 * libio/libio.h (__io_write_fn): Update comment.
7790 2012-04-12 Petr Baudis <pasky@ucw.cz>
7793 * stdio.texi (Hook Functions): The user provided writer function
7794 is not allowed to return -1.
7796 2012-04-11 David S. Miller <davem@davemloft.net>
7798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7800 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7802 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7803 Add a leading slash to rtkaio.
7805 2012-04-11 Jim Meyering <meyering@redhat.com>
7808 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7809 It is not necessarily an error to ignore fwrite's return
7810 value. One can reliably use ferror to test for errors after
7813 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7815 * bits/types.h (__snseconds_t): New type.
7816 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7818 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7819 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7820 (__SNSECONDS_T_TYPE): Likewise.
7821 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7822 (__SNSECONDS_T_TYPE): Likewise.
7823 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7824 (__SNSECONDS_T_TYPE): Likewise.
7826 2012-04-10 Andreas Jaeger <aj@suse.de>
7829 * manual/time.texi (Processor Time): Return type of times is
7830 elapsed real time since an arbitrary point in the past.
7831 (CPU Time): Move CLK_TCK from here...
7832 (Processor Time): ...to here. Correct description.
7833 * manual/conf.texi (Constants for Sysconf): Correct description of
7836 2012-04-10 David S. Miller <davem@davemloft.net>
7839 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7840 where the is a gap between DT_REL(A) and DT_JMPREL.
7842 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7844 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7845 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7846 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7848 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7850 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7851 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7852 (dl_main): Handle --inhibit-cache.
7853 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7855 * elf/dl-load.c (_dl_map_object): Use it.
7856 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7858 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7861 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7862 (__ieee754_powl): Saturate large exponents rather than testing for
7863 overflow of y*log2(x).
7864 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7865 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7869 * math/s_ctan.c: Include <float.h>.
7870 (__ctan): Avoid internal overflow or cancellation in calculating
7872 * math/s_ctanf.c: Likewise.
7873 * math/s_ctanl.c: Likewise.
7874 * math/s_ctanh.c: Likewise.
7875 * math/s_ctanhf.c: Likewise.
7876 * math/s_ctanhl.c: Likewise.
7877 * math/libm-test.inc (ctan_test): Add more tests.
7878 (ctanh_test): Likewise.
7879 * sysdeps/i386/fpu/libm-test-ulps: Update.
7880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7882 2012-04-09 Andreas Jaeger <aj@suse.de>
7885 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7886 is an optional BSD extension.
7889 * manual/stdio.texi (Opening Streams): Document additional fopen
7892 2012-04-09 Roland McGrath <roland@hack.frob.com>
7894 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7895 %eax without telling the compiler.
7897 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7900 * manual/install.texi: Use sourceware.org.
7902 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7905 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7906 (__ieee754_pow): Generate overflow and underflow using huge*huge
7907 and tiny*tiny rather than just returning constant infinity or zero
7908 for large exponents.
7909 * math/libm-test.inc (pow_test): Require overflow exceptions for
7910 applicable cases of large exponents.
7913 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7914 (__ieee754_pow): Use iterative multiplication algorithm only for
7915 integer exponents with absolute value below 1024. Check for odd
7916 integer exponents when using algorithm for real exponents.
7917 * math/libm-test.inc (pow_test): Add more tests.
7918 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7920 2012-04-08 Joseph Myers <joseph@codesourcery.com>
7923 * math/libm-test.inc (exp_test): Do not allow overflow exception
7926 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7929 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7930 instead of __kernel_standard_f.
7932 2012-04-08 Mike Frysinger <vapier@gentoo.org>
7934 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7935 * sysdeps/x86_64/memset_chk.S: Likewise.
7937 2012-04-08 Andreas Jaeger <aj@suse.de>
7940 * manual/startup.texi (Environment Access): Describe return value
7941 for putenv and setenv.
7944 * manual/filesys.texi (Directory Entries): Add description for
7948 * manual/filesys.texi (Directory Entries): Clarify that it's file
7949 system not operating system in the description of DT_UNKNOWN.
7952 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7954 2012-04-08 Stephen Compall <s11@member.fsf.org>
7957 * manual/llio.texi (Opening and Closing Files): Add cross
7958 reference to explain mode argument.
7960 2012-04-07 Mike Frysinger <vapier@gentoo.org>
7962 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7963 * sysdeps/x86_64/memset_chk.S: Likewise.
7965 2012-04-07 David S. Miller <davem@davemloft.net>
7967 * elf/elf.h (R_SPARC_WDISP10): Define.
7968 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7970 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7971 R_SPARC_SIZE64 and R_SPARC_H34.
7973 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7975 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7976 conditions and remove no longer applicable assertion.
7978 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7980 * bits/byteswap.h: Include <features.h>.
7981 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7982 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7984 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7986 * bits/byteswap.h (__bswap_16): Removed.
7987 Include <bits/byteswap-16.h> to get __bswap_16.
7988 * sysdeps/i386/bits/byteswap.h: Likewise.
7989 * sysdeps/s390/bits/byteswap.h: Likewise.
7990 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7991 * bits/byteswap-16.h: New file.
7992 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7993 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7994 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7995 * string/Makefile (headers): Add bits/byteswap-16.h.
7997 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8000 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8002 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8003 * nss/tst-nss-static.c: New.
8005 2012-04-06 Robert Millan <rmh@gnu.org>
8008 * manual/llio.texi (File Position Primitive): lseek
8009 refers to WHENCE when it really means OFFSET.
8011 2012-04-06 Andreas Jaeger <aj@suse.de>
8013 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8014 strncmp declarations.
8016 * abilist/libc.abilist: Add __poll and __ppoll.
8018 2012-04-05 David S. Miller <davem@davemloft.net>
8020 * scripts/check-local-headers.sh: Accept a host triplet in the
8021 path matched by the exclude regexp.
8023 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8025 * sysdeps/powerpc/powerpc32/dl-machine.h
8026 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8027 * sysdeps/s390/s390-32/dl-machine.h
8028 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8029 * sysdeps/sparc/sparc32/dl-machine.h
8030 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8031 * sysdeps/sparc/sparc64/dl-machine.h
8032 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8034 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8036 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8037 undefined symbol errors.
8039 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8042 2012-04-05 Michael Matz <matz@suse.de>
8045 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8047 2012-04-05 Andreas Jaeger <aj@suse.de>
8050 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8053 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8055 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8056 which ROUND is no valid rounding mode.
8058 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8060 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8062 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8064 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8066 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8067 an exception using FPU order intentionally.
8069 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8071 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8072 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8073 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8074 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8076 2012-04-05 Simon Josefsson <simon@josefsson.org>
8079 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8080 EINVAL when BUFLEN is too smal.
8082 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8085 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8086 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8088 2012-04-03 Andreas Jaeger <aj@suse.de>
8091 * manual/setjmp.texi (System V contexts): Fix sentence.
8094 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8095 New macro for this case.
8096 [!__GNUC__] (__bswap_64): New inline function for this case.
8097 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8098 * bits/byteswap.h: Likewise.
8099 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8100 ull, guard with __GLIBC_HAVE_LONG_LONG.
8102 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8103 __GLIBC_HAVE_LONG_LONG.
8105 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8106 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8108 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8111 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8112 inptr and inend, rather than using last_ch.
8114 2012-04-02 David S. Miller <davem@davemloft.net>
8116 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8117 * stdio-common/printf-parse.h (read_int): Change return type to
8118 'int', return -1 on INT_MAX overflow.
8119 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8120 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8121 overflows INT_MAX. Check for overflow of in-format-string precision
8122 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8123 SIZE_MAX not INT_MAX for integer overflow test.
8124 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8125 skip the construct in the format string but do not record anything.
8126 * stdio-common/bug22.c: Adjust to test both width/prevision
8127 INT_MAX overflow as well as total length INT_MAX overflow. Check
8128 explicitly for proper errno values.
8130 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8132 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8134 * string/test-strcmp.c [! WIDE]: Likewise.
8135 * time/tst-mktime2.c: Likewise for INT_MAX.
8136 * string/test-string.h: #include <sys/param.h> for MIN.
8138 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8139 * sysdeps/i386/init-first.c (init): Likewise.
8140 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8141 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8142 * sysdeps/sh/init-first.c (init): Likewise.
8144 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8146 * po/ru.po: Update from translation team.
8147 * po/vi.po: Likewise.
8149 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8151 * resolv/nss_dns/dns-host.c: Merge copyright years.
8153 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8155 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8156 Optimize memcpy with prefetch if
8157 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8158 src, dst pointers have unequal 16 byte alignments.
8160 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8163 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8164 from a CNAME entry and return the minimum ttl for the query.
8165 (gaih_getanswer_slice): Likewise.
8167 2012-03-30 Jeff Law <law@redhat.com>
8169 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8171 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8172 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8174 * resolv/nss_dns/dns-host.c: Update copyright year.
8176 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8178 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8179 requests to save a system call. Fix check that all bytes are sent.
8181 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8182 comments for sendmmsg.
8184 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8187 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8188 with only 1 character between 0x0041 and 0x01b0.
8189 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8190 * wcsmbs/tst-mbsnrtowcs.c: New file.
8192 2012-03-29 David S. Miller <davem@davemloft.net>
8194 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8195 small copies by hand.
8197 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8200 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8201 _nss_compat_initgroups_dyn): Fall back to malloc/free
8202 for large group memberships.
8204 2012-03-28 David S. Miller <davem@davemloft.net>
8206 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8207 that branches into memcpy.
8208 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8209 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8210 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8211 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8212 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8214 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8216 * sysdeps/sparc/mempcpy.S: New file.
8218 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8219 the IFUNC routine in the libc case.
8220 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8222 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8223 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8224 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8225 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8226 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8227 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8228 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8229 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8231 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8232 loop to 256 bytes instead of 64 bytes and fix test signedness.
8234 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8235 * sysdeps/sparc/sparc32/Makefile: rather than here...
8236 * sysdeps/sparc/sparc64/Makefile: and here.
8238 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8240 * malloc/mallocbug.c: Avoid warnings about unused variables.
8242 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8245 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8246 in the right place. Discard and retry query if response is
8247 larger than input buffer size.
8249 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8254 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8255 x for large integer exponent.
8256 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8257 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8258 sign of result as needed afterwards.
8259 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8260 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8261 result for underflowing pow the same as for overflow.
8262 (__kernel_standard_l): Handle powl overflow and underflow here
8263 rather than calling __kernel_standard.
8264 * math/libm-test.inc (pow_test): Add more tests.
8279 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8280 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8281 (__kernel_standard_l): New function.
8282 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8284 * math/w_acosl.c (__acosl): Likewise.
8285 * math/w_asinl.c (__asinl): Likewise.
8286 * math/w_atan2l.c (__atan2l): Likewise.
8287 * math/w_atanhl.c (__atanhl): Likewise.
8288 * math/w_coshl.c (__coshl): Likewise.
8289 * math/w_exp10l.c (__exp10l): Likewise.
8290 * math/w_exp2l.c (__exp2l): Likewise.
8291 * math/w_fmodl.c (__fmodl): Likewise.
8292 * math/w_hypotl.c (__hypotl): Likewise.
8293 * math/w_j0l.c (__j0l, __y0l): Likewise.
8294 * math/w_j1l.c (__j1l, __y1l): Likewise.
8295 * math/w_jnl.c (__jnl, __ynl): Likewise.
8296 * math/w_lgammal.c (__lgammal): Likewise.
8297 * math/w_log10l.c (__log10l): Likewise.
8298 * math/w_log2l.c (__log2l): Likewise.
8299 * math/w_logl.c (__logl): Likewise.
8300 * math/w_powl.c (__powl): Likewise.
8301 * math/w_remainderl.c (__remainderl): Likewise.
8302 * math/w_scalbl.c (sysv_scalbl): Likewise.
8303 * math/w_sinhl.c (__sinhl): Likewise.
8304 * math/w_sqrtl.c (__sqrtl): Likewise.
8305 * math/w_tgammal.c (__tgammal): Likewise.
8306 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8307 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8308 * math/libm-test.inc (acos_test): Add more tests.
8309 (acosh_test): Likewise.
8310 (asin_test): Likewise.
8311 (atanh_test): Likewise.
8312 (exp_test): Likewise.
8313 (exp10_test): Likewise.
8314 (exp2_test): Likewise.
8315 (expm1_test): Likewise.
8316 (lgamma_test): Likewise.
8317 (log_test): Likewise.
8318 (log10_test): Likewise.
8319 (log1p_test): Likewise.
8320 (log2_test): Likewise.
8321 (pow_test): Do not allow some spurious overflow exceptions.
8322 (sqrt_test): Add more tests.
8323 (tgamma_test): Likewise.
8324 (y0_test): Likewise.
8325 (y1_test): Likewise.
8326 (yn_test): Likewise.
8328 2012-03-27 Anton Blanchard <anton@samba.org>
8330 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8332 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8333 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8334 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8336 2012-03-27 David S. Miller <davem@davemloft.net>
8338 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8340 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8343 2012-03-27 Andreas Jaeger <aj@suse.de>
8345 * sysdeps/x86_64/elf/configure.in: Moved to ...
8346 * sysdeps/x86_64/configure.in: ... here.
8347 * sysdeps/x86_64/elf/start.S: Moved to ...
8348 * sysdeps/x86_64/start.S: ... here.
8349 * sysdeps/x86_64/elf/configure: Delete.
8351 * sysdeps/x86_64/configure.in: Merge contents from
8352 sysdeps/i386/configure.in (without i686 check).
8354 * sysdeps/i386/elf/Versions: Merge into ...
8355 * sysdeps/i386/Versions: ... this.
8356 * sysdeps/i386/elf/Versions: Delete file.
8357 * sysdeps/i386/elf/start.S: Moved to ...
8358 * sysdeps/i386/start.S: ...here.
8359 * sysdeps/i386/elf/configure.in: Merge into...
8360 * sysdeps/i386/configure.in: ...here.
8361 * sysdeps/i386/elf/configure.in: Delete file.
8362 * sysdeps/i386/elf/configure: Delete file.
8364 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8365 * debug/backtracesyms.c: ... here.
8366 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8367 * debug/backtracesymsfd.c: ... here.
8368 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8369 * sysdeps/generic/ifunc-sel.h: ... here.
8371 * sysdeps/unix/i386/start.c: Delete file.
8372 * sysdeps/unix/sparc/start.c: Delete file.
8373 * sysdeps/unix/start.c: Delete file.
8375 * sysdeps/sh/elf/configure.in: Moved to ...
8376 * sysdeps/sh/configure.in: ... here.
8377 * sysdeps/sh/elf/start.S: Moved to ...
8378 * sysdeps/sh/start.S: ... here.
8379 * sysdeps/sh/elf/configure: Delete file.
8381 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8382 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8383 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8384 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8385 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8386 * sysdeps/powerpc/powerpc64/start.S: here.
8387 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8388 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8389 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8390 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8391 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8393 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8394 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8395 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8396 * sysdeps/powerpc/powerpc32/start.S: ... here.
8397 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8398 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8399 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8401 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8402 * sysdeps/powerpc/ifunc-sel.h: ... here.
8403 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8404 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8406 * sysdeps/sparc/elf/configure.in: Moved to ...
8407 * sysdeps/sparc/configure.in: ... here.
8408 * sysdeps/sparc/elf/configure: Delete file.
8409 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8410 * sysdeps/sparc/sparc32/start.S: ... here.
8411 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8412 * sysdeps/sparc/sparc64/start.S: ... here.
8413 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8414 * sysdeps/sparc/sparc32/Makefile: ... this.
8415 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8416 * sysdeps/sparc/sparc64/Makefile: ... this.
8418 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8419 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8420 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8421 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8422 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8423 * sysdeps/s390/s390-32/setjmp.S: ... here.
8424 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8425 * sysdeps/s390/s390-32/configure.in: ... here.
8426 * sysdeps/s390/s390-32/elf/configure: Delete file.
8427 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8428 * sysdeps/s390/s390-32/start.S: ... here.
8430 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8431 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8432 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8433 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8434 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8435 * sysdeps/s390/s390-64/setjmp.S: ... here.
8436 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8437 * sysdeps/s390/s390-64/configure.in: ... here
8438 * sysdeps/s390/s390-64/elf/configure: Delete file.
8439 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8440 * sysdeps/s390/s390-64/start.S: ... here.
8441 * sysdeps/s390/s390-64/elf/configure: Delete.
8443 * configure.in: Remove support for elf directories in sysdeps.
8445 * configure: Regenerated.
8446 * sysdeps/i386/configure: Regenerated.
8447 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8448 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8449 * sysdeps/s390/s390-32/configure: Regenerated.
8450 * sysdeps/s390/s390-64/configure: Regenerated.
8451 * sysdeps/sh/configure: Regenerated.
8452 * sysdeps/sparc/configure: Regenerated.
8453 * sysdeps/x86_64/configure: Regenerated.
8455 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8459 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8460 denormal result into account.
8462 2012-03-25 Roland McGrath <roland@hack.frob.com>
8464 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8465 Reported by Allan McRae <allan@archlinux.org>.
8467 2012-03-23 Jeff Law <law@redhat.com>
8469 * nss/getnssent.c (__nss_getent): Fix typo.
8471 2012-03-23 David S. Miller <davem@davemloft.net>
8473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8475 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8477 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8478 to pad to uint64_t for each field.
8479 (dl_tls_index): Replace unsigned long with uint64_t.
8481 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8482 Paul Pluzhnikov <ppluzhnikov@google.com>
8485 * grp/Makefile (otherlibs): Don't set it.
8486 * inet/Makefile (otherlibs): Likewise.
8487 * login/Makefile (otherlibs): Likewise.
8488 * nscd/Makefile (otherlibs): Likewise.
8489 * posix/Makefile (otherlibs): Likewise.
8490 * pwd/Makefile (otherlibs): Likewise.
8491 * rt/Makefile (otherlibs): Likewise.
8492 * sunrpc/Makefile (otherlibs): Likewise.
8493 * nss/Makefile (otherlibs): Likewise.
8494 Add libnss_files to routines and static-only-routines.
8495 ($(objpfx)getent): Remove rule.
8496 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8497 static-only-routines.
8499 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8502 * math/s_cexp.c: Include <float.h>.
8503 (__cexp): Handle exp result overflowing not necessarily
8504 overflowing both real and imaginary parts of result.
8505 * math/s_cexpf.c: Likewise.
8506 * math/s_cexpl.c: Likewise.
8507 * math/libm-test.inc (cexp_test): Add more tests.
8508 * sysdeps/i386/fpu/libm-test-ulps: Update.
8509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8511 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8513 * include/link.h (ELFW): New macro.
8514 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8515 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8517 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8519 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8522 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8524 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8526 (struct La_x32_retval): Likewise.
8528 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8530 * sysdeps/x86_64/preconfigure.in: New file.
8531 * sysdeps/x86_64/preconfigure: New generated file.
8533 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8536 * math/e_exp2l.c: Include <float.h>.
8537 (__ieee754_exp2l): Handle overflow and underflow cases
8538 separately. Only pass fractional part of argument to
8540 * math/libm-test.inc (exp2_test): Add more tests.
8542 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8543 negating x to take absolute value.
8544 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8546 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8547 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8549 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8550 computing low part if x was negated.
8551 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8553 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8555 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8557 (pltexit): Cast int_retval to ptrdiff_t.
8558 * elf/tst-auditmod3b.c: Likewise.
8559 * elf/tst-auditmod4b.c: Likewise.
8560 * elf/tst-auditmod5b.c: Likewise.
8561 * elf/tst-auditmod6b.c: Likewise.
8562 * elf/tst-auditmod6c.c: Likewise.
8563 * elf/tst-auditmod7b.c: Likewise.
8565 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8566 and x32_gnu_pltexit.
8568 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8570 (La_x32_regs): New macro.
8571 (La_x32_retval): Likewise.
8572 (la_x32_gnu_pltenter): New function prototype.
8573 (la_x32_gnu_pltexit): Likewise.
8575 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8577 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8582 * configure.in (libc_cv_cc_nofma): Check for option to disable
8583 generation of FMA instructions.
8584 * configure: Regenerate.
8585 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8586 * sysdeps/ieee754/dbl-64/Makefile: New file.
8587 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8588 Remove brandred-fma4.
8589 (CFLAGS-brandred-fma4.c): Remove.
8590 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8591 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8593 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8596 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8598 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8599 LLONG_MAX != LONG_MAX.
8600 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8601 (_fitoa_word): Likewise.
8602 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8603 LLONG_MAX != LONG_MAX.
8604 * stdio-common/_itowa.h: Include <_itoa.h>.
8605 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8606 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8607 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8608 only if not defined.
8609 (_ITOA_WORD_TYPE): Likewise.
8610 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8611 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8613 2012-03-21 David S. Miller <davem@davemloft.net>
8615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8617 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8619 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8620 of x86_64 when setting libc_cv_slibdir, libdir and
8622 * sysdeps/unix/sysv/linux/configure: Regenerated.
8624 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8626 * manual/lang.texi (Old Varargs): Remove section.
8627 (How Variadic): Update menu.
8628 (va_start): Do not mention varargs.h.
8630 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8631 Joseph Myers <joseph@codesourcery.com>
8633 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8635 * configure: Regenerated.
8637 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8639 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8640 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8643 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8646 * Makefile (files-for-dist): Remove NOTES.
8647 (NOTES): Remove rule.
8648 * README: Don't refer to NOTES.
8649 * manual/creature.texi: Don't include macros.texi.
8650 * manual/intro.texi (creature.texi): Remove comment referring to
8653 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8654 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8655 * configure: Regenerated.
8656 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8658 (libc_cv_as_i686): Likewise.
8659 (libc_cv_cc_avx): Likewise.
8660 (libc_cv_cc_sse2avx): Likewise.
8661 (libc_cv_cc_fma4): Likewise.
8662 (libc_cv_cc_novzeroupper): Likewise.
8663 * sysdeps/i386/configure: Regenerated.
8666 * sysdeps/i386/fpu/s_cexp.S: Remove.
8667 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8668 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8669 * math/libm-test.inc (cexp_test): Add more tests.
8670 * sysdeps/i386/fpu/libm-test-ulps: Update.
8671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8673 2012-03-21 Allan McRae <allan@archlinux.org>
8675 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8677 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8680 * math/w_exp2.c: Do not include <float.h>.
8681 (o_threshold, u_threshold): Remove.
8682 (__exp2): Calculate result before checking finiteness and calling
8684 * math/w_exp2f.c: Likewise.
8685 * math/w_exp2l.c: Likewise.
8686 * math/libm-test.inc (exp2_test): Require overflow exception for
8690 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8691 range of signed 64-bit integers before using fistpll. Remove
8692 checks for whether integers fit in mantissa bits.
8693 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8694 the range of signed 32-bit integers before using fistpl. Remove
8695 checks for whether integers fit in mantissa bits.
8696 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8697 (__ieee754_powl): Test for y outside the range of signed 64-bit
8698 integers before using fistpll. Reduce 64-bit values to 63-bit
8700 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8701 divide-by-zero is raised for zero to large negative powers.
8702 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8703 (__ieee754_powl): Test for y outside the range of signed 64-bit
8704 integers before using fistpll. Reduce 64-bit values to 63-bit
8706 * math/libm-test.inc (pow_test): Add more tests.
8708 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8710 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8711 <stdio-common/_itoa.h>.
8712 * debug/segfault.c: Likewise.
8713 * elf/dl-cache.c: Likewise.
8714 * elf/dl-minimal.c: Likewise.
8715 * elf/dl-misc.c: Likewise.
8716 * elf/dl-sysdep.c: Likewise.
8717 * elf/dl-version.c: Likewise.
8718 * elf/rtld.c: Likewise.
8719 * hurd/hurdsock.c: Likewise.
8720 * hurd/lookup-retry.c: Likewise.
8721 * malloc/malloc.c: Likewise.
8722 * malloc/mtrace.c: Likewise.
8723 * nscd/nscd_getgr_r.c: Likewise.
8724 * nscd/nscd_getpw_r.c: Likewise.
8725 * nscd/nscd_getserv_r.c: Likewise.
8726 * posix/getopt_init.c: Likewise.
8727 * posix/wordexp.c: Likewise.
8728 * stdio-common/_itoa.c: Likewise.
8729 * stdio-common/printf_fphex.c: Likewise.
8730 * stdio-common/vfprintf.c: Likewise.
8731 * string/_strerror.c: Likewise.
8732 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8733 * sysdeps/i386/i686/hp-timing.h: Likewise.
8734 * sysdeps/mach/_strerror.c: Likewise.
8735 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8736 * sysdeps/mach/hurd/sethostid.c: Likewise.
8737 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8738 * sysdeps/mach/xpg-strerror.c: Likewise.
8739 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8740 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8741 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8742 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8743 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8744 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8745 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8746 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8747 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8748 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8749 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8750 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8751 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8752 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8753 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8754 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8755 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8756 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8757 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8758 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8759 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8761 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8763 * stdio-common/_itoa.h: Moved to ...
8764 * sysdeps/generic/_itoa.h: Here.
8766 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8768 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8769 instead of "_itoa.h" and "_itowa.h".
8770 * stdio-common/vfprintf.: Likewise.
8772 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8774 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8776 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8777 (__signbit): Likwise.
8781 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8783 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8786 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8788 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8789 OVERFLOW_EXCEPTION_OK.
8790 * math/libm-test.inc ("Philosophy"): Update comment about
8792 (OVERFLOW_EXCEPTION): Define.
8793 (OVERFLOW_EXCEPTION_OK): Likewise.
8794 (INVALID_EXCEPTION_OK): Renumber.
8795 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8796 (IGNORE_ZERO_INF_SIGN): Likewise.
8797 (test_exceptions): Handle FE_OVERFLOW.
8798 (exp10_test): Expect overflow exceptions.
8799 (exp2_test): Likewise.
8800 (expm1_test): Likewise.
8801 (nextafter_test): Likewise.
8802 (pow_test): Likewise.
8803 (scalbn_test): Likewise.
8804 (scalbln_test): Likewise.
8806 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8808 * sysdeps/x86_64/bits/atomic.h
8809 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8811 (atomic_exchange_acq): Likewise.
8812 (__arch_exchange_and_add_body): Likewise.
8813 (__arch_add_body): Likewise.
8814 (atomic_add_negative): Likewise.
8815 (atomic_add_zero): Likewise.
8817 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8819 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8820 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8822 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8824 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8825 Check __x86_64__ instead of __WORDSIZE.
8827 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8829 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8831 2012-03-19 David S. Miller <davem@davemloft.net>
8833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8835 * sysdeps/sparc/fpu/fenv_private.h: New file.
8836 * sysdeps/sparc/fpu/math_private.h: Use it.
8837 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8839 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8840 (libc_feholdexcept_setroundl): Remove.
8841 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8843 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8844 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8846 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8848 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8849 int64_t instead of long int.
8850 (INSERT_WORDS64): Likwise.
8852 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8854 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8855 _Unwind_GetCFA return to _Unwind_Ptr first.
8857 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8860 * math/s_clog.c: Include <float.h>.
8861 (__clog): Scale large or subnormal inputs.
8862 * math/s_clogf.c: Likewise.
8863 * math/s_clogl.c: Likewise.
8864 * math/s_clog10.c: Include <float.h>.
8865 (M_LOG10_2): Define.
8866 (__clog10): Scale large or subnormal inputs.
8867 * math/s_clog10f.c: Likewise.
8868 * math/s_clog10l.c: Likewise.
8869 * math/libm-test.inc (clog_test): Add more tests.
8870 (clog10_test): Likewise.
8871 * sysdeps/i386/fpu/libm-test-ulps: Update.
8872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8875 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8877 * math/libm-test.inc (atan2_test): Add another test.
8879 * Makerules (common-objdir-compile): Remove.
8880 * sysdeps/unix/Makefile (config-generated): Do not add
8881 $(unix-generated) to variable.
8882 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8883 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8885 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8887 [generic bits/local_lim.h] (before-compile): Do not append to
8889 [generic bits/local_lim.h] (common-generated): Likewise.
8890 [generic sys/param.h] (before-compile): Do not append to variable.
8891 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8892 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8893 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8894 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8896 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8897 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8898 [generic sys/param.h] ($(addprefix
8899 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8900 [generic sys/param.h] (common-generated): Do not append to
8902 [generic sys/param.h] (sysdep_headers): Likewise.
8903 [generic bits/errno.h] (before-compile): Do not append to
8905 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8907 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8908 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8909 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8910 [generic bits/errno.h] (common-generated): Do not append to
8912 [generic bits/ioctls.h] (before-compile): Do not append to
8914 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8916 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8917 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8918 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8920 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8921 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8922 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8923 [generic bits/ioctls.h] (common-generated): Do not append to
8925 [generic sys/syscall.h] (syscall.h): Remove variable.
8926 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8928 [generic sys/syscall.h] (before-compile): Do not append to
8930 [generic sys/syscall.h] (common-generated): Likewise.
8931 * sysdeps/unix/errnos-tmpl.c: Remove file.
8932 * sysdeps/unix/errnos.awk: Likewise.
8933 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8934 * sysdeps/unix/ioctls.awk: Likewise.
8935 * sysdeps/unix/mk-local_lim.c: Likewise.
8936 * sysdeps/unix/snarf-ioctls: Likewise.
8938 2012-03-19 Richard Henderson <rth@twiddle.net>
8940 * sysdeps/i386/fpu/fenv_private.h: New file.
8941 * sysdeps/i386/fpu/math_private.h: Use it.
8942 (math_opt_barrier, math_force_eval): Remove.
8943 (libc_feholdexcept_setround_53bit): Remove.
8944 (libc_feupdateenv_53bit): Remove.
8945 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8946 (math_opt_barrier, math_force_eval): Remove.
8947 (libc_feholdexcept): Remove.
8948 (libc_feholdexcept_setround): Remove.
8949 (libc_fetestexcept, libc_fesetenv): Remove.
8950 (libc_feupdateenv_test): Remove.
8951 (libc_feupdateenv, libc_feholdsetround): Remove.
8952 (libc_feresetround): Remove.
8954 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8955 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8957 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8958 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8959 (libc_feupdateenv_testl): New.
8960 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8961 (libc_feupdateenv_testf): New.
8962 (libc_feupdateenv): Use libc_feupdateenv_test.
8963 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8964 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8966 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8967 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8968 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8969 (libc_feresetround_noex): New.
8970 (libc_feresetround_noexf): New.
8971 (libc_feresetround_noexl): New.
8972 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8973 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8974 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8975 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8977 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8978 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8980 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8981 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8982 SET_RESTORE_ROUND_NOEX.
8983 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8984 SET_RESTORE_ROUND_NOEXF.
8985 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8986 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8987 (libc_feholdsetroundf): New.
8988 (libc_feresetround, libc_feresetroundf): New.
8990 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8991 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8992 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8994 * sysdeps/generic/math_private.h: Include <fenv.h>.
8995 (default_libc_feholdexcept): New.
8996 (default_libc_feholdexcept_setround): New.
8997 (default_libc_fesetenv, default_libc_feupdateenv): New.
8998 (libc_feholdexcept): Only define if undefined.
8999 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9000 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9001 (libc_feholdexcept_setroundl): Likewise.
9002 (libc_feholdexcept_setround_53bit): Likewise.
9003 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9004 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9005 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9006 (libc_feupdateenv_53bit): Likewise.
9007 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9008 (libc_feholdexcept): Convert from macro to inline function.
9009 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9010 (libc_fesetenv, libc_feupdateenv): Likewise.
9012 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9013 not previously defined.
9014 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9015 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9016 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9017 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9018 * sysdeps/ieee754/flt-32/math_private.h: New file.
9019 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9020 math_private.h below SET_FLOAT_WORD.
9021 (__isnan, __isinf_ns, __finite): Remove.
9022 (__isnanf, __isinf_nsf, __finitef): Remove.
9024 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9028 2012-03-17 David S. Miller <davem@davemloft.net>
9031 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9034 2012-03-16 David S. Miller <davem@davemloft.net>
9036 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9040 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9042 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9043 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9044 sysdep_routines when subdir is sysvipc.
9045 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9048 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9050 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9052 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9055 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9057 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9058 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9059 (__lround): Renamed to ...
9060 (__llround): This. Replace long int with long long int.
9061 Define lround functions as aliases of llround functions.
9062 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9064 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9066 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9067 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9068 adresses to uintptr_t. Replace "long int" and "unsigned long
9069 int" with "greg_t" on va_arg.
9071 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9073 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9074 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9076 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9077 Move e_machine check before EI_CLASS check. Handle x32
9078 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9079 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9080 SKIP_EM_IA_64 and include
9081 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9083 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9084 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9085 (add_system_dir): New macro.
9087 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9088 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9090 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9101 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9103 * math/w_j0f.c (j0f): Likewise.
9105 * math/w_j0l.c (__j0l): Likewise.
9107 * math/w_j1.c (j1): Likewise.
9109 * math/w_j1f.c (j1f): Likewise.
9111 * math/w_j1l.c (__j1l): Likewise.
9113 * math/w_jn.c (jn): Likewise.
9115 * math/w_jnf.c (jnf): Likewise.
9117 * math/w_jnl.c (__jnl): Likewise.
9119 * math/libm-test.inc (j0_test): Add more tests.
9120 (j1_test): Likewise.
9121 (jn_test): Likewise. Add trailing semicolon to existing test.
9122 (y0_test): Likewise.
9123 (y1_test): Likewise.
9124 * sysdeps/i386/fpu/libm-test-ulps: Update.
9125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9129 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9130 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9131 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9132 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9133 (__tanl): Set errno for infinite argument.
9134 * sysdeps/i386/fpu/mptan.c: Remove.
9135 * sysdeps/i386/fpu/s_tan.S: Likewise.
9136 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9137 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9138 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9139 * math/libm-test.inc (tan_test): Add more tests and enable more
9140 tests for double and long double.
9141 * sysdeps/i386/fpu/libm-test-ulps: Update.
9142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9144 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9146 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9147 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9149 2012-03-16 Roland McGrath <roland@hack.frob.com>
9151 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9152 * configure.in: Use it for both main tree and add-ons.
9153 * configure: Regenerated.
9155 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9157 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9159 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9161 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9165 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9166 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9167 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9168 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9169 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9171 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9172 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9174 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9175 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9176 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9177 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9178 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9179 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9180 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9181 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9182 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9183 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9184 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9185 * math/libm-test.inc (cos_test): Add more tests and enable more
9186 tests for long double.
9187 (sin_test): Likewise.
9188 (sincos_test): Likewise.
9189 * sysdeps/i386/fpu/libm-test-ulps: Update.
9190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9192 2012-03-16 David S. Miller <davem@davemloft.net>
9194 * sysdeps/sparc/fpu/math_private.h: New file.
9196 2012-03-15 David S. Miller <davem@davemloft.net>
9198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9208 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9212 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9213 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9215 * sysdeps/sparc/sparc-ifunc.h: New file.
9216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9241 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9243 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9254 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9255 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9256 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9257 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9258 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9259 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9261 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9263 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9267 2012-03-15 Andreas Jaeger <aj@suse.de>
9270 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9271 ieee754/flt-32 implementation for sin, cos and sincos.
9272 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9273 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9274 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9275 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9276 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9277 ieee754/flt-32 implementation for tan.
9279 * math/libm-test.inc (cos_test): Enable some large input tests for
9281 (sin_test): Likewise.
9282 (sincos_test): Likewise.
9283 (tan_test): Add tests for large input.
9285 * sysdeps/i386/fpu/libm-test-ulps: Update.
9287 2012-03-15 Andreas Jaeger <aj@suse.de>
9290 * math/libm-test.inc (cos_test): Add more test cases.
9291 (sin_test): Likewise.
9292 (sincos_test): Likewise.
9294 2012-03-15 Andreas Jaeger <aj@suse.de>
9297 * math/libm-test.inc (cos_test): Add a test case for large input
9299 (sin_test): Likewise.
9300 (sincos_test): Likewise.
9302 2012-03-15 Andreas Jaeger <aj@suse.de>,
9303 Joseph Myers <joseph@codesourcery.com>
9306 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9307 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9308 * sysdeps/i386/fpu/branred.c: Likewise.
9309 * sysdeps/i386/fpu/dosincos.c: Likewise.
9310 * sysdeps/i386/fpu/mpa.c: Likewise.
9311 * sysdeps/i386/fpu/s_cos.S: Likewise.
9312 * sysdeps/i386/fpu/s_sin.S: Likewise.
9313 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9314 * sysdeps/i386/fpu/sincos32.c: Likewise.
9316 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9318 (libc_feupdateenv_53bit): Define.
9319 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9321 (libc_feupdateenv_53bit): Define.
9323 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9324 53 bit (without extend i386 double precision).
9326 * math/libm-test.inc (sincos_test): Add tests for large input.
9330 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9332 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9336 2012-03-15 David S. Miller <davem@davemloft.net>
9338 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9339 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9340 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9341 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9365 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9366 fmin/fmax sysdep routines.
9367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9369 2012-03-14 David S. Miller <davem@davemloft.net>
9371 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9372 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9373 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9374 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9375 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9376 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9377 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9378 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9379 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9380 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9386 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9387 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9388 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9390 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9391 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9392 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9393 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9394 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9395 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9396 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9397 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9398 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9399 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9443 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9448 * sysdeps/sparc/configure.in: New file.
9449 * sysdeps/sparc/configure: Generate.
9450 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9451 * configure: Regenerate.
9452 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9453 * config.make.in (have-as-vis3): New.
9454 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9455 available use -Av9d instead of -Av9a.
9456 * sysdeps/sparc/sparc64/Makefile: Likewise.
9457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9466 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9467 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9468 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9469 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9470 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9472 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9473 fzeros/fnegs to load 0x80000000 into a float register instead of
9475 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9477 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9481 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9482 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9483 ($(inst_includedir)/bits/syscall.h): Remove rule.
9484 ($(objpfx)bits/syscall.d): Include instead of
9485 $(objpfx)syscall-list.d.
9486 (generated): Change syscall-list.h and syscall-list.d to
9487 bits/syscall.h and bits/syscall.d.
9489 2012-03-14 Roland McGrath <roland@hack.frob.com>
9492 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9494 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9497 * math/s_csqrt.c: Include <float.h>.
9498 (__csqrt): Scale large or subnormal inputs.
9499 * math/s_csqrtf.c: Likewise.
9500 * math/s_csqrtl.c: Likewise.
9501 * math/libm-test.inc (csqrt_test): Add more tests.
9502 * sysdeps/i386/fpu/libm-test-ulps: Update.
9503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9506 * math/libm-test.inc (hypot_test): Add more tests.
9508 2012-03-13 David S. Miller <davem@davemloft.net>
9511 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9512 double-precision for the calculation instead of scaling.
9514 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9516 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9517 manipulate bits before adding and subtracting TWO52[sx].
9518 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9519 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9521 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9523 2012-03-13 David S. Miller <davem@davemloft.net>
9525 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9526 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9527 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9528 rtld-global-offsets.h
9529 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9531 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9534 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9536 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9537 'err' in the ifdef scope in which it is actually used.
9539 * nss/nss_db/db-init.c: Include string.h
9541 2012-03-12 David S. Miller <davem@davemloft.net>
9543 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9544 masking out of the most significant byte of random value used.
9545 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9546 Fix coding style in previous change.
9548 * sysdeps/unix/sysv/linux/kernel-features.h
9549 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9550 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9552 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9555 2012-03-11 David S. Miller <davem@davemloft.net>
9557 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9558 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9559 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9560 for 'resultvar' otherwise things get truncated on 64-bit.
9562 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9563 Fix masking out of the most significant byte of random value used.
9565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9567 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9571 2012-03-09 David S. Miller <davem@davemloft.net>
9573 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9574 variables with appropriate CPP guards.
9575 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9576 frame pointer, not the stack pointer. Correct layout comments. Fix test
9577 on resulting framesize and the management of the outregs buffer for pltexit.
9578 Preserve floating point return values across _dl_call_pltexit call.
9579 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9580 framesize and the management of the outregs buffer for pltexit.
9581 Preserve floating point return values across _dl_call_pltexit
9583 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9584 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9585 (print_exit): Fix format string for return register value.
9587 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9589 * sunrpc/Makefile (others): Add rpcgen.
9590 ($(objpfx)rpcgen): Remove special build rule and dependency on
9592 * sunrpc/rpcgen.c: New file.
9594 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9597 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9598 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9599 * sysdeps/i386/crti.S: Likewise.
9600 * sysdeps/i386/crtn.S: Likewise.
9601 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9602 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9603 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9604 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9605 * sysdeps/sh/crti.S: Likewise.
9606 * sysdeps/sh/crtn.S: Likewise.
9607 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9610 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9612 * locale/programs/locfile-kw.gperf: Likewise.
9613 * locale/programs/charmap-kw.h: Regenerated.
9614 * locale/programs/locfile-kw.h: Likewise.
9617 * intl/plural.y: Replace FSF snail mail address with URL.
9618 * intl/plural.c: Regenerated.
9620 2012-03-09 Richard Henderson <rth@twiddle.net>
9622 * include/math_private.h: Remove file.
9623 * math/math_private.h: Move file ...
9624 * sysdeps/generic/math_private.h: ... here.
9626 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9627 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9628 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9630 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9631 and <math_private.h>.
9632 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9633 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9634 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9635 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9636 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9637 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9638 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9639 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9640 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9641 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9642 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9643 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9644 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9645 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9646 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9647 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9648 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9649 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9650 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9651 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9652 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9653 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9654 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9655 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9656 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9657 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9658 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9659 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9661 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9662 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9663 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9664 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9665 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9666 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9667 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9668 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9669 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9670 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9671 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9672 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9673 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9674 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9675 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9676 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9677 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9678 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9679 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9680 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9681 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9682 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9683 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9684 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9685 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9686 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9687 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9688 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9689 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9690 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9691 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9692 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9693 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9694 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9695 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9696 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9697 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9698 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9699 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9700 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9701 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9702 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9703 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9704 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9705 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9706 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9707 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9708 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9709 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9710 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9711 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9712 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9713 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9714 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9715 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9716 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9717 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9718 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9719 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9720 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9721 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9722 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9723 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9724 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9725 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9726 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9727 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9728 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9729 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9730 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9731 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9732 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9733 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9734 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9735 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9736 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9737 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9738 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9739 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9740 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9741 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9742 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9743 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9744 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9745 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9746 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9747 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9748 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9749 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9750 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9751 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9752 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9753 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9754 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9755 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9756 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9757 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9758 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9759 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9760 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9761 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9762 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9763 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9764 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9765 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9766 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9767 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9768 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9769 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9770 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9771 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9772 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9773 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9774 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9775 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9776 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9777 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9778 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9779 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9780 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9781 * sysdeps/ieee754/k_standard.c: Likewise.
9782 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9783 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9784 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9785 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9786 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9787 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9788 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9789 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9790 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9791 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9792 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9793 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9794 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9795 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9796 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9797 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9798 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9799 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9800 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9801 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9802 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9803 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9804 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9805 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9806 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9807 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9808 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9809 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9810 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9811 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9812 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9813 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9814 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9815 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9816 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9817 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9818 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9819 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9820 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9821 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9822 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9823 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9824 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9825 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9826 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9827 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9828 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9829 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9830 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9831 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9832 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9833 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9834 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9835 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9836 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9837 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9838 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9839 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9840 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9841 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9842 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9843 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9844 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9845 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9846 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9847 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9848 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9849 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9850 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9851 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9852 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9853 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9854 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9855 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9856 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9857 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9862 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9864 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9865 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9866 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9867 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9868 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9869 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9870 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9871 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9872 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9873 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9874 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9875 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9876 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9877 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9878 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9879 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9880 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9881 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9882 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9883 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9884 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9885 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9886 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9887 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9889 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9890 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9891 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9892 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9893 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9894 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9895 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9896 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9897 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9898 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9899 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9900 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9901 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9902 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9903 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9904 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9905 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9906 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9907 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9908 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9909 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9910 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9911 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9912 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9913 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9914 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9915 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9916 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9917 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9918 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9919 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9920 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9921 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9922 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9923 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9924 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9925 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9926 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9927 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9928 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9929 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9930 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9931 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9932 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9933 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9934 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9935 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9936 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9937 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9938 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9939 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9940 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9941 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9942 * sysdeps/ieee754/s_lib_version.c: Likewise.
9943 * sysdeps/ieee754/s_matherr.c: Likewise.
9944 * sysdeps/ieee754/s_signgam.c: Likewise.
9945 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9946 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9947 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9948 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9949 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9950 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9951 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9952 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9953 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9954 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9955 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9956 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9957 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9958 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9959 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9960 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9961 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9962 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9963 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9964 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9965 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9967 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9969 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9970 * sunrpc/rpc_main.c: Likewise.
9971 * sunrpc/rpc_svcout.c: Likewise.
9973 2012-03-09 David S. Miller <davem@davemloft.net>
9975 * include/math_private.h: New file.
9977 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9979 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9980 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9981 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9982 from <bits/socket_type.h>.
9983 (enum __socket_type): Don't define here.
9984 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9989 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9992 * Makerules ($(inst_includedir)/%.h): New rule.
9993 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9994 (install-others): Remove variable setting.
9995 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9997 2012-03-08 Richard Henderson <rth@twiddle.net>
9999 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10000 from macro to inline function; merge with the
10001 !__LIBC_INTERNAL_MATH_INLINES version.
10002 (__ieee754_sqrtf): Likewise.
10004 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10005 to inline function.
10006 (__rintf, __floor, __floorf): Likewise.
10008 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10009 macro to inline function.
10010 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10012 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10013 not <math/math_private.h>.
10015 2012-03-08 David S. Miller <davem@davemloft.net>
10017 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10019 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10021 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10023 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10025 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10026 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10028 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10030 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10031 be defined individually, they must be defined as a block. Define
10032 S for printing a string instead of hidint the different by using a
10033 macro for adding the 'l'.
10034 * stdio-common/tst-fphex-wide.c: Adjust.
10036 2012-03-07 Marek Polacek <polacek@redhat.com>
10038 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10040 2012-03-08 Marek Polacek <polacek@redhat.com>
10043 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10044 * stdio-common/tst-fphex.c: Define a few macros to make the
10045 test reusable. Use them.
10046 * stdio-common/tst-fphex-wide.c: New file.
10048 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10051 * manual/macros.texi (gnusystems): New macro.
10052 (nongnusystems): Likewise.
10053 (gnulinuxhurdsystems): Likewise.
10054 (gnuhurdsystems): Likewise..
10055 (gnulinuxsystems): Likewise.
10056 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10057 variants of the GNU system, not "GNU system".
10058 * manual/conf.texi: Likewise.
10059 * manual/errno.texi: Likewise. Update example of errno macro
10061 * manual/filesys.texi: Likewise.
10062 (getumask): Document as specific to GNU/Hurd.
10063 * manual/install.texi: Likewise. Reword some references to
10065 * manual/intro.texi: Likewise.
10066 * manual/io.texi: Likewise.
10067 (File Name Portability): Detail which constraints are inapplicable
10068 to all GNU systems and which are only inapplicable to GNU/Hurd.
10069 * manual/job.texi: Likewise.
10070 * manual/llio.texi: Likewise.
10071 (O_NOCTTY): Document as present on GNU/Linux.
10072 * manual/maint.texi: Likewise.
10073 * manual/memory.texi: Likewise.
10074 * manual/pattern.texi: Likewise.
10075 * manual/pipe.texi: Likewise.
10076 * manual/process.texi: Likewise.
10077 * manual/resource.texi: Likewise.
10078 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10080 * manual/setjmp.texi: Likewise.
10081 * manual/signal.texi: Likewise.
10082 * manual/startup.texi: Likewise.
10083 * manual/stdio.texi: Likewise.
10084 * manual/terminal.texi: Likewise.
10085 (ONLCR): Document as POSIX.
10086 (OXTABS): Document availability on GNU/Linux as XTABS.
10087 (ONOEOT): Document availability separately from other bits.
10088 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10089 * manual/time.texi: Likewise.
10090 * manual/users.texi: Likewise.
10091 * INSTALL: Regenerated.
10092 * sysdeps/gnu/errlist.c: Regenerated.
10094 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10095 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10096 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10098 * configure: Regenerated.
10100 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10102 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10103 default includes instead of AC_HEADER_CHECK.
10104 * sysdeps/i386/configure: Regenerated.
10107 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10108 * math/s_cacoshf.c (__cacoshf): Likewise.
10109 * math/s_cacoshl.c (__cacoshl): Likewise.
10110 * math/s_casinh.c (__casinh): Set signs of result from argument.
10111 * math/s_casinhf.c (__casinhf): Likewise.
10112 * math/s_casinhl.c (__casinhl): Likewise.
10113 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10114 (casinh_test): Add more tests.
10115 * sysdeps/i386/fpu/libm-test-ulps: Update.
10116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10118 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10120 * po/zh_TW.po: Update from translation team.
10122 * login/Makefile (distribute): Remove variable.
10123 * catgets/Makefile: Likewise.
10124 * mach/Makefile: Likewise.
10125 * malloc/Makefile: Likewise.
10126 * misc/Makefile: Likewise.
10127 * iconv/Makefile: Likewise.
10128 * nscd/Makefile: Likewise.
10129 * hurd/Makefile: Likewise.
10130 * manual/Makefile: Likewise.
10131 * locale/Makefile: Likewise.
10132 * intl/Makefile: Likewise.
10133 * conform/Makefile: Likewise.
10134 * nss/Makefile: Likewise.
10135 * time/Makefile: Likewise.
10136 * soft-fp/Makefile: Likewise.
10137 * dirent/Makefile: Likewise.
10138 * gmon/Makefile: Likewise.
10139 * po/Makefile: Likewise.
10140 * rt/Makefile: Likewise.
10141 * socket/Makefile: Likewise.
10142 * math/Makefile: Likewise.
10143 * signal/Makefile: Likewise.
10144 * debug/Makefile: Likewise.
10145 * elf/Makefile: Likewise.
10146 * timezone/Makefile: Likewise.
10147 * stdlib/Makefile: Likewise.
10148 * iconvdata/Makefile: Likewise.
10149 * sunrpc/Makefile: Likewise.
10150 * io/Makefile: Likewise.
10151 * argp/Makefile: Likewise.
10152 * inet/Makefile: Likewise.
10153 * hesiod/Makefile: Likewise.
10154 * grp/Makefile: Likewise.
10155 * csu/Makefile: Likewise.
10156 * wctype/Makefile: Likewise.
10157 * crypt/Makefile: Likewise.
10158 * libio/Makefile: Likewise.
10159 * string/Makefile: Likewise.
10160 * nis/Makefile: Likewise.
10161 * resolv/Makefile: Likewise.
10162 * stdio-common/Makefile: Likewise.
10163 * wcsmbs/Makefile: Likewise.
10164 * dlfcn/Makefile: Likewise.
10165 * posix/Makefile: Likewise.
10168 * timezone/Makefile: Don't install timezone files, just the programs
10171 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10173 * nss/databases.def: Add missing gshadow entry.
10175 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10177 2012-03-06 Marek Polacek <polacek@redhat.com>
10180 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10181 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10182 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10183 * stdio-common/tst-long-dbl-fphex.c: New file.
10185 2012-03-06 David S. Miller <davem@davemloft.net>
10187 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10188 (set_obp_int): New function.
10189 (get_obp_int): New function.
10190 (__get_clockfreq_via_dev_openprom): Likewise.
10191 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10192 Avoid unused variable warnings on 'val' and use builtin_expect.
10193 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10195 (INLINE_CLONE_SYSCALL): Likewise.
10197 2012-03-05 David S. Miller <davem@davemloft.net>
10199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10201 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10205 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10206 only for |x| >= 40.
10207 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10209 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10211 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10212 Replace gettimeofday with __vdso_gettimeofday.
10214 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10215 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10216 __vdso_clock_gettime and __vdso_getcpu.
10218 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10219 time with __vdso_time.
10221 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10223 * manual/lang.texi (size_t): Note types to which size_t may be
10224 equivalent with the GNU C Library, but do not describe when
10225 differences between them are significant.
10227 2012-03-05 Andreas Jaeger <aj@suse.de>
10229 * sysdeps/i386/fpu/libm-test-ulps: Update.
10231 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10234 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10235 (__ieee754_pow): Save and restore rounding mode and use
10236 round-to-nearest for main computations.
10237 * math/libm-test.inc (pow_test_tonearest): New function.
10238 (pow_test_towardzero): Likewise.
10239 (pow_test_downward): Likewise.
10240 (pow_test_upward): Likewise.
10241 (main): Call the new functions.
10242 * sysdeps/i386/fpu/libm-test-ulps: Update.
10243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10246 * math/libm-test.inc (cosh_test_tonearest): New function.
10247 (cosh_test_towardzero): Likewise.
10248 (cosh_test_downward): Likewise.
10249 (cosh_test_upward): Likewise.
10250 (sinh_test_tonearest): Likewise.
10251 (sinh_test_towardzero): Likewise.
10252 (sinh_test_downward): Likewise.
10253 (sinh_test_upward): Likewise.
10254 (main): Call the new functions.
10255 * sysdeps/i386/fpu/libm-test-ulps: Update.
10256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10258 2012-03-05 Tom de Vries <tom@codesourcery.com>
10260 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10261 default stack guard is set in last bytes.
10262 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10264 2012-03-05 Kees Cook <keescook@chromium.org>
10266 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10269 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10270 possibly allocate from heap instead of stack.
10271 * stdio-common/bug-vfprintf-nargs.c: New file.
10272 * stdio-common/Makefile (tests): Add nargs overflow test.
10274 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10278 2012-03-03 Marek Polacek <polacek@redhat.com>
10280 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10281 * math/math_private.h: Likewise.
10282 * stdlib/tst-strtod.c: Likewise.
10283 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10284 * sysdeps/x86_64/bits/atomic.h: Likewise.
10286 2012-03-02 David S. Miller <davem@davemloft.net>
10288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10292 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10293 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10294 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10295 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10297 2012-03-02 Roland McGrath <roland@hack.frob.com>
10300 * manual/examples/README: New file, says the example source files
10301 can be used under GPL>=2.
10302 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10303 line containing just "*/".
10304 * manual/examples/add.c: Add copyright header (GPL>=2).
10305 * manual/examples/argp-ex1.c: Likewise.
10306 * manual/examples/argp-ex2.c: Likewise.
10307 * manual/examples/argp-ex3.c: Likewise.
10308 * manual/examples/argp-ex4.c: Likewise.
10309 * manual/examples/atexit.c: Likewise.
10310 * manual/examples/db.c: Likewise.
10311 * manual/examples/dir.c: Likewise.
10312 * manual/examples/dir2.c: Likewise.
10313 * manual/examples/execinfo.c: Likewise.
10314 * manual/examples/filecli.c: Likewise.
10315 * manual/examples/filesrv.c: Likewise.
10316 * manual/examples/fmtmsgexpl.c: Likewise.
10317 * manual/examples/genpass.c: Likewise.
10318 * manual/examples/inetcli.c: Likewise.
10319 * manual/examples/inetsrv.c: Likewise.
10320 * manual/examples/isockad.c: Likewise.
10321 * manual/examples/longopt.c: Likewise.
10322 * manual/examples/memopen.c: Likewise.
10323 * manual/examples/memstrm.c: Likewise.
10324 * manual/examples/mkfsock.c: Likewise.
10325 * manual/examples/mkisock.c: Likewise.
10326 * manual/examples/mygetpass.c: Likewise.
10327 * manual/examples/pipe.c: Likewise.
10328 * manual/examples/popen.c: Likewise.
10329 * manual/examples/rprintf.c: Likewise.
10330 * manual/examples/search.c: Likewise.
10331 * manual/examples/select.c: Likewise.
10332 * manual/examples/setjmp.c: Likewise.
10333 * manual/examples/sigh1.c: Likewise.
10334 * manual/examples/sigusr.c: Likewise.
10335 * manual/examples/stpcpy.c: Likewise.
10336 * manual/examples/strdupa.c: Likewise.
10337 * manual/examples/strftim.c: Likewise.
10338 * manual/examples/strncat.c: Likewise.
10339 * manual/examples/subopt.c: Likewise.
10340 * manual/examples/swapcontext.c: Likewise.
10341 * manual/examples/termios.c: Likewise.
10342 * manual/examples/testopt.c: Likewise.
10343 * manual/examples/testpass.c: Likewise.
10344 * manual/examples/timeval_subtract.c: Likewise.
10347 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10349 * manual/timeval_subtract.c.texi: ... here, new file.
10351 2012-03-02 David S. Miller <davem@davemloft.net>
10353 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10355 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10358 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10359 (__sin): Save and restore rounding mode and use round-to-nearest
10360 for all computations.
10361 (__cos): Save and restore rounding mode and use round-to-nearest
10362 for all computations.
10363 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10365 (tan): Save and restore rounding mode and use round-to-nearest for
10367 * math/libm-test.inc (cos_test_tonearest): New function.
10368 (cos_test_towardzero): Likewise.
10369 (cos_test_downward): Likewise.
10370 (cos_test_upward): Likewise.
10371 (sin_test_tonearest): Likewise.
10372 (sin_test_towardzero): Likewise.
10373 (sin_test_downward): Likewise.
10374 (sin_test_upward): Likewise.
10375 (tan_test_tonearest): Likewise.
10376 (tan_test_towardzero): Likewise.
10377 (tan_test_downward): Likewise.
10378 (tan_test_upward): Likewise.
10379 (main): Call the new functions.
10380 * sysdeps/i386/fpu/libm-test-ulps: Update.
10381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10384 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10385 small n, then large n, before computing and testing k+n.
10386 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10387 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10389 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10391 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10392 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10393 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10394 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10395 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10396 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10397 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10398 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10399 * math/libm-test.inc (scalbn_test): Add more tests.
10400 (scalbln_test): Likewise.
10402 * manual/filesys.texi (mode_t): Describe constraints on size and
10403 signedness, not exact equivalence to a particular type.
10405 (ino64_t): Likewise.
10407 (nlink_t): Likewise.
10408 (blkcnt_t): Likewise.
10409 (blkcnt64_t): Likewise.
10410 * manual/llio.texi (off_t): Likewise.
10413 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10414 (__ieee754_exp): Save and restore rounding mode and use
10415 round-to-nearest for all computations.
10416 * math/libm-test.inc (exp_test_tonearest): New function.
10417 (exp_test_towardzero): Likewise.
10418 (exp_test_downward): Likewise.
10419 (exp_test_upward): Likewise.
10420 (main): Call the new functions.
10421 * sysdeps/i386/fpu/libm-test-ulps: Update.
10422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10424 2012-03-01 Chris Demetriou <cgd@google.com>
10426 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10427 have predictable order.
10429 2012-03-01 David S. Miller <davem@davemloft.net>
10431 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10433 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10434 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10435 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10436 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10438 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10439 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10440 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10442 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10443 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10444 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10445 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10446 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10450 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10451 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10452 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10454 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10455 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10456 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10457 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10458 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10459 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10460 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10461 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10462 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10463 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10464 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10465 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10466 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10467 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10468 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10469 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10470 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10471 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10472 * sysdeps/sparc/elf/configure: Regenerated.
10474 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10476 * configure.in (AS, LD): Require binutils 2.20 or later.
10477 * configure: Regenerated.
10478 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10479 as required minimum version.
10480 * INSTALL: Regenerated.
10484 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10485 before squaring exponent.
10486 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10487 bottom long double and 27 bits of top long double before squaring
10489 * math/libm-test.inc (erfc_test): Add more tests.
10490 * sysdeps/i386/fpu/libm-test-ulps: Update.
10491 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10494 2012-03-01 Kai Tietz <ktietz@redhat.com>
10496 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10497 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10498 containing bit-fields.
10499 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10500 * soft-fp/single.h (_FP_UNION_S): Likewise.
10501 * soft-fp/double.h (_FP_UNION_D): Likewise.
10503 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10506 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10507 not include ../strcmp.S.
10508 [USE_AS_STRNCASECMP_L]: Likewise.
10509 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10510 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10511 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10512 (__strncasecmp_l_ia32): Define as alias to
10513 __strncasecmp_l_nonascii.
10516 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10517 * sysdeps/i386/fpu/libm-test-ulps: Update.
10518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10520 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10523 2012-02-29 Jeff Law <law@redhat.com>
10525 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10526 out of bounds read.
10528 2012-02-29 Marek Polacek <polacek@redhat.com>
10531 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10532 * elf/Makefile: Add rules to run tst-unused-dep.out.
10534 2012-02-28 David S. Miller <davem@davemloft.net>
10536 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10537 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10538 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10539 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10540 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10541 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10543 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10545 * math/libm-test.inc (llround_test): Move one test from
10546 lround_test. Use TEST_f_L in moved test.
10547 (lround_test): Move misplaced test to llround_test. Add testcase
10550 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10552 * sysdeps/x86_64/fpu/e_expf.S: New file.
10553 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10555 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10558 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10559 of remain_len that may cause incomplete multi-byte character and
10561 * posix/bug-regex33.c: New file.
10562 * posix/Makefile (tests): Add bug-regex33.
10564 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10566 * manual/macros.texi: New file.
10567 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10568 * manual/libc.texinfo: Include macros.texi.
10569 * manual/creatute.texi: Likewise.
10570 * manual/install.texi: Likewise.
10571 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10572 @glibcadj{} in references to the GNU C Library.
10573 * manual/charset.texi: Likewise.
10574 * manual/conf.texi: Likewise.
10575 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10576 when not using those macros.
10577 * manual/creature.texi: Likewise.
10578 * manual/crypt.texi: Likewise.
10579 * manual/errno.texi: Likewise.
10580 * manual/filesys.texi: Likewise.
10581 * manual/header.texi: Likewise.
10582 * manual/install.texi: Likewise.
10583 * manual/intro.texi: Likewise.
10584 * manual/io.texi: Likewise.
10585 * manual/job.texi: Likewise.
10586 * manual/lang.texi: Likewise.
10587 * manual/libc.texiinfo: Likewise.
10588 * manual/llio.texi: Likewise.
10589 * manual/locale.texi: Likewise.
10590 * manual/maint.texi: Likewise.
10591 * manual/math.texi: Likewise.
10592 * manual/memory.texi: Likewise.
10593 * manual/message.texi: Likewise.
10594 * manual/nss.texi: Likewise.
10595 * manual/pattern.texi: Likewise.
10596 * manual/process.texi: Likewise.
10597 * manual/resource.texi: Likewise.
10598 * manual/search.texi: Likewise.
10599 * manual/setjmp.texi: Likewise.
10600 * manual/signal.texi: Likewise.
10601 * manual/socket.texi: Likewise.
10602 * manual/startup.texi: Likewise.
10603 * manual/stdio.texi: Likewise.
10604 * manual/string.texi: Likewise.
10605 * manual/sysinfo.texi: Likewise.
10606 * manual/syslog.texi: Likewise.
10607 * manual/terminal.texi: Likewise.
10608 * manual/time.texi: Likewise.
10609 * manual/users.texi: Likewise.
10610 * INSTALL: Regenerated.
10611 * NOTES: Regenerated.
10612 * sysdeps/gnu/errlist.c: Regenerated.
10614 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10616 * include/dirent.h: Include <dirstream.h> before
10619 2012-02-28 David S. Miller <davem@davemloft.net>
10621 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10622 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10623 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10624 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10626 2012-02-27 David S. Miller <davem@davemloft.net>
10628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10630 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10631 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10634 frame pointer instead of stack pointer relative arg slot.
10635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10636 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10637 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10639 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10642 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10644 2012-02-27 David S. Miller <davem@davemloft.net>
10646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10650 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10651 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10652 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10653 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10655 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10657 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10658 later. Allow versions 5-9.
10659 * configure: Regenerated.
10660 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10661 required minimum version and 4.6 as recommended version. Do not
10662 mention bugs in GCC 2.7 and 2.8.
10663 * INSTALL: Regenerated.
10665 2012-02-27 David S. Miller <davem@davemloft.net>
10667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10671 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10672 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10673 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10674 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10676 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10677 manipulate bits before adding and subtracting TWO112[sx].
10678 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10680 2012-02-27 Roland McGrath <roland@hack.frob.com>
10683 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10684 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10685 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10686 being in POSIX, because they are in 1003.1-2008.
10688 * rt/tst-aio.c: Include <fcntl.h>.
10689 * rt/tst-aio7.c: Likewise.
10690 * rt/tst-aio64.c: Likewise.
10692 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10694 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10696 * manual/install.texi (--with-headers): Describe headers as
10697 interface headers, not private headers.
10698 (Specific advice for GNU/Linux systems): Describe use of headers
10699 from "make headers_install", not private headers from older
10701 * INSTALL: Regenerated.
10702 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10704 * sysdeps/unix/sysv/linux/configure: Regenerated.
10706 * manual/llio.texi (fclean): Remove documentation.
10708 * manual/Makefile (libc-texi-generated): New variable. Include
10710 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10711 $(libc-texi-generated), not duplicated list of files.
10712 (version.texi, stamp-version): New rules.
10713 (realclean): Remove $(libc-texi-generated), not individual files
10714 from that list. Do not remove dir-add.texinfo.
10715 * manual/libc.texinfo: Comment out uses of edition numbers and
10716 references to printed manual. Remove last-updated dates.
10717 (EDITION): Comment out.
10719 (VERSION, UPDATED): Remove.
10720 (version.texi): Include.
10722 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10724 * sysdeps/posix/spawni.c: Include <signal.h>.
10725 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10726 * sysdeps/pthread/aio_fsync.c: Likewise.
10728 2012-02-26 Ulrich Drepper <drepper@gmail.com>
10730 * conform/Makefile (tests): Run only when not cross-compiling and
10731 when fast-check is not defined.
10733 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10734 * conform/data/limits.h-data: Fixes for POSIX2008.
10735 * conform/run-conformtest.sh: Run all tests.
10736 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10738 * include/bits/dlfcn.h: Likewise.
10739 * include/langinfo.h: Likewise.
10740 * include/monetary.h: Likewise.
10741 * include/sys/poll.h: Likewise.
10743 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10745 * posix/spawn.h: Define __need_sigset_t.
10746 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10747 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10748 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10749 to get sigevent_t only.
10750 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10751 only for __USE_GNU.
10752 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10753 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10754 process_vm_writev only for __USE_GNU.
10755 * termios/termios.h: Declare tcgetsid also for POSIX2008.
10757 * conform/Makefile: For now ignore errors from run-conformtest.
10758 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10759 POSIX to avoid namespace pollution. Don't prepend headers.
10760 * conform/data/aio.h-data: Fixes for POSIX testing.
10761 * conform/data/fcntl.h-data: Likewise.
10762 * conform/data/glob.h-data: Likewise.
10763 * conform/data/grp.h-data: Likewise.
10764 * conform/data/pthread.h-data: Likewise.
10765 * conform/data/pwd.h-data: Likewise.
10766 * conform/data/signal.h-data: Likewise.
10767 * conform/data/spawn.h-data: Likewise.
10768 * conform/data/stdio.h-data: Likewise.
10769 * conform/data/stdlib.h-data: Likewise.
10770 * conform/data/stropts.h-data: Likewise.
10771 * conform/data/sys/mman.h-data: Likewise.
10772 * conform/data/sys/stat.h-data: Likewise.
10773 * conform/data/sys/types.h-data: Likewise.
10774 * conform/data/sys/wait.h-data: Likewise.
10775 * conform/data/time.h-data: Likewise.
10776 * conform/data/unistd.h-data: Likewise.
10777 * conform/data/utime.h-data: Likewise.
10779 * io/sys/stat.h: fchmod was always in POSIX.
10780 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10781 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10782 * rt/aio.h: Define __need_timespec before including <time.h>.
10783 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10784 struct. Add forward declaration of pthread_attr_t and use it in
10786 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10787 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10788 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10789 always remove CLK_TCK definition.
10791 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10793 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10795 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10797 * conform/run-conformtest.sh: New file.
10798 * conform/Makefile: Run run-conformtest for tests.
10799 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10802 * conform/data/uchar.h-data: New file.
10803 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10804 * conform/data/arpa/inet.h-data: Likewise.
10805 * conform/data/assert.h-data: Likewise.
10806 * conform/data/complex.h-data: Likewise.
10807 * conform/data/cpio.h-data: Likewise.
10808 * conform/data/ctype.h-data: Likewise.
10809 * conform/data/dirent.h-data: Likewise.
10810 * conform/data/dlfcn.h-data: Likewise.
10811 * conform/data/errno.h-data: Likewise.
10812 * conform/data/fcntl.h-data: Likewise.
10813 * conform/data/float.h-data: Likewise.
10814 * conform/data/fmtmsg.h-data: Likewise.
10815 * conform/data/fnmatch.h-data: Likewise.
10816 * conform/data/ftw.h-data: Likewise.
10817 * conform/data/glob.h-data: Likewise.
10818 * conform/data/grp.h-data: Likewise.
10819 * conform/data/iconv.h-data: Likewise.
10820 * conform/data/inttypes.h-data: Likewise.
10821 * conform/data/langinfo.h-data: Likewise.
10822 * conform/data/libgen.h-data: Likewise.
10823 * conform/data/limits.h-data: Likewise.
10824 * conform/data/locale.h-data: Likewise.
10825 * conform/data/math.h-data: Likewise.
10826 * conform/data/monetary.h-data: Likewise.
10827 * conform/data/mqueue.h-data: Likewise.
10828 * conform/data/ndbm.h-data: Likewise.
10829 * conform/data/net/if.h-data: Likewise.
10830 * conform/data/netdb.h-data: Likewise.
10831 * conform/data/netinet/in.h-data: Likewise.
10832 * conform/data/nl_types.h-data: Likewise.
10833 * conform/data/poll.h-data: Likewise.
10834 * conform/data/pthread.h-data: Likewise.
10835 * conform/data/pwd.h-data: Likewise.
10836 * conform/data/regex.h-data: Likewise.
10837 * conform/data/sched.h-data: Likewise.
10838 * conform/data/search.h-data: Likewise.
10839 * conform/data/semaphore.h-data: Likewise.
10840 * conform/data/setjmp.h-data: Likewise.
10841 * conform/data/signal.h-data: Likewise.
10842 * conform/data/spawn.h-data: Likewise.
10843 * conform/data/stdarg.h-data: Likewise.
10844 * conform/data/stdio.h-data: Likewise.
10845 * conform/data/stdlib.h-data: Likewise.
10846 * conform/data/string.h-data: Likewise.
10847 * conform/data/strings.h-data: Likewise.
10848 * conform/data/stropts.h-data: Likewise.
10849 * conform/data/sys/ipc.h-data: Likewise.
10850 * conform/data/sys/mman.h-data: Likewise.
10851 * conform/data/sys/msg.h-data: Likewise.
10852 * conform/data/sys/resource.h-data: Likewise.
10853 * conform/data/sys/select.h-data: Likewise.
10854 * conform/data/sys/sem.h-data: Likewise.
10855 * conform/data/sys/shm.h-data: Likewise.
10856 * conform/data/sys/socket.h-data: Likewise.
10857 * conform/data/sys/stat.h-data: Likewise.
10858 * conform/data/sys/statvfs.h-data: Likewise.
10859 * conform/data/sys/time.h-data: Likewise.
10860 * conform/data/sys/timeb.h-data: Likewise.
10861 * conform/data/sys/times.h-data: Likewise.
10862 * conform/data/sys/types.h-data: Likewise.
10863 * conform/data/sys/uio.h-data: Likewise.
10864 * conform/data/sys/un.h-data: Likewise.
10865 * conform/data/sys/utsname.h-data: Likewise.
10866 * conform/data/sys/wait.h-data: Likewise.
10867 * conform/data/syslog.h-data: Likewise.
10868 * conform/data/tar.h-data: Likewise.
10869 * conform/data/termios.h-data: Likewise.
10870 * conform/data/utime.h-data: Likewise.
10871 * conform/data/utmpx.h-data: Likewise.
10872 * conform/data/varargs.h-data: Likewise.
10873 * conform/data/wchar.h-data: Likewise.
10874 * conform/data/wctype.h-data: Likewise.
10875 * conform/data/wordexp.h-data: Likewise.
10877 * include/stropts.h: New file.
10878 * include/uchar.h: New file.
10879 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10880 * include/assert.h: Likewise.
10881 * include/ctype.h: Likewise.
10882 * include/dirent.h: Likewise.
10883 * include/dlfcn.h: Likewise.
10884 * include/fcntl.h: Likewise.
10885 * include/fnmatch.h: Likewise.
10886 * include/glob.h: Likewise.
10887 * include/grp.h: Likewise.
10888 * include/libio.h: Likewise.
10889 * include/locale.h: Likewise.
10890 * include/math.h: Likewise.
10891 * include/net/if.h: Likewise.
10892 * include/netdb.h: Likewise.
10893 * include/netinet/in.h: Likewise.
10894 * include/pthread.h: Likewise.
10895 * include/pwd.h: Likewise.
10896 * include/regex.h: Likewise.
10897 * include/sched.h: Likewise.
10898 * include/search.h: Likewise.
10899 * include/setjmp.h: Likewise.
10900 * include/signal.h: Likewise.
10901 * include/stdio.h: Likewise.
10902 * include/stdlib.h: Likewise.
10903 * include/string.h: Likewise.
10904 * include/sys/cdefs.h: Likewise.
10905 * include/sys/mman.h: Likewise.
10906 * include/sys/msg.h: Likewise.
10907 * include/sys/resource.h: Likewise.
10908 * include/sys/select.h: Likewise.
10909 * include/sys/socket.h: Likewise.
10910 * include/sys/stat.h: Likewise.
10911 * include/sys/statvfs.h: Likewise.
10912 * include/sys/time.h: Likewise.
10913 * include/sys/times.h: Likewise.
10914 * include/sys/uio.h: Likewise.
10915 * include/sys/utsname.h: Likewise.
10916 * include/sys/wait.h: Likewise.
10917 * include/termios.h: Likewise.
10918 * include/time.h: Likewise.
10919 * include/ulimit.h: Likewise.
10920 * include/unistd.h: Likewise.
10921 * include/utime.h: Likewise.
10922 * include/wchar.h: Likewise.
10923 * include/wctype.h: Likewise.
10924 * include/wordexp.h: Likewise.
10926 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10928 * time/time.h: TIME_UTC must be a macro.
10929 Make timespec_get available for ISO C11 only as well.
10931 2012-02-24 Ulrich Drepper <drepper@gmail.com>
10933 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10934 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10936 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10938 * configure.in: Use -o not -a in test for unsupported multi-arch.
10940 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10942 * manual/texinfo.tex: Update to version 2012-01-19.16.
10944 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10946 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10948 2012-02-24 Roland McGrath <roland@hack.frob.com>
10951 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10952 * manual/fdl-1.3.texi: New file.
10953 * manual/fdl-1.1.texi: File removed.
10956 * manual/libc.texinfo (FDL_VERSION): New @set.
10957 Use it for mention of FDL in cover text.
10958 (Documentation License): Use it in @include file name.
10960 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10961 Roland McGrath <roland@hack.frob.com>
10964 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10965 not LONG_LONG_MAX and LONG_LONG_MIN.
10966 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10967 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10969 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10971 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10975 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10976 manipulate bits before adding and subtracting TWO23[sx].
10977 * math/libm-test.inc (nearbyint_test): Add more tests.
10979 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10982 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10983 bits before adding and subtracting TWO23[sx].
10984 * math/libm-test.inc (rint_test): Add more tests.
10985 (rint_test_tonearest): Likewise.
10986 (rint_test_towardzero): Likewise.
10987 (rint_test_downward): Likewise.
10988 (rint_test_upward: Likewise.
10990 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10993 * include/stdc-predef.h: New file. Extracted from features.h.
10994 * include/features.h: Include stdc-predef.h.
10995 * Makefile (headers): Add stdc-predef.h.
10996 * CONFORMANCE (Compiler limitations): Update.
10998 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11000 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11002 2012-02-21 David S. Miller <davem@davemloft.net>
11004 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11005 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11007 2012-02-20 David S. Miller <davem@davemloft.net>
11009 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11010 using a normal save/restore sequence, rather than allocating a
11011 dummy stack frame just to store a frame pointer and restore.
11012 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11014 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11016 * manual/install.texi: Fix stray word in line-wrapped comment.
11018 2012-02-20 David S. Miller <davem@davemloft.net>
11020 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11021 both binutils and gcc support GOTDATA.
11023 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11024 "rd %pc" in the PIC register setup sequences.
11026 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11027 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11028 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11029 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11030 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11031 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11032 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11033 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11034 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11035 (SYSCALL_ERROR_HANDLER): Likewise.
11036 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11037 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11038 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11039 (SYSCALL_ERROR_HANDLER): Likewise.
11041 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11042 (HAVE_GCC_GOTDATA): New.
11043 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11044 relocation support in both binutils and gcc.
11045 * sysdeps/sparc/elf/configure: Regenerate.
11047 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11048 * sysdeps/sparc/sparc32/elf/configure: Delete.
11049 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11050 * sysdeps/sparc/sparc64/elf/configure: Delete.
11051 * sysdeps/sparc/elf/configure.in: New file.
11052 * sysdeps/sparc/elf/configure: Generate.
11054 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11055 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11056 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11057 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11058 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11060 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11062 * manual/install.texi: Do not mention specific glibc version
11064 * manual/libc.texinfo (VERSION, UPDATED): Update.
11065 (@copying): Use @copyright{} and range of years.
11067 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11070 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11071 [crti.S not in sysdirs] (generated): Do not append.
11072 [crti.S not in sysdirs] (omit-deps): Likewise.
11073 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11074 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11075 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11076 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11077 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11079 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11080 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11081 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11082 * csu/defs.awk: Remove file.
11083 * sysdeps/generic/initfini.c: Likewise.
11084 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11086 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11089 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11091 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11092 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11093 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11094 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11095 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11096 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11098 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11099 (__EPOLL_PACKED): Define to empty if not defined by
11101 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11105 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11107 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11108 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11109 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11110 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11112 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11116 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11118 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11120 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11121 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11122 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11125 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11127 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11128 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11130 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11132 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11133 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11135 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11137 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11140 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11142 * math/w_acos.c: Use non-signaling floating-point comparisons.
11143 * math/w_acosf.c: Likewise.
11144 * math/w_acosh.c: Likewise.
11145 * math/w_acoshf.c: Likewise.
11146 * math/w_acoshl.c: Likewise.
11147 * math/w_acosl.c: Likewise.
11148 * math/w_asin.c: Likewise.
11149 * math/w_asinf.c: Likewise.
11150 * math/w_asinl.c: Likewise.
11151 * math/w_atanh.c: Likewise.
11152 * math/w_atanhf.c: Likewise.
11153 * math/w_atanhl.c: Likewise.
11154 * math/w_exp2.c: Likewise.
11155 * math/w_exp2f.c: Likewise.
11156 * math/w_exp2l.c: Likewise.
11157 * math/w_j0.c: Likewise.
11158 * math/w_j0f.c: Likewise.
11159 * math/w_j0l.c: Likewise.
11160 * math/w_j1.c: Likewise.
11161 * math/w_j1f.c: Likewise.
11162 * math/w_j1l.c: Likewise.
11163 * math/w_jn.c: Likewise.
11164 * math/w_jnf.c: Likewise.
11165 * math/w_log.c: Likewise.
11166 * math/w_log10.c: Likewise.
11167 * math/w_log10f.c: Likewise.
11168 * math/w_log10l.c: Likewise.
11169 * math/w_log2.c: Likewise.
11170 * math/w_log2f.c: Likewise.
11171 * math/w_log2l.c: Likewise.
11172 * math/w_logf.c: Likewise.
11173 * math/w_logl.c: Likewise.
11174 * math/w_sqrt.c: Likewise.
11175 * math/w_sqrtf.c: Likewise.
11176 * math/w_sqrtl.c: Likewise.
11177 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11178 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11179 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11180 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11181 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11183 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11186 * manual/string.texi (strnlen): Use correct parameter name in
11187 equivalent expression.
11189 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11192 * manual/users.texi (seteuid): Consistently use neweuid for
11195 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11198 * manual/nss.texi (Services in the NSS configuration): Correct
11199 list of services in example configuration file.
11201 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11204 * manual/arith.texi: Remove statements about negative zero
11205 behaving identically to zero.
11207 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11210 * manual/install.texi: Do not document upgrading from libc5.
11212 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11215 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11217 2012-02-18 David S. Miller <davem@davemloft.net>
11219 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11220 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11221 %o7 across the call.
11222 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11224 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11225 SETUP_PIC_REG_LEAF.
11226 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11227 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11228 * sysdeps/sparc/crtn.S: Likewise.
11230 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11232 * aout/Makefile: Remove.
11234 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11237 * manual/examples/argp-ex1.c (main): Format definition in GNU
11239 * manual/examples/argp-ex2.c (main): Likewise.
11240 * manual/examples/argp-ex3.c (main): Likewise.
11241 * manual/examples/argp-ex4.c (main): Likewise.
11242 * manual/examples/longopt.c (main): Use new-style prototype
11244 * manual/examples/strncat.c (main): Specify return type and use
11245 (void) for arguments.
11246 * manual/examples/subopt.c (main): Use char **argv argument.
11248 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11251 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11254 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11257 * manual/string.texi (strchr): Change when strchrnul is
11260 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11263 * manual/locale.texi (setlocale): Document LOCPATH.
11265 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11268 * manual/process.texi (execle): Move @dots{} before last argument.
11270 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11273 * manual/charset.texi (Generic Charset Conversion): Fix typo
11274 (LC_TYPE -> LC_CTYPE).
11276 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11279 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11280 (scalbnf): Likewise.
11281 (scalbnl): Likewise.
11282 (scalbln): Likewise.
11283 (scalblnf): Likewise.
11284 (scalblnl): Likewise.
11285 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11286 (vwarnx): Likewise.
11289 * manual/filesys.texi (telldir): Use braces around return type.
11290 * manual/llio.texi (mmap): Add space after comma.
11291 (mmap64): Likewise.
11292 * manual/math.texi (jn): Use @var{} on parameter names.
11298 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11300 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11302 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11303 (sched_get_priority_max): Likewise.
11304 * manual/signal.texi (sigvec): Add space after comma.
11305 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11307 (if_indextoname): Likewise.
11308 (if_freenameindex): Likewise.
11309 (sendto): Use ',' instead of '.' in prototype.
11310 * manual/startup.texi (syscall): Use @dots{} instead of literal
11312 * manual/stdio.texi (__fpending): Separate initial words of
11313 paragraph from @deftypefun line.
11314 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11316 (vsyslog): Use @var{} on parameter names.
11317 * manual/terminal.texi (stty): Use @var{} on parameter names.
11318 * manual/users.texi (getutmp): Use @var{} on parameter names.
11319 (getutmpx): Likewise.
11321 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11324 * manual/stdio.texi (fopen): Fix typos in description of
11327 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11330 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11331 get clock_id definition.
11333 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11336 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11337 (madvise): Cast every argument to void on its own.
11339 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11342 * manual/startup.texi (Exit Status): Fix typo.
11344 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11347 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11348 * manual/examples/argp-ex2.c: Likewise.
11349 * manual/examples/argp-ex3.c: Likewise.
11351 2012-02-16 Richard Henderson <rth@redhat.com>
11353 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11354 * sysdeps/s390/s390-32/initfini.c: Remove.
11355 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11356 * sysdeps/s390/s390-64/initfini.c: Remove.
11358 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11360 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11361 compiler output for sysdeps/generic/initfini.c.
11362 * sysdeps/sh/elf/initfini.c: Remove file.
11364 2012-02-16 David S. Miller <davem@davemloft.net>
11367 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11369 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11370 * sysdeps/sparc/crti.S: New file.
11371 * sysdeps/sparc/crtn.S: New file.
11372 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11373 * sysdeps/sparc/sparc64/Makefile: Likewise.
11375 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11378 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11380 2012-02-15 Roland McGrath <roland@hack.frob.com>
11383 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11385 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11386 (write, read, close): Likewise.
11387 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11389 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11391 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11392 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11393 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11394 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11396 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11397 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11400 2012-02-14 Marek Polacek <polacek@redhat.com>
11402 * sysdeps/x86_64/crti.S: New file.
11403 * sysdeps/x86_64/crtn.S: New file.
11404 * sysdeps/x86_64/elf/initfini.c: Remove file.
11406 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11408 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11409 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11410 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11411 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11413 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11417 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11419 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11420 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11421 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11422 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11424 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11428 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11430 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11431 __feraiseexcept instead of feraiseexcept.
11433 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11434 nanosleep invocations.
11435 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11436 strings, and add error checking for a nanosleep invocations.
11438 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11440 Replace FSF snail mail address with URLs, as per GNU coding standards.
11441 Most of the snail mail addresses were wrong anyway, and omitting
11442 them makes the source code easier to maintain. Almost all of the
11443 changes are to license notices and to locale LC_IDENTIFICATION
11444 addresses, except for this one:
11445 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11446 not its snail mail address.
11448 2012-02-09 Richard Henderson <rth@twiddle.net>
11450 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11451 of kernel-features.h.
11453 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11455 2012-02-08 Marek Polacek <polacek@redhat.com>
11457 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11458 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11459 * sysdeps/gnu/_G_config.h: Likewise.
11460 * sysdeps/generic/_G_config.h: Likewise.
11462 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11464 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11468 * sysdeps/powerpc/powerpc32/crti.S: New file.
11469 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11470 * sysdeps/powerpc/powerpc64/crti.S: New file.
11471 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11473 * Makeconfig (have-initfini): Don't set.
11474 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11475 * configure.in (nopic_initfini): Don't substitute.
11476 * config.h.in (HAVE_INITFINI): Don't #undef.
11477 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11478 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11480 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11482 Support crti.S and crtn.S provided directly by architectures.
11483 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11484 [crti.S in sysdirs] (omit-deps): Likewise.
11485 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11486 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11487 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11488 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11489 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11490 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11491 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11492 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11493 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11494 compiler output for sysdeps/generic/initfini.c.
11495 * sysdeps/i386/elf/Makefile: Remove file.
11496 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11498 2012-02-07 Marek Polacek <polacek@redhat.com>
11500 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11501 * sysdeps/gnu/_G_config.h: Likewise.
11502 * sysdeps/mach/hurd/_G_config.h: Likewise.
11504 2012-02-07 Marek Polacek <polacek@redhat.com>
11506 * math/Makefile (tests): Add tst-CMPLX2.
11507 * math/tst-CMPLX2.c: New file.
11509 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11511 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11513 * math/libm-test.inc (jn_test): Add missing L suffix.
11515 2012-02-06 Marek Polacek <polacek@redhat.com>
11517 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11518 * sysdeps/i386/fpu/e_powf.S: Likewise.
11519 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11520 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11521 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11522 * sysdeps/i386/fpu/e_pow.S: Likewise.
11523 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11524 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11525 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11526 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11527 * sysdeps/i386/fpu/e_log2.S: Likewise.
11528 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11529 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11530 * sysdeps/i386/fpu/e_powl.S: Likewise.
11531 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11532 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11533 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11534 * sysdeps/i386/fpu/e_logl.S: Likewise.
11535 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11536 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11537 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11538 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11539 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11540 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11541 * sysdeps/i386/fpu/e_log.S: Likewise.
11542 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11543 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11544 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11545 * sysdeps/i386/fpu/e_logf.S: Likewise.
11546 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11547 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11548 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11549 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11550 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11551 * sysdeps/i386/fpu/e_log10.S: Likewise.
11552 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11553 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11554 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11555 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11556 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11557 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11558 * sysdeps/i386/asm-syntax.h: Likewise.
11559 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11560 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11561 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11562 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11563 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11564 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11565 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11566 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11567 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11568 * sysdeps/powerpc/sysdep.h: Likewise.
11569 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11570 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11572 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11575 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11577 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11579 * sysdeps/i386/sysdep.h: Include <features.h>.
11580 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11583 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11585 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11587 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11590 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11592 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11593 (SETUP_PIC_REG): Use GET_PC_THUNK.
11594 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11597 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11599 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11600 for non-PIC compilation.
11601 (SETUP_PIC_REG): Add .p2align directive.
11602 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11603 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11604 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11605 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11606 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11607 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11608 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11609 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11610 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11611 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11612 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11613 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11614 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11615 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11616 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11617 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11618 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11619 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11620 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11621 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11622 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11623 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11624 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11625 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11626 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11627 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11628 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11629 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11630 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11631 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11632 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11633 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11634 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11635 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11636 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11637 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11638 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11639 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11640 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11641 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11642 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11644 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11646 * math/tst-CMPLX.c: Include <stdio.h>.
11648 2012-01-31 Joseph Myers <joseph@codesourcery.com>
11650 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11652 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11653 * sysdeps/sparc/bits/mathdef.h: Likewise.
11655 2012-01-31 Marek Polacek <polacek@redhat.com>
11657 * libio/libio.h: Don't define _PARAMS.
11658 * locale/programs/config.h: Don't define PARAMS.
11659 * stdlib/strtol_l.c: Likewise.
11660 (__strtol_l): Remove PARAMS from the prototype.
11662 2012-01-31 Ulrich Drepper <drepper@gmail.com>
11664 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11665 names. Just use the correct names. Remove unnecessary wrapper
11667 * malloc/arena.c: Likewise.
11668 * malloc/hooks.c: Likewise.
11670 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11671 ARENA_TEST says not to. Simplify test for creation of a new arena.
11672 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11674 2012-01-30 Ulrich Drepper <drepper@gmail.com>
11676 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11678 (update_get_addr): New function.
11679 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11680 GET_ADDR_MODULE parameter.
11682 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11684 * crypt/cert.c: Remove __STDC__ conditionals.
11685 * crypt/crypt-entry.c: Likewise.
11686 * crypt/crypt_util.c: Likewise.
11687 * libio/filedoalloc.c: Likewise.
11688 * libio/fileops.c: Likewise.
11689 * libio/genops.c: Likewise.
11690 * libio/iofclose.c: Likewise.
11691 * libio/iofdopen.c: Likewise.
11692 * libio/iofopen.c: Likewise.
11693 * libio/iofopen64.c: Likewise.
11694 * libio/iogetdelim.c: Likewise.
11695 * libio/iopopen.c: Likewise.
11696 * libio/obprintf.c: Likewise.
11697 * libio/oldfileops.c: Likewise.
11698 * libio/oldiofclose.c: Likewise.
11699 * libio/oldiofdopen.c: Likewise.
11700 * libio/oldiofopen.c: Likewise.
11701 * libio/oldiopopen.c: Likewise.
11702 * libio/wfiledoalloc.c: Likewise.
11703 * libio/wgenops.c: Likewise.
11704 * locale/programs/xmalloc.c: Likewise.
11705 * misc/syslog.c: Likewise.
11706 * stdio-common/xbug.c: Likewise.
11707 * string/memchr.c: Likewise.
11708 * string/memcmp.c: Likewise.
11709 * string/memrchr.c: Likewise.
11710 * string/rawmemchr.c: Likewise.
11711 * sysdeps/posix/getcwd.c: Likewise.
11712 * time/strftime_l.c: Likewise.
11714 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11716 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11717 * config.make.in (config-cflags-sse2avx): Define.
11718 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11721 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11723 * scripts/config.guess: Update from upstream config git repository.
11724 * scripts/config.sub: Likewise.
11726 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11728 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11730 (R_TILEPRO_*, R_TILEGX_*): New macros.
11732 * scripts/firstversions.awk: Fix bug in version range handling.
11734 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11736 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11738 * include/sys/epoll.h: New file.
11739 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11742 2012-01-28 Ulrich Drepper <drepper@gmail.com>
11744 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11745 Avoid unnecessary __WORDSIZE == 64 test.
11746 (fmaxf): Use VEX format if possible.
11751 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11752 * math/math_private.h: Remove libc_fegetround* and
11754 * sysdeps/i386/configure.in: Check for -msse2avx.
11755 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11756 also if SSE2AVX is defined.
11757 Remove libc_fegetround* and libc_fesetround*.
11758 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11759 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11760 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11762 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11763 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11764 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11765 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11766 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11768 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11770 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11772 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11774 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11776 2012-01-27 Ulrich Drepper <drepper@gmail.com>
11779 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11781 * Makeconfig (libm): Define.
11782 * elf/Makefile: Add rules to build and run tst-relsort1.
11783 * elf/tst-relsort1.c: New file.
11784 * elf/tst-relsort1mod1.c: New file.
11785 * elf/tst-relsort1mod2.c: New file.
11787 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11789 * math/s_ldexp.c: Remove __STDC__ conditionals.
11790 * math/s_ldexpf.c: Likewise.
11791 * math/s_ldexpl.c: Likewise.
11792 * math/s_nextafter.c: Likewise.
11793 * math/s_nexttowardf.c: Likewise.
11794 * math/s_significand.c: Likewise.
11795 * math/s_significandf.c: Likewise.
11796 * math/s_significandl.c: Likewise.
11797 * math/w_jnl.c: Likewise.
11798 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11799 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11800 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11801 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11802 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11803 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11804 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11805 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11806 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11807 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11808 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11809 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11810 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11811 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11812 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11813 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11814 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11815 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11816 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11817 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11818 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11819 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11820 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11821 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11822 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11823 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11824 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11825 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11826 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11827 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11828 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11829 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11830 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11831 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11832 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11833 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11834 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11835 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11836 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11837 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11838 * sysdeps/ieee754/k_standard.c: Likewise.
11839 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11840 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11841 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11842 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11843 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11844 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11845 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11846 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11847 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11848 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11849 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11850 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11851 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11852 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11853 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11854 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11855 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11856 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11857 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11858 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11859 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11860 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11861 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11862 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11863 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11864 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11865 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11866 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11867 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11868 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11869 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11870 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11871 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11872 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11873 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11874 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11875 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11876 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11877 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11878 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11879 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11880 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11881 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11882 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11883 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11884 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11885 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11886 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11887 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11888 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11889 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11890 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11891 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11892 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11893 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11894 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11895 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11896 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11897 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11898 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11899 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11900 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11901 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11902 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11903 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11904 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11905 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11906 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11907 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11908 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11909 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11910 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11911 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11912 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11913 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11914 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11915 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11916 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11917 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11918 * sysdeps/ieee754/s_matherr.c: Likewise.
11919 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11920 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11921 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11922 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11924 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11926 * crypt/md5.h: Remove __STDC__ conditionals.
11927 * libio/libioP.h: Likewise.
11928 * locale/programs/config.h: Likewise.
11929 * sysdeps/generic/sysdep.h: Likewise.
11930 * sysdeps/i386/asm-syntax.h: Likewise.
11931 * sysdeps/s390/asm-syntax.h: Likewise.
11932 * sysdeps/unix/sysdep.h: Likewise.
11933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11936 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11938 * libio/libio.h: Remove __STDC__ conditionals.
11939 * malloc/obstack.h: Likewise.
11940 * math/complex.h: Likewise.
11941 * math/math.h: Likewise.
11942 * sysdeps/generic/_G_config.h: Likewise.
11943 * sysdeps/gnu/_G_config.h: Likewise.
11944 * sysdeps/mach/hurd/_G_config.h: Likewise.
11945 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11946 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11947 * sysdeps/sparc/bits/mathdef.h: Likewise.
11949 2012-01-26 Ulrich Drepper <drepper@gmail.com>
11952 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11953 Clean up HAS_* macros.
11954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11955 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11957 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11959 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11960 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11961 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11962 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11963 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11965 2012-01-25 Joseph Myers <joseph@codesourcery.com>
11967 * elf/tst-unique3.cc (gets): Remove declaration.
11968 * elf/tst-unique3lib.cc (gets): Likewise.
11969 * elf/tst-unique3lib2.cc (gets): Likewise.
11970 * elf/tst-unique4.cc (gets): Likewise.
11972 2012-01-24 Ulrich Drepper <drepper@gmail.com>
11974 * include/stdio.h: Add C++ protection. Add gets declarations and
11976 * debug/tst-chk1.c: Don't declare gets here.
11977 * stdio-common/tst-gets.c: Likewise.
11979 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11981 * posix/glob: Remove directory.
11983 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11985 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11987 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11989 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11990 of the non-standard EPFNOSUPPORT.
11992 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11994 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11995 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11996 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11998 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12000 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12002 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12004 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12006 * nscd/grpcache.c (cache_addgr): Likewise.
12007 * nscd/hstcache.c (cache_addhst): Likewise.
12008 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12009 * nscd/pwdcache.c (cache_addpw): Likewise.
12010 * nscd/servicescache.c (cache_addserv): Likewise.
12012 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12014 * malloc/malloc.c: Various cleanups.
12015 * malloc/hooks.c: Likewise.
12017 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12018 * stdlib/bug-fmtmsg1.c: New file.
12020 * stdlib/fmtmsg.c (init): Add missing unlock.
12021 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12023 2012-01-12 Marek Polacek <polacek@redhat.com>
12025 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12028 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12030 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12031 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12032 macro to ensure uniqueness of label name.
12033 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12034 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12036 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12038 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12040 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12041 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12042 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12043 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12045 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12047 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12049 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12050 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12051 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12053 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12055 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12056 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12057 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12058 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12060 * math/bits/math-finite.h: Add ldexp support.
12062 2012-01-10 Marek Polacek <polacek@redhat.com>
12064 * locale/programs/localedef.h (show_archive_content): Add noreturn
12067 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12069 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12071 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12073 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12075 * io/Makefile (headers): Add bits/poll2.h.
12077 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12080 typo #include statement.
12082 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12084 * include/sys/cdefs.h: Define __attribute_alloc_size.
12085 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12086 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12087 * elf/pldd.c: Likewise.
12088 * iconv/iconv_charmap.c: Likewise.
12089 * iconv/iconvconfig.c: Likewise.
12090 * iconv/strtab.c: Likewise.
12091 * locale/programs/locale.c: Likewise.
12092 * locale/programs/localedef.h: Likewise.
12093 * locale/programs/simple-hash.c: Likewise.
12094 * nscd/nscd.h: Likewise.
12095 * nss/makedb.c: Likewise.
12096 * sysdeps/generic/ldconfig.h: Likewise.
12097 * locale/programs/localedef.c: Remove xmalloc prototype.
12098 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12100 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12102 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12105 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12107 * math/Makefile (tests): Add tst-CMPLX.
12108 * math/tst-CMPLX.c: New file.
12110 * math/complex.h (CMPLXL): Fix typo.
12112 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12113 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12115 * debug/tst-chk1.c: Add poll and ppoll tests.
12116 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12117 * include/sys/poll.h: Add hidden proto for ppoll.
12118 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12119 * sysdeps/mach/hurd/ppoll.c: Likewise.
12120 * io/ppoll.c: Likewise.
12121 * debug/poll_chk.c: New file.
12122 * debug/ppoll_chk.c: New file.
12123 * include/bits/poll2.h: New file.
12124 * io/bits/poll2.h: New file.
12127 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12129 * configure.in: static is always set to yes. Remove.
12130 * config.make.in: Don't set build-static.
12131 * Makeconfig: Remove use of build-static.
12132 * dlfcn/Makefile: Likewise.
12133 * elf/Makefile: Likewise.
12134 * math/Makefile: Likewise.
12135 * misc/Makefile: Likewise.
12136 * nptl/Makefile: Likewise.
12137 * sysdeps/mach/hurd/Makefile: Likewise.
12139 * configure.in: PWD_P is not used anymore.
12140 * config.make.in: Remove PWD_P entry.
12142 * configure.in: Remove last remnants of RANLIB.
12143 No need to check for signed size_t anymore.
12144 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12146 Remove __builtin_expect test because we require at least gcc 3.4.
12147 * aclocal.m4: Likewise.
12149 * wcsmbs/mbrtoc16.c: Implement using towc function.
12150 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12151 * wcsmbs/wcsmbsload.c: Likewise.
12152 * iconv/gconv_simple.c: Likewise.
12153 * iconv/gconv_int.h: Likewise.
12154 * iconv/gconv_builtin.h: Likewise.
12155 * iconv/iconv_prog.c: Remove CHAR16 handling.
12157 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12159 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12161 * configure.in: Remove --with-elf and --enable-bounded options.
12162 Dont set base_machine for ia64. More non-ELF conditions removed.
12163 Remove testing and setting of leading underscore information.
12164 * config.make.in (build-bounded): Set to no.
12165 * config.h.in: Remove NO_UNDERSCORES entry.
12166 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12168 * csu/start.c: Remove !NO_UNDERSCORE code.
12169 * locale/localeinfo.h: Likewise.
12170 * sysdeps/generic/machine-gmon.h: Likewise.
12171 * sysdeps/generic/sysdep.h: Likewise.
12172 * sysdeps/i386/sysdep.h: Likewise.
12173 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12174 * sysdeps/mach/sysdep.h: Likewise.
12175 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12176 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12177 * sysdeps/sh/sysdep.h: Likewise.
12178 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12179 * sysdeps/unix/i386/sysdep.S: Likewise.
12180 * sysdeps/unix/sparc/start.c: Likewise.
12181 * sysdeps/unix/sparc/sysdep.S: Likewise.
12182 * sysdeps/unix/sparc/sysdep.h: Likewise.
12183 * sysdeps/unix/start.c: Likewise.
12184 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12185 * sysdeps/x86_64/sysdep.h: Likewise.
12187 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12190 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12192 * argp/argp-fmtstream.h: Use const instead __const.
12193 * argp/argp.h: Likewise.
12194 * assert/assert.h: Likewise.
12195 * bits/fenv.h: Likewise.
12196 * bits/sched.h: Likewise.
12197 * bits/sigset.h: Likewise.
12198 * bits/sigthread.h: Likewise.
12199 * catgets/nl_types.h: Likewise.
12200 * conform/data/pthread.h-data: Likewise.
12201 * crypt/crypt-private.h: Likewise.
12202 * crypt/crypt.h: Likewise.
12203 * crypt/crypt_util.c: Likewise.
12204 * ctype/ctype.h: Likewise.
12205 * debug/execinfo.h: Likewise.
12206 * debug/mbsnrtowcs_chk.c: Likewise.
12207 * debug/mbsrtowcs_chk.c: Likewise.
12208 * debug/wcsnrtombs_chk.c: Likewise.
12209 * debug/wcsrtombs_chk.c: Likewise.
12210 * debug/wcstombs_chk.c: Likewise.
12211 * dirent/dirent.h: Likewise.
12212 * dlfcn/dlfcn.h: Likewise.
12213 * elf/neededtest4.c: Likewise.
12214 * grp/grp.h: Likewise.
12215 * gshadow/gshadow.h: Likewise.
12216 * iconv/gconv.h: Likewise.
12217 * iconv/gconv_int.h: Likewise.
12218 * iconv/gconv_simple.c: Likewise.
12219 * iconv/iconv.h: Likewise.
12220 * iconv/loop.c: Likewise.
12221 * iconv/skeleton.c: Likewise.
12222 * include/aio.h: Likewise.
12223 * include/aliases.h: Likewise.
12224 * include/argz.h: Likewise.
12225 * include/arpa/inet.h: Likewise.
12226 * include/assert.h: Likewise.
12227 * include/dirent.h: Likewise.
12228 * include/dlfcn.h: Likewise.
12229 * include/execinfo.h: Likewise.
12230 * include/fcntl.h: Likewise.
12231 * include/fenv.h: Likewise.
12232 * include/glob.h: Likewise.
12233 * include/grp.h: Likewise.
12234 * include/libintl.h: Likewise.
12235 * include/mntent.h: Likewise.
12236 * include/netdb.h: Likewise.
12237 * include/pwd.h: Likewise.
12238 * include/rpc/netdb.h: Likewise.
12239 * include/sched.h: Likewise.
12240 * include/search.h: Likewise.
12241 * include/shadow.h: Likewise.
12242 * include/signal.h: Likewise.
12243 * include/stdio.h: Likewise.
12244 * include/stdlib.h: Likewise.
12245 * include/string.h: Likewise.
12246 * include/sys/socket.h: Likewise.
12247 * include/sys/stat.h: Likewise.
12248 * include/sys/statfs.h: Likewise.
12249 * include/sys/statvfs.h: Likewise.
12250 * include/sys/syslog.h: Likewise.
12251 * include/sys/time.h: Likewise.
12252 * include/sys/uio.h: Likewise.
12253 * include/time.h: Likewise.
12254 * include/unistd.h: Likewise.
12255 * include/utmp.h: Likewise.
12256 * include/wchar.h: Likewise.
12257 * include/wctype.h: Likewise.
12258 * inet/aliases.h: Likewise.
12259 * inet/arpa/inet.h: Likewise.
12260 * inet/netinet/ether.h: Likewise.
12261 * inet/netinet/in.h: Likewise.
12262 * intl/libintl.h: Likewise.
12263 * io/bits/fcntl2.h: Likewise.
12264 * io/fcntl.h: Likewise.
12265 * io/ftw.h: Likewise.
12266 * io/sys/poll.h: Likewise.
12267 * io/sys/stat.h: Likewise.
12268 * io/sys/statfs.h: Likewise.
12269 * io/sys/statvfs.h: Likewise.
12270 * io/utime.h: Likewise.
12271 * libio/bits/stdio.h: Likewise.
12272 * libio/bits/stdio2.h: Likewise.
12273 * libio/libio.h: Likewise.
12274 * libio/libioP.h: Likewise.
12275 * libio/stdio.h: Likewise.
12276 * locale/lc-ctype.c: Likewise.
12277 * locale/locale.h: Likewise.
12278 * login/utmp.h: Likewise.
12279 * malloc/arena.c: Likewise.
12280 * malloc/malloc.c: Likewise.
12281 * malloc/malloc.h: Likewise.
12282 * malloc/mcheck.c: Likewise.
12283 * malloc/mtrace.c: Likewise.
12284 * math/bits/mathcalls.h: Likewise.
12285 * math/fenv.h: Likewise.
12286 * math/math_private.h: Likewise.
12287 * misc/bits/error.h: Likewise.
12288 * misc/bits/syslog.h: Likewise.
12289 * misc/err.h: Likewise.
12290 * misc/error.h: Likewise.
12291 * misc/fstab.h: Likewise.
12292 * misc/mntent.h: Likewise.
12293 * misc/regexp.h: Likewise.
12294 * misc/search.h: Likewise.
12295 * misc/sgtty.h: Likewise.
12296 * misc/sys/mman.h: Likewise.
12297 * misc/sys/syslog.h: Likewise.
12298 * misc/sys/uio.h: Likewise.
12299 * misc/sys/xattr.h: Likewise.
12300 * misc/ttyent.h: Likewise.
12301 * nis/rpcsvc/ypclnt.h: Likewise.
12302 * nss/nss.h: Likewise.
12303 * posix/bits/unistd.h: Likewise.
12304 * posix/fnmatch.h: Likewise.
12305 * posix/glob.h: Likewise.
12306 * posix/sched.h: Likewise.
12307 * posix/spawn.h: Likewise.
12308 * posix/sys/wait.h: Likewise.
12309 * posix/unistd.h: Likewise.
12310 * posix/wordexp.h: Likewise.
12311 * pwd/pwd.h: Likewise.
12312 * resolv/netdb.h: Likewise.
12313 * resource/sys/resource.h: Likewise.
12314 * rt/aio.h: Likewise.
12315 * rt/bits/mqueue2.h: Likewise.
12316 * rt/mqueue.h: Likewise.
12317 * shadow/shadow.h: Likewise.
12318 * signal/signal.h: Likewise.
12319 * socket/send.c: Likewise.
12320 * socket/sendto.c: Likewise.
12321 * socket/sys/socket.h: Likewise.
12322 * stdio-common/printf.h: Likewise.
12323 * stdlib/bits/stdlib.h: Likewise.
12324 * stdlib/fmtmsg.h: Likewise.
12325 * stdlib/monetary.h: Likewise.
12326 * stdlib/stdlib.h: Likewise.
12327 * stdlib/ucontext.h: Likewise.
12328 * streams/stropts.h: Likewise.
12329 * string/argz.h: Likewise.
12330 * string/bits/string2.h: Likewise.
12331 * string/string.h: Likewise.
12332 * string/strings.h: Likewise.
12333 * sunrpc/rpc/auth.h: Likewise.
12334 * sunrpc/rpc/auth_des.h: Likewise.
12335 * sunrpc/rpc/clnt.h: Likewise.
12336 * sunrpc/rpc/netdb.h: Likewise.
12337 * sunrpc/rpc/pmap_clnt.h: Likewise.
12338 * sunrpc/rpc/xdr.h: Likewise.
12339 * sysdeps/generic/inttypes.h: Likewise.
12340 * sysdeps/generic/net/if.h: Likewise.
12341 * sysdeps/generic/sys/swap.h: Likewise.
12342 * sysdeps/gnu/net/if.h: Likewise.
12343 * sysdeps/gnu/utmpx.h: Likewise.
12344 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12345 * sysdeps/i386/i486/bits/string.h: Likewise.
12346 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12347 * sysdeps/s390/bits/string.h: Likewise.
12348 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12349 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12350 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12351 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12352 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12353 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12354 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12355 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12356 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12357 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12358 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12359 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12360 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12361 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12362 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12363 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12364 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12365 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12366 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12367 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12368 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12369 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12370 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12371 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12372 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12373 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12374 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12375 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12376 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12377 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12378 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12379 * sysvipc/sys/ipc.h: Likewise.
12380 * sysvipc/sys/msg.h: Likewise.
12381 * sysvipc/sys/sem.h: Likewise.
12382 * sysvipc/sys/shm.h: Likewise.
12383 * termios/termios.h: Likewise.
12384 * time/sys/time.h: Likewise.
12385 * time/time.h: Likewise.
12386 * wcsmbs/bits/wchar2.h: Likewise.
12387 * wcsmbs/uchar.h: Likewise.
12388 * wcsmbs/wchar.h: Likewise.
12389 * wctype/wctype.h: Likewise.
12392 * Makeconfig: Remove all but ELF support including AIX support.
12393 * Makerules: Likewise.
12394 * config.h.in: Likewise.
12395 * config.make.in: Likewise.
12396 * configure: Likewise.
12397 * configure.in: Likewise.
12398 * csu/Makefile: Likewise.
12399 * csu/version.c: Likewise.
12400 * debug/Makefile: Likewise.
12401 * dlfcn/Makefile: Likewise.
12402 * elf/Makefile: Likewise.
12403 * extra-lib.mk: Likewise.
12404 * iconv/Makefile: Likewise.
12405 * include/libc-symbols.h: Likewise.
12406 * include/shlib-compat.h: Likewise.
12407 * resolv/Makefile: Likewise.
12408 * resolv/res_libc.c: Likewise.
12409 * rt/Makefile: Likewise.
12410 * sysdeps/i386/asm-syntax.h: Likewise.
12411 * sysdeps/i386/sysdep.h: Likewise.
12412 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12413 * sysdeps/mach/sysdep.h: Likewise.
12414 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12415 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12416 * sysdeps/s390/asm-syntax.h: Likewise.
12417 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12418 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12419 * sysdeps/sh/sysdep.h: Likewise.
12420 * sysdeps/unix/sparc/sysdep.h: Likewise.
12421 * sysdeps/wordsize-32/divdi3.c: Likewise.
12422 * sysdeps/x86_64/sysdep.h: Likewise.
12424 * argp/Versions: Remove _argp_unlock_xxx.
12427 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12428 * abilist/libBrokenLocale.abilist: Likewise.
12429 * abilist/libanl.abilist: Likewise.
12430 * abilist/libc.abilist: Likewise.
12431 * abilist/libcrypt.abilist: Likewise.
12432 * abilist/libdl.abilist: Likewise.
12433 * abilist/libm.abilist: Likewise.
12434 * abilist/libnsl.abilist: Likewise.
12435 * abilist/libpthread.abilist: Likewise.
12436 * abilist/libresolv.abilist: Likewise.
12437 * abilist/librt.abilist: Likewise.
12438 * abilist/libthread_db.abilist: Likewise.
12439 * abilist/libutil.abilist: Likewise.
12440 * abilist/libnss_db.abilist: New file.
12442 * scripts/abilist.awk: Add support for indirect functions.
12444 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12446 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12448 * shlib-versions: Remove entries for ports architectures.
12450 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12452 * elf/stackguard-macros.h: Remove support for IA-64.
12453 * elf/tst-auditmod1.c: Likewise.
12454 * sysdeps/generic/ldsodefs.h: Likewise.
12456 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12457 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12461 * configure.in: Remove --enable-omitfp support.
12463 * config.make.in: Likewise.
12464 * Makeconfig: Likewise.
12465 * manual/install.texi: Likewise.
12467 In case anyone cares, the IA-64 architecture could move to ports.
12468 * sysdeps/ia64/*: Removed.
12469 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12470 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12473 * configure.in: Remove entries for unsupported architectures.
12476 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12477 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12479 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12480 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12481 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12482 fall back to using wcrtomb.
12483 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12484 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12486 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12487 * wcsmbs/tst-c16c32-1.c: New file.
12489 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12492 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12494 * elf/tst-unique3.cc: Add explicit declaration of gets.
12495 * elf/tst-unique3lib.cc: Likewise.
12496 * elf/tst-unique3lib2.cc: Likewise.
12497 * elf/tst-unique4.cc: Likewise.
12499 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12501 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12504 * assert/assert.h (static_assert): Don't define for C++.
12505 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12506 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12508 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12510 * iconv/loop.c (single loop): Fix assertion in storing of
12513 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12515 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12517 * posix/getconf.c: Update copyright year.
12518 * nss/getent.c: Likewise.
12519 * nss/makedb.c: Likewise.
12520 * iconv/iconvconfig.c: Likewise.
12521 * iconv/iconv_prog.c: Likewise.
12522 * elf/ldconfig.c: Likewise.
12523 * elf/pldd.c: Likewise.
12524 * elf/sotruss.ksh: Likewise.
12525 * catgets/gencat.c: Likewise.
12526 * csu/version.c: Likewise.
12527 * elf/ldd.bash.in: Likewise.
12528 * elf/sprof.c (print_version): Likewise.
12529 * locale/programs/locale.c: Likewise.
12530 * locale/programs/localedef.c: Likewise.
12531 * login/programs/pt_chown.c: Likewise.
12532 * nscd/nscd.c (print_version): Likewise.
12533 * debug/xtrace.sh: Likewise.
12534 * malloc/memusage.sh: Likewise.
12535 * malloc/mtrace.pl: Likewise.
12536 * debug/catchsegv.sh: Likewise.
12538 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12540 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12543 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12546 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12547 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12549 * iconv/gconv_int.h: Likewise.
12550 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12551 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12552 from libc for GLIBC_2.16.
12553 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12554 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12555 * wcsmbs/uchar.h: Really define mbstate_t.
12556 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12557 * wcsmbs/c16rtomb.c: New file.
12558 * wcsmbs/mbrtoc16.c: New file.
12559 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12560 for C/POSIX locale.
12561 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12562 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12564 * wcsmbs/wchar.h: Add missing __restrict.
12566 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12569 * time/Makefile (routines): Add timespec_get.
12570 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12571 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12572 timespec for ISO C11.
12573 * time/timespec_get.c: New file.
12574 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12575 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12578 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12579 * stdlib/stdlib.h: Declare aligned_alloc.
12580 * Versions.def: Add GLIBC_2.16 for libc.
12581 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12584 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12587 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12591 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12594 * assert/assert.h (static_assert): Define.
12596 * version.h: Update for 2.16 development version.
12599 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12602 * version.h (RELEASE): Bump for 2.15 release.
12603 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12605 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12606 Patch by Marek Polacek <mpolacek@redhat.com>.
12608 * bits/byteswap.h: Protect long long constants with __extension__.
12609 * sysdeps/i386/bits/byteswap.h: Likewise.
12610 * sysdeps/ia64/bits/byteswap.h: Likewise.
12611 * sysdeps/s390/bits/byteswap.h: Likewise.
12612 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12614 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12617 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12618 destination buffer.
12619 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12621 2011-12-23 Marek Polacek <polacek@redhat.com>
12623 * elf/dl-addr.c (determine_info): Add inline keyword.
12624 * elf/tst-auditmod4b.c (check_avx): Likewise.
12625 * elf/tst-auditmod6b.c (check_avx): Likewise.
12626 * elf/tst-auditmod6c.c (check_avx): Likewise.
12627 * elf/tst-auditmod7b.c (check_avx): Likewise.
12629 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12631 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12634 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12637 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12638 processing for last bytes.
12640 2011-08-06 Bruno Haible <bruno@clisp.org>
12643 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12644 U+0385, not to U+1FEE.
12647 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12648 entry for U+00A5 U+0301.
12650 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12653 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12654 buffer for the output is too small.
12656 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12660 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12661 SSE flags if possible.
12663 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12666 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12667 processing for last bytes.
12669 2011-12-22 Joseph Myers <joseph@codesourcery.com>
12671 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12672 (syscall-list-default-options, syscall-list-default-condition)
12673 (syscall-list-includes): Define.
12674 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12675 list of ABIs and options and #if conditions for each ABI. Do not
12676 handle common syscalls between ABIs specially.
12677 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12679 (syscall-list-variants, syscall-list-32bit-options)
12680 (syscall-list-32bit-condition, syscall-list-64bit-options)
12681 (syscall-list-64bit-condition): Define.
12682 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12683 (syscall-list-variants, syscall-list-32bit-options)
12684 (syscall-list-32bit-condition, syscall-list-64bit-options)
12685 (syscall-list-64bit-condition): Define.
12686 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12688 (syscall-list-variants, syscall-list-32bit-options)
12689 (syscall-list-32bit-condition, syscall-list-64bit-options)
12690 (syscall-list-64bit-condition): Define.
12691 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12693 (syscall-list-variants, syscall-list-32bit-options)
12694 (syscall-list-32bit-condition, syscall-list-64bit-options)
12695 (syscall-list-64bit-condition): Define.
12697 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12699 * locale/iso-639.def: Add brx entry.
12702 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12703 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12705 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12706 __feraiseexcept_renamed.
12708 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12711 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12712 EPOLLET with unsigned values.
12713 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12714 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12716 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12717 to large cancellation.
12718 * math/s_cacoshf.c: Likewise.
12719 * math/s_cacoshl.c: Likewise.
12721 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12725 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12726 * math/s_cacoshf.c: Likewise.
12727 * math/s_cacoshl.c: Likewise.
12729 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12732 * iconv/gconv.h: Define __GCONV_SWAP.
12733 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12734 * iconvdata/utf-16.c: Likewise.
12735 * iconvdata/utf-32.c: Likewise.
12737 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12740 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12741 numerator after shifting it by one limb.
12743 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12745 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12746 under [__USE_EXTERN_INLINES].
12748 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12751 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12753 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12755 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12756 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12758 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12759 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12760 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12761 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12762 for strncasecmp/strncasecmp_l compilation.
12763 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12764 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12766 2011-12-08 Marek Polacek <mpolacek@redhat.com>
12769 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12772 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12775 * time/tzfile.c (__tzfile_read): Check values from file header.
12777 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12779 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12780 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12781 * powerpc/powerpc32/dl-start.S: Likewise.
12782 * powerpc/powerpc32/elf/start.S: Likewise.
12783 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12784 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12785 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12786 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12787 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12788 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12789 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12790 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12791 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12792 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12793 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12794 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12795 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12796 * powerpc/powerpc32/memset.S: Likewise.
12797 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12798 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12799 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12800 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12801 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12802 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12803 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12804 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12805 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12806 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12807 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12808 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12809 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12811 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12813 * math/libm-test.inc: Added more nearbyint tests.
12814 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12815 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12816 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12817 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12819 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12821 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12824 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12826 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12827 Add wcscpy-ssse3 wcscpy-c.
12828 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12829 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12830 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12831 * sysdeps/x86_64/wcschr.S: New file.
12832 * sysdeps/x86_64/wcsrchr.S: New file.
12833 * string/test-strcmp.c: Remove checking of wcscmp function for
12835 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12836 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12837 wcsrchr-sse2 wcsrchr-c.
12838 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12839 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12840 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12841 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12842 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12843 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12844 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12845 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12846 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12847 * wcsmbc/wcschr.c (WCSCHR): New macro.
12849 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12851 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12852 * wcsmbs/test-wcsrchr.c: New file.
12853 * string/test-strrchr.c: Add wcsrchr support.
12855 * wcsmbs/test-wcscpy.c: New file.
12856 * string/test-strcpy.c: Add wcscpy support.
12859 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12861 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12864 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12867 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12869 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12871 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12872 Minor optimizations.
12874 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12875 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12876 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12878 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12880 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12881 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12882 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12883 for gcc to avoid warnings.
12884 * inet/Makefile (tests): Add tst-checks.
12885 * inet/tst-checks.c: New file.
12887 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12890 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12893 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12894 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12896 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12898 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12900 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12903 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12905 2011-11-29 Joseph Myers <joseph@codesourcery.com>
12907 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12908 conditional on GCC version.
12909 (__arch_compare_and_exchange_val_8_acq)
12910 (__arch_compare_and_exchange_val_16_acq)
12911 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12912 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12913 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12915 2011-12-02 Joseph Myers <joseph@codesourcery.com>
12917 * sysdeps/sh/backtrace.c: New file.
12919 2011-12-02 Andreas Schwab <schwab@redhat.com>
12921 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12924 2011-12-01 Andreas Schwab <schwab@redhat.com>
12926 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12927 falling back to utime.
12929 2011-11-30 Andreas Schwab <schwab@redhat.com>
12931 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12932 expectations for float.
12934 2011-11-29 Andreas Schwab <schwab@redhat.com>
12936 * locale/weight.h (findidx): Add parameter len.
12937 * locale/weightwc.h (findidx): Likewise.
12938 * posix/fnmatch_loop.c (FCT): Adjust caller.
12939 * posix/regcomp.c (build_equiv_class): Likewise.
12940 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12941 * posix/regexec.c (check_node_accept_bytes): Likewise.
12942 * string/strcoll_l.c (STRCOLL): Likewise.
12943 * string/strxfrm_l.c (STRXFRM): Likewise.
12945 2011-11-17 Ulrich Drepper <drepper@gmail.com>
12947 * Makefile.in: Remove CVSOPT handling.
12948 * configure.in: Remove use of AC_REVISION.
12949 * iconvdata/Makefile (distribute): No need to filter out CVS.
12950 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12953 2011-11-16 Andreas Schwab <schwab@redhat.com>
12955 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12956 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12957 [USE_AS_STRNCASECMP_L]: Likewise.
12958 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12959 NO_TLS_DIRECT_SEG_REFS.
12960 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12961 Fix argument offsets for non-PIC.
12962 [USE_AS_STRNCASECMP_L]: Likewise.
12963 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12964 NO_TLS_DIRECT_SEG_REFS.
12966 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12968 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12970 * locale/loadlocale.c (_nl_load_locale): Likewise.
12972 2011-11-15 Andreas Schwab <schwab@redhat.com>
12974 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12975 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12976 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12977 (SYSCALL_GETTIME): Set errno on error.
12979 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12980 count references to noai6ai_cached.
12982 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12984 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12986 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12987 FD_CLOEXEC for /proc/self/maps.
12989 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12990 FD_CLOEXEC for /proc/meminfo.
12992 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12995 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12996 FD_CLOEXEC for given file.
12998 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13000 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13001 FD_CLOEXEC for /etc/hosts.
13002 (_gethtent): Likewise.
13004 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13006 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13007 cancellation and set FD_CLOEXEC for /etc/netgroup.
13009 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13010 reading /etc/publickey.
13012 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13013 allow cancellation when reading /etc/group.
13015 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13017 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13019 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13020 when using data file.
13022 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13024 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13025 (write_nis_obj): Use "c" and "e" in fopen.
13027 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13029 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13031 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13033 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13035 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13038 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13040 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13042 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13044 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13045 file parsing and set FD_CLOEXEC.
13047 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13049 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13051 2011-11-14 Andreas Schwab <schwab@redhat.com>
13053 * malloc/arena.c (arena_get2): Don't call reused_arena when
13054 _int_new_arena failed.
13056 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13058 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13059 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13060 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13061 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13062 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13063 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13064 to compile strcasecmp and strncasecmp.
13065 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13066 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13068 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13070 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13072 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13073 locale-defines.sym to gen-as-const-headers.
13074 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13075 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13076 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13077 to compile strcasecmp and strncasecmp.
13078 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13079 strcasecmp_l and strncasecmp_l.
13080 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13081 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13082 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13083 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13084 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13085 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13086 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13087 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13088 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13089 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13090 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13092 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13094 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13095 result of SYSDEP_GETTIME_CPU to retval.
13096 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13097 parameter list to macro. Remove trailing semicolon. Adjust users.
13099 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13102 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13104 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13106 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13107 from unused variable.
13109 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13111 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13114 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13117 * sunrpc/rpc_prot.c (rejected): Fix case value.
13119 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13120 unsigned long long int to avoid warnings in shift.
13122 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13124 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13127 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13128 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13129 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13131 * nis/nis_table.c (nis_list): Use variable of correct type for
13132 result of __follow_path call.
13134 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13136 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13137 of math functions ceil, trunc, floor, round, and sqrt, when
13138 avaliable on the platform.
13139 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13141 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13142 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13143 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13145 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13147 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13148 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13150 2011-11-11 Roland McGrath <roland@hack.frob.com>
13152 * include/unistd.h: Fix __readlink return type.
13153 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13155 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13157 * stdlib/ucontext.h: Undo last change for makecontext.
13159 2011-11-11 Andreas Schwab <schwab@redhat.com>
13161 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13163 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13164 * setjmp/setjmp.h: Mark functions as non-leaf.
13165 * setjmp/bits/setjmp2.h: Likewise.
13166 * stdlib/ucontext.h: Likewise.
13168 2011-11-10 Andreas Schwab <schwab@redhat.com>
13170 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13171 (reused_arena): Don't check arena limit.
13172 (arena_get2): Atomically check arena limit.
13174 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13176 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13177 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13179 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13182 2011-11-07 Andreas Schwab <schwab@redhat.com>
13184 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13185 handler when locking.
13187 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13188 Fix size of allocated buffer.
13190 2011-11-04 Andreas Schwab <schwab@redhat.com>
13193 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13194 declarations for long double functions.
13195 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13197 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13199 2011-11-03 Andreas Schwab <schwab@redhat.com>
13201 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13204 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13207 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13209 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13211 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13213 * include/alloca.h (stackinfo_alloca_round): Define.
13214 (extend_alloca): Use it.
13215 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13216 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13219 * scripts/check-local-headers.sh: Ignore libaudit.h.
13221 * nscd/Makefile (extra-objs): Make recursively expanded.
13223 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13225 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13226 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13228 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13229 * posix/tst-rfc3484-2.c: Likewise.
13230 * posix/tst-rfc3484-3.c: Likewise.
13232 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13234 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13236 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13237 process_vm_writev from libc using GLIBC_2.15 version.
13239 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13241 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13243 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13246 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13249 * nss/getent.c (initgroups_keys): Show error message in case no group
13252 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13253 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13254 __bump_nl_timestamp.
13255 * nscd/connections (nscd_init): When host database is served open
13256 netlink socket and request notification about configuration changes.
13257 (main_loop_poll): Track netlink file descriptor and bump timestamp
13258 in case data becomes available.
13259 (main_loop_epoll): Likewise.
13260 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13261 (database_pers_head): Add extra_data fileds.
13262 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13263 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13264 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13266 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13267 in6ai data, call __free_in6ai.
13268 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13269 Add -DHAVE_NETLINK.
13270 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13271 interface information. Reuse previous data if netlink timestamp
13273 (__bump_nl_timestamp): New function.
13274 (__free_in6ai): New function.
13276 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13278 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13279 close_not_cancel_no_status here.
13280 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13282 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13285 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13288 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13289 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13290 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13292 2011-07-03 Andreas Jaeger <aj@suse.de>
13295 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13296 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13297 * math/libm-test.inc (sin_test): Add test case.
13299 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13302 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13303 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13305 * elf/chroot_canon.c (chroot_canon): Cleanups.
13307 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13310 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13311 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13313 * string/test-strchr.c: Make usable for strchrnul testing.
13314 * string/test-strchrnul.c: New file.
13315 * string/Makefile (strop-tests): Add strchrnul.
13317 * po/it.po: Update from translation team.
13318 * po/es.po: Likewise.
13320 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13322 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13323 the three constants needed as parameters. Drop the others.
13324 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13325 __m128i_strloadu_tolower.
13326 Create and initialize variable zero and use it in all the places
13327 where _mm_setzero_si128 was used.
13329 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13330 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13331 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13332 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13334 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13335 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13336 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13337 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13338 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13339 __mpranred, __mptan.
13340 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13341 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13342 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13343 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13344 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13345 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13346 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13347 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13348 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13350 2011-10-28 Andreas Schwab <schwab@redhat.com>
13352 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13353 redefine if SHARED.
13354 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13356 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13357 wide char related routines to wcsmbs subdir.
13359 2011-10-27 Andreas Schwab <schwab@redhat.com>
13362 * misc/sys/cdefs.h (__THROWNL): Define.
13363 * posix/unistd.h: Use __THREADNL instead of __THREAD
13364 for memory synchronization functions.
13366 2011-10-26 Roland McGrath <roland@hack.frob.com>
13369 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13371 * manual/stdio.texi (Obstack Streams): Node removed.
13373 2011-10-26 Andreas Schwab <schwab@redhat.com>
13375 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13376 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13377 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13379 * math/math_private.h (math_force_eval): Allow non-addressable
13381 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13383 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13385 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13386 file is not needed.
13388 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13389 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13390 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13391 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13392 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13393 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13394 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13395 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13397 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13398 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13399 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13400 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13401 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13402 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13403 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13404 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13405 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13406 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13407 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13408 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13409 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13410 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13411 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13412 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13413 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13414 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13415 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13417 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13418 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13420 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13421 place. Use VEX encoding when compiling for AVX.
13423 2011-10-25 Andreas Schwab <schwab@redhat.com>
13425 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13426 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13428 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13430 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13432 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13433 useless if() expression.
13434 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13435 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13436 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13437 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13438 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13439 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13440 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13441 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13442 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13443 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13444 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13445 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13446 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13447 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13448 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13449 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13450 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13451 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13452 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13454 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13456 2011-10-25 Andreas Schwab <schwab@redhat.com>
13458 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13460 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13462 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13464 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13465 .text section. Avoid duplicate constants.
13466 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13467 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13468 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13469 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13470 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13471 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13472 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13473 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13474 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13475 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13476 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13477 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13478 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13479 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13480 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13481 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13482 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13483 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13484 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13485 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13486 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13487 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13488 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13489 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13490 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13491 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13492 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13493 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13494 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13495 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13496 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13497 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13498 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13499 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13500 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13501 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13502 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13503 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13504 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13505 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13506 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13507 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13508 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13509 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13510 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13512 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13514 * sysdeps/x86_64/dla.h: Move to ...
13515 * sysdeps/x86_64/fpu/dla.h: ...here.
13516 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13517 situations. Use __builtin_fma only for gcc 4.6 and up.
13519 * config.make.in: Add have-mfma4 entry.
13520 * configure.in: Substitute libc_cv_cc_fma4.
13521 * math/Makefile (dbl-only-routines): Add sincostab.
13522 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13523 Use __sincostab not sincos.
13524 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13526 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13531 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13532 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13533 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13534 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13536 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13537 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13539 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13540 define aliases when function name is a macro.
13541 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13542 sysdeps/ieee754/dbl-64/sincos.tbl.
13543 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13544 fma4-enabled routines.
13545 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13546 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13547 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13548 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13549 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13550 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13551 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13552 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13553 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13554 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13555 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13556 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13557 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13558 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13559 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13560 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13561 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13562 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13563 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13564 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13565 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13566 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13567 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13568 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13569 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13570 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13571 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13572 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13573 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13574 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13576 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13578 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13579 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13580 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13581 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13582 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13583 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13584 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13585 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13587 2011-10-24 Andreas Schwab <schwab@redhat.com>
13589 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13591 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13593 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13595 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13597 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13599 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13600 Remove unused variable magic_bits.
13601 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13603 * string/strnlen.c: Define and use STRNLEN macro.
13604 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13605 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13606 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13607 * wcsmbs/wcslen.c: Define and use WCSLEN.
13608 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13609 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13610 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13611 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13612 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13613 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13614 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13616 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13618 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13619 strnlen-sse2-no-bsf.
13620 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13621 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13622 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13623 Add strnlen support.
13624 (USE_AS_STRNLEN): New macro.
13625 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13626 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13627 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13628 * sysdeps/x86_64/wcslen.S: New file.
13630 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13632 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13633 XMM-moves are used for copying on small sizes.
13635 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13637 * wcsmbs/Makefile (strop-tests): Add wcschr.
13638 * wcsmbs/test-wcschr.c: New file.
13639 * string/test-strchr.c: Update.
13640 Add wcschr support.
13643 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13645 * wcsmbs/Makefile (strop-tests): Add wcslen.
13646 * wcsmbs/test-wcslen.c: New file.
13647 * string/test-strlen.c: Update.
13648 Add wcslen support.
13651 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13653 * po/it.po: Update from translation team.
13655 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13657 * sysdeps/x86_64/wcscmp.S: Update.
13658 Fix wrong comparison semantics.
13659 wcscmp shall use signed comparison not unsigned.
13660 Don't use substraction to avoid overflow bug.
13661 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13662 * wcsmbc/wcscmp.c: Likewise.
13663 * string/test-strcmp.c: Likewise.
13664 Add new tests to check cases with negative values.
13666 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13668 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13669 * sysdeps/x86_64/dla.h: ...here. New file.
13670 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13671 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13672 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13673 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13674 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13675 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13676 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13677 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13678 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13680 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13682 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13683 __ynl_finite aliases.
13685 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13689 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13691 [DLA_FMA] (EMULV): Use DLA_FMA.
13692 [DLA_FMA] (MUL12): Use EMULV.
13693 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13694 that are not needed.
13695 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13696 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13697 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13698 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13699 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13700 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13701 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13703 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13705 * math/s_nan.c: Undef __nan.
13706 * math/s_nanf.c: Undef __nanf.
13707 * math/s_nanl.c: Undef __nanl.
13708 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13711 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13713 * math/s_catan.c: Add branch predictions.
13714 * math/s_catanf.c: Likewise.
13715 * math/s_catanh.c: Likewise.
13716 * math/s_catanhf.c: Likewise.
13717 * math/s_catanhl.c: Likewise.
13718 * math/s_catanl.c: Likewise.
13719 * math/s_cexp.c: Likewise.
13720 * math/s_cexpf.c: Likewise.
13721 * math/s_cexpl.c: Likewise.
13722 * math/s_clog.c: Likewise.
13723 * math/s_clog10.c: Likewise.
13724 * math/s_clog10f.c: Likewise.
13725 * math/s_clog10l.c: Likewise.
13726 * math/s_clogf.c: Likewise.
13727 * math/s_clogl.c: Likewise.
13728 * math/s_csqrt.c: Likewise.
13729 * math/s_csqrtf.c: Likewise.
13730 * math/s_csqrtl.c: Likewise.
13731 * math/s_ctanf.c: Likewise.
13732 * math/s_ctanh.c: Likewise.
13733 * math/s_ctanhf.c: Likewise.
13734 * math/s_ctanhl.c: Likewise.
13735 * math/s_ctanl.c: Likewise.
13737 * math/math_private.h: Define __nan, __nanf, __nanl.
13738 * math/s_cacosh.c: Include <math_private.h>.
13739 * math/s_cacoshl.c: Likewise.
13740 * math/s_casinh.c: Likewise.
13741 * math/s_casinhf.c: Likewise.
13742 * math/s_casinhl.c: Likewise.
13743 * math/s_ccos.c: Rely entire on ccosh.
13744 * math/s_ccosf.c: Rely entire on ccoshf.
13745 * math/s_ccosl.c: Rely entirely on ccoshl.
13746 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13747 Remove tests for FE_INVALID.
13748 * math/s_ccoshf.c: Likewise.
13749 * math/s_ccoshl.c: Likewise.
13750 * math/s_csin.c: Likewise.
13751 * math/s_csinf.c: Likewise.
13752 * math/s_csinh.c Likewise.
13753 * math/s_csinhf.c: Likewise.
13754 * math/s_csinhl.c: Likewise.
13755 * math/s_csinl.c: Likewise.
13756 * math/s_ctan.c: Likewise.
13757 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13758 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13759 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13761 2011-10-21 Ulrich Drepper <drepper@gmail.com>
13763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13764 compilation problems.
13766 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13769 2011-10-20 Ulrich Drepper <drepper@gmail.com>
13771 * sysdeps/i386/configure.in: Test for -mfma4 option.
13772 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13773 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13774 COMMON_CPUID_INDEX_80000001.
13775 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13776 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13777 use it if FMA3 is not supported.
13778 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13780 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13781 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13783 2011-10-20 Andreas Schwab <schwab@redhat.com>
13786 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13787 it would create a cycle with a link time dependency.
13789 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13791 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13793 * string/Makefile (strop-tests): Add rawmemchr.
13794 * string/test-rawmemchr.c: New file.
13796 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13797 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13798 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13799 when compiling str{,n}casecmp and when AVX is available. Hook up
13800 new optimized code in initializers.
13802 2011-10-19 Andreas Schwab <schwab@redhat.com>
13804 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13805 __feraiseexcept instead of feraiseexcept.
13807 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13809 * math/math_private.h: Define defaults for libc_fetestexcept and
13811 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13812 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13813 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13814 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13815 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13816 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13817 libc_fetestexcept and libc_feupdateenv.
13819 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13820 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13821 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13822 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13823 libc_feholdexcept_setround.
13825 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13826 Add s_nearbyint-c and s_nearbyintf-c.
13827 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13828 nearbyintf inlines.
13829 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13830 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13831 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13832 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13834 * math/math_private.h: Define defaults for libc_fegetround,
13835 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13836 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13837 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13838 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13839 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13840 standard functions.
13841 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13842 Remove comments and hacks for old compiler versions.
13843 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13844 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13845 libc_feholdexceptl.
13847 2011-10-18 Andreas Schwab <schwab@redhat.com>
13849 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13850 (__feraiseexcept_renamed): Add __NTH.
13851 (feraiseexcept): Add __NTH. Rename local variables to fix
13852 namespace violations.
13854 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13856 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13858 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13860 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13861 recently added interfaces.
13862 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13864 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13865 about macro parameter expansion.
13867 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13868 __NO_MATH_INLINES is defined. Cleanups.
13870 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13871 and __floorf is target has SSE4.1.
13872 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13873 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13874 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13875 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13877 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13879 (floorf): Likewise.
13881 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13883 2011-10-17 Andreas Schwab <schwab@redhat.com>
13885 * misc/sys/cdefs.h: Fix last change.
13887 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13890 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13892 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13894 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13895 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13896 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13897 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13898 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13899 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13900 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13901 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13902 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13903 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13904 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13905 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13906 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13907 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13908 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13909 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13910 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13911 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13912 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13913 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13914 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13915 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13917 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13918 ceil, ceilf, floor, floorf.
13920 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13921 Perform IRELATIVE relocations last.
13923 * elf/do-rel.h: Add another parameter nrelative, replacing the
13924 local variable with the same name. Change name of the function
13925 to end in Rel or Rela (uppercase).
13926 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13927 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13928 elf_dynamic_do_##reloc function.
13930 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13932 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13933 is sufficient, at least on modern CPUs.
13935 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13937 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13938 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13940 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13942 * math/bits/math-finite.h: Add entries for exp.
13943 * math/e_expl.c: Add __*_finite alias.
13944 * sysdeps/i386/fpu/e_exp.S: Likewise.
13945 * sysdeps/i386/fpu/e_expf.S: Likewise.
13946 * sysdeps/i386/fpu/e_expl.c: Likewise.
13947 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13948 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13949 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13950 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13951 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13952 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13953 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13955 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13956 is sufficient, at least on modern CPUs.
13958 * ctype/ctype-info.c (__ctype_init): Define.
13959 * include/ctype.h (__ctype_init): Declare.
13960 (__ctype_b_loc): The variable is always initialized.
13961 (__ctype_toupper_loc): Likewise.
13962 (__ctype_tolower_loc): Likewise.
13963 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13964 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13966 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13968 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13970 * configure.in: Also look in $cxxmachine/include for C++ system
13973 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13975 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13976 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13977 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13978 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13979 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13980 (USE_AS_WMEMCMP): New macro.
13982 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13983 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13984 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13985 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13986 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13987 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13988 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13989 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13990 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13991 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13992 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13993 (USE_AS_WMEMCMP): New macro.
13994 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13995 * sysdeps/string/test-memcmp.c: Update.
13996 Fix simple_wmemcmp.
13998 * wcsmbs/wmemcmp.c: Update.
13999 (WMEMCMP): New macro.
14002 2011-10-12 Andreas Jaeger <aj@suse.de>
14005 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14007 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14009 * libio/iofwide.c (do_length): Avoid warning.
14011 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14013 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14015 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14017 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14018 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14019 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14020 * sysdeps/i386/i686/fpu/e_log.S: New file.
14021 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14022 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14024 * ctype/ctype.h: Add support for inlined isXXX functions when
14025 compiling C++ code.
14027 2011-10-14 Andreas Schwab <schwab@redhat.com>
14029 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14031 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14033 2011-10-13 Roland McGrath <roland@hack.frob.com>
14036 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14038 2011-10-13 Andreas Schwab <schwab@redhat.com>
14040 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14041 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14044 * sysdeps/x86_64/memrchr.S: Check for zero size.
14046 * string/stratcliff.c: Add memrchr tests.
14048 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14050 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14051 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14052 rawmemchr-sse2 rawmemchr-sse2-bsf.
14053 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14054 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14055 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14056 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14057 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14058 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14059 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14060 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14061 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14062 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14063 * string/memrchr.c (MEMRCHR): New macro.
14065 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14067 Add integration with gcc's -ffinite-math-only and optimize wrapper
14069 * Versions.def: Define GLIBC_2.15 version for libm.
14070 * math/Makefile (headers): Add bits/math-finite.h.
14071 * math/bits/math-finite.h: New file.
14072 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14073 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14074 * math/e_acoshl.c: Add __*_finite alias.
14075 * math/e_acosl.c: Likewise.
14076 * math/e_asinl.c: Likewise.
14077 * math/e_atan2l.c: Likewise.
14078 * math/e_atanhl.c: Likewise.
14079 * math/e_coshl.c: Likewise.
14080 * math/e_exp10.c: Likewise.
14081 * math/e_exp10f.c: Likewise.
14082 * math/e_exp10l.c: Likewise.
14083 * math/e_exp2l.c: Likewise.
14084 * math/e_fmodl.c: Likewise.
14085 * math/e_gammal_r.c: Likewise.
14086 * math/e_hypotl.c: Likewise.
14087 * math/e_j0l.c: Likewise.
14088 * math/e_j1l.c: Likewise.
14089 * math/e_jnl.c: Likewise.
14090 * math/e_lgammal_r.c: Likewise.
14091 * math/e_log10l.c: Likewise.
14092 * math/e_log2l.c: Likewise.
14093 * math/e_logl.c: Likewise.
14094 * math/e_powl.c: Likewise.
14095 * math/e_sinhl.c: Likewise.
14096 * math/e_sqrtl.c: Likewise.
14097 * math/e_scalb.c: Completely rewritten and optimized.
14098 * math/e_scalbf.c: Likewise.
14099 * math/e_scalbl.c: Likewise.
14100 * math/w_acos.c: Likewise.
14101 * math/w_acosf.c: Likewise.
14102 * math/w_acosl.c: Likewise.
14103 * math/w_acosh.c: Likewise.
14104 * math/w_acoshf.c: Likewise.
14105 * math/w_acoshl.c: Likewise.
14106 * math/w_asin.c: Likewise.
14107 * math/w_asinf.c: Likewise.
14108 * math/w_asinl.c: Likewise.
14109 * math/w_atan2.c: Likewise.
14110 * math/w_atan2f.c: Likewise.
14111 * math/w_atan2l.c: Likewise.
14112 * math/w_atanh.c: Likewise.
14113 * math/w_atanhf.c: Likewise.
14114 * math/w_atanhl.c: Likewise.
14115 * math/w_exp10.c: Likewise.
14116 * math/w_exp10f.c: Likewise.
14117 * math/w_exp10l.c: Likewise.
14118 * math/w_fmod.c: Likewise.
14119 * math/w_fmodf.c: Likewise.
14120 * math/w_fmodl.c: Likewise.
14121 * math/w_j0.c: Likewise.
14122 * math/w_j0f.c: Likewise.
14123 * math/w_j0l.c: Likewise.
14124 * math/w_j1.c: Likewise.
14125 * math/w_j1f.c: Likewise.
14126 * math/w_j1l.c: Likewise.
14127 * math/w_jn.c: Likewise.
14128 * math/w_jnf.c: Likewise.
14129 * math/w_log.c: Likewise.
14130 * math/w_logf.c: Likewise.
14131 * math/w_logl.c: Likewise.
14132 * math/w_log10.c: Likewise.
14133 * math/w_log10f.c: Likewise.
14134 * math/w_log10l.c: Likewise.
14135 * math/w_log2.c: Likewise.
14136 * math/w_log2f.c: Likewise.
14137 * math/w_log2l.c: Likewise.
14138 * math/w_pow.c: Likewise.
14139 * math/w_powf.c: Likewise.
14140 * math/w_powl.c: Likewise.
14141 * math/w_remainder.c: Likewise.
14142 * math/w_remainderf.c: Likewise.
14143 * math/w_remainderl.c: Likewise.
14144 * math/w_scalb.c: Likewise.
14145 * math/w_scalbf.c: Likewise.
14146 * math/w_scalbl.c: Likewise.
14147 * math/w_sqrt.c: Likewise.
14148 * math/w_sqrtf.c: Likewise.
14149 * math/w_sqrtl.c: Likewise.
14150 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14151 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14153 * math/math_private.h: Declare __kernel_standard_f.
14154 * math/w_cosh.c: Remove cruft and optimize a bit.
14155 * math/w_coshf.c: Likewise.
14156 * math/w_coshl.c: Likewise.
14157 * math/w_exp2.c: Likewise.
14158 * math/w_exp2f.c: Likewise.
14159 * math/w_exp2l.c: Likewise.
14160 * math/w_hypot.c: Likewise.
14161 * math/w_hypotf.c: Likewise.
14162 * math/w_hypotl.c: Likewise.
14163 * math/w_lgamma.c: Likewise.
14164 * math/w_lgamma_r.c: Likewise.
14165 * math/w_lgammaf.c: Likewise.
14166 * math/w_lgammaf_r.c: Likewise.
14167 * math/w_lgammal.c: Likewise.
14168 * math/w_lgammal_r.c: Likewise.
14169 * math/w_sinh.c: Likewise.
14170 * math/w_sinhf.c: Likewise.
14171 * math/w_sinhl.c: Likewise.
14172 * math/w_tgamma.c: Likewise.
14173 * math/w_tgammaf.c: Likewise.
14174 * math/w_tgammal.c: Likewise.
14175 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14176 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14177 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14178 Minor optimizations. Pretty printing. Remove cruft.
14179 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14180 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14181 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14182 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14183 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14184 * sysdeps/i386/fpu/e_asin.S: Likewise.
14185 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14186 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14187 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14188 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14189 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14190 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14191 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14192 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14193 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14194 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14195 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14196 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14197 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14198 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14199 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14200 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14201 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14202 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14203 * sysdeps/i386/fpu/e_log.S: Likewise.
14204 * sysdeps/i386/fpu/e_log10.S: Likewise.
14205 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14206 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14207 * sysdeps/i386/fpu/e_log2.S: Likewise.
14208 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14209 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14210 * sysdeps/i386/fpu/e_logf.S: Likewise.
14211 * sysdeps/i386/fpu/e_logl.S: Likewise.
14212 * sysdeps/i386/fpu/e_pow.S: Likewise.
14213 * sysdeps/i386/fpu/e_powf.S: Likewise.
14214 * sysdeps/i386/fpu/e_powl.S: Likewise.
14215 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14216 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14217 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14218 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14219 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14220 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14221 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14222 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14223 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14224 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14225 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14227 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14228 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14229 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14230 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14231 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14232 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14233 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14234 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14235 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14236 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14237 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14238 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14239 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14240 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14241 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14242 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14243 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14244 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14245 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14246 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14247 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14248 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14249 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14250 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14251 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14252 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14253 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14254 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14255 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14256 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14257 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14258 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14259 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14260 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14261 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14262 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14263 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14264 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14265 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14266 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14267 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14268 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14269 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14270 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14271 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14272 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14273 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14274 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14275 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14276 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14277 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14278 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14279 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14280 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14281 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14282 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14283 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14284 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14285 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14286 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14287 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14288 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14289 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14290 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14291 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14292 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14293 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14294 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14295 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14296 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14297 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14298 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14299 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14300 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14301 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14302 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14303 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14304 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14305 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14306 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14307 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14308 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14309 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14310 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14311 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14312 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14313 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14314 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14315 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14316 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14317 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14318 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14319 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14320 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14321 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14322 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14323 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14324 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14325 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14326 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14327 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14328 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14329 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14330 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14331 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14332 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14333 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14334 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14335 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14336 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14337 (__isnanf): Likewise.
14338 (__isinf_ns): Likewise.
14339 (__isinf_nsf): Likewise.
14340 (__finite): Likewise.
14341 (__finitef): Likewise.
14342 (__ieee754_sqrt): Define as macro.
14343 (__ieee754_sqrtf): Define as macro.
14344 (__ieee754_sqrtl): Define as macro.
14345 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14347 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14348 __FINITE_MATH_ONLY__ consistent.
14349 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14351 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14353 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14356 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14358 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14360 * po/ja.po: Update from translation team.
14362 2011-10-08 Roland McGrath <roland@hack.frob.com>
14364 * locale/programs/locarchive.c (prepare_address_space): New function.
14365 (create_archive, enlarge_archive, open_archive): Use it.
14367 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14368 inside [SHARED], where it is used.
14370 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14372 * nss/getent.c (netgroup_keys): Remove unused variable.
14373 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14375 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14377 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14378 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14379 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14380 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14381 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14382 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14383 * math/Makefile (libm-calls): Add s_isinf_ns.
14384 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14385 * math/multc3.c: Likewise.
14386 * math/s_casin.c: Likewise.
14387 * math/s_casinf.c: Likewise.
14388 * math/s_casinl.c: Likewise.
14389 * math/s_ccos.c: Likewise.
14390 * math/s_ccosf.c: Likewise.
14391 * math/s_ccosl.c: Likewise.
14392 * math/s_ctan.c: Likewise.
14393 * math/s_ctanf.c: Likewise.
14394 * math/s_ctanh.c: Likewise.
14395 * math/s_ctanhf.c: Likewise.
14396 * math/s_ctanhl.c: Likewise.
14397 * math/s_ctanl.c: Likewise.
14398 * math/w_fmod.c: Likewise.
14399 * math/w_fmodf.c: Likewise.
14400 * math/w_fmodl.c: Likewise.
14401 * math/w_remainder.c: Likewise.
14402 * math/w_remainderf.c: Likewise.
14403 * math/w_remainderl.c: Likewise.
14404 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14405 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14406 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14407 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14408 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14409 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14410 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14411 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14413 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14415 * stdio-common/printf_fphex.c: Likewise.
14416 * stdio-common/printf_size.c: Likewise.
14418 * math/e_exp10.c: Include math_private.h using <...> not "...".
14419 * math/e_exp10f.c: Likewise.
14420 * math/e_exp10l.c: Likewise.
14421 * math/e_exp2l.c: Likewise.
14422 * math/e_j0l.c: Likewise.
14423 * math/e_j1l.c: Likewise.
14424 * math/e_jnl.c: Likewise.
14425 * math/e_lgammal_r.c: Likewise.
14426 * math/e_rem_pio2l.c: Likewise.
14427 * math/e_scalb.c: Likewise.
14428 * math/e_scalbf.c: Likewise.
14429 * math/e_scalbl.c: Likewise.
14430 * math/k_cosl.c: Likewise.
14431 * math/k_sinl.c: Likewise.
14432 * math/k_tanl.c: Likewise.
14433 * math/s_cacoshf.c: Likewise.
14434 * math/s_catan.c: Likewise.
14435 * math/s_catanf.c: Likewise.
14436 * math/s_catanh.c: Likewise.
14437 * math/s_catanhf.c: Likewise.
14438 * math/s_catanhl.c: Likewise.
14439 * math/s_catanl.c: Likewise.
14440 * math/s_ccosh.c: Likewise.
14441 * math/s_ccoshf.c: Likewise.
14442 * math/s_ccoshl.c: Likewise.
14443 * math/s_cexp.c: Likewise.
14444 * math/s_cexpf.c: Likewise.
14445 * math/s_cexpl.c: Likewise.
14446 * math/s_clog.c: Likewise.
14447 * math/s_clog10.c: Likewise.
14448 * math/s_clog10f.c: Likewise.
14449 * math/s_clog10l.c: Likewise.
14450 * math/s_clogf.c: Likewise.
14451 * math/s_clogl.c: Likewise.
14452 * math/s_csin.c: Likewise.
14453 * math/s_csinf.c: Likewise.
14454 * math/s_csinh.c: Likewise.
14455 * math/s_csinhf.c: Likewise.
14456 * math/s_csinhl.c: Likewise.
14457 * math/s_csinl.c: Likewise.
14458 * math/s_csqrt.c: Likewise.
14459 * math/s_csqrtf.c: Likewise.
14460 * math/s_csqrtl.c: Likewise.
14461 * math/s_ctan.c: Likewise.
14462 * math/s_ctanf.c: Likewise.
14463 * math/s_ctanh.c: Likewise.
14464 * math/s_ctanhf.c: Likewise.
14465 * math/s_ctanhl.c: Likewise.
14466 * math/s_ctanl.c: Likewise.
14467 * math/s_ldexp.c: Likewise.
14468 * math/s_ldexpf.c: Likewise.
14469 * math/s_ldexpl.c: Likewise.
14470 * math/s_significand.c: Likewise.
14471 * math/s_significandf.c: Likewise.
14472 * math/s_significandl.c: Likewise.
14473 * math/w_acos.c: Likewise.
14474 * math/w_acosf.c: Likewise.
14475 * math/w_acosh.c: Likewise.
14476 * math/w_acoshf.c: Likewise.
14477 * math/w_acoshl.c: Likewise.
14478 * math/w_acosl.c: Likewise.
14479 * math/w_asin.c: Likewise.
14480 * math/w_asinf.c: Likewise.
14481 * math/w_asinl.c: Likewise.
14482 * math/w_atan2.c: Likewise.
14483 * math/w_atan2f.c: Likewise.
14484 * math/w_atan2l.c: Likewise.
14485 * math/w_atanh.c: Likewise.
14486 * math/w_atanhf.c: Likewise.
14487 * math/w_atanhl.c: Likewise.
14488 * math/w_cosh.c: Likewise.
14489 * math/w_coshf.c: Likewise.
14490 * math/w_coshl.c: Likewise.
14491 * math/w_dremf.c: Likewise.
14492 * math/w_exp10.c: Likewise.
14493 * math/w_exp10f.c: Likewise.
14494 * math/w_exp10l.c: Likewise.
14495 * math/w_exp2.c: Likewise.
14496 * math/w_exp2f.c: Likewise.
14497 * math/w_fmod.c: Likewise.
14498 * math/w_fmodf.c: Likewise.
14499 * math/w_fmodl.c: Likewise.
14500 * math/w_hypot.c: Likewise.
14501 * math/w_hypotf.c: Likewise.
14502 * math/w_hypotl.c: Likewise.
14503 * math/w_j0.c: Likewise.
14504 * math/w_j0f.c: Likewise.
14505 * math/w_j0l.c: Likewise.
14506 * math/w_j1.c: Likewise.
14507 * math/w_j1f.c: Likewise.
14508 * math/w_j1l.c: Likewise.
14509 * math/w_jn.c: Likewise.
14510 * math/w_jnf.c: Likewise.
14511 * math/w_jnl.c: Likewise.
14512 * math/w_lgamma.c: Likewise.
14513 * math/w_lgamma_r.c: Likewise.
14514 * math/w_lgammaf.c: Likewise.
14515 * math/w_lgammaf_r.c: Likewise.
14516 * math/w_lgammal.c: Likewise.
14517 * math/w_lgammal_r.c: Likewise.
14518 * math/w_log.c: Likewise.
14519 * math/w_log10.c: Likewise.
14520 * math/w_log10f.c: Likewise.
14521 * math/w_log10l.c: Likewise.
14522 * math/w_log2.c: Likewise.
14523 * math/w_log2f.c: Likewise.
14524 * math/w_log2l.c: Likewise.
14525 * math/w_logf.c: Likewise.
14526 * math/w_logl.c: Likewise.
14527 * math/w_pow.c: Likewise.
14528 * math/w_powf.c: Likewise.
14529 * math/w_powl.c: Likewise.
14530 * math/w_remainder.c: Likewise.
14531 * math/w_remainderf.c: Likewise.
14532 * math/w_remainderl.c: Likewise.
14533 * math/w_scalb.c: Likewise.
14534 * math/w_scalbf.c: Likewise.
14535 * math/w_scalbl.c: Likewise.
14536 * math/w_sinh.c: Likewise.
14537 * math/w_sinhf.c: Likewise.
14538 * math/w_sinhl.c: Likewise.
14539 * math/w_sqrt.c: Likewise.
14540 * math/w_sqrtf.c: Likewise.
14541 * math/w_sqrtl.c: Likewise.
14542 * math/w_tgamma.c: Likewise.
14543 * math/w_tgammaf.c: Likewise.
14544 * math/w_tgammal.c: Likewise.
14546 * po/ja.po: Update from translation team.
14548 2011-09-29 Andreas Jaeger <aj@suse.de>
14551 * sunrpc/netname.c (netname2host): Fix logic.
14555 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14557 * math/w_remainder.c (__remainder): Likewise.
14558 * math/w_remainderf.c (__remainderf): Likewise.
14559 * math/libm-test.inc (remainder_test): Add test cases.
14561 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14563 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14566 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14568 * string/test-memcmp.c: Avoid unncessary #defines.
14569 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14571 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14573 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14574 Use new sse2 version for core i3 - i7 as it's faster
14575 than sse42 version.
14576 (bit_Prefer_PMINUB_for_stringop): New.
14577 * sysdeps/x86_64/rawmemchr.S: Update.
14578 Replace with faster SSE2 version.
14579 * sysdeps/x86_64/memrchr.S: New file.
14580 * sysdeps/x86_64/memchr.S: Update.
14581 Replace with faster SSE2 version.
14583 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14585 * elf/dl-load.c (lose): Add cast to avoid warning.
14587 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14589 * po/ca.po: Update from translation team.
14591 * inet/getnetgrent_r.c: Hook up nscd.
14592 * nscd/Makefile (routines): Add nscd_netgroup.
14593 (nscd-modules): Add netgroupcache.
14594 (CFLAGS-netgroupcache.c): Define.
14595 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14596 (cache_search): Add const to second parameter.
14597 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14599 (dbs): Add netgrdb entry.
14600 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14601 (verify_persistent_db): Handle netgrdb.
14602 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14603 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14605 (netgroup_response_header): Define.
14606 (innetgroup_response_header): Define.
14607 (datahead): Add netgroup_response_header and innetgroup_response_header
14609 * nscd/nscd.conf: Add entries for netgroup cache.
14610 * nscd/nscd.h (dbtype): Add netgrdb.
14611 (_PATH_NSCD_NETGROUP_DB): Define.
14612 (netgroup_iov_disabled): Declare.
14613 (xmalloc, xcalloc, xrealloc): Move declarations here.
14614 (cache_search): Adjust prototype.
14615 Add netgroup-related prototypes.
14616 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14617 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14618 (__nscd_innetgr): Declare.
14619 * nscd/selinux.c (perms): Use access_vector_t as element type and
14620 add netgroup-related initializers.
14621 * nscd/netgroupcache.c: New file.
14622 * nscd/nscd_netgroup.c: New file.
14623 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14624 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14625 For four parameters use innetgr.
14626 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14627 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14628 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14629 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14631 * nscd/connections.c (register_traced_file): Don't register file
14632 for disabled databases.
14634 2011-10-06 Ulrich Drepper <drepper@gmail.com>
14636 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14638 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14639 from tree and freeing node.
14641 2011-09-25 Jiri Olsa <jolsa@redhat.com>
14643 * nss/nsswitch.c (__nss_database_lookup): Handle
14644 nss_parse_service_list out of memory case.
14646 2011-09-15 Jiri Olsa <jolsa@redhat.com>
14648 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14649 out of memory case.
14651 2011-10-04 Andreas Schwab <schwab@redhat.com>
14653 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14654 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14656 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14657 elf_machine_rela, elf_machine_lazy_rel.
14658 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14659 (ELF_DYNAMIC_DO_REL): Likewise.
14660 (ELF_DYNAMIC_DO_RELA): Likewise.
14661 (ELF_DYNAMIC_RELOCATE): Likewise.
14662 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14663 to ELF_DYNAMIC_DO_REL.
14664 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14665 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14666 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14668 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14669 skip_ifunc, don't call ifunc function if non-zero.
14670 (elf_machine_rela): Likewise.
14671 (elf_machine_lazy_rel): Likewise.
14672 (elf_machine_lazy_rela): Likewise.
14673 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14674 (elf_machine_lazy_rel): Likewise.
14675 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14677 (elf_machine_lazy_rel): Likewise.
14678 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14680 (elf_machine_lazy_rel): Likewise.
14681 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14682 (elf_machine_lazy_rel): Likewise.
14683 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14684 (elf_machine_lazy_rel): Likewise.
14685 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14686 (elf_machine_lazy_rel): Likewise.
14687 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14688 (elf_machine_lazy_rel): Likewise.
14689 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14690 (elf_machine_lazy_rel): Likewise.
14691 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14692 (elf_machine_lazy_rel): Likewise.
14694 2011-09-28 Ulrich Drepper <drepper@gmail.com>
14696 * nss/nss_files/files-init.c (_nss_files_init): Use static
14697 initialization for all the *_traced_file variables.
14699 2011-09-28 Andreas Schwab <schwab@redhat.com>
14701 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14703 2011-09-27 Roland McGrath <roland@hack.frob.com>
14706 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14708 2011-09-27 Andreas Schwab <schwab@redhat.com>
14710 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14711 Reread the line before reparsing it.
14713 2011-09-26 Andreas Schwab <schwab@redhat.com>
14715 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14717 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14718 Maxim Kuvyrkov <maxim@codesourcery.com>
14719 Joseph Myers <joseph@codesourcery.com>
14721 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14722 if needed for __stack_chk_guard.
14724 2011-09-19 Roland McGrath <roland@hack.frob.com>
14726 * sysdeps/posix/spawni.c (script_execute): Always define it.
14727 It will be optimized away if unused.
14728 (maybe_script_execute): New function.
14729 (__spawni): Call it.
14731 * Makerules: Don't include tls.make.
14732 (config-tls): Always set to thread.
14733 * tls.make.c: File removed.
14735 2011-09-19 Mike Frysinger <vapier@gentoo.org>
14737 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14738 * config.make.in (CPPFLAGS-config): New substituted variable.
14740 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14742 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14745 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14746 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14748 2011-09-15 Roland McGrath <roland@hack.frob.com>
14750 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14751 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14752 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14753 (CALL_FAIL): Likewise.
14754 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14755 (CALL_FAIL): Macro removed.
14756 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14758 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14760 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14761 for __FINITE_MATH_ONLY__ == 1.
14763 2011-09-15 Andreas Schwab <schwab@redhat.com>
14765 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14766 __ieee754_sqrt instead of sqrt.
14767 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14768 __ieee754_sqrtf instead of sqrtf.
14769 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14770 __floorf instead of floorf.
14771 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14772 __floorf, __truncf instead of floorf, truncf.
14774 2011-09-14 Ulrich Drepper <drepper@gmail.com>
14776 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14778 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14779 __extern_always_inline.
14780 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14783 2011-09-14 Andreas Schwab <schwab@redhat.com>
14785 * elf/rtld.c (dl_main): Also relocate in dependency order when
14786 doing symbol dependency testing.
14788 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14790 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14791 Always define `refsym'.
14793 2011-09-13 Andreas Schwab <schwab@redhat.com>
14795 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14796 (__FD_ELT): Renamed from __FDELT.
14797 * misc/bits/select2.h (__FD_ELT): Likewise.
14798 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14799 __FD_MASK instead of __FDELT, __FDMASK.
14800 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14802 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14805 * elf/Makefile (gen-ldd): Fix pattern.
14807 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14808 (init_tls): Likewise.
14810 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14812 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14814 2011-09-12 Andreas Schwab <schwab@redhat.com>
14816 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14817 `struct cmsghdr *' instead of `void *'.
14818 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14821 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14823 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14825 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14826 ldd_rewrite_script.
14828 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14830 * configure.in: Remove --with-tls option.
14831 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14832 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14833 out in case it is missing.
14834 * sysdeps/ia64/elf/configure.in: Likewise.
14835 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14836 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14837 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14838 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14839 * sysdeps/sh/elf/configure.in: Likewise.
14840 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14841 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14842 * sysdeps/x86_64/elf/configure.in: Likewise.
14843 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14844 * sysdeps/mach/hurd/tls.h: Likewise.
14847 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14850 * configure.in: Fix use of AC_INIT.
14852 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14854 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14856 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14858 * malloc/hooks.c: Likewise.
14861 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14862 variables statically.
14863 (narenas): Initialize.
14864 (list_lock): Initialize.
14865 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14866 initializtion of main_arena and list_lock. Small cleanups.
14867 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14868 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14869 Add initializers to main_arena and mp_.
14870 (malloc_state): Remove pagesize member. Change all users to use
14873 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14874 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14875 is always initialized.
14877 * malloc/malloc.c: Removed unused configurations and dead code.
14878 * malloc/arena.c: Likewise.
14879 * malloc/hooks.c: Likewise.
14880 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14882 * include/tls.h: Removed. USE___THREAD must always be defined.
14883 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14884 * elf/dl-libc.c: Likewise.
14885 * elf/dl-tsd.c: Likewise.
14886 * include/errno.h: Likewise.
14887 * include/netdb.h: Likewise.
14888 * include/resolv.h: Likewise.
14889 * inet/herrno-loc.c: Likewise.
14890 * inet/herrno.c: Likewise.
14891 * malloc/arena.c: Likewise.
14892 * malloc/hooks.c: Likewise.
14893 * malloc/malloc.c: Likewise.
14894 * resolv/res-state.c: Likewise.
14895 * resolv/res_libc.c: Likewise.
14896 * sysdeps/i386/dl-machine.h: Likewise.
14897 * sysdeps/ia64/dl-machine.h: Likewise.
14898 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14899 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14900 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14901 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14902 * sysdeps/sh/dl-machine.h: Likewise.
14903 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14904 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14905 * sysdeps/unix/i386/sysdep.S: Likewise.
14906 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14907 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14908 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14909 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14910 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14911 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14912 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14913 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14914 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14915 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14916 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14917 * sysdeps/x86_64/dl-machine.h: Likewise.
14918 * tls.make.c: Likewise.
14920 * configure.in: Remove --with-__thread option. Make tests for
14921 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14922 tls_model attribute fail if no support is available. Remove
14924 * Makeconfig: Adjust for dropped configure option. All features are
14926 * Makerules: Likewise.
14927 * Versions.def: Likewise.
14928 * argp/argp-fmtstream.c: Likewise.
14929 * argp/argp-fmtstream.h: Likewise.
14930 * argp/argp-help.c: Likewise.
14931 * assert/assert.c: Likewise.
14932 * config.h.in: Likewise.
14933 * config.make.in: Likewise.
14934 * configure: Likewise.
14935 * configure.in: Likewise.
14936 * csu/Versions: Likewise.
14937 * csu/init.c: Likewise.
14938 * elf/tst-audit2.c: Likewise.
14939 * elf/tst-tls10.c: Likewise.
14940 * elf/tst-tls10.h: Likewise.
14941 * elf/tst-tls11.c: Likewise.
14942 * elf/tst-tls12.c: Likewise.
14943 * elf/tst-tls14.c: Likewise.
14944 * elf/tst-tlsmod11.c: Likewise.
14945 * elf/tst-tlsmod12.c: Likewise.
14946 * elf/tst-tlsmod13.c: Likewise.
14947 * elf/tst-tlsmod13a.c: Likewise.
14948 * elf/tst-tlsmod14a.c: Likewise.
14949 * elf/tst-tlsmod15b.c: Likewise.
14950 * elf/tst-tlsmod16a.c: Likewise.
14951 * elf/tst-tlsmod16b.c: Likewise.
14952 * elf/tst-tlsmod7.c: Likewise.
14953 * elf/tst-tlsmod8.c: Likewise.
14954 * elf/tst-tlsmod9.c: Likewise.
14955 * gmon/gmon.c: Likewise.
14956 * grp/fgetgrent_r.c: Likewise.
14957 * grp/putgrent.c: Likewise.
14958 * hurd/fopenport.c: Likewise.
14959 * include/libc-symbols.h: Likewise.
14960 * include/tls.h: Likewise.
14961 * intl/gettextP.h: Likewise.
14962 * intl/loadinfo.h: Likewise.
14963 * locale/global-locale.c: Likewise.
14964 * locale/localeinfo.h: Likewise.
14965 * mach/devstream.c: Likewise.
14966 * malloc/arena.c: Likewise.
14967 * malloc/set-freeres.c: Likewise.
14968 * misc/err.c: Likewise.
14969 * misc/getttyent.c: Likewise.
14970 * misc/mntent_r.c: Likewise.
14971 * posix/getopt.c: Likewise.
14972 * posix/wordexp.c: Likewise.
14973 * pwd/fgetpwent_r.c: Likewise.
14974 * resolv/Versions: Likewise.
14975 * resolv/res_hconf.c: Likewise.
14976 * shadow/fgetspent_r.c: Likewise.
14977 * shadow/putspent.c: Likewise.
14978 * stdio-common/printf_fphex.c: Likewise.
14979 * stdio-common/tmpfile.c: Likewise.
14980 * stdlib/abort.c: Likewise.
14981 * stdlib/fmtmsg.c: Likewise.
14982 * sunrpc/auth_unix.c: Likewise.
14983 * sunrpc/clnt_perr.c: Likewise.
14984 * sunrpc/clnt_tcp.c: Likewise.
14985 * sunrpc/clnt_udp.c: Likewise.
14986 * sunrpc/clnt_unix.c: Likewise.
14987 * sunrpc/openchild.c: Likewise.
14988 * sunrpc/svc_simple.c: Likewise.
14989 * sunrpc/svc_tcp.c: Likewise.
14990 * sunrpc/svc_udp.c: Likewise.
14991 * sunrpc/svc_unix.c: Likewise.
14992 * sunrpc/xdr.c: Likewise.
14993 * sunrpc/xdr_array.c: Likewise.
14994 * sunrpc/xdr_rec.c: Likewise.
14995 * sunrpc/xdr_ref.c: Likewise.
14996 * sunrpc/xdr_stdio.c: Likewise.
14998 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15000 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15002 2011-07-03 Andreas Jaeger <aj@suse.de>
15004 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15005 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15006 regenerate with gen-libm-tests.pl.
15008 2010-05-12 Petr Baudis <pasky@suse.cz>
15011 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15012 around j0() zero points by switching to j1().
15013 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15014 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15015 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15016 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15018 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15020 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15022 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15024 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15025 Patch in part by Pavel Roskin <proski@gnu.org>.
15028 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15030 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15031 Free memory block if necessary.
15034 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15035 be NULL. Don't lock in this case.
15037 2011-09-09 Roland McGrath <roland@hack.frob.com>
15039 * elf/elf.h (ELFOSABI_GNU): New macro.
15040 (ELFOSABI_LINUX): Define to that.
15042 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15044 * string/strncat.c (strncat): Undef the symbol in case it has been
15045 defined in bits/string.h.
15047 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15049 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15051 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15054 2011-08-17 Andreas Jaeger <aj@suse.de>
15056 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15058 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15059 Ian Lance Taylor <iant@google.com>
15061 * math/libm-test.inc (lround_test): New testcase.
15062 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15064 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15066 * Makefile: Remove support for automatic cvs check-ins.
15067 * Makerules: Likewise.
15068 * config.make.in: Likewise.
15069 * configure.in: Likewise.
15070 * intl/Makefile: Likewise.
15071 * locale/Makefile: Likewise.
15072 * po/Makefile: Likewise.
15073 * posix/Makefile: Likewise.
15074 * sysdeps/gnu/Makefile: Likewise.
15075 * sysdeps/mach/hurd/Makefile: Likewise.
15076 * sysdeps/sparc/sparc32/Makefile: Likewise.
15079 * posix/Makefile (bug-regex32-ENV): Define.
15080 Patch by John Stanley <jpsinthemix@verizon.net>.
15082 * misc/Makefile (headers): Add bits/select2.h.
15083 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15084 * misc/bits/select2.h: New file.
15085 * include/bits/select2.h: New file.
15086 * debug/Makefile (routines): Add fdelt_chk.
15087 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15088 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15090 * debug/fdelt_chk.c: New file.
15092 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15093 * wcsmbs/test-wmemcmp.c: Likewise.
15094 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15095 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15097 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15099 * string/Makefile (strop-tests): Add memcmp.
15100 * string/test-wmemcmp.c: New file.
15101 * string/test-memcmp.c: Add wmemcmp support.
15103 2011-09-08 Roland McGrath <roland@hack.frob.com>
15106 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15109 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15110 garbage value in a __mach_port_mod_refs call in the cases of the
15111 task-self and thread-self ports.
15113 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15115 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15117 2011-09-08 Andreas Schwab <schwab@redhat.com>
15119 * elf/dl-load.c (lose): Check for non-null L.
15121 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15123 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15125 * elf/dl-libc.c (dlerror_run): Pass back error code from
15129 * elf/dl-load.c (lose): Free l_origin if it is valid.
15131 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15133 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15134 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15135 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15136 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15137 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15138 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15140 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15142 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15143 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15144 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15145 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15146 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15147 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15148 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15149 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15150 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15151 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15153 2011-08-15 Alan Modra <amodra@gmail.com>
15156 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15157 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15158 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15159 ppc_mcount to static-only-routines.
15160 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15162 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15163 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15165 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15167 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15168 for finite and infinity parameters.
15170 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15172 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15173 and add nop instructions for throughput optimization.
15174 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15176 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15178 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15179 aligned copy for power7 with vector-scalar instructions.
15180 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15182 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15184 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15187 2011-09-07 Andreas Schwab <schwab@redhat.com>
15190 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15193 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15195 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15196 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15197 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15198 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15201 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15203 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15204 Forgot to demangle the pointer.
15206 * sysdeps/i386/sysdep.h: Define atom_text_section.
15207 * sysdeps/x86_64/sysdep.h: Likewise.
15208 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15209 section with atom_text_section.
15210 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15211 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15212 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15213 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15214 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15216 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15217 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15218 already be defined. Change to take two parameters and don't assign
15219 result to variable. Adjust all users.
15220 Define INTERNAL_GETTIME if not already defined.
15221 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15224 HAVE_CLOCK_GETTIME_VSYSCALL.
15225 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15227 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15228 gettimeofday vsyscall, just use time.
15230 2011-09-06 Andreas Schwab <schwab@redhat.com>
15232 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15235 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15237 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15239 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15241 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15242 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15243 syscall if possible.
15245 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15247 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15248 e_ident. Don't pass to find_mapsXX.
15249 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15251 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15254 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15255 * sysdeps/x86_64/multiarch/strchr.S: Update.
15256 Check bit_slow_BSF bit.
15257 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15258 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15259 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15261 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15264 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15266 (tryshell): Define.
15267 (__spawni): Change last parameter to be flag. Test
15268 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15269 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15270 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15271 * posix/spawni.c: Likewise.
15272 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15273 * posix/spawnp.c: Likewise. Change normal version to use
15274 SPAWN_XFLAGS_USE_PATH.
15275 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15276 SPAWN_XFLAGS_TRY_SHELL.
15279 * posix/glob.h: Remove gcc 1.x support.
15282 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15284 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15286 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15287 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15289 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15290 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15291 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15292 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15293 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15294 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15296 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15298 * sysdeps/x86_64/wcscmp.S: New file.
15300 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15301 wcscmp-c wcscmp-sse2
15302 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15303 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15304 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15305 * wcsmbs/wcscmp.c: Allow renaming.
15307 2011-09-05 David S. Miller <davem@davemloft.net>
15309 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15310 stack slot, rather than the struct return pointer slot.
15311 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15312 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15314 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15316 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15318 * po/ja.po: Update from translation team.
15321 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15322 kernel in 64-bit binaries.
15324 2011-09-01 David S. Miller <davem@davemloft.net>
15326 * elf/elf.h (HWCAP_SPARC_*): Move to..
15327 * sysdeps/sparc/sysdep.h: this new file and add new values.
15328 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15329 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15330 _DL_HWCAP_COUNT to 24.
15331 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15333 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15334 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15335 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15336 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15337 instead of magic constants.
15338 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15340 2011-08-31 David S. Miller <davem@davemloft.net>
15342 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15343 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15344 Reimplement to do errno handling inline.
15345 (SYSCALL_ERROR_HANDLER): New macro.
15346 (__SYSCALL_STRING): Do not do errno handling in asm.
15347 (__CLONE_SYSCALL_STRING): Delete.
15348 (__INTERNAL_SYSCALL_STRING): Delete.
15349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15350 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15351 (PSEUDO): Reimplement to do errno handling inline.
15352 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15353 (SYSCALL_ERROR_HANDLER): New macro.
15354 (__SYSCALL_STRING): Do not do errno handling in asm.
15355 (__CLONE_SYSCALL_STRING): Delete.
15356 (__INTERNAL_SYSCALL_STRING): Delete.
15357 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15358 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15360 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15361 (inline_syscall*): Add 'err' argument.
15362 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15363 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15364 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15365 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15367 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15368 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15370 2011-08-30 Andreas Schwab <schwab@redhat.com>
15372 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15374 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15376 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15379 2011-08-24 David S. Miller <davem@davemloft.net>
15381 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15383 2011-08-24 Andreas Schwab <schwab@redhat.com>
15385 * elf/Makefile: Add rules to build and run unload8 test.
15386 * elf/unload8.c: New file.
15387 * elf/unload8mod1.c: New file.
15388 * elf/unload8mod1x.c: New file.
15389 * elf/unload8mod2.c: New file.
15390 * elf/unload8mod3.c: New file.
15392 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15395 2011-08-23 David S. Miller <davem@davemloft.net>
15397 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15398 subtract stack bias.
15399 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15400 %sp not %fp in calculations.
15401 (_JMPBUF_UNWINDS_ADJ): Likewise.
15403 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15404 (aio_suspend): Call it to force an exception region around the
15405 AIO_MISC_WAIT() invocation.
15407 2011-08-23 Andreas Schwab <schwab@redhat.com>
15409 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15412 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15414 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15416 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15417 and <dl-machine.h>.
15418 (Elf64_FuncDesc): Remove.
15420 2011-08-22 David S. Miller <davem@davemloft.net>
15422 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15423 sigaltstack check, add missing cfi directives.
15424 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15425 missing cfi directives, and sigaltstack handling.
15427 2011-08-16 Andreas Schwab <schwab@redhat.com>
15430 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15431 object is seen twice.
15432 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15434 * elf/Makefile (distribute): Add tst-initorder2.c.
15435 (tests): Add tst-initorder2.
15436 (modules-names): Add tst-initorder2a tst-initorder2b
15437 tst-initorder2c tst-initorder2d. Add rules to build them.
15438 ($(objpfx)tst-initorder2.out): New rule.
15439 * elf/tst-initorder2.c: New file.
15440 * elf/tst-initorder2.exp: New file.
15442 2011-08-22 Andreas Schwab <schwab@redhat.com>
15444 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15446 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15447 dependencies back to end of function.
15449 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15450 $(elfobjdir)/ld.so.
15452 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15454 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15455 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15456 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15457 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15458 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15459 of __vdso_gettimeofday.
15460 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15461 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15463 (_libc_vdso_platform_setup): Remove initialization of
15464 __vdso_gettimeofday and __vdso_time.
15466 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15468 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15469 and fgetc_unlocked.
15470 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15473 * elf/dl-open.c (add_to_global): Report additions to the global scope
15474 for LD_DEBUG=scopes.
15475 (dl_open_worker): Also print scope of newly loaded dependencies.
15476 (_dl_show_scope): Indicate if there is no scope.
15479 * stdio-common/Makefile (tests): Add bug24.
15480 * stdio-common/bug24.c: New file.
15482 2011-08-19 Andreas Jaeger <aj@suse.de>
15485 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15486 non-existant file when using close-on-exec mode.
15488 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15490 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15491 the very first instruction.
15493 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15494 the CFI state in the end.
15495 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15496 inclusion of dl-trampoline.h.
15497 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15499 2011-08-19 Andreas Schwab <schwab@redhat.com>
15501 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15502 expectations for long double.
15504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15505 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15507 2011-08-14 David S. Miller <davem@davemloft.net>
15509 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15510 artificual limit depends upon the system page size.
15512 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15514 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15515 * resolv/Makefile: Define CFLAGS-libresolv.
15517 2011-08-17 Andreas Schwab <schwab@redhat.com>
15519 * nss/makedb.c (compute_tables): Make variables used in nested
15522 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15524 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15525 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15526 if buffer was too small.
15528 * elf/pldd.c (main): Attach to all threads in the process.
15529 Rewrite /proc handling to use *at functions.
15531 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15533 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15534 specifies first scope to show.
15535 (dl_open_worker): Update callers. Move printing scope of new
15536 object to before the relocation.
15537 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15538 * sysdeps/generic/ldsodefs.h: Update declaration.
15540 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15541 string for the scope number.
15543 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15545 * nscd/servicescache.c (cache_addserv): Make sure written is always
15548 2011-08-14 Roland McGrath <roland@hack.frob.com>
15550 * sysdeps/i386/i486/bits/atomic.h
15551 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15552 statement expression, so as to suppress "set but not used" warning.
15553 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15555 * string/strncat.c (STRNCAT): Use prototype definition.
15557 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15558 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15560 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15561 (localedef-modules): Add localedef.
15562 (locale-modules): Add locale.
15564 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15565 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15566 to avoid a warning.
15568 2011-08-14 David S. Miller <davem@davemloft.net>
15570 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15571 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15573 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15575 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15576 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15577 * elf/rtld.c (dl_main): Set l_name of vDSO.
15578 Call _dl_show_scope when DL_DEBUG_SCOPES.
15579 (process_dl_debug): Recognize scopes flag and also set it for all.
15580 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15581 Declare _dl_show_scope.
15583 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15584 (do_dlopen): Pass caller_dlopen to dl_open.
15585 (__libc_dlopen_mode): Initialize caller_dlopen.
15587 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15588 of libc. Make tolower call locale-independent. Optimize a bit by
15589 using isdigit instead of isalnum.
15590 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15592 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15594 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15595 was a dependency or dynamically loaded.
15597 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15599 * intl/l10nflist.c: Allow architecture-specific pop function.
15600 * sysdeps/x86_64/l10nflist.c: New file.
15602 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15605 2011-08-10 Andreas Schwab <schwab@redhat.com>
15607 * include/dirent.h: Add libc_hidden_proto for scandirat and
15608 scandirat64. Don't declare __scandirat64.
15609 * dirent/scandirat.c: Add libc_hidden_def.
15610 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15611 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15613 2011-08-10 David S. Miller <davem@davemloft.net>
15615 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15617 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15618 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15619 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15621 2011-08-09 Ulrich Drepper <drepper@gmail.com>
15623 * Versions.def [libc]: Add GLIBC_2.15.
15624 * dirent/Makefile (routines): Add scandirat and scandirat64.
15625 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15627 * dirent/dirent.h: Declare scandirat and scandirat64.
15628 * dirent/scandirat.c: New file.
15629 * dirent/scandirat64.c: New file.
15630 * sysdeps/wordsize-64/scandirat.c: New file.
15631 * sysdeps/wordsize-64/scandirat64.c: New file.
15632 * dirent/opendir.c: Define opendirat.
15633 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15635 * dirent/scandir64.c: Adjust for scandir.c change.
15636 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15637 __scandirat64, and __scandir_cancel_handler.
15638 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15639 additional parameter and use openat instead of open (outside of ld.so).
15640 Add new __opendir as wrapper around __opendirat.
15641 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15642 here without requiring old scandirat implementation.
15644 2011-08-08 Ulrich Drepper <drepper@gmail.com>
15646 * dirent/scandir.c (cancel_handler): Renamed to
15647 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15648 defined. Adjust users.
15649 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15650 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15652 2011-08-04 Ulrich Drepper <drepper@gmail.com>
15654 * string/test-string.h (IMPL): Use __STRING to expand name and then
15657 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15660 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15662 * string/Makefile: Update.
15663 (strop-tests): Append strncat.
15664 * string/test-wcscmp.c: New file.
15665 New comprehensive test for wcscmp.
15666 * string/test-strcmp.c: Update.
15667 (WIDE): New define.
15669 2011-07-22 Andreas Schwab <schwab@redhat.com>
15671 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15674 2011-07-26 Andreas Schwab <schwab@redhat.com>
15676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15677 encoding to ACE if AI_IDN.
15679 2011-08-01 Jakub Jelinek <jakub@redhat.com>
15681 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15682 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15684 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15686 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15687 Fix overflow bug in strncat.
15688 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15690 * string/test-strncat.c: Update.
15691 Add new tests for checking overflow bugs.
15693 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15695 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15696 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15697 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15698 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15699 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15700 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15701 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15702 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15703 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15705 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15706 (USE_AS_STRCAT): Define.
15707 Add strcat and strncat support.
15708 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15710 2011-07-25 Andreas Schwab <schwab@redhat.com>
15712 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15713 __n bigger than INT_MAX+1.
15714 (__strncmp_g): Likewise.
15716 2011-07-23 Ulrich Drepper <drepper@gmail.com>
15718 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15719 * libio/stido.h: Likewise.
15721 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15726 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15727 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15728 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15729 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15730 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15733 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15736 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15738 (_dl_x86_64_save_sse): Likewise.
15740 2011-07-22 Ulrich Drepper <drepper@gmail.com>
15742 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15744 (_dl_x86_64_save_sse): Likewise.
15746 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15748 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15750 2011-07-21 Andreas Schwab <schwab@redhat.com>
15752 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15754 (_dl_x86_64_save_sse): Use correct AVX check.
15756 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15758 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15759 bug in strncpy/strncat.
15760 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15762 2011-07-21 Ulrich Drepper <drepper@gmail.com>
15764 * string/tester.c (test_strcat): Add tests for different alignments
15765 of source and destination.
15766 (test_strncat): Likewise.
15768 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15771 * posix/glob.c (glob): Check passed in values before using them in
15772 expressions to avoid some overflows.
15773 (glob_in_dir): Likewise.
15776 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15777 check for AVX enablement so that we don't crash with old kernels and
15779 * elf/tst-audit4.c: Add same checks here.
15780 * elf/tst-audit6.c: Likewise.
15782 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15784 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15786 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15788 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15790 * po/cs.po: Update from translation team.
15791 * po/bg.po: Likewise.
15793 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15795 * misc/sys/cdefs.h: Add support for const attribute.
15796 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15797 to gnu_dev_{major,minor,makedev} functions.
15799 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15801 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15803 2011-07-20 Andreas Schwab <schwab@redhat.com>
15805 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15808 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15810 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15811 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15812 register in order to avoid conflicts with the soft frame pointer
15813 being held in r11 when necessary.
15814 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15815 (INTERNAL_VSYSCALL_NCS): Likewise.
15817 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15819 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15820 * elf/dl-fini.c (_dl_fini): Adjust caller.
15821 * elf/dl-close.c (_dl_close_worker): Likewise.
15822 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15824 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15826 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15827 "aux_cache->nlibs < 0".
15829 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15830 in the reload-count case.
15832 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15834 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15835 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15836 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15837 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15838 * sysdeps/x86_64/multiarch/strcat.S: New file.
15839 * sysdeps/x86_64/multiarch/strncat.S: New file.
15840 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15841 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15842 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15843 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15844 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15845 (USE_AS_STRCAT): Define.
15846 Add strcat and strncat support.
15847 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15848 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15849 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15850 * string/strncat.c: Update.
15851 (USE_AS_STRNCAT): Define.
15852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15853 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15855 * sysdeps/x86_64/multiarch/init-arch.h
15856 (bit_Prefer_PMINUB_for_stringop): New.
15857 (index_Prefer_PMINUB_for_stringop): Likewise.
15858 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15859 bit_Prefer_PMINUB_for_stringop.
15861 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15863 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15865 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15866 of casting of buffer.
15867 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15868 buffer32 and buffer64.
15869 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15870 writes instead of casting of buffer.
15871 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15873 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15876 2011-07-19 Andreas Schwab <schwab@redhat.com>
15878 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15880 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15882 * nscd/nscd.c (termination_handler): Don't do anything for a database
15883 if it has not yet been initialized.
15885 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15887 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15889 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15891 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15893 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15895 * po/nl.po: Update from translation team.
15896 * po/sv.po: Likewise.
15898 2011-07-16 Roland McGrath <roland@hack.frob.com>
15900 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15901 now disallowed by GCC.
15903 * configure.in (use-default-link): Default to yes if a test -shared
15904 link meets our qualifications.
15905 * configure: Regenerated.
15907 * config.make.in (output-format): New variable.
15908 * configure.in: Check for ld --print-output-format support.
15909 * configure: Regenerated.
15910 * Makerules ($(common-objpfx)format.lds)
15911 [$(output-format) != unknown]: Just use $(output-format),
15912 instead of the linker-script munging.
15914 2011-07-14 Roland McGrath <roland@hack.frob.com>
15916 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15917 of $(common-objpfx)shlib.lds.
15918 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15920 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15921 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15923 * configure.in (-z relro check): Adjust test code to add a large
15924 writable data section after it.
15925 * configure: Regenerated.
15927 2011-07-11 Roland McGrath <roland@hack.frob.com>
15929 * configure.in (-z relro check): Fix test code to make the variable
15931 * configure: Regenerated.
15933 2011-07-11 Ulrich Drepper <drepper@gmail.com>
15935 * nscd/nscd.h (struct traced_file): Define.
15936 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15937 elements. Add traced_files.
15938 (inotify_fd): Declare.
15939 (register_traced_file): Declare.
15940 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15941 (inotify_fd): Export.
15942 (resolv_conf_descr): Remove.
15943 (nscd_init): Move inotify descriptor creation to main.
15944 Don't register files for notification here.
15945 (register_traced_file): New function.
15946 (invalidate_cache): Don't use reset_res to determine whether to call
15947 res_init, go through the list of registered files.
15948 (main_loop_poll): The inotify descriptors are now stored in the
15949 structures for the traced files.
15950 (main_loop_epoll): Likewise
15951 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15952 to __nss_disable_nscd.
15953 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15954 for a database anymore. Check the records for all the registered
15956 * nss/Makefile (libnss_files-routines): Add files-init.
15957 (libnss_db-routines): Add db-init.
15958 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15959 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15960 * nss/nss_db/db-init.c: New file.
15961 * nss/nss_files/files-init.c: New file.
15962 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15963 __nss_lookup_function.
15964 (__nss_lookup_function): Call nss_load_library.
15965 (nss_load_all_libraries): New function.
15966 (__nss_disable_nscd): Take parameter with callback function for files
15967 to register. Set is_nscd. Load all the DSOs for the NSS modules
15968 used for the cached services.
15969 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15970 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15971 options for features to all the files in nscd.
15973 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15975 2011-07-10 Roland McGrath <roland@hack.frob.com>
15977 * csu/elf-init.c (__libc_csu_init): Comment typo.
15979 2011-07-09 Ulrich Drepper <drepper@gmail.com>
15981 * po/pl.po: Update from translation team.
15982 * po/ja.po: Likewise.
15983 * po/ru.po: Likewise.
15984 * po/ko.po: Likewise.
15985 * po/fr.po: Likewise.
15987 2011-07-09 Roland McGrath <roland@hack.frob.com>
15989 * configure.in (.ctors/.dtors header and trailer check):
15990 Use an empirical test on a built program.
15991 * configure: Regenerated.
15993 * configure.in (-z relro check): Use an empirical test on a built DSO.
15994 Detect, but do not require, on ia64.
15995 * configure: Regenerated.
15997 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15998 Update tests that use readelf to use $READELF instead.
15999 * configure: Regenerated.
16001 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16003 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16004 if the result is not used.
16006 2011-07-05 Andreas Jaeger <aj@suse.de>
16009 * stdlib/tst-strtod.c: Add testcase.
16011 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16013 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16014 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16015 The latter has a higher limit. Take additional parameter to pass to
16017 (__pathconf): Pass file to __statfs_link_max.
16018 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16020 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16024 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16025 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16027 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16028 (__statfs_filesize_max): Likewise.
16029 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16031 2011-07-05 Andreas Jaeger <aj@suse.de>
16033 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16035 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16037 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16039 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16042 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16044 * Makefile (strop-tests): Add strncat.
16045 * string/test-strncat.c: New file.
16047 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16049 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16051 2011-06-21 Andreas Jaeger <aj@suse.de>
16053 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16054 Copy rule from iconvdata/Makefile.
16056 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16059 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16060 but no long options are defined, just return 'W'.
16062 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16065 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16067 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16069 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16071 (innetgr): Likewise.
16073 2011-07-05 Roland McGrath <roland@hack.frob.com>
16075 * config.make.in (install_root): Default to $(DESTDIR).
16077 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16079 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16081 2011-07-02 Roland McGrath <roland@hack.frob.com>
16083 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16085 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16086 containing directory rather than embedding absolute directory names.
16088 * scripts/check-local-headers.sh: Rewritten using awk.
16089 Match by word, not by line. Print error messages for matches.
16090 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16092 * Makerules [shlib-lds-flags empty]:
16093 ($(common-objpfx)libc_pic.opts): New target.
16094 ($(common-objpfx)libc_pic.os.clean): New target.
16095 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16097 * config.make.in (OBJCOPY): New variable.
16098 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16099 * configure: Regenerated.
16101 * config.make.in (use-default-link): New variable.
16102 * configure.in (use_default_link): Grok --with-default-link to set it.
16103 * configure: Regenerated.
16104 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16105 (shlib-lds, shlib-lds-flags): Define to empty.
16107 * Makerules (shlib-lds): New variable.
16108 (shlib-lds-flags): New variable.
16109 (build-shlib, build-moduile, build-module-asneeded): Use it.
16110 ($(common-objpfx)libc.so): Use $(shlib-lds).
16111 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16112 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16114 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16115 DT_FLAGS/DT_FLAGS_1 with zero flags.
16117 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16118 linker script munging.
16120 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16122 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16124 * crypt/sha512.c (sha512_process_block): Perform total addition using
16125 128-bit if possible.
16126 (__sha512_finish_ctx): Likewise.
16127 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16129 * crypt/sha256.c (SWAP64): Define.
16130 (sha256_process_block): Perform total addition using 64-bit if
16132 (__sha256_finish_ctx): Likewise.
16134 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16136 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16137 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16138 * nscd/hstcache.c (cache_addhst): Likewise.
16139 * nscd/grpcache.c (cache_addgr): Likewise.
16140 * nscd/aicache.c (addhstaiX): Likewise
16141 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16143 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16145 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16146 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16147 * nscd/hstcache.c (cache_addhst): Likewise.
16148 * nscd/grpcache.c (cache_addgr): Likewise.
16149 * nscd/aicache.c (addhstaiX): Likewise
16151 2011-07-01 Andreas Schwab <schwab@redhat.com>
16153 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16154 domain only when needed.
16156 2011-06-30 Andreas Schwab <schwab@redhat.com>
16158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16159 is always restored.
16161 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16163 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16164 are re-adding the entry.
16165 * nscd/servicescache.c (cache_addserv): Likewise.
16167 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16169 * sysdeps/generic/dl-irel.h: fix protection against multiple
16171 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16173 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16176 * malloc/memusage.sh: Fix quoting in message.
16177 * debug/xtrace.sh: Likewise.
16179 * configure.in: Remove support for --experimental-malloc option, make
16181 * config.make.in: Likewise.
16182 * malloc/Makefile: Likewise.
16184 2011-06-27 Andreas Schwab <schwab@redhat.com>
16186 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16187 two-byte characters.
16189 2011-06-27 Roland McGrath <roland@hack.frob.com>
16191 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16192 AC_CACHE_CHECK invocation.
16193 * configure: Regenerated.
16195 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16197 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16200 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16201 bit from old_res_options.
16203 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16205 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16206 value type for setfct.
16208 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16210 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16211 __gettimeofday instead of gettimeofday.
16213 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16215 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16217 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16219 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16221 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16224 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16227 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16228 strcpy-sse2-unaligned strncpy-sse2-unaligned
16229 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16230 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16231 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16232 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16233 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16234 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16235 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16236 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16237 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16238 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16239 (STRCPY): Support SSE2 and SSSE3 versions.
16241 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16244 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16245 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16246 kernels which artificially limit size of requests.
16248 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16250 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16251 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16252 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16253 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16254 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16255 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16256 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16257 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16258 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16259 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16260 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16261 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16262 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16263 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16264 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16266 Enable unaligned load optimization for Intel Core i3, i5 and i7
16268 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16270 (index_Fast_Unaligned_Load): Define.
16271 (HAS_FAST_UNALIGNED_LOAD): Define.
16273 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16275 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16277 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16280 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16281 until it is clear that the information is realy needed.
16282 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16284 2011-06-22 Andreas Schwab <schwab@redhat.com>
16286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16288 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16290 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16291 /sys/devices/system/cpu/online if it is usable.
16293 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16294 reading the information from the /proc filesystem to once a second.
16296 2011-06-21 Andreas Jaeger <aj@suse.de>
16298 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16299 NULL after inclusion of kernel headers.
16301 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16303 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16304 calls to internal_setent.
16307 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16308 addresses using gethostbyname4_r ignore IPv4 addresses.
16310 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16311 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16313 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16315 2011-06-20 David S. Miller <davem@davemloft.net>
16317 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16319 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16321 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16322 (elf_irel): Use it.
16323 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16324 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16325 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16326 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16327 * sysdeps/x86_64/dl-irel.h: Likewise.
16329 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16330 * elf/dl-sym.c: Likewise.
16332 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16334 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16335 need to dereference resplen2.
16337 2011-06-14 Andreas Schwab <schwab@redhat.com>
16339 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16341 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16343 * Makeconfig: Define vardbdir and inst_vardbdir.
16344 * nss/Makefile: Add rules to install db-Makefile.
16346 * nss/nss_db/db-XXX.c: Cleanup.
16348 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16349 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16351 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16352 * nss/makedb.c: Implement -g option to specify that value strings
16353 are generated and should not be added to table iterated over for
16355 * nss/nss_db/db-initgroups.c: New file.
16357 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16360 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16361 (internal_getgrouplist): Adjust to name change.
16362 Update use_initgroups_entry if this is not the first call.
16363 * nss/databases.def: Add initgroups entry.
16365 * nss/makedb.c (compute_tables): Check result of multiple hash table
16366 sizes to minimize maximum chain length.
16368 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16370 * Versions.def: Add entry for libnss_db.
16371 * shlib-versions: Likewise.
16372 * nss/Makefile: Add rules to build libnss_db.
16373 * nss/Versions: Add libnss_db information. Organize libnss_files
16375 * nss/db-Makefile: Add gshadow support. Change rules for the new
16376 makedb progra. Some minor improvements to generate smaller files.
16377 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16379 * nss/makedb.c: ...here.
16380 Improve database format to be smaller and require less memory at
16382 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16384 * nss/nss_db/db-netgrp.c: Likewise.
16385 * nss/nss_db/db-open.c: Likewise.
16386 * nss/nss_files/flies-XXX.x: Adjust comments.
16387 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16388 * nss/nss_files/files-grp.c: Likewise.
16389 * nss/nss_files/files-hosts.c: Likewise.
16390 * nss/nss_files/files-network.c: Likewise.
16391 * nss/nss_files/files-proto.c: Likewise.
16392 * nss/nss_files/files-pwd.c: Likewise.
16393 * nss/nss_files/files-rpc.c: Likewise.
16394 * nss/nss_files/files-service.c: Likewise.
16395 * nss/nss_files/files-sgrp.c: Likewise.
16396 * nss/nss_files/files-spwd.c: Likewise.
16397 * nss/nss_db/db-alias.c: Removed.
16398 * nss/nss_db/dummy-db.h: Removed.
16400 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16402 * nss/makedb.c: Rewritten to not use database library.
16403 * nss/Makefile: Update to build new makedb program.
16405 2011-06-14 Andreas Jaeger <aj@suse.de>
16407 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16408 memset declaration.
16410 2011-06-10 Andreas Schwab <schwab@redhat.com>
16412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16415 2011-06-10 Roland McGrath <roland@hack.frob.com>
16417 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16418 * elf/Makefile ($(objpfx)ld.so): Likewise.
16420 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16421 Don't list ld.so twice in dependencies.
16423 * posix/bug-regex31.c: Include <stdlib.h>.
16425 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16427 * nis/nss_compat/compat-spwd.c
16428 (getspent_next_nss_netgr): Remove unused variable.
16429 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16431 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16432 nonmembers" output to use the right array.
16434 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16436 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16438 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16439 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16440 * catgets/gencat.c (read_input_file): Likewise.
16441 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16443 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16444 variable definition inside #if's controlling its use.
16446 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16448 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16450 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16452 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16455 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16457 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16458 * configure: Regenerated.
16460 * Makerules: Revert last change.
16461 * elf/Makefile: Likewise.
16463 2011-06-09 Roland McGrath <roland@hack.frob.com>
16465 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16466 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16467 (reloc-link): Likewise.
16469 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16471 * elf/Makefile: Add rules to build pldd.
16472 * elf/pldd.c: New file.
16473 * elf/pldd-xx.c: New file.
16475 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16477 * version.h: Update for 2.15 development version.
16479 2011-06-07 David S. Miller <davem@davemloft.net>
16481 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16483 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16484 elf_machine_lazy_rel): Likewise.
16485 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16486 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16487 elf_machine_lazy_rel): Likewise.
16488 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16489 dl_hwcap via passed in argument.
16490 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16493 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16495 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16497 2011-06-06 Roland McGrath <roland@hack.frob.com>
16500 * manual/fdl-1.1.texi: New file, verbatim from:
16501 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16502 * manual/lgpl-2.1.texi: New file, verbatim from:
16503 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16504 * manual/Makefile (licenses): New variable, list those new file names.
16506 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16508 * manual/fdl.texi: File removed.
16509 * manual/lesser.texi: File removed.
16510 * manual/libc.texinfo (Copying, Documentation License):
16511 Use new @include file names, put @appendix directive before @include.
16513 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16516 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16517 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16518 (mq_open): Add __NTH.
16520 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16522 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16523 Assume Intel Core i3/i5/i7 processor if AVX is available.
16525 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16527 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16530 2011-05-31 Andreas Schwab <schwab@redhat.com>
16532 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16533 memory. Use alloca_account. Fix memory leak when retrying.
16535 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16537 * version.h (RELEASE): Bump for 2.14 release.
16538 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16540 * config.make.in (RANLIB): Remove entry.
16542 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16544 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16545 (libc.pot): Work around missing support for .ksh extension in xgettext.
16548 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16549 if both request failed.
16550 (send_dg): In case of server errors clear resplen or *resplen2.
16553 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16554 when there are multiple maps.
16555 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16556 (_dl_fini): Remove test here.
16558 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16560 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16563 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16564 bit from old_res_options.
16565 (gaih_inet): Likewise.
16568 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16571 * resolv/res_init.c (res_setoptions): Make the code more compact.
16574 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16578 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16580 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16583 * malloc/malloc.h: Declare malloc hook variables as volatile.
16585 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16589 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16590 raise in the comment.
16591 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16592 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16593 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16595 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16598 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16599 grow the buffers more if it already has to be sufficient.
16600 (build_wcs_upper_buffer): Likewise.
16601 * posix/regexec.c (check_matching): Likewise.
16602 (clean_state_log_if_needed): Likewise.
16603 (extend_buffers): Don't enlarge buffers beyond size of the input
16605 Patches mostly by Emil Wojak <emil@wojak.eu>.
16606 * posix/bug-regex32.c: New file.
16607 * posix/Makefile (tests): Add bug-regex32.
16609 * locale/findlocale.c (_nl_find_locale): Return right away if
16610 _nl_explode_name failed.
16611 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16613 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16615 * debug/xtrace.sh: Unify messages.
16616 * malloc/memusage.sh: Likewise.
16619 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16620 time symbol from vDSO. Substitute with vsyscall if not available.
16621 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16624 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16625 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16626 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16627 Add sendmmsg and internal_sendmmsg.
16628 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16629 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16630 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16632 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16633 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16634 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16636 2011-05-27 Ulrich Drepper <drepper@gmail.com>
16639 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16640 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16642 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16646 * iconvdata/Makefile (tests): Add bug-iconv9.
16647 * iconvdata/bug-iconv9.c: New file.
16649 2011-05-27 Andreas Schwab <schwab@redhat.com>
16652 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16654 2011-05-25 Jakub Jelinek <jakub@redhat.com>
16656 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16657 (struct user_regs_struct): Change intcs field back to cs.
16659 2011-05-25 Ulrich Drepper <drepper@gmail.com>
16661 * po/ja.po: Update from translation team.
16663 2011-05-23 Ulrich Drepper <drepper@gmail.com>
16666 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16667 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16669 2011-05-20 Andreas Schwab <schwab@redhat.com>
16671 * stdlib/longlong.h: Update from GCC.
16673 2011-05-23 Andreas Schwab <schwab@redhat.com>
16675 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16677 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16678 Add parameter name.
16679 (__sysconf): Pass it down.
16681 2011-05-22 Ulrich Drepper <drepper@gmail.com>
16684 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16686 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16687 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16688 add in in __libc_use_alloca calls. Adjust callers.
16689 (glob): Use malloc in some situations.
16691 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16692 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16695 2011-05-21 Ulrich Drepper <drepper@gmail.com>
16697 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16698 and CLOCK_BOOTTIME_ALARM.
16701 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16704 * string/_strerror.c (__strerror_r): Print negative errors as signed
16708 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16709 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16710 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16712 * configure.in: Fix typo in redirection and correct removal of test
16713 files in two cases.
16716 * locale/setlocale.c (new_composite_name): Fix test to check for
16717 identical name of all categories.
16720 * libio/filedoalloc.c (local_isatty): New function.
16721 (_IO_file_doallocate): Use local_isatty.
16722 * stdio-common/perror.c (perror): In case a new stream is used
16723 forward the stream error.
16724 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16727 2011-05-20 Ulrich Drepper <drepper@gmail.com>
16730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16732 * include/alloca.h (extend_alloca_account): Define.
16735 * posix/regex.h: Fix comments with documentation of user-accessible
16736 fields after compilation and describe correct free'ing of pattern
16737 after re_compile_pattern.
16738 Patch by Reuben Thomas <rrt@sc3d.org>.
16740 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16742 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16743 and -mno-altivec to prevent the compiler from using Altivec and/or
16744 VSX instructions when the corresponding registers are not available.
16746 2011-05-19 Andreas Schwab <schwab@redhat.com>
16748 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16750 2011-05-19 Ulrich Drepper <drepper@gmail.com>
16752 * libio/freopen.c (freopen): Use __dup2, not dup2.
16753 * libio/freopen64.c (freopen64): Likewise.
16755 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16758 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16759 * math/Makefile (tests): Add test-powl.
16760 (CFLAGS-test-powl.c): Define.
16761 * math/test-powl.c: New file.
16763 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16765 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16767 2011-05-17 Ulrich Drepper <drepper@gmail.com>
16770 * iconvdata/gb18030.c: Update to GB18020-2005.
16772 2011-05-16 Ulrich Drepper <drepper@gmail.com>
16774 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16775 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16776 Patch by Aharon Robbins <arnold@skeeve.com>.
16779 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16783 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16784 through underflows.
16787 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16788 point to strings before performing equality test for error_one_per_line
16792 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16795 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16796 (struct user_fpregs_struct): Avoid __uint*_t types.
16799 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16800 symbol info. Use it instead of calling _dl_addr locally.
16801 (lock_and_info): New function.
16802 (tr_freehook): Call lock_and_info and pass symbol info as additional
16803 parameter to tr_where.
16804 (tr_mallochook): Likewise.
16805 (tr_reallochook): Likewise.
16806 (tr_memalignhook): Likewise.
16808 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16809 used and couldn't be at all thread-safe.
16811 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16813 * libio/freopen.c (freopen): Don't close old file descriptor
16814 before the new one is opened. Instead dup the new file descriptor
16815 to the old one after the new stream is created.
16816 * libio/freopen64.c (freopen64): Likewise.
16817 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16818 * libio/fileops.c (_IO_new_file_close_it): Handle new
16819 _IO_FLAGS2_NOCLOSE flag.
16820 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16821 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16822 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16823 _IO_FLAGS2_NOCLOSE flag.
16824 * include/unistd.h: Add hidden_proto for dup3.
16825 Define __have_dup3.
16826 * io/dup3.c: Define hidden symbol.
16827 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16830 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16831 when an incomplete long option is used.
16832 * posix/tst-getopt_long1.c: New file.
16833 * posix/Makefile (tests): Add tst-getopt_long1.
16836 * scripts/config.guess: Update from autoconf-2.68.
16837 * scripts/config.sub: Likewise.
16840 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16842 (has_cpuclock): ...this. New function.
16843 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16844 macro here based on has_cpuclock code.
16847 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16848 First byte (not low byte) is now always NUL.
16849 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16851 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16852 Use non-cancelable interfaces.
16855 * locale/iso-639.def: Add entry for Sorani.
16858 * include/stdlib.h: Move include protection to the right place.
16859 Define abort_msg_s. Declare __abort_msg with it.
16860 * stdlib/abort.c (__abort_msg): Adjust type.
16861 * assert/assert.c (__assert_fail_base): New function. Majority
16862 of code from __assert_fail. Allocate memory for __abort_msg with
16864 (__assert_fail): Now call __assert_fail_base.
16865 * assert/assert-perr.c: Remove bulk of implementation. Use
16866 __assert_fail_base.
16867 * include/assert.hL Declare __assert_fail_base.
16868 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16870 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16872 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16876 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16877 until all modules are registered in the DTV.
16878 * elf/Makefile: Add rules to build and run tst-tls19.
16879 * elf/tst-tls19.c: New file.
16880 * elf/tst-tls19mod1.c: New file.
16881 * elf/tst-tls19mod2.c: New file.
16882 * elf/tst-tls19mod3.c: New file.
16883 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16886 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16890 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16891 two-byte sequence errors.
16892 * iconvdata/Makefile (tests): Add bug-iconv8.
16893 * iconvdata/bug-iconv8.c: New file.
16896 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16899 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16902 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16903 (dummy_getcfa): New function.
16904 (init): Get _Unwind_GetCFA address, use dummy if not found.
16905 (backtrace_helper): In recursion check, also check whether CFA changes.
16906 (__backtrace): Completely initialize arg.
16908 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16909 storing incomplete byte sequence in state object. Avoid testing for
16910 guaranteed too small input if we know there is enough data available.
16912 2011-05-11 Andreas Schwab <schwab@redhat.com>
16914 * Makeconfig (+link-pie): Indent.
16915 * Rules (binaries-pie): Define if $(have-fpie) and
16917 (binaries-shared): Also filter out $(binaries-pie).
16918 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16919 * nscd/Makefile (others-pie): Add nscd.
16920 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16921 ($(objpfx)nscd): Remove command override.
16922 * login/Makefile (others-pie): Add pt_chown.
16923 ($(objpfx)pt_chown): Remove command override.
16924 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16925 remove command overrides.
16927 2011-05-13 Ulrich Drepper <drepper@gmail.com>
16929 * libio/tst_putwc.c: Fix error messages.
16932 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16933 currently writing and seek to current position when not.
16934 * libio/Makefile (tests): Add bug-fclose1.
16935 * libio/bug-fclose1.c: New file.
16937 2011-05-12 Ulrich Drepper <drepper@gmail.com>
16940 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16941 don't set DF_1_NODELETE here.
16942 (do_lookup_x): When entering new entry test for copy relocation
16943 and if necessary set DF_1_NODELETE flag.
16944 * elf/tst-unique4.cc: New file.
16945 * elf/tst-unique4.h: New file.
16946 * elf/tst-unique4lib.cc: New file.
16947 * elf/Makefile: Add rules to build and run tst-unique4.
16948 Patch by Piotr Bury <pbury@goahead.com>.
16950 2011-05-11 Ulrich Drepper <drepper@gmail.com>
16953 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16956 * misc/mntent_r.c (addmntent): Flush the stream after the output
16959 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16960 (is_trusted_path_normalize): Skip initial colon. Append slash
16961 to empty buffer. Duplicate is_trusted_path code but allow
16962 constructed patch to be prefix.
16963 (is_dst): Allow $ORIGIN followed by /.
16964 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16965 Correct testing of result of is_trusted_path_normalize
16966 (decompose_rpath): Fix warning.
16968 2011-05-10 Ulrich Drepper <drepper@gmail.com>
16971 * grp/initgroups.c (internal_getgrouplist): When we found the service
16972 list through the initgroups entry in nsswitch.conf do not always
16973 continue on a successful lookup. Don't always use the
16974 __nss_group_database value if it is set.
16975 * nss/nsswitch.conf (initgroups): Change action for successful db
16976 lookup to continue for compatibility.
16978 2011-05-09 Ulrich Drepper <drepper@gmail.com>
16981 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16983 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16985 * iconvdata/tst-tables.sh: Likewise.
16986 * iconvdata/cp770.c: New file.
16987 * iconvdata/cp771.c: New file.
16988 * iconvdata/cp772.c: New file.
16989 * iconvdata/cp773.c: New file.
16990 * iconvdata/cp774.c: New file.
16991 * iconvdata/testdata/CP770: New file.
16992 * iconvdata/testdata/CP770..UTF8: New file.
16993 * iconvdata/testdata/CP771: New file.
16994 * iconvdata/testdata/CP771..UTF8: New file.
16995 * iconvdata/testdata/CP772: New file.
16996 * iconvdata/testdata/CP772..UTF8: New file.
16997 * iconvdata/testdata/CP773: New file.
16998 * iconvdata/testdata/CP773..UTF8: New file.
16999 * iconvdata/testdata/CP774: New file.
17000 * iconvdata/testdata/CP774..UTF8: New file.
17002 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17004 * iconvdata/gen-8bit-gap.sh: Likewise.
17005 * iconvdata/gen-8bit.sh: Likewise.
17007 * locale/iso-639.def: Add ary entry.
17010 * locale/C-translit.h.in: Add U20A1 transliteration.
17013 * locale/iso-639.def: Add wae entry.
17014 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17017 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17021 * locale/C-translit.h.in: Add entry for U20B9.
17022 Patch by pravin.d.s@gmail.com.
17024 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17027 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17028 ENAMETOOLONG use generic getcwd.
17029 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17030 in rtld. Use *stat64.
17031 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17032 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17033 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17034 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17035 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17036 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17037 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17038 __fstatat64 macros.
17039 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17040 * dirent/rewinddir.c: Add libc_hidden_def.
17041 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17042 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17044 * include/dirent.h (__alloc_dir): Add flags parameter.
17045 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17046 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17048 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17049 from fdopendir if O_CLOEXEC is already set.
17051 2011-03-15 Alan Modra <amodra@gmail.com>
17053 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17054 l_tls_firstbyte_offset non-zero. Save padding offset in
17055 l_tls_firstbyte_offset for later use.
17056 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17057 freeing static tls block.
17059 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17061 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17062 where #ifdef was intended. The intent is to prevent ARG_MAX from
17063 being defined by the kernel headers.
17065 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17068 * resolv/resolv.h: Define RES_NOTLDQUERY.
17069 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17070 no-tld-query and set RES_NOTLDQUERY.
17071 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17072 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17073 modern BIND to search name as TLD unless forbidden.
17075 2011-05-07 Petr Baudis <pasky@suse.cz>
17076 Ulrich Drepper <drepper@gmail.com>
17079 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17080 (is_trusted_path): ...to here.
17081 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17082 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17083 using is_trusted_path_normalize() in setuid scripts.
17085 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17087 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17088 __BEGIN/__END_DECLS.
17090 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17092 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17093 NSS_STATUS_NOTFOUND if no record was found.
17095 2011-05-05 Andreas Schwab <schwab@redhat.com>
17097 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17098 (headers-not-in-tirpc): Remove rpc/netdb.h
17099 * resolv/netdb.h: Revert last change.
17101 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17103 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17104 circular dependency between libgcc.a and libc.a.
17106 2011-05-05 Andreas Schwab <schwab@redhat.com>
17108 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17109 * nis/Makefile: Don't install rpcsvc/*.
17110 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17111 instead of <rpc/types.h>.
17112 (MAXHOSTNAMELEN): Define.
17114 2011-05-03 Andreas Schwab <schwab@redhat.com>
17116 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17118 2011-04-28 Maciej Babinski <mbabinski@google.com>
17121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17122 gethostbyname4_r when IPv6 results are possible.
17124 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17127 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17128 _PC_PIPE_BUF handling.
17130 2011-04-30 Bruno Haible <bruno@clisp.org>
17133 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17134 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17136 * inet/getnameinfo.c (getnameinfo): Likewise.
17138 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17140 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17141 to groups setting in database lookup.
17142 * nss/nsswitch.conf: Add initgroups entry.
17144 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17147 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17149 Patch by Eric Blake <eblake@redhat.com>.
17151 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17153 * sunrpc/Makefile (need-export-routines): Add svc_run.
17154 (routines): Remove svc_run.
17155 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17156 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17157 * sunrpc/svc_run.c (svc_run): Likewise.
17158 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17160 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17162 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17163 problem in reallocation in last patch.
17165 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17167 * sunrpc/Makefile: Move inclusion of Rules.
17169 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17171 * nss/nss_files/files-initgroups.c: New file.
17172 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17173 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17174 _nss_files_initgroups_dyn.
17176 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17178 * elf/elf.h (R_ARM_IRELATIVE): Define.
17180 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17182 * po/ru.po: Update from translation team.
17184 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17186 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17189 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17192 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17193 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17194 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17195 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17196 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17198 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17200 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17202 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17203 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17204 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17206 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17209 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17211 * stdlib/bug-getcontext.c: New file.
17212 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17214 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17216 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17217 instructions into .machine "z9-109".
17218 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17219 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17221 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17223 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17224 between environment variables and auxiliary vector.
17226 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17228 * Makefile: Add rules to build linkobj/libc.so.
17229 * include/libc-symbols.h: Define libc_hidden_nolink.
17230 * include/rpc/auth.h: Mark functions which are to be hidden.
17231 * include/rpc/auth_des.h: Likewise.
17232 * include/rpc/auth_unix.h: Likewise.
17233 * include/rpc/clnt.h: Likewise.
17234 * include/rpc/des_crypt.h: Likewise.
17235 * include/rpc/key_prot.h: Likewise.
17236 * include/rpc/pmap_clnt.h: Likewise.
17237 * include/rpc/pmap_prot.h: Likewise.
17238 * include/rpc/pmap_rmt.h: Likewise.
17239 * include/rpc/rpc_msg.h: Likewise.
17240 * include/rpc/svc.h: Likewise.
17241 * include/rpc/svc_auth.h: Likewise.
17242 * include/rpc/xdr.h: Likewise.
17243 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17244 * nss/Makefile: Likewise.
17245 * sunrpc/Makefile: Don't install headers. Build library with normal
17246 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17247 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17248 for the compat linking library. Remove use of INTDEF/INTUSE.
17249 * sunrpc/auth_none.c: Likewise.
17250 * sunrpc/auth_unix.c: Likewise.
17251 * sunrpc/authdes_prot.c: Likewise.
17252 * sunrpc/authuxprot.c: Likewise.
17253 * sunrpc/clnt_gen.c: Likewise.
17254 * sunrpc/clnt_perr.c: Likewise.
17255 * sunrpc/clnt_raw.c: Likewise.
17256 * sunrpc/clnt_simp.c: Likewise.
17257 * sunrpc/clnt_tcp.c: Likewise.
17258 * sunrpc/clnt_udp.c: Likewise.
17259 * sunrpc/clnt_unix.c: Likewise.
17260 * sunrpc/des_crypt.c: Likewise.
17261 * sunrpc/des_soft.c: Likewise.
17262 * sunrpc/get_myaddr.c: Likewise.
17263 * sunrpc/key_call.c: Likewise.
17264 * sunrpc/key_prot.c: Likewise.
17265 * sunrpc/netname.c: Likewise.
17266 * sunrpc/pm_getmaps.c: Likewise.
17267 * sunrpc/pm_getport.c: Likewise.
17268 * sunrpc/pmap_clnt.c: Likewise.
17269 * sunrpc/pmap_prot.c: Likewise.
17270 * sunrpc/pmap_prot2.c: Likewise.
17271 * sunrpc/pmap_rmt.c: Likewise.
17272 * sunrpc/publickey.c: Likewise.
17273 * sunrpc/rpc_cmsg.c: Likewise.
17274 * sunrpc/rpc_common.c: Likewise.
17275 * sunrpc/rpc_dtable.c: Likewise.
17276 * sunrpc/rpc_prot.c: Likewise.
17277 * sunrpc/rpc_thread.c: Likewise.
17278 * sunrpc/rtime.c: Likewise.
17279 * sunrpc/svc.c: Likewise.
17280 * sunrpc/svc_auth.c: Likewise.
17281 * sunrpc/svc_authux.c: Likewise.
17282 * sunrpc/svc_raw.c: Likewise.
17283 * sunrpc/svc_run.c: Likewise.
17284 * sunrpc/svc_simple.c: Likewise.
17285 * sunrpc/svc_tcp.c: Likewise.
17286 * sunrpc/svc_udp.c: Likewise.
17287 * sunrpc/svc_unix.c: Likewise.
17288 * sunrpc/svcauth_des.c: Likewise.
17289 * sunrpc/xcrypt.c: Likewise.
17290 * sunrpc/xdr.c: Likewise.
17291 * sunrpc/xdr_array.c: Likewise.
17292 * sunrpc/xdr_float.c: Likewise.
17293 * sunrpc/xdr_intXX_t.c: Likewise.
17294 * sunrpc/xdr_mem.c: Likewise.
17295 * sunrpc/xdr_rec.c: Likewise.
17296 * sunrpc/xdr_ref.c: Likewise.
17297 * sunrpc/xdr_sizeof.c: Likewise.
17298 * sunrpc/xdr_stdio.c: Likewise.
17300 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17303 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17304 * sysdeps/ia64/dl-tls.h: Likewise.
17305 * sysdeps/powerpc/dl-tls.h: Likewise.
17306 * sysdeps/s390/dl-tls.h: Likewise.
17307 * sysdeps/sh/dl-tls.h: Likewise.
17308 * sysdeps/sparc/dl-tls.h: Likewise.
17309 * sysdeps/x86_64/dl-tls.h: Likewise.
17310 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17312 2011-03-14 Andreas Schwab <schwab@redhat.com>
17314 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17315 rpath element also skip the following colon.
17316 (expand_dynamic_string_token): Add is_path parameter and pass
17317 down to DL_DST_REQUIRED and _dl_dst_substitute.
17318 (decompose_rpath): Call expand_dynamic_string_token with
17319 non-zero is_path. Ignore empty rpaths.
17320 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17323 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17328 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17331 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17332 Patch by Filipe David Manana <fdmanana@apache.org>.
17334 2011-04-07 Andreas Schwab <schwab@redhat.com>
17336 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17337 Maintain aligned stack.
17338 (CHECK_RSP): Remove unused macro.
17340 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17342 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17343 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17345 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17347 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17349 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17351 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17354 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17355 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17356 * sysdeps/x86_64/memmove.c: New file.
17357 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17358 (memcpy): Renamed to ...
17359 (__new_memcpy): This.
17360 (memcpy): Provide GLIBC_2_14 memcpy.
17361 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17362 (memcpy): Provide GLIBC_2_2_5 memcpy.
17364 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17367 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17369 2011-03-30 Andreas Schwab <schwab@redhat.com>
17371 * misc/syncfs.c: New file.
17372 * misc/Makefile (routines): Add syncfs.
17373 * posix/unistd.h: Declare syncfs.
17374 * sysdeps/unix/syscalls.list: Add syncfs.
17376 2011-04-01 Andreas Schwab <schwab@redhat.com>
17378 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17380 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17381 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17382 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17383 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17384 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17385 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17386 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17388 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17390 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17391 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17392 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17393 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17394 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17395 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17396 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17398 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17399 sync_file_range.c with -fexceptions.
17400 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17401 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17402 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17403 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17404 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17405 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17406 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17407 sync_file_range as cancellation point
17408 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17409 now a wrapper around __call_sync_file_range with cancellation handling.
17410 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17411 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17412 function name to __call_sync_file_range.
17413 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17414 Add call_sync_file_range.
17416 2011-04-01 Andreas Schwab <schwab@redhat.com>
17418 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17421 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17423 * iconv/iconv.h: Fix typo in comment.
17424 * io/fcntl.h: Likewise.
17425 * libio/stdio.h: Likewise.
17426 * posix/spawn.h: Likewise.
17427 * posix/unistd.h: Likewise.
17428 * stdlib/stdlib.h: Likewise.
17429 * time/time.h: Likewise.
17430 * wcsmbs/wchar.h: Likewise.
17432 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17433 open_by_handle): Add.
17434 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17435 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17436 Augment a few comments.
17437 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17438 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17439 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17440 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17441 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17442 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17445 * io/fcntl.h (AT_EMPTY_PATH): Define.
17447 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17449 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17450 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17451 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17453 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17454 * Versions.def: Add GLIBC_2.14.
17455 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17458 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17460 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17462 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17464 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17467 * string/test-strncmp.c (do_page_test): New function.
17468 (check2): Likewise.
17469 (test_main): Call check2.
17470 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17472 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17475 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17476 Handle cache information in CPU leaf 4.
17477 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17479 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17482 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17483 character representation.
17484 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17486 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17488 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17489 END(__isnan) to END(__isnanf) to match function entry point/label
17490 EALIGN(__isnanf,...).
17492 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17494 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17496 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17499 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17500 copy from the symbol referenced in the relocation to initialize the
17502 Patch by Piotr Bury <pbury@goahead.com>.
17503 * elf/Makefile: Add rules to build and tst-unique3.
17504 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17505 * elf/tst-unique3.cc: New file.
17506 * elf/tst-unique3.h: New file.
17507 * elf/tst-unique3lib.cc: New file.
17508 * elf/tst-unique3lib2.cc: New file.
17510 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17512 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17514 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17515 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17518 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17520 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17521 to-be-loaded object along a path to loader is ld.so.
17523 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17524 Ulrich Drepper <drepper@gmail.com>
17526 * sysdeps/x86_64/memset.S: After aligning destination, code
17527 branches to different locations depending on the value of
17528 misalignment, when multiarch is enabled. Fix this.
17530 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17532 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17533 Set _x86_64_preferred_memory_instruction for AMD processsors.
17534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17535 Set bit_Prefer_SSE_for_memop for AMD processors.
17537 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17539 * libio/fmemopen.c (fmemopen): Optimize a bit.
17541 2011-03-03 Andreas Schwab <schwab@redhat.com>
17543 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17545 2011-03-03 Roland McGrath <roland@redhat.com>
17547 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17549 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17551 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17552 __bzero_ultra1 instead of __memset_ultra1.
17554 2011-02-23 Andreas Schwab <schwab@redhat.com>
17555 Ulrich Drepper <drepper@gmail.com>
17558 * include/link.h (struct link_map): Add l_orig_initfini.
17559 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17560 returning unsuccessfully.
17561 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17562 close of a file loaded at startup, restore the original l_initfini
17564 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17565 list, store the pointer.
17566 * elf/Makefile ($(objpfx)noload-mem): New rule.
17567 (noload-ENV): Define.
17568 (tests): Add $(objpfx)noload-mem.
17569 * elf/noload.c: Include <memcheck.h>.
17570 (main): Call mtrace. Close all opened handles.
17572 2011-02-17 Andreas Schwab <schwab@redhat.com>
17575 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17576 dependencies are missing.
17578 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17580 Fix __if_freereq crash: Unlike the generic version which uses free,
17582 * sysdeps/mach/hurd/ifreq.h: New file.
17584 2011-01-27 Petr Baudis <pasky@suse.cz>
17585 Ulrich Drepper <drepper@gmail.com>
17588 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17589 to extend_alloca().
17590 * stdio-common/bug23.c: New file.
17591 * stdio-common/Makefile (tests): Add bug23.
17593 2010-09-28 Andreas Schwab <schwab@redhat.com>
17594 Ulrich Drepper <drepper@gmail.com>
17597 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17598 before performing relro protection. At old place add assertion
17599 to make sure nothing changed.
17601 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17602 Glauber de Oliveira Costa <glommer@gmail.com>
17604 * elf/elf.h: Add new ARM TLS relocs.
17606 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17609 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17611 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17613 * sysdeps/wordsize-64/tst-writev.c: New file.
17615 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17617 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17618 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17619 insns in _dl_start to prevent a TOC reference before relocs are
17622 2011-02-15 Ulrich Drepper <drepper@gmail.com>
17625 * Makeconfig: Remove RANLIB definition.
17626 * Makerules: Don't use RANLIB.
17627 * aclocal.m4: Remove ranlib test.
17628 * configure.in: No need to check for ranlib.
17629 * elf/rtld-Rules: Don't use RANLIB.
17631 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17633 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17635 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17636 inclusion protection macro.
17638 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17639 SIGRTMIN and SIGRTMAX and print information in that case only when
17640 SIGRTMIN is defined.
17642 2011-02-11 Jakub Jelinek <jakub@redhat.com>
17644 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17645 arginfo fn returning -1.
17647 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17648 and thousands string is zero terminated.
17650 2011-02-03 Andreas Schwab <schwab@redhat.com>
17652 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17653 sysdeps/unix/sysv/linux/bits/socket.h.
17655 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17657 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17658 (__CPU_COUNT): Remove old macros.
17659 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17660 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17661 (__CPU_ALLOC, __CPU_FREE): Add macros.
17662 (__sched_cpualloc, __sched_cpufree): Add declarations.
17664 2011-02-05 Ulrich Drepper <drepper@gmail.com>
17666 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17667 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17668 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17669 (readdhstai): Return value of addhstaiX call.
17670 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17671 (addgrbyX): Return value returned by cache_addgr.
17672 (readdgrbyname): Return value returned by addgrbyX.
17673 (readdgrbygid): Likewise.
17674 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17675 (addpwbyX): Return value returned by cache_addpw.
17676 (readdpwbyname): Return value returned by addhstbyX.
17677 (readdpwbyuid): Likewise.
17678 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17679 (addservbyX): Return value returned by cache_addserv.
17680 (readdservbyname): Return value returned by addservbyX:
17681 (readdservbyport): Likewise.
17682 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17683 (addhstbyX): Return value returned by cache_addhst.
17684 (readdhstbyname): Return value returned by addhstbyX.
17685 (readdhstbyaddr): Likewise.
17686 (readdhstbynamev6): Likewise.
17687 (readdhstbyaddrv6): Likewise.
17688 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17689 (readdinitgroups): Return value returned by addinitgroupsX.
17690 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17691 (prune_cache): Keep track of timeout value of re-added entries.
17692 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17693 * nscd/nscd.h: Adjust prototypes of readd* functions.
17695 2011-02-04 Roland McGrath <roland@redhat.com>
17697 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17698 (nis_stats): Likewise.
17699 * nis/nis_modify.c (nis_modify): Likewise.
17700 * nis/nis_remove.c (nis_remove): Likewise.
17701 * nis/nis_add.c (nis_add): Likewise.
17703 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17705 * posix/fnmatch_loop.c: Add some consts.
17707 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17709 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17712 * config.make.in (config-cflags-novzeroupper): Define.
17713 * configure.in: Substitute libc_cv_cc_novzeroupper.
17714 * elf/Makefile (AVX-CFLAGS): Define.
17715 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17716 (CFLAGS-tst-auditmod4a.c): Likewise.
17717 (CFLAGS-tst-auditmod4b.c): Likewise.
17718 (CFLAGS-tst-auditmod6b.c): Likewise.
17719 (CFLAGS-tst-auditmod6c.c): Likewise.
17720 (CFLAGS-tst-auditmod7b.c): Likewise.
17721 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17723 2011-02-02 Ulrich Drepper <drepper@gmail.com>
17725 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17726 function to the callback.
17727 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17729 2011-02-02 Andreas Schwab <schwab@redhat.com>
17731 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17734 2011-01-19 Ulrich Drepper <drepper@gmail.com>
17737 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17739 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17741 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17744 * elf/Makefile: Add rules to build and run new test.
17745 * elf/tst-initorder.c: New file.
17746 * elf/tst-initorder.exp: New file.
17747 * elf/tst-initordera1.c: New file.
17748 * elf/tst-initordera2.c: New file.
17749 * elf/tst-initordera3.c: New file.
17750 * elf/tst-initordera4.c: New file.
17751 * elf/tst-initorderb1.c: New file.
17752 * elf/tst-initorderb2.c: New file.
17753 * elf/tst-order-a1.c: New file.
17754 * elf/tst-order-a2.c: New file.
17755 * elf/tst-order-a3.c: New file.
17756 * elf/tst-order-a4.c: New file.
17757 * elf/tst-order-b1.c: New file.
17758 * elf/tst-order-b2.c: New file.
17759 * elf/tst-order-main.c: New file.
17760 New test case by George Gensure <werkt0@gmail.com>.
17762 2010-10-01 Andreas Schwab <schwab@redhat.com>
17764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17765 decoding ACE if AI_CANONIDN.
17767 2011-01-18 Ulrich Drepper <drepper@gmail.com>
17769 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17771 2011-01-17 Ulrich Drepper <drepper@gmail.com>
17773 * version.h (RELEASE): Bump for 2.13 release.
17774 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17776 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17778 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17780 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17781 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17782 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17783 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17784 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17785 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17787 * posix/getconf.c: Update copyright year.
17788 * catgets/gencat.c: Likewise.
17789 * csu/version.c: Likewise.
17790 * debug/catchsegv.sh: Likewise.
17791 * debug/xtrace.sh: Likewise.
17792 * elf/ldconfig.c: Likewise.
17793 * elf/ldd.bash.in: Likewise.
17794 * elf/sprof.c (print_version): Likewise.
17795 * iconv/iconv_prog.c: Likewise.
17796 * iconv/iconvconfig.c: Likewise.
17797 * locale/programs/locale.c: Likewise.
17798 * locale/programs/localedef.c: Likewise.
17799 * malloc/memusage.sh: Likewise.
17800 * malloc/mtrace.pl: Likewise.
17801 * nscd/nscd.c (print_version): Likewise.
17802 * nss/getent.c: Likewise.
17804 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17805 PF_CAIF, and PF_ALG.
17806 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17808 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17810 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17811 (modules-names): Use them.
17812 (ifunc-test-modules, ifunc-pie-tests): Define.
17813 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17814 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17815 (test-extras): Likewise.
17816 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17817 $(compile-command.c).
17818 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17819 (all-built-dso): Define.
17820 (check-textrel.out, check-execstack.out): Depend on it.
17822 * configure.in: Don't override --enable-multi-arch.
17824 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17827 * nscd/hstcache.c (tryagain): Define.
17828 (cache_addhst): Return tryagain not notfound for temporary errors.
17829 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17832 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17835 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17836 to make the syscall.
17837 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17840 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17841 and fall back to matching as normal character if the string ends before
17842 the matching ']' is found. This is what POSIX requires.
17843 * posix/testfnm.c: Adjust test result.
17844 * posix/globtest.sh: Adjust test result. Add new test.
17845 * posix/tst-fnmatch.input: Likewise.
17846 * posix/tst-fnmatch2.c: Add new test.
17848 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17850 * elf/Makefile (check-execstack): Revert last change. Depend on
17852 (check-execstack.h): New target.
17853 (generated): Add check-execstack.h.
17854 * elf/check-execstack.c: Include "check-execstack.h".
17855 (main): Revert last change.
17856 (handle_file): Return zero if GNU_STACK is absent and
17857 DEFAULT_STACK_PERMS doesn't include PF_X.
17859 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17861 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17862 in child fails because the descriptor is already closed.
17863 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17864 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17865 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17868 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17872 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17873 temporary buffer used to handle multi lookups locally.
17874 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17876 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17878 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17881 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17883 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17884 alignment for SSE2.
17886 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17889 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17890 characters. When rounding increased number of integer digits recompute
17892 * stdio-common/tst-grouping.c: New file.
17893 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17895 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17897 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17898 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17900 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17902 * bits/select.h: Likewise.
17904 2011-01-08 Ulrich Drepper <drepper@gmail.com>
17906 * po/ja.po: Update from translation team.
17908 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
17911 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17912 implementation just like for lxstat, fxstatat, et al.
17914 2010-12-27 Jim Meyering <meyering@redhat.com>
17917 * posix/regexec.c (build_trtable): Return failure indication upon
17918 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17920 2010-12-25 Ulrich Drepper <drepper@gmail.com>
17923 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17924 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17925 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17926 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17929 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17932 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17933 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17935 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17937 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17938 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17939 script has SORT_BY_INIT_PRIORITY.
17940 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17941 NO_CTORS_DTORS_SECTIONS is defined.
17942 * elf/soinit.c: Likewise.
17943 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17944 NO_CTORS_DTORS_SECTIONS is defined.
17945 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17946 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17947 * sysdeps/sh/init-first.c: Likewise.
17948 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17950 2010-12-24 Ulrich Drepper <drepper@gmail.com>
17952 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17953 always use the slow path.
17955 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17957 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17958 similar rule which adds the sysdep directories to the header search in
17959 order to pick up the correct platform stackinfo.h.
17960 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17961 perform test if it is, otherwise return successfully without testing.
17962 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17963 DEFAULT_STACK_PERMS define in stackinfo.h.
17964 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17965 defined in stackinfo.h.
17966 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17967 DEFAULT_STACK_PERMS defined in stackinfo.h.
17968 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17969 * sysdeps/ia64/stackinfo.h: Likewise.
17970 * sysdeps/s390/stackinfo.h: Likewise.
17971 * sysdeps/sh/stackinfo.h: Likewise.
17972 * sysdeps/sparc/stackinfo.h: Likewise.
17973 * sysdeps/x86_64/stackinfo.h: Likewise.
17974 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17975 PF_X for powerpc64. Retain PF_X for powerpc32.
17977 2010-12-19 Ulrich Drepper <drepper@gmail.com>
17979 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17981 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17982 GETDENTS_64BIT_ALIGNED.
17984 2010-12-14 Ulrich Drepper <dreper@gmail.com>
17986 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17988 2010-12-10 Andreas Schwab <schwab@redhat.com>
17990 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17993 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17994 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17996 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17997 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17999 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18002 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18005 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18007 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18009 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18011 * po/it.po: Update from translation team.
18013 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18015 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18018 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18020 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18022 2010-11-24 Andreas Schwab <schwab@redhat.com>
18024 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18026 (gaih_getanswer_slice): Likewise.
18028 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18030 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18032 2010-05-31 Petr Baudis <pasky@suse.cz>
18035 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18036 silently even in the chroot mode.
18038 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18040 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18041 last patch a bit. Pretty printing
18043 2010-05-31 Petr Baudis <pasky@suse.cz>
18046 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18047 initialization of skip_initgroups_dyn.
18049 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18051 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18052 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18054 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18056 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18058 2010-11-11 Andreas Schwab <schwab@redhat.com>
18060 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18061 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18062 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18063 ($(objpfx)tst-fnmatch-mem): New rule.
18064 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18065 * posix/tst-fnmatch.c (main): Call mtrace.
18067 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18070 Support Intel processor model 6 and model 0x2c.
18072 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18074 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18077 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18080 * string/test-strncasecmp.c (check_result): New function.
18081 (do_one_test): Use it.
18082 (check1): New function.
18083 (test_main): Use it.
18084 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18085 Support strcasecmp and strncasecmp.
18087 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18090 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18091 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18093 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18095 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18099 * sysdeps/x86_64/multiarch/bzero.S: New file.
18100 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18101 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18102 * sysdeps/x86_64/multiarch/memset.S: New file.
18103 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18104 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18105 Set bit_Prefer_SSE_for_memop for Intel processors.
18106 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18108 (index_Prefer_SSE_for_memop): Define.
18109 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18111 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18113 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18114 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18116 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18119 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18120 (__x86_64_raw_data_cache_size_half): Likewise.
18121 (__x86_64_raw_shared_cache_size): Likewise.
18122 (__x86_64_raw_shared_cache_size_half): Likewise.
18124 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18125 (__x86_64_raw_data_cache_size_half): Likewise.
18126 (__x86_64_raw_shared_cache_size): Likewise.
18127 (__x86_64_raw_shared_cache_size_half): Likewise.
18128 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18129 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18130 and __x86_64_raw_shared_cache_size_half. Round
18131 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18132 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18133 to multiple of 256 bytes.
18135 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18138 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18139 of inacessible symlinks. Verify result of symlink before returning it.
18140 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18141 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18143 2010-10-28 Erich Ritz <erichritz@gmail.com>
18145 * math/math.h (isinf): Fix typo in comment.
18147 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18149 * po/da.po: Update from translation team.
18151 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18153 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18154 is added to the list.
18156 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18157 Ulrich Drepper <drepper@gmail.com>
18159 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18160 the global list here. Move code to...
18161 (_dl_add_to_namespace_list): ...here. New function.
18162 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18163 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18164 * elf/dl-load.c (lose): Don't remove the element from the list.
18165 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18166 (_dl_map_object): Likewise.
18168 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18171 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18172 into all bytes of SSE register.
18173 Patch by Richard Li <richardpku@gmail.com>.
18175 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18178 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18181 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18183 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18184 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18185 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18186 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18191 2010-10-22 Andreas Schwab <schwab@redhat.com>
18193 * include/dlfcn.h (__RTLD_SECURE): Define.
18194 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18195 mode & __RTLD_SECURE instead.
18196 (open_path): Rename preloaded parameter to secure.
18197 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18198 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18199 * elf/dl-deps.c (openaux): Likewise.
18200 * elf/rtld.c (struct map_args): Remove is_preloaded.
18201 (map_doit): Don't use it.
18202 (dl_main): Likewise.
18203 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18204 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18206 2010-09-09 Andreas Schwab <schwab@redhat.com>
18208 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18209 (sysd-rules-targets): Remove duplicates.
18210 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18211 rtld-%.$o dependency.
18213 2010-10-18 Andreas Schwab <schwab@redhat.com>
18215 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18216 _dl_map_object do it.
18218 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18220 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18221 fast fma builtins, define the macros in the C99 standard.
18222 (FP_FAST_FMAF): Likewise.
18223 (FP_FAST_FMAL): Likewise.
18224 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18226 * bits/mathdef.h: Update copyright year.
18227 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18229 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18231 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18232 builtins, define the macros in the C99 standard.
18233 (FP_FAST_FMAF): Likewise.
18234 (FP_FAST_FMAL): Likewise.
18235 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18237 (FP_FAST_FMAF): Likewise.
18239 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18242 * math/libm-test.inc (fma_test): Some new testcases.
18243 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18244 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18245 y and infinite z. Do multiplication by C already in long double.
18246 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18248 y and infinite z. Do bitwise or of inexact bit into u.d.
18249 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18250 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18251 * sysdeps/i386/fpu/s_fma.S: Removed.
18252 * sysdeps/i386/fpu/s_fmal.S: Removed.
18254 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18257 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18258 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18259 computation is not scheduled after fetestexcept. Fix value
18260 of minimum denormal long double.
18262 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18265 * math/libm-test.inc (fma_test): Add some more tests.
18266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18269 2010-10-15 Andreas Schwab <schwab@redhat.com>
18271 * scripts/data/localplt-s390-linux-gnu.data: New file.
18272 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18274 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18277 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18278 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18280 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18282 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18283 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18284 if one of x and y is very large and the other is subnormal.
18285 * sysdeps/s390/fpu/s_fmaf.c: New file.
18286 * sysdeps/s390/fpu/s_fma.c: New file.
18287 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18288 * sysdeps/powerpc/fpu/s_fma.S: New file.
18289 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18290 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18291 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18293 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18296 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18298 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18299 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18300 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18301 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18302 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18303 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18304 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18306 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18309 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18310 * posix/bug-regex31.input: Add test case.
18312 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18314 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18315 * posix/bug-regex31.input: New file.
18318 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18319 (parse_sub_exp): Fix last change, use postorder.
18321 * posix/bug-regex31.c: New file.
18322 * posix/Makefile: Add rules to build and run bug-regex31.
18324 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18327 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18330 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18331 to have entries in sys_siglist.
18334 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18337 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18340 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18341 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18342 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18343 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18344 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18345 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18346 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18347 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18348 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18349 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18350 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18351 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18352 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18353 * math/ftestexcept.c (fetestexcept): Likewise.
18354 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18355 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18356 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18357 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18358 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18359 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18360 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18362 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18365 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18368 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18370 * string/bug-strstr1.c: New file.
18371 * string/Makefile: Add rules to build and run bug-strstr1.
18373 2010-10-05 Eric Blake <eblake@redhat.com>
18376 * string/str-two-way.h (two_way_long_needle): Always clear memory
18377 when skipping input due to the shift table.
18379 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18382 * malloc/mcheck.c: Handle large requests.
18385 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18386 for strncmp and strncasecmp.
18387 * string/stratcliff.c: Add tests for strcmp and strncmp.
18388 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18390 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18392 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18395 2010-09-30 Andreas Jaeger <aj@suse.de>
18397 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18398 (CGROUP_SUPER_MAGIC): Define.
18399 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18400 Handle btrfs and cgroup file systems.
18401 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18404 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18406 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18407 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18409 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18412 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18413 trying to locate the ELF header.
18415 2010-09-27 Andreas Schwab <schwab@redhat.com>
18418 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18419 Mask out sign-bit copies when constructing f_fsid.
18421 2010-09-24 Petr Baudis <pasky@suse.cz>
18423 * debug/stack_chk_fail_local.c: Add missing licence exception.
18424 * debug/warning-nop.c: Likewise.
18426 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18428 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18429 implementing getdents64 using getdents syscall, set d_type if
18430 __ASSUME_GETDENTS32_D_TYPE.
18432 2010-09-16 Andreas Schwab <schwab@redhat.com>
18434 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18435 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18437 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18440 * posix/unistd.h: Undo change of feature selection for ftruncate from
18443 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18445 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18448 2010-09-20 Andreas Schwab <schwab@redhat.com>
18450 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18452 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18454 2010-09-14 Andreas Schwab <schwab@redhat.com>
18456 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18457 variables after CHECK_SP call.
18458 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18460 2010-09-13 Andreas Schwab <schwab@redhat.com>
18461 Ulrich Drepper <drepper@redhat.com>
18463 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18464 re-relocationg ld.so.
18465 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18466 _dl_init_paths call.
18467 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18470 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18472 * resolv/res_init.c (__res_vinit): Count the default server we added.
18474 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18475 Ulrich Drepper <drepper@redhat.com>
18478 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18479 (____longjmp_chk): Use %ebx for saving value across system call.
18482 2010-09-06 Andreas Schwab <schwab@redhat.com>
18484 * manual/Makefile: Don't mix pattern rules with normal rules.
18486 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18488 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18490 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18491 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18492 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18493 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18494 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18497 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18500 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18501 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18503 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18505 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18506 * sysdeps/x86_64/addmul_1.S: Likewise.
18507 * sysdeps/x86_64/lshift.S: Likewise.
18508 * sysdeps/x86_64/mul_1.S: Likewise.
18509 * sysdeps/x86_64/rshift.S: Likewise.
18510 * sysdeps/x86_64/sub_n.S: Likewise.
18511 * sysdeps/x86_64/submul_1.S: Likewise.
18513 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18515 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18516 Define __sched_param instead of SCHED_* and sched_param when
18517 <bits/sched.h> is included with __need_schedparam defined.
18518 * bits/sched.h [__need_schedparam]
18519 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18520 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18521 (__defined_schedparam): Define to 1.
18522 (__sched_param): New structure, identical to sched_param.
18523 (__need_schedparam): Undefine.
18525 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18527 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18528 (epoll_create1): Declare.
18530 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18532 2010-08-31 Andreas Schwab <schwab@redhat.com>
18535 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18536 shifting retval into place.
18538 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18540 * nis/rpcsvc/nis.h: Update copyright notice.
18541 * nis/rpcsvc/nis.x: Likewise.
18542 * nis/rpcsvc/nis_callback.h: Likewise.
18543 * nis/rpcsvc/nis_callback.x: Likewise.
18544 * nis/rpcsvc/nis_object.x: Likewise.
18545 * nis/rpcsvc/nis_tags.h: Likewise.
18546 * nis/rpcsvc/yp.h: Likewise.
18547 * nis/rpcsvc/yp.x: Likewise.
18548 * nis/rpcsvc/ypupd.h: Likewise.
18549 * nis/yp_xdr.c: Likewise.
18550 * nis/ypupdate_xdr.c: Likewise.
18552 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18553 mainly the body of pmap_getport. Add parameters to specify timeouts.
18554 (pmap_getport): Use __libc_rpc_getport.
18555 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18556 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18557 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18559 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18564 2010-08-27 Roland McGrath <roland@redhat.com>
18566 * sysdeps/i386/i686/multiarch/Makefile
18567 (CFLAGS-varshift.c): New variable.
18569 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18571 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18572 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18574 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18576 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18578 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18580 * sysdeps/x86_64/strlen.S: Unroll the loop.
18581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18582 strlen-sse2 strlen-sse2-bsf.
18583 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18584 __strlen_no_bsf if bit_Slow_BSF is set.
18585 (__strlen_sse42): Removed.
18586 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18587 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18589 2010-08-25 Roland McGrath <roland@redhat.com>
18591 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18592 * sysdeps/x86_64/multiarch/varshift.c: New file.
18593 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18594 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18595 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18596 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18598 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18600 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18601 strlen-sse2 strlen-sse2-bsf.
18602 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18603 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18604 (__strlen_sse2): Removed.
18605 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18606 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18608 bit_Slow_BSF for Atom.
18609 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18610 (index_Slow_BSF): Define.
18611 (HAS_SLOW_BSF): Define.
18613 2010-08-25 Ulrich Drepper <drepper@redhat.com>
18616 * resolv/res_init.c (__res_vinit): When no server address at all
18617 is given default to loopback.
18619 2010-08-24 Roland McGrath <roland@redhat.com>
18621 * configure.in: Remove config-name.h generation.
18622 * configure: Regenerated.
18623 * config-name.in: File removed.
18624 * scripts/config-uname.sh: New file.
18625 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18626 ($(objdir)config-name.h): New target.
18628 * sunrpc/rpc_parse.h: Avoid nested comment.
18630 2010-08-24 Richard Henderson <rth@redhat.com>
18631 Ulrich Drepper <drepper@redhat.com>
18632 H.J. Lu <hongjiu.lu@intel.com>
18634 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18635 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18636 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18637 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18638 _mm_alignr_epi8 with _mm_loadu_si128.
18639 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18640 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18641 (__m128i_shift_right): Removed.
18642 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18643 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18644 * sysdeps/x86_64/multiarch/varshift.h: New file.
18645 * sysdeps/x86_64/multiarch/varshift.S: New file.
18647 2010-08-21 Mike Frysinger <vapier@gentoo.org>
18649 * configure.in: Move assembler checks to before sysdep dir checking.
18651 2010-08-20 Petr Baudis <pasky@suse.cz>
18653 * LICENSES: Sync the sunrpc license.
18655 2010-08-19 Ulrich Drepper <drepper@redhat.com>
18657 * sunrpc/auth_des.c: Update copyright notice once again.
18658 * sunrpc/auth_none.c: Likewise.
18659 * sunrpc/auth_unix.c: Likewise.
18660 * sunrpc/authdes_prot.c: Likewise.
18661 * sunrpc/authuxprot.c: Likewise.
18662 * sunrpc/bindrsvprt.c: Likewise.
18663 * sunrpc/clnt_gen.c: Likewise.
18664 * sunrpc/clnt_perr.c: Likewise.
18665 * sunrpc/clnt_raw.c: Likewise.
18666 * sunrpc/clnt_simp.c: Likewise.
18667 * sunrpc/clnt_tcp.c: Likewise.
18668 * sunrpc/clnt_udp.c: Likewise.
18669 * sunrpc/clnt_unix.c: Likewise.
18670 * sunrpc/des_crypt.c: Likewise.
18671 * sunrpc/des_soft.c: Likewise.
18672 * sunrpc/get_myaddr.c: Likewise.
18673 * sunrpc/getrpcport.c: Likewise.
18674 * sunrpc/key_call.c: Likewise.
18675 * sunrpc/key_prot.c: Likewise.
18676 * sunrpc/openchild.c: Likewise.
18677 * sunrpc/pm_getmaps.c: Likewise.
18678 * sunrpc/pm_getport.c: Likewise.
18679 * sunrpc/pmap_clnt.c: Likewise.
18680 * sunrpc/pmap_prot.c: Likewise.
18681 * sunrpc/pmap_prot2.c: Likewise.
18682 * sunrpc/pmap_rmt.c: Likewise.
18683 * sunrpc/rpc/auth.h: Likewise.
18684 * sunrpc/rpc/auth_unix.h: Likewise.
18685 * sunrpc/rpc/clnt.h: Likewise.
18686 * sunrpc/rpc/des_crypt.h: Likewise.
18687 * sunrpc/rpc/key_prot.h: Likewise.
18688 * sunrpc/rpc/netdb.h: Likewise.
18689 * sunrpc/rpc/pmap_clnt.h: Likewise.
18690 * sunrpc/rpc/pmap_prot.h: Likewise.
18691 * sunrpc/rpc/pmap_rmt.h: Likewise.
18692 * sunrpc/rpc/rpc.h: Likewise.
18693 * sunrpc/rpc/rpc_des.h: Likewise.
18694 * sunrpc/rpc/rpc_msg.h: Likewise.
18695 * sunrpc/rpc/svc.h: Likewise.
18696 * sunrpc/rpc/svc_auth.h: Likewise.
18697 * sunrpc/rpc/types.h: Likewise.
18698 * sunrpc/rpc/xdr.h: Likewise.
18699 * sunrpc/rpc_clntout.c: Likewise.
18700 * sunrpc/rpc_cmsg.c: Likewise.
18701 * sunrpc/rpc_common.c: Likewise.
18702 * sunrpc/rpc_cout.c: Likewise.
18703 * sunrpc/rpc_dtable.c: Likewise.
18704 * sunrpc/rpc_hout.c: Likewise.
18705 * sunrpc/rpc_main.c: Likewise.
18706 * sunrpc/rpc_parse.c: Likewise.
18707 * sunrpc/rpc_parse.h: Likewise.
18708 * sunrpc/rpc_prot.c: Likewise.
18709 * sunrpc/rpc_sample.c: Likewise.
18710 * sunrpc/rpc_scan.c: Likewise.
18711 * sunrpc/rpc_scan.h: Likewise.
18712 * sunrpc/rpc_svcout.c: Likewise.
18713 * sunrpc/rpc_tblout.c: Likewise.
18714 * sunrpc/rpc_util.c: Likewise.
18715 * sunrpc/rpc_util.h: Likewise.
18716 * sunrpc/rpcinfo.c: Likewise.
18717 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18718 * sunrpc/rpcsvc/key_prot.x: Likewise.
18719 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18720 * sunrpc/rpcsvc/mount.x: Likewise.
18721 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18722 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18723 * sunrpc/rpcsvc/rex.x: Likewise.
18724 * sunrpc/rpcsvc/rstat.x: Likewise.
18725 * sunrpc/rpcsvc/rusers.x: Likewise.
18726 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18727 * sunrpc/rpcsvc/spray.x: Likewise.
18728 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18729 * sunrpc/rtime.c: Likewise.
18730 * sunrpc/svc.c: Likewise.
18731 * sunrpc/svc_auth.c: Likewise.
18732 * sunrpc/svc_authux.c: Likewise.
18733 * sunrpc/svc_raw.c: Likewise.
18734 * sunrpc/svc_run.c: Likewise.
18735 * sunrpc/svc_simple.c: Likewise.
18736 * sunrpc/svc_tcp.c: Likewise.
18737 * sunrpc/svc_udp.c: Likewise.
18738 * sunrpc/svc_unix.c: Likewise.
18739 * sunrpc/svcauth_des.c: Likewise.
18740 * sunrpc/xcrypt.c: Likewise.
18741 * sunrpc/xdr.c: Likewise.
18742 * sunrpc/xdr_array.c: Likewise.
18743 * sunrpc/xdr_float.c: Likewise.
18744 * sunrpc/xdr_mem.c: Likewise.
18745 * sunrpc/xdr_rec.c: Likewise.
18746 * sunrpc/xdr_ref.c: Likewise.
18747 * sunrpc/xdr_sizeof.c: Likewise.
18748 * sunrpc/xdr_stdio.c: Likewise.
18750 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18753 2010-08-19 Andreas Schwab <schwab@redhat.com>
18755 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18757 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
18759 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18760 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18761 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18762 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18763 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18764 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18765 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18766 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18767 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18768 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18769 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18770 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18771 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18772 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18774 2010-07-26 Anton Blanchard <anton@samba.org>
18776 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18777 * malloc/arena.c (heap_trim): Likewise.
18779 2010-08-16 Ulrich Drepper <drepper@redhat.com>
18781 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18783 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18784 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18786 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18788 * sysdeps/i386/elf/Makefile: New file.
18790 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18792 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18793 from fanotify_init.
18794 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18795 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18797 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18799 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18801 * sysdeps/multiarch/strcmp.S: Likewise.
18803 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18805 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18806 strncase_l-nonascii.
18807 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18808 Add strncase_l-ssse3.
18809 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18810 * sysdeps/x86_64/strcmp.S: Likewise.
18811 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18812 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18813 * sysdeps/x86_64/strncase.S: New file.
18814 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18815 * sysdeps/x86_64/strncase_l.S: New file.
18816 * string/Makefile (strop-tests): Add strncasecmp.
18817 * string/test-strncasecmp.c: New file.
18819 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18822 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18823 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18825 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18827 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18829 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18831 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18832 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18833 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18835 2010-05-01 Alan Modra <amodra@gmail.com>
18837 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18838 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18839 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18840 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18841 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18842 tidying. Don't tail-call __sigjmp_save for static lib.
18843 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18845 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18846 (CALL_MCOUNT): Add eh info, and nop after bl.
18847 (TAIL_CALL_SYSCALL_ERROR): New macro.
18848 (PSEUDO_RET): Use it.
18849 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18850 Correct save location of integer regs and cr.
18851 (_dl_profile_resolve): Correct cr save location. Delete nops
18852 after bl when SHARED. Reduce cfi size a little by better
18853 placement of cfi directives.
18854 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18855 make a stack frame. Instead use parm save area as a temp.
18856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18857 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18859 Don't make a stack frame for parent, use parm save area.
18860 Increase child stack frame to 112 bytes. Don't save unused reg,
18861 and adjust reg usage. Set up cfi on error recovery and
18862 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18864 (__makecontext): Add dummy nop after jump to exit.
18865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18866 Use correct parm save area and cr save, reduce stack frame.
18867 Correct cfi for possible PSEUDO_RET frame setup.
18868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18869 Branch to local label emitted by PSEUDO_RET rather than
18872 2010-08-12 Andreas Schwab <schwab@redhat.com>
18875 * locale/programs/locale.c (print_assignment): New function.
18876 (show_locale_vars): Use it.
18878 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18880 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18882 (struct statfs64): Likewise.
18883 (_STATFS_F_FLAGS): Define.
18884 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18885 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18886 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18887 (ST_VALID): Define locally.
18888 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18889 __statvfs_getflags, use the provided value.
18890 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18891 __ASSUME_STATFS_F_FLAGS.
18893 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18895 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18896 Add sys/fanotify.h.
18897 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18898 fanotify_mask for GLIBC_2.13.
18899 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18900 fanotify_init and fanotify_mark.
18901 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18902 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18904 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18906 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18907 prlimit64 for GLIBC_2.13.
18908 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18910 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18913 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18914 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18915 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18916 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18918 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18921 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18922 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18924 * nss/Makefile: Add rules to build and run tst-nss-test1.
18925 * shlib-versions: Add entry for libnss_test1.
18926 * nss/nss_test1.c: New file.
18927 * nss/tst-nss-test1.c: New file.
18929 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18930 (__nss_configure_lookup): Set appropriate entry in
18931 __nss_configure_lookup to true.
18932 * nss/nsswitch.h: Define enum with indeces of databases in
18933 databases and __nss_database_custom arrays. Declare
18934 __nss_database_custom.
18935 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18936 to avoid using nscd when custom rules are installed.
18937 * nss/getXXbyYY_r.c: Likewise.
18938 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18940 * nss/nss_files/files-parse.c: Whitespace fixes.
18942 2010-08-09 Ulrich Drepper <drepper@redhat.com>
18945 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18946 * posix/fnmatch_loop.c: Likewise.
18948 2010-07-17 Andi Kleen <ak@linux.intel.com>
18950 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18951 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18952 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18953 * Versions.def [GLIBC_2.13]: Add.
18955 2010-08-06 Ulrich Drepper <drepper@redhat.com>
18957 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18958 Also fail if tpwd after pwuid call is NULL.
18960 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18962 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18963 when converting to ms.
18965 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18967 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18968 EOPNOTSUPP errors with ENOTTY.
18969 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18970 EOPNOTSUPP errors with ENOTTY.
18972 2010-07-31 Ulrich Drepper <drepper@redhat.com>
18974 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18975 Add strcasecmp_l-ssse3.
18976 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18978 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18979 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18980 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18982 2010-07-30 Ulrich Drepper <drepper@redhat.com>
18984 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18986 * string/Makefile (strop-tests): Add strcasecmp.
18987 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18988 strcasecmp_l-nonascii.
18989 (gen-as-const-headers): Add locale-defines.sym.
18990 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18991 * sysdeps/x86_64/strcasecmp.S: New file.
18992 * sysdeps/x86_64/strcasecmp_l.S: New file.
18993 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18994 * sysdeps/x86_64/locale-defines.sym: New file.
18995 * string/test-strcasecmp.c: New file.
18997 * string/test-strcasestr.c: Test both ends of the range of characters.
18998 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19000 2010-07-29 Roland McGrath <roland@redhat.com>
19003 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19005 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19007 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19010 2010-07-27 Andreas Schwab <schwab@redhat.com>
19012 * manual/memory.texi (Malloc Tunable Parameters): Document
19015 2010-07-26 Roland McGrath <roland@redhat.com>
19018 * configure.in (-fgnu89-inline check): Set and substitute
19019 gnu89_inline, not libc_cv_gnu89_inline.
19020 * configure: Regenerated.
19021 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19023 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19025 * string/test-strnlen.c: New file.
19026 * string/Makefile (strop-tests): Add strnlen.
19027 * string/tester.c (test_strnlen): Add a few more test cases.
19028 * string/tst-strlen.c: Better error reporting.
19030 * sysdeps/x86_64/strnlen.S: New file.
19032 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19034 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19035 lower-latency instructions.
19037 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19039 * string/test-strcasestr.c: New file.
19040 * string/test-strstr.c: New file.
19041 * string/Makefile (strop-tests): Add strstr and strcasestr.
19042 * string/str-two-way.h: Don't undefine MAX.
19043 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19045 2010-07-21 Andreas Schwab <schwab@redhat.com>
19047 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19048 strcasestr-nonascii.
19049 (CFLAGS-strcasestr-nonascii.c): Define.
19050 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19051 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19052 Remove unused attribute.
19054 2010-07-20 Roland McGrath <roland@redhat.com>
19056 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19057 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19058 ld.so.cache was broken. With it, there is no way to disable dsocaps
19059 like LD_HWCAP_MASK can disable hwcaps.
19061 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19063 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19065 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19067 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19068 call in strcasestr.
19069 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19070 __strcasestr_sse42_nonascii.
19071 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19072 strcasestr-nonascii.c.
19073 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19075 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19077 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19078 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19079 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19080 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19082 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19084 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19087 2010-07-06 Andreas Schwab <schwab@redhat.com>
19090 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19093 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19095 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19096 _PC_PIPE_BUF using F_GETPIPE_SZ.
19098 2010-07-05 Roland McGrath <roland@redhat.com>
19100 * manual/arith.texi (Rounding Functions): Fix rint description
19101 implicit in round description.
19103 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19105 * elf/Makefile: Fix linking for a few tests to make recent linker
19108 2010-06-30 Andreas Schwab <schwab@redhat.com>
19110 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19111 $(common-objpfx)libc_nonshared.a.
19113 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19115 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19116 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19117 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19118 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19119 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19120 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19121 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19122 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19137 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19138 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19139 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19140 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19141 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19142 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19143 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19144 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19145 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19146 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19147 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19148 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19164 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19166 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19167 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19168 * string/memmove.c (memmove): Renamed to ...
19169 (MEMMOVE): ...this. Default to memmove.
19170 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19171 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19174 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19175 mempcpy-ssse3-back memmove-ssse3-back.
19176 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19177 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19178 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19179 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19180 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19181 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19182 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19183 * sysdeps/x86_64/multiarch/memmove.c: New file.
19184 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19185 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19186 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19187 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19188 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19189 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19191 (index_Fast_Copy_Backward): Define.
19192 (HAS_ARCH_FEATURE): Define.
19193 (HAS_FAST_REP_STRING): Define.
19194 (HAS_FAST_COPY_BACKWARD): Define.
19196 2010-06-21 Andreas Schwab <schwab@redhat.com>
19198 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19199 Restore proper fallback handling.
19201 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19204 * posix/group_member.c (__group_member): Correct checking loop.
19206 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19207 OOM in getpwuid_r correctly. Return error number when the caller
19208 should return, otherwise -1.
19209 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19210 call returning > 0 value.
19211 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19213 2010-06-07 Andreas Schwab <schwab@redhat.com>
19215 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19216 libc_nonshared.a from targets in modules-names.
19218 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19220 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19223 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19225 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19226 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19227 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19228 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19230 2010-06-02 Andreas Schwab <schwab@redhat.com>
19232 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19234 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19236 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19238 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19239 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19240 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19241 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19242 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19243 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19245 2010-06-14 Roland McGrath <roland@redhat.com>
19247 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19249 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19251 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19252 __REDIRECT followed by __THROW.
19253 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19254 * posix/getopt.h (getopt): Likewise.
19256 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19258 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19259 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19260 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19262 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19263 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19265 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19267 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19269 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19273 Properly check family and model.
19275 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19277 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19279 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19281 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19283 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19285 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19288 2010-05-19 Andreas Schwab <schwab@redhat.com>
19290 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19293 2010-05-21 Andreas Schwab <schwab@redhat.com>
19295 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19296 and internal_recvmmsg.
19297 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19298 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19299 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19300 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19302 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19303 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19304 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19306 2010-05-20 Andreas Schwab <schwab@redhat.com>
19308 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19310 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19312 POWER7 optimizations.
19313 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19314 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19316 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19318 * version.h: Update for 2.13 development version.
19320 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19322 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19323 exceptions. Return 0.
19325 2010-05-07 Roland McGrath <roland@redhat.com>
19327 * elf/ldconfig.c (main): Add a const.
19329 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19331 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19332 (args_options): Add no-idn option.
19333 (ahosts_keys_int): Add idn_flags to ai_flags.
19334 (parse_option): Handle 'i' option to clear idn_flags.
19336 * malloc/malloc.c (_int_free): Possible race in the most recently
19337 added check. Only act on the data if no current modification
19340 See ChangeLog.17 for earlier changes.