1 2012-09-11 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4 (_G_int32_t): Likewise.
5 (_G_uint16_t): Likewise.
6 (_G_uint32_t): Likewise.
7 (_G_HAVE_BOOL): Likewise.
8 (_G_HAVE_ATEXIT): Likewise.
9 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10 (_G_HAVE_IO_FILE_OPEN): Likewise.
11 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12 (_G_int32_t): Likewise.
13 (_G_uint16_t): Likewise.
14 (_G_uint32_t): Likewise.
15 (_G_HAVE_BOOL): Likewise.
16 (_G_HAVE_ATEXIT): Likewise.
17 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18 (_G_HAVE_IO_FILE_OPEN): Likewise.
19 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20 (_G_int32_t): Likewise.
21 (_G_uint16_t): Likewise.
22 (_G_uint32_t): Likewise.
23 (_G_HAVE_BOOL): Likewise.
24 (_G_HAVE_ATEXIT): Likewise.
25 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26 (_G_HAVE_IO_FILE_OPEN): Likewise.
28 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30 * csu/libc-tls.c: Update copyright years.
32 2012-09-10 Joseph Myers <joseph@codesourcery.com>
34 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35 [!_G_USING_THUNKS]: Remove conditional code.
36 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
40 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42 (_G_VTABLE_LABEL_PREFIX): Likewise.
43 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46 (_G_VTABLE_LABEL_PREFIX): Likewise.
47 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
48 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
50 (_G_VTABLE_LABEL_PREFIX): Likewise.
51 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
55 * libio/Makefile: Include ../Makeconfig before tests.
56 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
57 only if $(build-shared) is yes.
59 * iconv/gconv_db.c: Update copyright years.
61 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
63 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
64 unwind info if defined PIC. Fix special cases description.
65 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
67 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
69 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
71 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
73 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
75 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
78 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
79 (LDLIBS-tst-chk4): This.
80 (LDFLAGS-tst-chk5): Renamed to ...
81 (LDLIBS-tst-chk5): This.
82 (LDFLAGS-tst-chk6): Renamed to ...
83 (LDLIBS-tst-chk6): This.
84 (LDFLAGS-tst-lfschk4): Renamed to ...
85 (LDLIBS-tst-lfschk4): This.
86 (LDFLAGS-tst-lfschk5): Renamed to ...
87 (LDLIBS-tst-lfschk5): This.
88 (LDFLAGS-tst-lfschk6): Renamed to ...
89 (LDLIBS-tst-lfschk6): This.
91 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
92 on $(common-objpfx)soversions.mk.
94 2012-09-07 Joseph Myers <joseph@codesourcery.com>
97 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
100 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
102 * malloc/arena.c (arena_get_retry): New function that gets
103 another arena for the caller to try its request on.
104 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
105 current arena cannot fulfill the request.
106 (__libc_memalign): Likewise.
107 (__libc_memalign): Likewise.
108 (__libc_pvalloc): Likewise.
109 (__libc_calloc): Likewise.
111 2012-09-05 John Tobey <john.tobey@gmail.com>
114 * manual/arith.texi (Operations on Complex): Fix description
117 2012-09-06 Joseph Myers <joseph@codesourcery.com>
120 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
124 * manual/memory.texi (Memory): Make order of menu items match
127 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
129 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
130 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
131 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
133 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
135 * csu/libc-tls.c (static_dtv): Renamed to ...
136 (_dl_static_dtv): This. Make it global.
137 (_dl_initial_dtv): Removed.
138 (__libc_setup_tls): Updated.
139 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
140 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
143 2012-09-06 Petr Machata <pmachata@redhat.com>
145 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
146 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
147 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
148 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
150 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
153 * csu/libc-tls.c (_dl_initial_dtv): New variable.
154 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
157 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
160 * Makeconfig (link-static-before-libc): Replace $(+prector)
162 (link-static-after-libc): Replace $(+postctor) with
164 (link-bounded): Replace $(+prector)/$(+postctor) with
165 $(+prectorT)/$(+postctorT).
166 (+prectorT): New macro.
167 (+postctorT): Likewise.
169 2012-09-06 Joseph Myers <joseph@codesourcery.com>
171 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
172 (round_str): Handle values above the maximum for IBM long double
174 * stdlib/tst-strtod-round.c (tests): Regenerated.
176 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
178 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
180 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
181 zarch_nohighgprs around the zarch optimized routines.
182 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
183 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
184 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
187 2012-09-05 David S. Miller <davem@davemloft.net>
189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
191 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
192 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
193 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
194 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
197 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
199 * malloc/arena.c: Fold copyright years.
200 * malloc/mcheck.c, malloc/memusage.c: Likewise.
202 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
204 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
206 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
208 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
210 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
212 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
213 change internal state upon failure.
215 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
217 * malloc/mcheck.c (mcheck_check_all): Fix typo.
218 * malloc/memusage.c (mmap): Likewise.
219 (mmap64, mremap): Likewise. Adjust name in comment.
221 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
223 * libio/fileops.c: Fix typos in comments.
224 * libio/oldfileops.c: Likewise.
225 * libio/wfileops.c: Likewise.
227 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
230 * malloc/Makefile (tests): Add tst-malloc-usable test case.
231 (tst-malloc-usable-ENV): Set environment for test case.
232 * malloc/hooks.c (malloc_check_get_size): New function to get
234 * malloc/malloc.c (musable): Use malloc_check_get_size.
235 * malloc/tst-malloc-usable.c: New test case.
237 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
239 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
241 2012-09-05 Allan McRae <allan@archlinux.org>
244 * configure.in (CXX_SYSINCLUDES): Use compiler output to
245 determine header location.
246 * configure: Regenerated.
248 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
250 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
252 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
253 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
257 2012-09-04 David S. Miller <davem@davemloft.net>
259 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
260 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
261 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
263 2012-09-04 Florian Weimer <fweimer@redhat.com>
265 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
268 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
270 2012-09-04 Joseph Myers <joseph@codesourcery.com>
273 * libio/iogetdelim.c: Include <limits.h>.
274 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
275 + len + 1 would overflow.
277 2012-09-03 Andreas Jaeger <aj@suse.de>
279 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
280 * sysdeps/i386/fpu/libm-test-ulps: Update.
282 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
284 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
285 Add s_sinf-sse2, s_conf-sse2.
287 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
288 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
289 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
290 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
292 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
293 for using routine as __sinf_ia32.
294 Use macro for function declaration and weak_alias.
295 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
296 for using routine as __cosf_ia32.
297 Use macro for function declaration and weak_alias.
299 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
300 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
302 * sysdeps/x86_64/fpu/s_sinf.S: New file.
303 * sysdeps/x86_64/fpu/s_cosf.S: New file.
304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
306 * math/libm-test.inc (cos_test): Add more test cases.
307 (sin_test): Likewise.
308 (sincos_test): Likewise.
310 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
312 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
313 (IFUNC_RESOLVE): Make pointers to the specialized implementations
315 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
317 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
320 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
321 first element of the GOT.
322 (elf_machine_load_address): Return the difference between
323 the runtime address of _DYNAMIC and elf_machine_dynamic ().
325 2012-09-01 Allan McRae <allan@archlinux.org>
328 * configure.in (AWK): Require gawk version 3.0 or later.
329 * configure: Regenerated.
331 2012-09-01 Joseph Myers <joseph@codesourcery.com>
333 * sysdeps/unix/sysv/linux/kernel-features.h
334 (__ASSUME_POSIX_CPU_TIMERS): Remove.
335 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
336 [__NR_clock_getres]: Make code unconditional.
337 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
338 (clock_getcpuclockid): Remove code left unreachable by removal of
340 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
342 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
343 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
344 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
345 Make code unconditional.
346 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
347 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
348 * sysdeps/unix/sysv/linux/clock_settime.c
349 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
351 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
352 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
354 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
357 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
358 scripts/test-installation.pl.
360 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
361 and $ld_so_version if it is set.
363 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
366 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
367 failure if reading from procfs failed.
368 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
370 2012-08-27 Joseph Myers <joseph@codesourcery.com>
372 * sysdeps/unix/sysv/linux/kernel-features.h
373 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
374 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
375 Remove conditional code.
376 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
377 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
378 Remove conditional code.
379 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
380 * sysdeps/unix/sysv/linux/i386/fxstat.c
381 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
382 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
383 * sysdeps/unix/sysv/linux/i386/fxstatat.c
384 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
385 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
386 * sysdeps/unix/sysv/linux/i386/lxstat.c
387 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
388 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
389 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
390 Remove conditional code.
391 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
392 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
393 Remove conditional code.
394 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
395 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
397 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
399 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
400 Remove conditional code.
401 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
402 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
405 2012-08-27 Mike Frysinger <vapier@gentoo.org>
408 * NEWS: Add fixed bug number.
410 2012-08-27 Joseph Myers <joseph@codesourcery.com>
413 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
414 underflowing exponent in case of negative sign.
415 * stdlib/tst-strtod-round-data: Add more tests.
416 * stdlib/tst-strtod-round.c (tests): Regenerated.
419 * stdlib/strtod_l.c (NDIG): Remove.
421 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
422 smallest representable value.
423 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
424 lie within an exact representation of 1/2 ulp of the result.
425 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
427 (TENS_P9_IDX): Define unconditionally.
428 (TENS_P9_SIZE): Likewise.
429 (TENS_P10_IDX): Likewise.
430 (TENS_P10_SIZE): Likewise.
431 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
432 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
433 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
434 entries for 10^2^13 and 10^2^14.
435 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
436 (TENS_P13_IDX): Define.
437 (TENS_P13_SIZE): Likewise.
438 (TENS_P14_IDX): Likewise.
439 (TENS_P14_SIZE): Likewise.
440 (_fpioconst_pow10): Change array size to
441 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
443 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
444 1024]: Add entries for 10^2^13 and 10^2^14.
445 [LAST_POW10 > _LAST_POW10]: Remove #error.
446 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
447 (_fpioconst_pow10): Change array size to
448 FPIOCONST_POW10_ARRAY_SIZE.
449 * stdlib/gen-fpioconst.c: New file.
450 * stdlib/gen-tst-strtod-round.c: Likewise.
451 * stdlib/tst-strtod-round-data: Likewise.
452 * stdlib/tst-strtod-round.c: Likewise.
453 * stdlib/Makefile (tests): Add tst-strtod-round.
456 * stdlib/strtod_l.c: Include <stdint.h>.
457 (NDEBUG): Do not define.
458 (round_and_return): Change EXPONENT parameter to type intmax_t.
459 Rearrange calculations to avoid internal overflow possibilities.
460 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
461 Rearrange calculations to avoid internal overflow possibilities.
462 Assert that number fits inside MPNSIZE limbs.
463 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
464 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
465 calculations and add assertions to avoid internal overflow
466 possibilities. Add casts to avoid signed/unsigned operations.
467 * stdlib/tst-strtod-overflow.c: New file.
468 * stdlib/Makefile (tests): Add tst-strtod-overflow.
470 2012-08-25 Marek Polacek <polacek@redhat.com>
472 * time/time.h: Fix some typos in comments.
474 2012-08-23 Roland McGrath <roland@hack.frob.com>
476 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
477 * posix/tst-rfc3484-2.c: Likewise.
478 * posix/tst-rfc3484-3.c: Likewise.
480 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
482 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
483 (EF_ARM_ABI_FLOAT_HARD): Likewise.
485 2012-08-23 Joseph Myers <joseph@codesourcery.com>
487 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
488 #include of fxstatat64.c.
490 2012-08-22 Roland McGrath <roland@hack.frob.com>
492 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
493 * shadow/getspent_r.c: Likewise.
494 * shadow/getspnam.c: Likewise.
495 * shadow/getspnam_r.c: Likewise.
496 * gshadow/getsgent.c: Likewise.
497 * gshadow/getsgent_r.c: Likewise.
498 * gshadow/getsgnam.c: Likewise.
499 * gshadow/getsgnam_r.c: Likewise.
500 * inet/getnetbyad.c: Likewise.
501 * inet/getnetbyad_r.c: Likewise.
502 * inet/getnetbynm.c: Likewise.
503 * inet/getnetbynm_r.c: Likewise.
504 * inet/getnetent.c: Likewise.
505 * inet/getnetent_r.c: Likewise.
506 * inet/getproto.c: Likewise.
507 * inet/getproto_r.c: Likewise.
508 * inet/getprtent.c: Likewise.
509 * inet/getprtent_r.c: Likewise.
510 * inet/getprtname.c: Likewise.
511 * inet/getprtname_r.c: Likewise.
512 * inet/getrpcbyname.c: Likewise.
513 * inet/getrpcbyname_r.c: Likewise.
514 * inet/getrpcbynumber.c: Likewise.
515 * inet/getrpcbynumber_r.c: Likewise.
516 * inet/getrpcent.c: Likewise.
517 * inet/getrpcent_r.c: Likewise.
518 * inet/getaliasent.c: Likewise.
519 * inet/getaliasent_r.c: Likewise.
520 * inet/getaliasname.c: Likewise.
521 * inet/getaliasname_r.c: Likewise.
522 * nscd/getgrgid_r.c: Likewise.
523 * nscd/getgrnam_r.c: Likewise.
524 * nscd/gethstbyad_r.c: Likewise.
525 * nscd/gethstbynm3_r.c: Likewise.
526 * nscd/getpwnam_r.c: Likewise.
527 * nscd/getpwuid_r.c: Likewise.
528 * nscd/getsrvbynm_r.c: Likewise.
529 * nscd/getsrvbypt_r.c: Likewise.
530 * nscd/gai.c: Likewise.
532 * configure.in (build_nscd): New substituted variable, set
533 by --disable-build-nscd and defaults to $use_nscd.
534 * configure: Regenerated.
535 * config.make.in (build-nscd): New substituted variable.
536 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
537 Change conditional to require [$(build-nscd) = yes] as well.
538 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
541 * configure.in (use_nscd): New substituted variable, set by
542 --disable-nscd. If enabled, define USE_NSCD.
543 * configure: Regenerated.
544 * config.h.in: Add USE_NSCD.
545 * config.make.in (use-nscd): New substituted variable.
546 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
547 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
548 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
549 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
550 (CFLAGS-getgrnam_r.c): Likewise.
551 (CFLAGS-initgroups.c): Likewise.
552 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
553 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
555 * inet/getnetgrent_r.c
556 (nscd_setnetgrent): New function, broken out of ...
557 (setnetgrent): ... here. Call it.
558 (innetgr): Conditionalize nscd bits on [USE_NSCD].
559 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
560 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
561 * nscd/Makefile (routines, aux): Move definitions after include of
562 Makeconfig. Conditionalize on [$(use-nscd) != no].
563 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
564 Conditionalize on [USE_NSCD].
565 (is_nscd, nscd_init_cb): Likewise.
566 (nss_load_library): Conditionalize init callback on [USE_NSCD].
567 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
568 * nss/nss_db/db-init.c: Likewise.
569 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
571 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
572 (make_request): Use it.
573 (cache_valid_p): New function.
574 (__check_pf): Use it.
575 * NEWS: Add item for --disable-nscd.
577 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
579 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
580 to support sed >= 4.2.1-20-ga9bf076.
581 * configure: Regenerated.
583 2012-08-22 Roland McGrath <roland@hack.frob.com>
585 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
586 Conditionalize whole body on [IREL].
588 2012-08-22 Jeff Law <law@redhat.com>
591 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
592 if the family is PF_UNSPEC.
594 2012-08-22 Mike Frysinger <vapier@gentoo.org>
596 * Makerules (lib-version): Rename from V.
597 (install-lib-nosubdir): Change V to lib-version.
599 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
602 * powerpc32/power6/wcschr.c: New file.
603 * powerpc32/power6/wcscpy.c: New file.
604 * powerpc32/power6/wcsrchr.c: New file.
605 * powerpc64/power6/wcschr.c: New file.
606 * powerpc64/power6/wcscpy.c: New file.
607 * powerpc64/power6/wcsrchr.c: New file.
609 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
611 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
612 (two_way_short_needle): Use it.
613 * string/strstr.c (AVAILABLE1_USES_J): Define.
614 * string/strcasestr.c: Likewise.
616 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
618 * string/strcasestr.c (TOLOWER): Make side-effect safe.
621 * NEWS: Add an entry.
622 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
623 define their defaults.
624 (two_way_short_needle): Detect end-of-string on-the-fly.
625 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
626 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
627 * string/bug-strcasestr1.c: New test.
628 * string/Makefile: Run it.
630 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
633 * string/str-two-way.h (two_way_short_needle): Optimize matching of
636 2012-08-21 Roland McGrath <roland@hack.frob.com>
638 * csu/elf-init.c (__libc_csu_irel): Function removed.
639 * csu/libc-start.c (apply_irel): New function.
640 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
642 2012-08-21 Joseph Myers <joseph@codesourcery.com>
644 * sysdeps/unix/sysv/linux/kernel-features.h
645 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
646 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
648 [__NR_fadvise64_64]: Make code unconditional.
649 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
650 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
651 !__NR_fadvise64_64)]: Likewise.
652 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
653 !__NR_fadvise64_64))]: Likewise.
654 [__NR_fadvise64]: Make code unconditional.
655 [!__NR_fadvise64]: Remove conditional code.
656 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
658 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
660 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
663 not include <kernel-features.h>.
664 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
666 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
668 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
669 include <kernel-features.h>.
670 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
672 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
675 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
677 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
678 slight instruction rearrangements per scrollpipe analysis.
679 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
681 2012-08-20 Roland McGrath <roland@hack.frob.com>
683 * manual/syslog.texi (syslog; vsyslog, closelog):
684 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
685 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
687 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
688 DSOCAPS to match condition on defining it.
690 2012-08-20 Joseph Myers <joseph@codesourcery.com>
692 * sysdeps/unix/sysv/linux/kernel-features.h
693 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
695 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
696 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
698 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
699 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
701 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
702 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
704 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
705 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
707 * sysdeps/unix/sysv/linux/kernel-features.h
708 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
709 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
711 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
712 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
713 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
714 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
715 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
716 Make code unconditional.
717 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
718 (__mmap64) [!__NR_mmap2]: Likewise.
719 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
720 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
721 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
722 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
723 [__NR_mmap2]: Make code unconditional.
724 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
725 (__mmap64) [!__NR_mmap2]: Likewise.
727 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
729 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
731 2012-08-18 Andreas Jaeger <aj@suse.de>
733 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
735 2012-08-18 Mike Frysinger <vapier@gentoo.org>
737 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
738 * include/unistd.h (__have_sock_cloexec): Likewise.
739 (__have_pipe2): Likewise.
740 (__have_dup3): Likewise.
742 2012-08-18 Mike Frysinger <vapier@gentoo.org>
745 * include/unistd.h (__have_pipe2): Change define into an extern int.
746 (__have_dup3): Likewise.
747 * socket/have_sock_cloexec.c: Include fcntl.h.
748 (__have_pipe2): New variable.
749 (__have_dup3): Likewise.
751 2012-08-17 Mike Frysinger <vapier@gentoo.org>
753 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
755 2012-08-17 Marek Polacek <polacek@redhat.com>
757 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
758 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
760 2012-08-17 Roland McGrath <roland@hack.frob.com>
762 * configure.in: Add AC_SUBST for sysheaders.
763 * configure: Regenerated.
764 * config.make.in (sysheaders): New substituted variable.
766 * sysdeps/unix/mkfifo.c: Moved ...
767 * sysdeps/posix/mkfifo.c: ... here.
768 * sysdeps/unix/mkfifoat.c: Moved ...
769 * sysdeps/posix/mkfifoat.c: ... here.
771 * sysdeps/unix/utime.c: Moved ...
772 * sysdeps/posix/utime.c: ... here.
774 * sysdeps/unix/time.c: Moved ...
775 * sysdeps/posix/time.c: ... here.
776 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
777 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
779 * sysdeps/unix/nice.c: Moved ...
780 * sysdeps/posix/nice.c: ... here.
782 * sysdeps/unix/alarm.c: Moved ...
783 * sysdeps/posix/alarm.c: ... here.
785 * intl/Makefile ($(codeset_mo)): Depend on the input file.
787 2012-08-17 Jeff Law <law@redhat.com>
789 * intl/Makefile (codeset_mo): New variable.
790 ($(codeset_mo)): New target.
791 (tst-codeset.out): Depend on that. Remove explicit rule.
792 (tst-gettext3.out, tst-gettext5.out): Likewise.
793 (LOCPATH-ENV, tst-codeset-ENV): New variables.
794 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
795 * intl/tst-codeset.sh: Remove.
796 * intl/tst-gettext3.sh: Likewise.
797 * intl/tst-gettext5.sh: Likewise.
799 2012-08-17 Roland McGrath <roland@hack.frob.com>
801 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
802 * sysdeps/unix/syscalls.list: ... here.
804 * sysdeps/posix/getaddrinfo.c
805 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
806 (gaiconf_init, gaiconf_reload): Use them.
808 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
809 Define using time_t rather than struct timespec.
811 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
812 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
814 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
816 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
817 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
820 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
821 __libc_cleanup_push argument.
823 * bits/param.h: New file.
824 * misc/sys/param.h: New file.
825 * include/sys/param.h: New file.
826 * misc/Makefile (headers): Add bits/param.h.
827 * sysdeps/generic/sys/param.h: File removed.
828 * sysdeps/unix/sysv/linux/bits/param.h: New file.
829 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
830 * sysdeps/mach/hurd/bits/param.h: New file.
831 * sysdeps/mach/hurd/sys/param.h: New file.
833 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
836 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
838 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
839 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
842 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
843 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
844 rather than -D_IO_MTSAFE_IO conditionally.
845 * stdio-common/Makefile (CPPFLAGS): Likewise.
846 * wcsmbs/Makefile (CPPFLAGS): Likewise.
847 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
849 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
851 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
852 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
853 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
854 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
855 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
856 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
857 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
858 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
859 (CFLAGS-fread_u_chk.c): Likewise.
860 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
861 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
862 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
863 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
864 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
865 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
866 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
867 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
868 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
870 * libio/Makefile: Test [$(libc-reentrant) = yes]
871 instead of [$(filter %REENTRANT, $(defines)) nonempty].
874 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
875 * sysdeps/pthread/configure: File removed.
876 * sysdeps/pthread/Makeconfig: New file.
877 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
878 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
880 2012-08-16 Gary Benson <gbenson@redhat.com>
882 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
883 unmapping the first object in a namespace.
885 2012-08-16 Roland McGrath <roland@hack.frob.com>
887 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
888 (__internal_setnetgrent): ... this. Add internal_function to
889 definition. Add libc_hidden_def.
890 (setnetgrent): Update caller.
891 (internal_endnetgrent): Renamed to ...
892 (__internal_endnetgrent): ... this. Add internal_function to
893 definition. Add libc_hidden_def.
894 (endnetgrent): Update caller.
895 (internal_getnetgrent_r): Renamed to ...
896 (__internal_getnetgrent_r): ... this. Add internal_function to
897 definition. Add libc_hidden_def.
898 (__getnetgrent_r): Update caller.
899 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
901 2012-08-16 Joseph Myers <joseph@codesourcery.com>
903 * stdlib/longlong.h: Update from GCC.
905 2012-08-16 Roland McGrath <roland@hack.frob.com>
907 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
908 on _QL, which is set by umul_ppmm but never used.
909 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
910 variables, which are set by GMP macros but never used.
911 * stdio-common/_itowa.c (_itowa): Likewise.
912 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
913 * stdlib/mod_1.c (mpn_mod_1): Likewise.
915 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
917 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
918 struct La_sh_regs is not constant.
919 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
920 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
921 and struct La_sparc64_regs are not constant.
923 2012-08-16 Joseph Myers <joseph@codesourcery.com>
925 * sysdeps/unix/sysv/linux/kernel-features.h
926 (__ASSUME_POSIX_TIMERS): Remove.
927 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
928 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
929 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
930 Make code unconditional.
931 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
932 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
933 Make code unconditional.
934 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
935 * sysdeps/unix/sysv/linux/clock_nanosleep.c
936 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
937 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
938 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
939 Make code unconditional.
940 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
941 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
942 (__libc_missing_posix_timers): Remove.
944 2012-08-15 Roland McGrath <roland@hack.frob.com>
946 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
947 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
949 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
951 * elf/dl-sym.c: Include <stdlib.h>.
953 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
954 constants, which avoids warnings in 32-bit builds.
956 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
957 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
959 * misc/lseek.c: File moved to ...
960 * io/lseek.c: ... here.
962 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
964 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
965 shifting LEN more than 31 bits at once.
967 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
970 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
971 segmentation fault for a case of two empty input strings.
972 * string/test-strncasecmp.c (check1): Renamed to...
974 (bz14195): Add new testcase for two empty input strings and N > 0.
975 (test_main): Call new testcase, adapt for renamed function.
977 2012-08-15 Andreas Jaeger <aj@suse.de>
980 * crypt/md5test2.c: New test, based on test supplied by Serge
981 Belyshev <belyshev@depni.sinp.msu.ru>.
982 * crypt/Makefile (xtests): Add md5test-giant..
983 * crypt/Makefile ($(objpfx)md5test-giant): Add.
985 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
988 * crypt/md5.c (md5_process_block): Don't assume the buffer
989 length is less than 2**32.
990 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
991 length is less than 2**64.
993 2012-08-15 Roland McGrath <roland@hack.frob.com>
995 * string/str-two-way.h: Include <sys/param.h>.
996 (MAX): Macro removed.
998 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
999 Move #define and #undef of memmove to just before and after
1000 including <string.h>.
1002 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1003 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1004 and after including <string.h>. Move declarations of
1005 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1006 to before #include "string/memmove.c".
1008 * include/dirent.h: Declare __getdirentries.
1010 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1011 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1013 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1015 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1016 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1017 * sysdeps/i386/configure: Regenerated.
1018 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1019 STABS_CURRENT_FILE, and STABS_FUN.
1020 (END): Remove call to STABS_FUN_END.
1021 (STABS_CURRENT_FILE1): Delete.
1022 (STABS_CURRENT_FILE): Likewise.
1023 (STABS_FUN): Likewise.
1024 (STABS_FUN_END): Likewise.
1025 (STABS_FUN2): Likewise.
1026 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1027 * sysdeps/x86_64/configure: Regenerated.
1029 2012-08-14 Roland McGrath <roland@hack.frob.com>
1031 * elf/dl-open.c: Include <atomic.h>.
1032 * elf/dl-lookup.c: Likewise.
1034 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1036 * sysdeps/unix/sysv/linux/kernel-features.h
1037 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1038 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1040 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1042 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1043 condition on __ASSUME_CLONE_THREAD_FLAGS.
1045 2012-08-14 Andreas Jaeger <aj@suse.de>
1047 * sysdeps/i386/fpu/libm-test-ulps: Update.
1049 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1051 * include/atomic.h (atomic_exchange_and_add): Split into ...
1052 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1055 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1059 2012-08-13 Jeff Law <law@redhat.com>
1061 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1062 null byte in the output string.
1064 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1066 * sysdeps/unix/sysv/linux/kernel-features.h
1067 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1068 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1069 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1070 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1071 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1072 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1073 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1075 2012-08-09 Jeff Law <law@redhat.com>
1078 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1079 When avoid_arena is set, don't retry in the that arena. Pick the
1080 next one, whatever it might be.
1081 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1082 (arena_lock): Pass in new parameter to arena_get2.
1083 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1085 (__libc_malloc): Unify retrying after main arena failure with
1086 __libc_memalign version.
1087 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1089 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1092 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1093 to __redirect_strstr.
1094 (__strstr_sse42): Use typeof __redirect_strstr.
1095 (__strstr_ia32): Likewise.
1096 (__libc_strstr): New prototype.
1097 (strstr): Renamed to ...
1098 (__libc_strstr): This.
1099 (strstr): New strong alias of __libc_strstr.
1100 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1101 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1104 (__libc_time): New prototype.
1105 (time_ifunc): Replace time with __libc_time.
1106 (time): New strong alias and hidden definition of __libc_time.
1107 (__GI_time): Remove strong alias.
1108 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1110 (memmove): Redefined to __redirect_memmove.
1111 (__memmove_sse2): Use typeof __redirect_memmove.
1112 (__memmove_ssse3): Likewise.
1113 (__memmove_ssse3_back): Likewise.
1114 (__libc_memmove): New prototype.
1115 (memmove): Renamed to ...
1116 (__libc_memmove): This.
1117 (memmove): New strong alias of __libc_memmove.
1119 2012-08-08 Mark Salter <msalter@redhat.com>
1122 (R_MN10300_TLS_GD): Define.
1123 (R_MN10300_TLS_LD): Likewise.
1124 (R_MN10300_TLS_LDO): Likewise.
1125 (R_MN10300_TLS_GOTIE): Likewise.
1126 (R_MN10300_TLS_IE): Likewise.
1127 (R_MN10300_TLS_LE): Likewise.
1128 (R_MN10300_TLS_DTPMOD): Likewise.
1129 (R_MN10300_TLS_DTPOFF): Likewise.
1130 (R_MN10300_TLS_TPOFF): Likewise.
1131 (R_MN10300_SYM_DIFF): Likewise.
1132 (R_MN10300_ALIGN): Likewise.
1133 (R_MN10300_NUM): Update.
1135 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1137 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1140 2012-08-08 Roland McGrath <roland@hack.frob.com>
1142 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1144 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1145 sysdeps/unix -> sysdeps/posix move.
1146 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1148 2012-08-07 Allan McRae <allan@archlinux.org>
1151 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1152 (SUNOS_CPP): Likewise.
1153 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1155 (open_input): Call CPP using execvp.
1157 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1159 * sysdeps/unix/sysv/linux/kernel-features.h
1160 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1161 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1162 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1163 (__ASSUME_WAITID_SYSCALL): Likewise.
1164 * sysdeps/unix/sysv/linux/dl-execstack.c
1165 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1167 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1169 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1170 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1171 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1173 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1175 [__ASSUME_WAITID_SYSCALL]: Likewise.
1176 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1178 2012-08-07 Roland McGrath <roland@hack.frob.com>
1180 * sysdeps/unix/closedir.c: Renamed to ...
1181 * sysdeps/posix/closedir.c: ... here.
1182 * sysdeps/unix/dirfd.c: Renamed to ...
1183 * sysdeps/posix/dirfd.c: ... here.
1184 * sysdeps/unix/dirstream.h: Renamed to ...
1185 * sysdeps/posix/dirstream.h: ... here.
1186 * sysdeps/unix/fdopendir.c: Renamed to ...
1187 * sysdeps/posix/fdopendir.c: ... here.
1188 * sysdeps/unix/opendir.c: Renamed to ...
1189 * sysdeps/posix/opendir.c: ... here.
1190 * sysdeps/unix/readdir.c: Renamed to ...
1191 * sysdeps/posix/readdir.c: ... here.
1192 * sysdeps/unix/readdir_r.c: Renamed to ...
1193 * sysdeps/posix/readdir_r.c: ... here.
1194 * sysdeps/unix/rewinddir.c: Renamed to ...
1195 * sysdeps/posix/rewinddir.c: ... here.
1196 * sysdeps/unix/seekdir.c: Renamed to ...
1197 * sysdeps/posix/seekdir.c: ... here.
1198 * sysdeps/unix/telldir.c: Renamed to ...
1199 * sysdeps/posix/telldir.c: ... here.
1200 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1201 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1202 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1203 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1205 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1206 * bits/fcntl.h: ... here.
1208 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1210 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1211 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1212 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1213 (struct flock): Move l_start, l_len to the beginning.
1214 Use __pid_t for l_pid.
1215 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1216 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1217 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1218 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1219 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1220 [__USE_LARGEFILE64] (struct flock64): New type.
1221 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1223 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1224 * bits/dirent.h: ... here.
1226 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1227 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1229 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1231 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1232 Change from 2.6.0 to 2.6.16.
1233 * sysdeps/unix/sysv/linux/configure: Regenerated.
1234 * sysdeps/unix/sysv/linux/kernel-features.h
1235 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1236 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1238 (__ASSUME_UTIMES): Likewise.
1239 (__ASSUME_CLONE_STOPPED): Remove.
1240 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1241 architectures, not kernel version.
1242 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1243 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1244 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1245 (__ASSUME_WAITID_SYSCALL): Likewise.
1246 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1247 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1248 * README: State 2.6.16 as minimum Linux kernel version. Do not
1249 refer to older versions.
1251 2012-08-06 Roland McGrath <roland@hack.frob.com>
1253 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1254 Define alphasort64 as an alias.
1255 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1256 Define versionsort64 as an alias.
1257 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1258 Define scandir64 as an alias.
1259 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1260 Define scandirat64 as an alias.
1261 * dirent/alphasort64.c (alphasort64):
1262 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1263 * dirent/versionsort64.c: Likewise.
1264 * dirent/scandir64.c: Likewise.
1265 * dirent/scandirat64.c: Likewise.
1266 * sysdeps/wordsize-64/alphasort.c: File removed.
1267 * sysdeps/wordsize-64/alphasort64.c: File removed.
1268 * sysdeps/wordsize-64/scandir.c: File removed.
1269 * sysdeps/wordsize-64/scandir64.c: File removed.
1270 * sysdeps/wordsize-64/scandirat.c: File removed.
1271 * sysdeps/wordsize-64/scandirat64.c: File removed.
1272 * sysdeps/wordsize-64/versionsort.c: File removed.
1273 * sysdeps/wordsize-64/versionsort64.c: File removed.
1274 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1275 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1276 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1277 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1278 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1279 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1280 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1281 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1283 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1284 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1285 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1286 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1287 [defined __arch64__ || defined __sparcv9]
1288 (__INO_T_MATCHES_INO64_T): New macro.
1289 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1290 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1291 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1292 * sysdeps/unix/sysv/linux/bits/dirent.h
1293 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1294 (_DIRENT_MATCHES_DIRENT64): New macro.
1296 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1297 Define lockf64 as an alias.
1298 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1299 Define fseeko64 as an alias.
1300 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1301 Define ftello64 as an alias.
1302 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1303 Define _IO_fgetpos64 and fgetpos64 as aliases.
1304 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1305 Define _IO_fsetpos64 and fsetpos64 as aliases.
1306 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1307 Conditionalize body on this.
1308 * libio/fseeko64.c: Likewise.
1309 * libio/ftello64.c: Likewise.
1310 * libio/iofgetpos64.c: Likewise.
1311 * libio/iofsetpos64.c: Likewise.
1312 * sysdeps/wordsize-64/lockf.c: File removed.
1313 * sysdeps/wordsize-64/lockf64.c: File removed.
1314 * sysdeps/wordsize-64/fseeko.c: File removed.
1315 * sysdeps/wordsize-64/fseeko64.c: File removed.
1316 * sysdeps/wordsize-64/ftello.c: File removed.
1317 * sysdeps/wordsize-64/ftello64.c: File removed.
1318 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1319 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1320 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1321 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1322 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1323 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1324 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1325 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1326 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1327 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1328 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1329 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1330 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1331 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1333 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1334 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1335 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1336 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1337 [defined __arch64__ || defined __sparcv9]
1338 (__OFF_T_MATCHES_OFF64_T): New macro.
1339 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1340 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1341 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1342 (__OFF_T_MATCHES_OFF64_T): New macro.
1344 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1346 * stdlib/secure-getenv.c (__secure_getenv): Replace
1347 GLIBC_2_16 with GLIBC_2_17.
1349 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1351 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1352 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1354 2012-08-03 David S. Miller <davem@davemloft.net>
1356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1358 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1360 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1362 (__ASSUME_CORRECT_SI_PID): Likewise.
1363 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1364 (__ASSUME_TMPFS_NAME): Likewise.
1365 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1366 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1367 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1368 (HAVE_AUX_SECURE): Make definition unconditional.
1369 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1370 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1372 2012-08-03 Roland McGrath <roland@hack.frob.com>
1374 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1375 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1376 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1377 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1378 __eloop_threshold instead of SYMLOOP_MAX.
1380 * sysdeps/generic/eloop-threshold.h: New file.
1381 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1383 * elf/chroot_canon.c (chroot_canon): Likewise.
1385 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1388 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1389 Change to 2.6.0 everywhere.
1390 * sysdeps/unix/sysv/linux/configure: Regenerated.
1391 * sysdeps/unix/sysv/linux/kernel-features.h
1392 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1393 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1395 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1396 (__ASSUME_FUTEX_REQUEUE): Remove.
1397 (__ASSUME_STATFS64): Define unconditionally.
1398 (__ASSUME_AT_SECURE): Likewise.
1399 (__ASSUME_CORRECT_SI_PID): Likewise.
1400 (__ASSUME_TGKILL): Define without depending on kernel version for
1402 (__ASSUME_UTIMES): Likewise.
1403 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1405 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1406 (__ASSUME_TMPFS_NAME): Likewise.
1407 * README: Update reference to Linux kernel versions.
1409 2012-08-02 Marek Polacek <polacek@redhat.com>
1412 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1413 libc_cv_asm_type_prefix with %.
1414 * configure: Regenerated.
1415 * include/libc-symbols.h: Remove comment about
1416 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1417 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1418 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1419 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1420 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1421 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1422 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1423 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1424 * elf/tst-unique2mod1.c: Likewise.
1425 * elf/tst-unique1mod2.c: Likewise.
1426 * elf/tst-unique1mod1.c: Likewise.
1427 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1428 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1429 Replace ASM_TYPE_DIRECTIVE with .type.
1430 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1431 * sysdeps/i386/sysdep.h: Likewise.
1432 * sysdeps/x86_64/sysdep.h: Likewise.
1433 * sysdeps/sh/sysdep.h: Likewise.
1434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1435 Do not define ASM_TYPE_DIRECTIVE.
1436 * sysdeps/powerpc/sysdep.h: Likewise.
1437 * sysdeps/powerpc/powerpc32/sysdep.h:
1438 Replace ASM_TYPE_DIRECTIVE with .type.
1439 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1440 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1441 * sysdeps/i386/fpu/e_powf.S: Likewise.
1442 * sysdeps/i386/fpu/e_expl.S: Likewise.
1443 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1444 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1445 * sysdeps/i386/fpu/e_pow.S: Likewise.
1446 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1447 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1448 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1449 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1450 * sysdeps/i386/fpu/e_log2.S: Likewise.
1451 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1452 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1453 * sysdeps/i386/fpu/e_powl.S: Likewise.
1454 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1455 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1456 * sysdeps/i386/fpu/e_logl.S: Likewise.
1457 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1458 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1459 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1460 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1461 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1462 * sysdeps/i386/fpu/e_log.S: Likewise.
1463 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1464 * sysdeps/i386/fpu/e_logf.S: Likewise.
1465 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1466 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1467 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1468 * sysdeps/i386/fpu/e_log10.S: Likewise.
1469 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1470 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1471 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1472 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1473 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1474 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1475 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1476 * sysdeps/i386/i686/strtok.S: Likewise.
1477 * sysdeps/i386/i386-mcount.S: Likewise.
1478 * sysdeps/i386/strtok.S: Likewise.
1479 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1480 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1481 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1482 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1483 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1484 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1485 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1486 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1487 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1488 * sysdeps/x86_64/_mcount.S: Likewise.
1489 * sysdeps/x86_64/strtok.S: Likewise.
1490 * sysdeps/sh/_mcount.S: Likewise.
1492 2012-08-01 Roland McGrath <roland@hack.frob.com>
1494 * libio/iofopen.c: Include <fcntl.h>.
1495 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1496 (_IO_fopen64, fopen64): Define as aliases.
1497 * libio/iofopen64.c: Include <fcntl.h>.
1498 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1499 Conditionalize body on this.
1500 * sysdeps/wordsize-64/iofopen.c: File removed.
1501 * sysdeps/wordsize-64/iofopen64.c: File removed.
1503 2012-08-01 Marek Polacek <polacek@redhat.com>
1505 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1506 Use dlfcn directly instead of a variable.
1507 (binfmt-subdir): Do not define.
1510 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1512 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1513 Remove all definitions.
1514 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1515 <kernel-features.h>.
1516 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1517 (miss_F_GETOWN_EX): Remove all definitions.
1518 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1520 [!__ASSUME_FCNTL64]: Remove conditional code.
1521 [__ASSUME_FCNTL64]: Make code unconditional.
1522 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1523 <kernel-features.h>.
1524 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1525 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1526 (lockf64) [__NR_fcntl64]: Make code unconditional.
1527 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1529 * sysdeps/unix/sysv/linux/kernel-features.h
1530 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1531 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1532 Make code unconditional.
1533 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1534 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1536 [__NR_vfork]: Make code unconditional.
1537 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1538 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1540 [__NR_vfork]: Make code unconditional.
1541 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1542 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1544 2012-08-01 Roland McGrath <roland@hack.frob.com>
1546 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1547 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1549 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1550 Define mkstemp64 as an alias.
1551 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1552 Define mkstemps64 as an alias.
1553 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1554 Define mkostemp64 as an alias.
1555 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1556 Define mkostemps64 as an alias.
1557 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1558 Conditionalize body on this.
1559 * misc/mkostemp64.c: Likewise.
1560 * misc/mkostemps64.c: Likewise.
1561 * misc/mkstemps64.c: Likewise.
1562 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1563 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1564 * sysdeps/wordsize-64/mkostemp.c: File removed.
1565 * sysdeps/wordsize-64/mkstemp.c: File removed.
1566 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1567 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1568 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1569 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1572 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1573 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1574 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1575 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1577 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1578 compat_symbol macros from <shlib-compat.h> rather than the underlying
1579 default_symbol_version and symbol_version macros, so that DEFAULT
1580 lines in shlib-versions are respected.
1581 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1583 2012-08-01 Florian Weimer <fweimer@redhat.com>
1585 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1586 Declare with warn_unused_result.
1587 (setgid, setregid, setegid, setresgid): Likewise.
1588 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1590 * WUR-REPORT: Remove set*id functions.
1592 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1594 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1596 2012-07-31 Roland McGrath <roland@hack.frob.com>
1598 * include/sys/socket.h (__libc_accept, __libc_accept4):
1599 Add attribute_hidden.
1600 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1602 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1604 * inet/getnetgrent_r.c (setup): Likewise.
1606 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1608 2012-07-31 David S. Miller <davem@davemloft.net>
1610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1612 2012-07-31 Joseph Myers <joseph@codesourcery.com>
1615 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1616 value between 1.0 and 2.0 and smaller part has absolute value less
1618 * math/s_clog10.c (__clog10): Likewise.
1619 * math/s_clog10f.c (__clog10f): Likewise.
1620 * math/s_clog10l.c (__clog10l): Likewise.
1621 * math/s_clogf.c (__clogf): Likewise.
1622 * math/s_clogl.c (__clogl): Likewise.
1623 * math/libm-test.inc (clog_test): Add more tests.
1624 (clog10_test): Likewise.
1625 * sysdeps/i386/fpu/libm-test-ulps: Update.
1626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1628 2012-07-31 Florian Weimer <fweimer@redhat.com>
1630 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1631 Exit with zero in case no suitable GID is found, and write a
1632 message to standard error.
1634 2012-07-30 Roland McGrath <roland@hack.frob.com>
1636 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1638 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1639 (MAXPATHLEN): Removed.
1640 (NOGROUP, NODEV): New macros.
1641 (setbit, clrbit, isset, isclr): New macros.
1642 (howmany, roundup, powerof2): New macros.
1643 (DEV_BSIZE): New macro.
1645 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1646 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1648 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1649 definition on [!__NO_LONG_DOUBLE_MATH].
1651 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1652 PTR_MANGLE and PTR_DEMANGLE.
1654 * socket/accept4.c (accept4): Rename to __libc_accept4.
1655 Define accept4 as a weak alias.
1657 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1658 on [_DIRENT_HAVE_D_TYPE].
1659 * io/ftw.c (ftw_dir): Likewise.
1661 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1663 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1665 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1666 Use the BSD numbers rather than the arbitrary ones we had.
1667 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1668 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1669 (SIGXCPU, SIGXFSZ): New macros.
1672 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1673 initializer on [_LIBC_REENTRANT].
1675 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1676 definitions inside [_POSIX_MAPPED_FILES].
1678 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1680 * dirent/opendir.c: Include <fcntl.h>.
1682 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1683 (__libc_getspecific): Likewise.
1684 (__libc_key_create): Likewise.
1686 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1687 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1688 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1689 (tmpfile64): Define as alias.
1690 * sysdeps/wordsize-64/tmpfile.c: File removed.
1691 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1692 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1693 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1695 * stdio-common/vfscanf.c: Include <stdbool.h>.
1696 * nss/makedb.c: Likewise.
1697 * stdio-common/_i18n_number.h: Likewise.
1698 * argp/argp-help.c: Likewise.
1699 * posix/wordexp.c: Likewise.
1700 * sysdeps/posix/spawni.c: Likewise.
1701 * nss/nss_files/files-initgroups.c: Likewise.
1702 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1703 * nss/nss_files/files-initgroups.c: Likewise.
1704 * nss/nss_db/db-netgrp.c: Likewise.
1705 * nss/nss_db/db-initgroups.c: Likewise.
1706 * io/fchmodat.c: Include <sys/stat.h>.
1708 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1709 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1711 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1714 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1715 Add multiple inclusion protection.
1717 2012-07-27 David S. Miller <davem@davemloft.net>
1719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1721 2012-07-27 Gary Benson <gbenson@redhat.com>
1724 * elf/rtld.c: Include <stap-probe.h>.
1725 (dl_main): Added static probes "init_start" and "init_complete".
1726 * elf/dl-load.c: Include <stap-probe.h>.
1727 (lose): Take new parameter "nsid".
1728 Added static probe "map_failed".
1729 (_dl_map_object_from_fd): Pass namespace id to lose.
1730 Added static probe "map_start".
1731 (open_verify): Pass namespace id to lose.
1732 * elf/dl-open.c: Include <stap-probe.h>.
1733 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1734 and "reloc_complete".
1735 * elf/dl-close.c: Include <stap-probe.h>.
1736 (_dl_close_worker): Added static probes "unmap_start" and
1738 * elf/rtld-debugger-interface.txt: New file documenting the above.
1740 2012-07-26 Roland McGrath <roland@hack.frob.com>
1742 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1743 rather than a string variable.
1744 * sunrpc/rpc_main.c (h_output): Likewise.
1745 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1747 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1749 * inet/check_native.c: New file.
1751 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1754 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1755 if larger part has absolute value 1.0.
1756 * math/s_clog10.c (__clog10): Likewise.
1757 * math/s_clog10f.c (__clog10f): Likewise.
1758 * math/s_clog10l.c (__clog10l): Likewise.
1759 * math/s_clogf.c (__clogf): Likewise.
1760 * math/s_clogl.c (__clogl): Likewise.
1761 * math/libm-test.inc (clog_test): Add more tests.
1762 (clog10_test): Likewise.
1763 * sysdeps/i386/fpu/libm-test-ulps: Update.
1764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1766 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1767 (pltexit): Likewise.
1768 (La_regs): Likewise.
1769 (La_retval): Likewise.
1770 (int_retval): Likewise.
1771 Update #error for removed macros to refer only to definitions in
1773 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1775 (pltexit): Likewise.
1776 (La_regs): Likewise.
1777 (La_retval): Likewise.
1778 (int_retval): Likewise.
1779 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1781 (pltexit): Likewise.
1782 (La_regs): Likewise.
1783 (La_retval): Likewise.
1784 (int_retval): Likewise.
1785 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1787 (pltexit): Likewise.
1788 (La_regs): Likewise.
1789 (La_retval): Likewise.
1790 (int_retval): Likewise.
1791 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1793 (pltexit): Likewise.
1794 (La_regs): Likewise.
1795 (La_retval): Likewise.
1796 (int_retval): Likewise.
1797 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1799 (pltexit): Likewise.
1800 (La_regs): Likewise.
1801 (La_retval): Likewise.
1802 (int_retval): Likewise.
1803 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1805 (pltexit): Likewise.
1806 (La_regs): Likewise.
1807 (La_retval): Likewise.
1808 (int_retval): Likewise.
1809 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1810 macro definitions in tst-audit.h.
1811 * sysdeps/i386/tst-audit.h: New file.
1812 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1813 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1814 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1815 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1816 * sysdeps/sh/tst-audit.h: Likewise.
1817 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1818 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1819 * sysdeps/x86_64/tst-audit.h: Likewise.
1821 2012-07-26 Andreas Jaeger <aj@suse.de>
1823 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1826 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1827 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1828 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1830 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1831 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1832 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1834 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1837 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1839 (si_call_addr, si_syscall, si_arch): Define new macro.
1840 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1842 (si_call_addr, si_syscall, si_arch): Define new marcro.
1843 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1845 (si_call_addr, si_syscall, si_arch): Define new macro.
1846 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1848 (si_call_addr, si_syscall, si_arch): Define new macro.
1850 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1853 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1854 Change to 2.4.21 where previously 2.4.1.
1855 * sysdeps/unix/sysv/linux/configure: Regenerated.
1856 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1857 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1858 Linux kernel version.
1859 (__ASSUME_STD_AUXV): Remove.
1860 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1862 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1863 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1864 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1865 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1866 (__ASSUME_NETLINK_SUPPORT): Likewise.
1867 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1868 (__no_netlink_support): Remove conditional definition.
1869 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1871 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1872 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1873 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1874 (if_nameindex_ioctl): Remove.
1875 (if_nameindex_netlink): Do not handle __no_netlink_support.
1876 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1878 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1879 Remove conditional code.
1880 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1882 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1884 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1885 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1886 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1888 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1889 [!__ASSUME_STD_AUXV]: Remove conditional code.
1890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1891 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1892 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1894 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1895 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1897 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1899 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1900 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1902 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1904 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1907 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1910 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1912 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1914 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1916 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1919 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1921 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1924 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1926 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1928 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1930 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1933 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1935 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1937 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1939 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1942 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1944 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1945 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1946 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1947 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1948 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1949 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1950 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1951 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1952 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1953 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1954 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1955 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1956 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1957 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1958 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1959 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1960 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1961 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1962 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1964 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1965 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1966 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1968 2012-07-25 Florian Weimer <fweimer@redhat.com>
1970 * Versions.def: Add GLIBC_2.17.
1971 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1972 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1973 Introduce __libc_secure_getenv.
1974 * stdlib/Versions (2.17): Add secure_getenv
1975 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1976 * stdlib/secure-getenv.c: Rename __secure_getenv to
1977 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1978 symbol __secure_getenv for GLIBC_2.0.
1979 * stdlib/tst-secure-getenv.c: New.
1980 * stdlib/Makefile (tests): Add testcase.
1981 * manual/startup.texi (Environment Access): Document
1983 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1984 __libc_secure_getenv.
1985 * inet/ruserpass.c (ruserpass): Likewise.
1986 * malloc/mtrace.c (mtrace): Likewise.
1987 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1988 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1989 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1990 * sysdeps/posix/tempname.c: Likewise. Evaluate
1992 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1993 __secure_getenv to __libc_secure_getenv.
1994 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2001 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2007 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2009 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2010 (struct La_i86_retval): Likewise.
2011 (struct La_x86_64_regs): Likewise.
2012 (struct La_x86_64_retval): Likewise.
2013 (struct La_x32_regs): Likewise.
2014 (struct La_x32_retval): Likewise.
2015 (struct La_ppc32_regs): Likewise.
2016 (struct La_ppc32_retval): Likewise.
2017 (struct La_ppc64_regs): Likewise.
2018 (struct La_ppc64_retval): Likewise.
2019 (struct La_sh_regs): Likewise.
2020 (struct La_sh_retval): Likewise.
2021 (struct La_s390_32_regs): Likewise.
2022 (struct La_s390_32_retval): Likewise.
2023 (struct La_s390_64_regs): Likewise.
2024 (struct La_s390_64_retval): Likewise.
2025 (struct La_sparc32_regs): Likewise.
2026 (struct La_sparc32_retval): Likewise.
2027 (struct La_sparc64_regs): Likewise.
2028 (struct La_sparc64_retval): Likewise.
2029 (struct audit_ifaces): Remove architecture-specific pltenter and
2031 * sysdeps/i386/ldsodefs.h: New file.
2032 * sysdeps/powerpc/ldsodefs.h: Likewise.
2033 * sysdeps/s390/ldsodefs.h: Likewise.
2034 * sysdeps/sh/ldsodefs.h: Likewise.
2035 * sysdeps/sparc/ldsodefs.h: Likewise.
2036 * sysdeps/x86_64/ldsodefs.h: Likewise.
2038 2012-07-25 Marek Polacek <polacek@redhat.com>
2041 * math/libm-test.inc (yn_test): Add another test.
2042 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2043 to ERANGE when the result is +-Inf.
2044 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2045 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2046 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2047 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2049 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2051 * conform/data/time.h-data (NULL): Use macro-constant. Require
2053 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2055 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2057 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2059 * configure.in <sysdeps resolving>: Correct printing
2061 * configure: Regenerate.
2063 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2065 * math/w_ilogb.c: Include <limits.h>.
2066 * math/w_ilogbl.c: Likewise.
2068 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2070 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2071 va_copy. Document allowing for unavailable va_copy only as
2072 pre-C99 compatibility.
2073 * manual/string.texi (Copying and Concatenation): Use va_copy
2074 instead of __va_copy in concat example.
2076 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2078 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2079 (__sendto): Use create_address_port. Initialize APORT and deallocate
2082 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2083 with O_NOLINK passed to __file_name_lookup.
2085 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2086 with O_NOLINK passed to __file_name_lookup.
2088 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2089 negative N or less than NGIDS.
2091 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2092 type to string_t. Set ERANGE as errno and return it if NAME is not big
2093 enough. Use memcpy instead of strncpy.
2095 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2097 * elf/Makefile (check-data): Remove.
2098 (localplt.data): New vpath directive.
2099 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2100 instead of $(check-data).
2101 * scripts/data/localplt-generic.data: Move to ...
2102 * sysdeps/generic/localplt.data: ... here.
2103 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2104 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2105 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2108 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2111 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2114 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2117 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2120 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2124 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2126 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2127 PPC32 and PPC64 files.
2128 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2129 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2131 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2133 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2134 __makecontext_ret to ...
2135 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2136 ... here and call exit if uc_link is NULL. New file.
2137 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2138 __makecontext_ret.S.
2139 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2140 __makecontext_ret to ...
2141 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2142 ... here and call exit if uc_link is NULL. New file.
2143 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2144 __makecontext_ret.S.
2146 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2148 * elf/elf.h (R_390_IRELATIVE): New definition.
2149 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2150 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2151 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2152 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2153 (elf_machine_lazy_rel): Likewise.
2154 * sysdeps/s390/dl-irel.h: New file.
2155 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2156 * sysdeps/s390/s390-64/memset.S: New asm code.
2157 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2158 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2159 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2160 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2161 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2162 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2163 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2164 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2165 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2166 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2167 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2168 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2169 * sysdeps/s390/s390-32/memset.S: New asm code.
2170 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2172 2012-07-17 Marek Polacek <polacek@redhat.com>
2175 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2176 * sysdeps/s390/s390-64/configure.in: Likewise.
2177 * sysdeps/sparc/configure.in: Likewise.
2178 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2179 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2180 * sysdeps/i386/configure.in: Likewise.
2181 * sysdeps/x86_64/configure.in: Likewise.
2182 * sysdeps/sh/configure.in: Likewise.
2183 * sysdeps/s390/s390-32/configure: Regenerated.
2184 * sysdeps/s390/s390-64/configure: Likewise.
2185 * sysdeps/x86_64/configure: Likewise.
2186 * sysdeps/sh/configure: Likewise.
2187 * sysdeps/powerpc/powerpc64/configure: Likewise.
2188 * sysdeps/powerpc/powerpc32/configure: Likewise.
2189 * sysdeps/sparc/configure: Likwise.
2190 * sysdeps/i386/configure: Likewise.
2192 * elf/dl-open.c: Comment fixes.
2194 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2196 * Makefile [CXX] (check-data): Remove.
2197 [CXX] (c++-types.data): New vpath directive.
2198 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2199 vpath. Do not allow for C++ type data being missing.
2200 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2201 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2202 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2203 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2204 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2205 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2206 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2209 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2212 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2215 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2218 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2221 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2224 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2227 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2230 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2231 definitions to architecture-specific files.
2235 * sysdeps/i386/tls-macros.h: New file.
2236 * sysdeps/powerpc/tls-macros.h: Likewise.
2237 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2238 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2239 * sysdeps/sh/tls-macros.h: Likewise.
2240 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2241 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2242 * sysdeps/x86_64/tls-macros.h: Likewise.
2244 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2246 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2247 zero value for regular exit case.
2249 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2250 (__start_context): Preserve zero value for regular exit case.
2252 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2253 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2255 * manual/setjmp.texi (setcontext): Clarify normal process
2256 termination when uc_link is the null pointer.
2257 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2260 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2262 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2263 preprocessor. Test for each exception mask separately.
2265 2012-07-16 Andreas Jaeger <aj@suse.de>
2267 * po/ru.po: Update from translation team.
2269 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2271 * conform/data/string.h-data (NULL): Use macro-constant. Require
2273 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2274 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2275 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2276 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2277 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2279 2012-07-13 Andreas Jaeger <aj@suse.de>
2281 * po/fr.po: Update from translation team.
2283 2012-07-12 Marek Polacek <polacek@redhat.com>
2286 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2287 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2290 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2293 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2294 Change to 2.4.1 where previously 2.4.0.
2295 * sysdeps/unix/sysv/linux/configure: Regenerated.
2296 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2297 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2299 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2300 (__ASSUME_AT_CLKTCK): Remove.
2301 (__ASSUME_AT_PAGESIZE): Likewise.
2302 (__ASSUME_AT_XID): Likewise.
2303 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2304 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2305 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2307 (HAVE_AUX_PAGESIZE): Likewise.
2308 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2309 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2310 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2312 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2316 the temporary buffer used to invoke __gethostbyname2_r,
2317 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2318 host_data / struct gaih_addrtuple.
2319 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2320 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2321 header file nss/nsswitch.h.
2322 * nss/nsswitch.h (global scope): Add definition of implementation
2323 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2324 resolv/nss_dns/dns-host.c).
2326 2012-07-11 Andreas Jaeger <aj@suse.de>
2328 * po/fr.po: Update from translation team.
2330 * po/sv.po: Update from translation team
2331 * po/fr.po: Another update from translation team.
2333 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2335 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2336 for subnormals or multiply small sinh result by itself.
2337 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2340 2012-07-11 David S. Miller <davem@davemloft.net>
2342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2344 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2347 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2348 (INTERNAL_MARK): Shift it here.
2350 2012-07-10 Marek Polacek <polacek@redhat.com>
2353 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2354 libc_cv_asm_global_directive with .globl.
2355 * configure: Regenerated.
2356 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2358 * sysdeps/i386/configure: Regenerated.
2359 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2361 * sysdeps/x86_64/configure: Regenerated.
2362 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2363 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2364 * elf/tst-unique2mod2.c: Likewise.
2365 * elf/tst-unique2mod1.c: Likewise.
2366 * elf/tst-unique1mod2.c: Likewise.
2367 * elf/tst-unique1mod1.c: Likewise.
2368 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2369 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2370 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2371 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2372 * sysdeps/mach/sysdep.h: Likewise.
2373 * sysdeps/i386/sysdep.h: Likewise.
2374 * sysdeps/i386/i386-mcount.S: Likewise.
2375 * sysdeps/x86_64/_mcount.S: Likewise.
2376 * sysdeps/x86_64/sysdep.h: Likewise.
2377 * sysdeps/sh/_mcount.S: Likewise.
2378 * sysdeps/sh/sysdep.h: Likewise.
2379 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2380 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2381 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2382 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2383 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2384 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2385 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2386 * locale/localeinfo.h: Likewise.
2387 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2388 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2390 2012-07-09 Roland McGrath <roland@hack.frob.com>
2393 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2395 * manual/message.texi (The Uniforum approach): Likewise.
2396 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2397 (glibc iconv Implementation): Likewise.
2399 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2402 * math/s_clog.c (__clog): Avoid scaling a value down where that
2403 could result in underflow.
2404 * math/s_clog10.c (__clog10): Likewise.
2405 * math/s_clog10f.c (__clog10f): Likewise.
2406 * math/s_clog10l.c (__clog10l): Likewise.
2407 * math/s_clogf.c (__clogf): Likewise.
2408 * math/s_clogl.c (__clogl): Likewise.
2409 * math/libm-test.inc (clog_test): Add more tests.
2410 (clog10_test): Likewise.
2411 * sysdeps/i386/fpu/libm-test-ulps: Update.
2412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2414 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2417 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2418 by 7 not 8 to examine high bit of fractional part.
2421 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2422 for call to __mcount_internal.
2423 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2424 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2425 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2427 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2430 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2431 approximation for values within 0x1p-13f of an odd multiple of
2433 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2434 exception. Add more tests.
2435 * sysdeps/i386/fpu/libm-test-ulps: Update.
2438 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2439 inputs and return -1 for them. Do not check for +Inf in case not
2441 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2442 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2443 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2444 and return -1 for them. Do not check for +Inf in case not
2446 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2448 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2449 and return -1 for them. Do not check for +Inf in case not
2451 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2453 * sysdeps/i386/fpu/libm-test-ulps: Update.
2454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2456 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2458 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2460 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2464 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2465 could result in spurious underflow. Scale down values above
2466 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2467 * math/s_csqrtf.c (__csqrtf): Likewise.
2468 * math/s_csqrtl.c (__csqrtl): Likewise.
2469 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2471 * sysdeps/i386/fpu/libm-test-ulps: Update.
2472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2474 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2476 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2478 * catgets/xopen-msg.awk: New file.
2479 * catgets/xopen-msg.sed: Removed.
2481 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2483 * intl/po2test.awk: New file.
2484 * intl/po2test.sed: Removed.
2486 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2489 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2490 or multiply small sinh result by itself.
2491 * math/s_ctanf.c (__ctanf): Likewise.
2492 * math/s_ctanh.c (__ctanh): Likewise.
2493 * math/s_ctanhf.c (__ctanhf): Likewise.
2494 * math/s_ctanhl.c (__ctanhl): Likewise.
2495 * math/s_ctanl.c (__ctanl): Likewise.
2496 * math/libm-test.inc (ctan_test_tonearest): New function.
2497 (ctan_test_towardzero): Likewise.
2498 (ctan_test_downward): Likewise.
2499 (ctan_test_upward): Likewise.
2500 (ctanh_test_tonearest): Likewise.
2501 (ctanh_test_towardzero): Likewise.
2502 (ctanh_test_downward): Likewise.
2503 (ctanh_test_upward): Likewise.
2504 (main): Call these new functions.
2505 * sysdeps/i386/fpu/libm-test-ulps: Update.
2506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2508 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2510 * .gitignore: Delete /ports entry.
2512 2012-07-03 Andreas Jaeger <aj@suse.de>
2514 * po/bg.po: Update from translation team.
2515 * po/cs.po: Likewise.
2516 * po/de.po: Likewise.
2517 * po/hr.po: Likewise.
2518 * po/nl.pl: Likewise.
2519 * po/pl.po: Likewise.
2520 * po/vi.po: Likewise.
2522 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2524 * Makeconfig [!+link] (+link-before-libc): New variable.
2525 [!+link] (+link-after-libc): Likewise.
2526 [!+link] (+link-tests): Likewise.
2527 [!+link] (+link): Define in terms of $(+link-before-libc) and
2528 $(+link-after-libc).
2529 [!+link-static] (+link-static-before-libc): New variable.
2530 [!+link-static] (+link-static-after-libc): Likewise.
2531 [!+link-static] (+link-static-tests): Likewise.
2532 [!+link-static] (+link-static): Define in terms of
2533 $(+link-static-before-libc) and $(+link-static-after-libc).
2534 [build-shared] (link-libc-before-gnulib): New variable.
2535 [build-shared] (link-libc-tests): Likewise.
2536 [build-shared] (link-libc): Define in terms of
2537 $(link-libc-before-gnulib).
2538 [!build-shared] (link-libc-tests): New variable.
2539 (link-libc-static-tests): New variable.
2540 [!gnulib] (gnulib-arch): New variable.
2541 [!gnulib] (gnulib-tests): Likewise.
2542 [!gnulib] (static-gnulib-arch): Likewise.
2543 [!gnulib] (static-gnulib-tests): Likewise.
2544 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2545 Define with "=" instead of ":=".
2546 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2547 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2548 * Rules (binaries-all-notests): New variable.
2549 (binaries-all-tests): Likewise.
2550 (binaries-static-notests): Likewise.
2551 (binaries-static-tests): Likewise.
2552 (binaries-all): Define using $(binaries-all-notests) and
2553 $(binaries-all-tests).
2554 (binaries-static): Define using $(binaries-static-notests) and
2555 $(binaries-static-tests).
2556 (binaries-shared-tests): New variable.
2557 (binaries-shared-notests): Likewise.
2558 (binaries-shared): Remove variable.
2559 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2560 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2561 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2562 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2563 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2564 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2565 * elf/Makefile (sln-modules): New variable.
2566 (extra-objs): Add $(sln-modules:=.o).
2567 (ldconfig-modules): Add static-stubs.
2568 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2569 * elf/static-stubs.c: New file.
2572 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2573 by 7 not 8 to examine high bit of fractional part. Use volatile
2574 variables when splitting into final array of floats if
2575 __FLT_EVAL_METHOD__ != 0.
2576 * math/libm-test.inc (cos_test): Add another test.
2577 (sin_test): Likewise.
2578 * sysdeps/i386/fpu/libm-test-ulps: Update.
2581 * math/libm-test.inc (cosh_test): Add more tests.
2583 * version.h (RELEASE): Set to "development".
2584 (VERSION): Set to "2.16.90".
2586 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2588 * NEWS: Update copyright. Remove last-updated date.
2589 Mention math library bug fixes and timezone data changes.
2590 * README: Mention GNU/Hurd, x32, and HPPA support status.
2592 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2594 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2596 2012-06-27 Andreas Jaeger <aj@suse.de>
2598 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2600 2012-06-25 Andreas Jaeger <aj@suse.de>
2602 * sysdeps/s390/fpu/libm-test-ulps: Update.
2604 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2605 Thomas Schwinge <thomas@codesourcery.com>
2607 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2608 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2609 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2612 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2614 * sysdeps/mach/start.c: Remove file.
2615 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2616 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2617 * sysdeps/sh/init-first.c: Likewise.
2619 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2620 registers for frame unwinding purposes, add CFI directives.
2621 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2622 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2623 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2626 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2627 __fortify_fail returning.
2628 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2630 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2631 sysdeps/sh/____longjmp_chk.S.
2632 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2633 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2634 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2635 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2637 * sysdeps/sh/abort-instr.h: New file.
2638 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2639 process in case exit returns.
2641 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2642 initialize the GOT register before use.
2644 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2645 calculation of ARGC > 4.
2647 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2648 meaningful names to some local labels.
2650 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2651 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2653 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2654 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2655 (__arch_compare_and_exchange_val_16_acq): Likewise.
2656 (__arch_compare_and_exchange_val_32_acq): Likewise.
2657 (atomic_exchange_and_add): Fix gUSA sequence.
2658 (atomic_add): Likewise.
2659 (atomic_add_negative): Likewise.
2660 (atomic_add_zero): Likewise.
2661 (atomic_bit_test_set): Likewise.
2663 2012-06-22 Andreas Schwab <schwab@redhat.com>
2666 * include/link.h (struct link_map): Add l_free_initfini.
2667 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2669 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2670 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2671 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2674 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2676 * configure.in: Use AC_LANG_SOURCE.
2677 * configure: Regenerate.
2679 2012-06-22 Roland McGrath <roland@hack.frob.com>
2681 * configure.in (libc_cv_localstatedir): New substituted variable.
2682 * configure: Regenerated.
2683 * config.make.in (localstatedir): New variable, substituted from
2684 libc_cv_localstatedir.
2685 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2686 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2687 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2688 * sysdeps/gnu/configure: Regenerated.
2690 2012-06-21 Jeff Law <law@redhat.com>
2693 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2694 free. Simplify list management for _LIBC case.
2696 2012-06-21 Joseph Myers <joseph@codesourcery.com>
2699 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2700 Clear sign bit of 64-bit integer value before comparing against
2703 * sysdeps/mach/configure: Regenerated.
2705 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2708 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2710 2012-06-21 Jeff Law <law@redhat.com>
2713 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2714 uint16_t for elements in the "seen" array to avoid char overflows.
2715 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2716 * elf/dl-open.c (dl_open_worker): Likewise.
2718 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2720 * scripts/list-sources.sh: Scan PORTS for translations.
2721 * po/libc.pot: Regenerated.
2723 2012-06-21 Andreas Jaeger <aj@suse.de>
2726 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2728 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2729 * bits/byteswap-16.h (__bswap_16): Likewise.
2730 * bits/byteswap.h (__bswap_constant_16): Likewise.
2732 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2735 * sysdeps/i386/fpu_control.h: Removed.
2736 * sysdeps/x86_64/fpu_control.h: Moved to ...
2737 * sysdeps/x86/fpu_control.h: Here.
2739 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2740 (_FPU_SETCW): Likewise.
2742 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2745 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2746 * sysdeps/x86/fpu/bits/mathinline.h: This.
2747 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2751 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2752 functions if __x86_64__ is defined.
2754 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2756 * string/endian.h: Add !__ASSEMBLER__ condition for including
2757 conversion interfaces.
2759 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2762 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2763 of ABS(x) in calculating zero to negative powers other than odd
2765 * math/libm-test.inc (pow_test): Add more tests.
2767 2012-06-15 Andreas Jaeger <aj@suse.de>
2769 * manual/contrib.texi (Contributors): Update entry of Liubov
2770 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2773 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2775 * string/string.h: Add __wur to GNU version of strerror_r.
2777 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2780 * string/Makefile (tests): Add tst-strtok_r.
2781 * string/tst-strtok_r.c: New file.
2782 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2783 RAX_LP/RDX_LP on SAVE_PTR.
2785 2012-06-14 Roland McGrath <roland@hack.frob.com>
2787 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2789 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2791 * libm_test.inc (csqrt_test): Allow more spurious underflow
2793 (j0_test): Likewise.
2794 (j1_test): Likewise.
2795 (y0_test): Likewise.
2796 (y1_test): Likewise.
2798 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2800 * po/Makefile (libc.pot): Use UTF-8 charset.
2802 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2805 Suppress sign-conversion warning from FD_SET.
2806 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2807 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2808 not unsigned long int.
2809 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2811 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2815 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2816 __extern_always_inline instead of __extern_inline.
2817 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2818 (__signbit): Likewise.
2819 (__signbitl): Support C++ namespace.
2820 (lrintf): New inline function.
2822 (llrintf): Likewise.
2834 (nearbyint): Likewise.
2835 (nearbyintf): Likewise.
2837 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2839 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2840 non-default versions.
2842 2012-06-11 Roland McGrath <roland@hack.frob.com>
2845 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2847 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2849 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2850 (FE_UPWARD, FE_DOWNWARD): Don't define.
2851 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2852 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2854 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2856 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2857 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2859 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2861 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2862 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2863 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2864 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2866 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2869 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2870 * sysdeps/i386/fpu/Implies: New file.
2871 * sysdeps/x86_64/fpu/Implies: Likewise.
2872 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2873 * sysdeps/x86/fpu/bits/fenv.h: This.
2875 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2878 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2881 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2882 character 0xffff that matches the last element of the
2885 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2887 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2890 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2892 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2893 values higher than 25.6283.
2895 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2897 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2898 subnormal exponent extraction and add some __builtin_expect.
2899 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2900 Fix for subnormal mantissa calculation.
2902 2012-06-04 Mike Frysinger <vapier@gentoo.org>
2904 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2905 cpu2 is -1 and errno is not ENOSYS.
2907 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2910 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2911 * sysdeps/x86/bits/string.h: This.
2912 * sysdeps/x86_64/bits/string.h: Removed.
2914 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2915 if not compiling for x86-64, but compiling for >= i486.
2917 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2918 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2920 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2921 New macro from Linux kernel 3.4.0.
2922 (FP_XSTATE_MAGIC2): Likewise.
2923 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2924 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2925 (struct _fpx_sw_bytes): New struct.
2926 (struct _xsave_hdr): Likewise.
2927 (struct _ymmh_state): Likewise.
2928 (struct _xstate): Likewise.
2930 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2931 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2932 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2933 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2934 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2935 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2937 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2938 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2939 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2940 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2941 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2942 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2944 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2947 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2948 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2949 (sysdep_headers): Include sys/platform/ppc.h.
2950 * sysdeps/powerpc/test-gettimebase.c: Test for
2951 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2952 * manual/Makefile (appendices): Include platform.texi.
2953 * manual/contrib.texi (Contributors): Update @node pointers.
2954 * manual/maint.texi (Maintenance): Likewise.
2955 (Platform): New node.
2956 * manual/platform.texi: New file. Document the new features.
2958 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2959 Jakub Jelinek <jakub@redhat.com>
2962 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2963 where __builtin_expect is unavailable.
2965 2012-06-03 David S. Miller <davem@davemloft.net>
2967 * stdlib/longlong.h: Updated from GCC.
2969 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2972 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2973 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2976 (GLIBC_2.16): Likewise.
2978 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2980 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2982 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2985 (default-abi): New variable.
2986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2987 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2989 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2991 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2993 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2996 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2997 definition. Document in comment.
2999 2012-06-01 David S. Miller <davem@davemloft.net>
3001 * stdlib/longlong.h: Updated from GCC.
3003 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3006 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3007 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3008 sys/debugreg.h sys/io.h here.
3009 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3010 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3012 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3013 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3014 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3015 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3016 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3017 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3019 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3020 Define only if __x86_64__ is defined.
3022 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3025 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3026 Use int64_t for variable i.
3027 * math/libm-test.inc (fmod_test): Add more tests.
3029 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3030 z computation is not scheduled after fetestexcept.
3031 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3032 Use math_force_eval instead of asm to ensure calculation scheduled
3033 before exception test.
3034 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3035 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3037 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3040 computation is not scheduled after fetestexcept.
3042 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3045 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3046 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3048 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3050 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3051 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3053 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3056 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3058 (__WCHAR_MIN): Support __WORDSIZE == 64.
3059 (__WCHAR_MAX): Likewise.
3061 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3062 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3065 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3066 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3069 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3070 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3072 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3073 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3075 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3076 Defined to 1 if __x86_64__ isn't defined.
3077 (_STAT_VER_LINUX_OLD): New.
3078 (st_atime): Remove duplicate.
3079 (st_mtime): Likewise.
3080 (st_ctime): Likewise.
3082 2012-05-31 David S. Miller <davem@davemloft.net>
3084 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3087 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3089 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3093 * elf/dl-reloc.c: Include <_itoa.h>.
3094 (_dl_reloc_bad_type): Remove use of INTUSE.
3095 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3096 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3097 * stdio-common/psiginfo.c (psiginfo): Likewise.
3098 * stdio-common/psignal.c (psignal): Likewise.
3099 * string/strsignal.c (strsignal): Likewise.
3100 * include/signal.h (_sys_siglist): Declare hidden proto.
3101 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3102 INTVARDEF with libc_hidden_data_def.
3103 * stdio-common/itoa-udigits.c: Likewise.
3104 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3105 (_itoa_lower_digits_internal): Remove declaration.
3106 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3107 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3108 (_sys_sigabbrev_internal): Remove aliases.
3109 (_sys_siglist): Define hidden alias.
3111 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3116 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3119 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3120 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3122 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3123 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3124 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3125 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3126 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3127 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3129 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3130 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3131 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3133 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3141 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3142 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3143 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3145 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3146 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3147 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3148 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3149 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3150 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3152 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3153 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3155 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3156 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3158 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3159 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3160 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3162 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3163 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3165 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3167 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3168 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3169 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3171 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3173 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3175 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3177 * math/math.h (M_El): Use two more decimal places.
3178 (M_LOG2El): Likewise.
3179 (M_LOG10El): Likewise.
3181 (M_LN10l): Likewise.
3183 (M_PI_2l): Likewise.
3184 (M_PI_4l): Likewise.
3185 (M_1_PIl): Likewise.
3186 (M_2_PIl): Likewise.
3187 (M_2_SQRTPIl): Likewise.
3188 (M_SQRT2l): Likewise.
3189 (M_SQRT1_2l): Likewise.
3191 2012-05-31 David S. Miller <davem@davemloft.net>
3193 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3194 values between float registers.
3195 * sysdeps/sparc/sparc64/memset.S: Likewise.
3196 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3198 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3200 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3201 -D_FORTIFY_SOURCE=1.
3202 (CPPFLAGS-tst-longjmp_chk.c): Define.
3203 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3204 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3205 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3206 CFLAGS-tst-wchar-h.c.
3208 2012-05-31 Marek Polacek <polacek@redhat.com>
3211 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3212 __endmntent_internal): Remove declaration.
3213 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3214 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3215 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3217 2012-05-30 David S. Miller <davem@davemloft.net>
3219 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3220 (___Q_simulate_exceptions): Use real FP ops rather than writing
3222 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3225 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3228 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3229 * sysdeps/x86/bits/xtitypes.h: This.
3231 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3232 * sysdeps/x86/bits/wordsize.h: This.
3234 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3235 * sysdeps/x86/bits/huge_vall.h: This.
3237 * sysdeps/i386/bits/select.h: Removed.
3238 * sysdeps/x86_64/bits/select.h: Renamed to ...
3239 * sysdeps/x86/bits/select.h: This.
3241 * sysdeps/i386/bits/setjmp.h: Removed.
3242 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3243 * sysdeps/x86/bits/setjmp.h: This.
3245 * sysdeps/i386/bits/mathdef.h: Removed.
3246 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3247 * sysdeps/x86/bits/mathdef.h: This.
3249 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3252 * include/sys/socket.h (__connect_internal)
3253 (__libc_sa_len_internal): Remove declaration.
3254 (__connect, __libc_sa_len): Declare hidden_proto.
3255 (SA_LEN): Remove use of INTUSE.
3256 * socket/connect.c: Add libc_hidden_def.
3257 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3258 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3259 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3261 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3262 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3263 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3264 of adding _internal alias.
3266 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3269 * sysdeps/i386/bits/link.h: Removed.
3270 * sysdeps/i386/bits/linkmap.h: Likewise.
3271 * sysdeps/x86_64/bits/link.h: Renamed to ...
3272 * sysdeps/x86/bits/link.h: This.
3273 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3274 * sysdeps/x86/bits/linkmap.h: This.
3276 * sysdeps/i386/bits/endian.h: Removed.
3277 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3278 * sysdeps/x86/bits/endian.h: This.
3280 * sysdeps/i386/bits/byteswap.h: Removed.
3281 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3282 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3283 * sysdeps/x86/bits/byteswap.h: This.
3284 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3285 * sysdeps/x86/bits/byteswap-16.h: This.
3286 * sysdeps/i386/Implies: Add x86.
3287 * sysdeps/x86_64/Implies: Likewise.
3289 2012-05-30 David S. Miller <davem@davemloft.net>
3291 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3292 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3293 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3294 (FP_TRAPPING_EXCEPTIONS): Define.
3295 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3296 (FP_TRAPPING_EXCEPTIONS): Define.
3297 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3298 subnormals only when inexact has been signalled or underflow
3299 exceptions are enabled.
3300 (_FP_PACK_CANONICAL): Likewise.
3302 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3305 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3306 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3308 2012-05-30 Richard Henderson <rth@twiddle.net>
3310 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3311 with #ifndef NOT_IN_libc.
3313 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3314 marked to avoid plt entry.
3316 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3319 * Makeconfig (default-abi): New macro.
3320 (abi-includes): Likewise.
3321 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3322 $(abi-$(default-abi)-lib-soname) for soname if defined.
3323 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3325 * Makefile (installed-stubs): Likewise.
3326 * include/stubs-biarch.h: Removed.
3327 * scripts/lib-names.awk: Only handle one library at a time.
3328 * scripts/soversions.awk: Remove WORDSIZE support.
3329 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3331 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3333 (syscall-list-default-condition): Likewise.
3334 (syscall-list-default-condition): Likewise.
3335 (syscall-list-includes): Likewise.
3336 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3337 syscall-list-* with abi-*. Handle undefined abi-variants.
3338 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3339 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3340 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3341 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3342 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3343 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3345 (syscall-list-32-options): Likewise.
3346 (syscall-list-32-condition): Likewise.
3347 (syscall-list-64-options): Likewise.
3348 (syscall-list-64-condition): Likewise.
3349 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3351 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3354 (abi-64-ld-soname): New macro.
3355 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3356 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3359 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3360 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3362 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3364 * sysdeps/unix/sysv/linux/kernel-features.h
3365 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3366 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3367 include <kernel-features.h>.
3368 [!__NR_ftruncate64]: Remove conditional code.
3369 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3370 [__NR_ftruncate64]: Make code unconditional.
3371 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3372 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3373 include <kernel-features.h>.
3374 [!__NR_ftruncate64]: Remove conditional code.
3375 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3376 [__NR_ftruncate64]: Make code unconditional.
3377 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3379 include <kernel-features.h>.
3380 [!__NR_ftruncate64]: Remove conditional code.
3381 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3382 [__NR_ftruncate64]: Make code unconditional.
3383 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3385 include <kernel-features.h>.
3386 [!__NR_ftruncate64]: Remove conditional code.
3387 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3388 [__NR_ftruncate64]: Make code unconditional.
3389 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3391 * configure.in (libc_cv_fpie): Weaken to a compile test using
3393 * configure: Regenerated.
3395 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3410 2012-05-27 David S. Miller <davem@davemloft.net>
3412 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3414 (__Q_simulate_exceptions): Return void. Change to simulate
3415 exceptions by writing into the %fsr.
3416 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3417 (__Qp_handle_exceptions): Likewise.
3419 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3420 __Qp_handle_exceptions.
3421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3422 __Qp_handle_exceptions.
3423 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3424 as unused and give dummy FP_RND_NEAREST initializer.
3425 (FP_INHIBIT_RESULTS): Define.
3426 (___Q_simulate_exceptions): Update declaration.
3427 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3429 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3430 as unused and give dummy FP_RND_NEAREST initializer.
3431 (__Qp_handle_exceptions): Update declaration.
3432 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3435 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3437 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3438 the temporary FPU control word.
3439 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3440 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3441 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3442 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3443 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3444 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3445 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3446 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3447 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3448 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3449 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3451 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3453 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3456 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3458 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3459 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3460 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3461 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3463 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3464 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3467 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3469 * po/h.po: Update from translation team.
3471 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3473 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3475 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3476 handling of denormals.
3477 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3478 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3479 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3480 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3481 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3482 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3483 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3486 2012-05-26 Marek Polacek <polacek@redhat.com>
3489 * math/libm-test.inc (fma_test): Don't always expect underflow
3492 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3495 * elf/tst-execstack.c: Include stackinfo.h.
3496 (do_test): Adjust test case to ensure that pthread_getattr_np
3497 behaviour remains the same after marking stack executable.
3499 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3501 * sysdeps/unix/sysv/linux/kernel-features.h
3502 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3503 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3505 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3506 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3507 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3509 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3510 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3512 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3514 * configure.in: Define the default includes to being none.
3515 * configure: Regenerated.
3517 2012-05-25 Roland McGrath <roland@hack.frob.com>
3519 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3520 * sysdeps/x86_64/setjmp.S: Likewise.
3521 * sysdeps/i386/bsd-setjmp.S: Likewise.
3522 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3523 * sysdeps/i386/setjmp.S: Likewise.
3524 * sysdeps/i386/__longjmp.S: Likewise.
3525 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3526 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3528 * include/stap-probe.h: New file.
3529 * configure.in: Handle --enable-systemtap.
3530 * configure: Regenerated.
3531 * config.h.in (USE_STAP_PROBE): New #undef.
3532 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3533 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3534 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3536 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3539 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3540 to 2.4.0 where earlier.
3541 * sysdeps/unix/sysv/linux/configure: Regenerated.
3542 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3543 <kernel-features.h>.
3544 [__ASSUME_32BITUIDS]: Make code unconditional.
3545 [!__ASSUME_32BITUIDS]: Remove conditional code.
3546 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3547 <kernel-features.h>.
3548 [__ASSUME_32BITUIDS]: Make code unconditional.
3549 [!__ASSUME_32BITUIDS]: Remove conditional code.
3550 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3551 [__ASSUME_32BITUIDS]: Make code unconditional.
3552 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3553 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3554 <kernel-features.h>.
3555 [__ASSUME_32BITUIDS]: Make code unconditional.
3556 [!__ASSUME_32BITUIDS]: Remove conditional code.
3557 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3558 <kernel-features.h>.
3559 [__ASSUME_32BITUIDS]: Make code unconditional.
3560 [!__ASSUME_32BITUIDS]: Remove conditional code.
3561 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3562 <kernel-features.h>.
3563 [__ASSUME_32BITUIDS]: Make code unconditional.
3564 [!__ASSUME_32BITUIDS]: Remove conditional code.
3565 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3566 <kernel-features.h>.
3567 [__ASSUME_32BITUIDS]: Make code unconditional.
3568 [!__ASSUME_32BITUIDS]: Remove conditional code.
3569 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3570 <kernel-features.h>.
3571 [__ASSUME_32BITUIDS]: Make code unconditional.
3572 [!__ASSUME_32BITUIDS]: Remove conditional code.
3573 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3574 <kernel-features.h>.
3575 [__ASSUME_32BITUIDS]: Make code unconditional.
3576 [!__ASSUME_32BITUIDS]: Remove conditional code.
3577 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3578 <kernel-features.h>.
3579 [__ASSUME_32BITUIDS]: Make code unconditional.
3580 [!__ASSUME_32BITUIDS]: Remove conditional code.
3581 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3582 <kernel-features.h>.
3583 [__ASSUME_32BITUIDS]: Make code unconditional.
3584 [!__ASSUME_32BITUIDS]: Remove conditional code.
3585 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3586 <kernel-features.h>.
3587 [__ASSUME_32BITUIDS]: Make code unconditional.
3588 [!__ASSUME_32BITUIDS]: Remove conditional code.
3589 * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
3594 <kernel-features.h>.
3595 [__NR_setresgid] (__setresgid): Do not declare.
3596 [__ASSUME_32BITUIDS]: Make code unconditional.
3597 [!__ASSUME_32BITUIDS]: Remove conditional code.
3598 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3599 <kernel-features.h>.
3600 [__NR_setresuid] (__setresuid): Do not declare.
3601 [__ASSUME_32BITUIDS]: Make code unconditional.
3602 [!__ASSUME_32BITUIDS]: Remove conditional code.
3603 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3604 <kernel-features.h>.
3605 [__ASSUME_32BITUIDS]: Make code unconditional.
3606 [!__ASSUME_32BITUIDS]: Remove conditional code.
3607 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3608 <kernel-features.h>.
3609 [__ASSUME_32BITUIDS]: Make code unconditional.
3610 [!__ASSUME_32BITUIDS]: Remove conditional code.
3611 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3612 <kernel-features.h>.
3613 [__ASSUME_32BITUIDS]: Make code unconditional.
3614 [!__ASSUME_32BITUIDS]: Remove conditional code.
3615 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3616 <kernel-features.h>.
3617 [__ASSUME_32BITUIDS]: Make code unconditional.
3618 [!__ASSUME_32BITUIDS]: Remove conditional code.
3619 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3620 <kernel-features.h>.
3621 [__ASSUME_32BITUIDS]: Make code unconditional.
3622 [!__ASSUME_32BITUIDS]: Remove conditional code.
3623 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3624 <kernel-features.h>.
3625 [__ASSUME_32BITUIDS]: Make code unconditional.
3626 [!__ASSUME_32BITUIDS]: Remove conditional code.
3627 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3628 <kernel-features.h>.
3629 [__ASSUME_32BITUIDS]: Make code unconditional.
3630 [!__ASSUME_32BITUIDS]: Remove conditional code.
3631 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3632 <kernel-features.h>.
3633 [__ASSUME_32BITUIDS]: Make code unconditional.
3634 [!__ASSUME_32BITUIDS]: Remove conditional code.
3635 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3636 <kernel-features.h>.
3637 [__ASSUME_32BITUIDS]: Make code unconditional.
3638 [!__ASSUME_32BITUIDS]: Remove conditional code.
3639 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3640 <kernel-features.h>.
3641 [__ASSUME_32BITUIDS]: Make code unconditional.
3642 [!__ASSUME_32BITUIDS]: Remove conditional code.
3643 * sysdeps/unix/sysv/linux/kernel-features.h
3644 (__ASSUME_SETRESUID_SYSCALL): Remove.
3645 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3646 (__ASSUME_32BITUIDS): Likewise.
3647 (__ASSUME_LDT_WORKS): Likewise.
3648 (__ASSUME_O_DIRECTORY): Likewise.
3649 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3650 architecture but not kernel version.
3651 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3652 (__ASSUME_MMAP2_SYSCALL): Likewise.
3653 (__ASSUME_STAT64_SYSCALL): Likewise.
3654 (__ASSUME_IPC64): Likewise.
3655 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3656 <kernel-features.h>.
3657 [__ASSUME_32BITUIDS]: Make code unconditional.
3658 [!__ASSUME_32BITUIDS]: Remove conditional code.
3659 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3660 <kernel-features.h>.
3661 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3662 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3663 132096]: Remove conditional code.
3664 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3665 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3666 <kernel-features.h>.
3667 [__ASSUME_32BITUIDS]: Make code unconditional.
3668 [!__ASSUME_32BITUIDS]: Remove conditional code.
3669 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3670 <kernel-features.h>.
3671 [__ASSUME_32BITUIDS]: Make code unconditional.
3672 [!__ASSUME_32BITUIDS]: Remove conditional code.
3673 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3674 <kernel-features.h>.
3675 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3677 (__setresgid): Do not declare.
3678 [__ASSUME_32BITUIDS]: Make code unconditional.
3679 [!__ASSUME_32BITUIDS]: Remove conditional code.
3680 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3681 <kernel-features.h>.
3682 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3684 (__setresuid): Do not declare.
3685 [__ASSUME_32BITUIDS]: Make code unconditional.
3686 [!__ASSUME_32BITUIDS]: Remove conditional code.
3687 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3688 <kernel-features.h>.
3689 [__ASSUME_32BITUIDS]: Make code unconditional.
3690 [!__ASSUME_32BITUIDS]: Remove conditional code.
3691 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3692 <kernel-features.h>.
3693 [__ASSUME_32BITUIDS]: Make code unconditional.
3694 [!__ASSUME_32BITUIDS]: Remove conditional code.
3696 2012-05-25 Richard Henderson <rth@twiddle.net>
3698 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3699 dl_hwcap to ifunc resolver.
3700 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3702 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3703 dl_hwcap to ifunc resolver.
3704 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3706 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3709 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3710 for |x| <= 2**-26, not 2**-57.
3711 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3714 2012-05-24 Jeff Law <law@redhat.com>
3716 * stdio-common/Makefile (tests): Add bug25.
3717 * stdio-common/bug25.c: New test.
3719 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3722 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3723 multiple of MALLOC_ALIGNMENT in size.
3724 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3726 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3728 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3730 (FILENAME_MAX): Use macro-int-constant.
3731 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3732 (_IOFBF): Use macro-int-constant.
3735 (SEEK_CUR): Likewise.
3736 (SEEK_END): Likewise.
3737 (SEEK_SET): Likewise.
3738 (TMP_MAX): Likewise.
3739 (EOF): Use macro-int-constant. Require < 0.
3740 (NULL): Use macro-constant. Require == 0.
3741 (stdin): Require type to be FILE *.
3744 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3746 (EXIT_SUCCESS): Likewise.
3747 (NULL): Use macro-constant. Require == 0.
3748 (RAND_MAX): Use macro-int-constant.
3749 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3750 [C99-based standards] (strtof): Require function.
3751 [C99-based standards] (strtold): Likewise.
3752 [C99-based standards] (strtoll): Likewise.
3753 [C99-based standards] (strtoull): Likewise.
3754 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3755 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3756 [ISO || ISO99 || ISO11] (math.h): Likewise.
3757 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3758 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3759 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3761 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3764 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3765 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3766 * intl/dgettext.c (DCGETTEXT): Likewise.
3767 * intl/gettext.c (DCGETTEXT): Likewise.
3768 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3769 * posix/regex_internal.h (gettext): Likewise.
3770 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3772 * include/argz.h (__argz_count_internal)
3773 (__argz_stringify_internal): Remove declaration.
3774 (__argz_count, __argz_stringify): Declare hidden proto.
3775 * intl/dcgettext.c: Remove use of INTDEF.
3776 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3777 * string/argz-stringify.c: Likewise.
3778 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3779 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3780 Declare hidden proto.
3781 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3782 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3783 Declare hidden proto.
3784 * include/stdio.h (__asprintf_internal): Don't declare.
3785 (__asprintf): Don't define as macro. Declare hidden proto.
3786 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3787 (__fsetlocking): Declare hidden proto.
3788 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3789 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3791 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3792 (_IO_setlinebuf): Remove use of INTUSE.
3793 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3794 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3795 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3797 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3798 (_IO_do_flush): Remove use of INTUSE.
3799 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3800 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3801 (_IO_adjust_column, _IO_least_wmarker)
3802 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3803 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3804 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3805 (_IO_default_doallocate, _IO_wdefault_doallocate)
3806 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3807 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3808 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3809 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3810 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3811 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3812 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3813 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3814 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3815 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3816 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3817 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3818 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3820 (_IO_flush_all_internal, _IO_adjust_column_internal)
3821 (_IO_default_uflow_internal, _IO_default_finish_internal)
3822 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3823 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3824 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3825 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3826 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3827 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3828 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3829 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3830 (_IO_file_close_internal, _IO_file_close_it_internal)
3831 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3832 (_IO_file_init_internal, _IO_file_attach_internal)
3833 (_IO_file_fopen_internal, _IO_file_read_internal)
3834 (_IO_file_sync_internal, _IO_file_seek_internal)
3835 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3836 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3837 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3838 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3839 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3840 (_IO_list_all_internal, _IO_link_in_internal)
3841 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3842 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3843 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3844 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3845 (_IO_do_write_internal, _IO_padn_internal)
3846 (_IO_getline_info_internal, _IO_getline_internal)
3847 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3848 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3849 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3850 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3851 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3852 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3853 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3854 with libc_hidden_ver, remove use of INTUSE.
3855 * libio/genops.c: Likewise.
3856 * libio/freopen.c: Likewise.
3857 * libio/freopen64.c: Likewise.
3858 * libio/iofclose.c: Likewise.
3859 * libio/iofdopen.c: Likewise.
3860 * libio/iofflush.c: Likewise.
3861 * libio/iofflush_u.c: Likewise.
3862 * libio/iofgets.c: Likewise.
3863 * libio/iofgets_u.c: Likewise.
3864 * libio/iofopen.c: Likewise.
3865 * libio/iofopncook.c: Likewise.
3866 * libio/iofread.c: Likewise.
3867 * libio/iofread_u.c: Likewise.
3868 * libio/ioftell.c: Likewise.
3869 * libio/iofwrite.c: Likewise.
3870 * libio/iogetline.c: Likewise.
3871 * libio/iogets.c: Likewise.
3872 * libio/iogetwline.c: Likewise.
3873 * libio/iopadn.c: Likewise.
3874 * libio/iopopen.c: Likewise.
3875 * libio/ioseekoff.c: Likewise.
3876 * libio/ioseekpos.c: Likewise.
3877 * libio/iosetbuffer.c: Likewise.
3878 * libio/iosetvbuf.c: Likewise.
3879 * libio/ioungetc.c: Likewise.
3880 * libio/ioungetwc.c: Likewise.
3881 * libio/iovdprintf.c: Likewise.
3882 * libio/iovsprintf.c: Likewise.
3883 * libio/iovsscanf.c: Likewise.
3884 * libio/memstream.c: Likewise.
3885 * libio/obprintf.c: Likewise.
3886 * libio/oldfileops.c: Likewise.
3887 * libio/oldiofclose.c: Likewise.
3888 * libio/oldiofdopen.c: Likewise.
3889 * libio/oldiofopen.c: Likewise.
3890 * libio/oldiopopen.c: Likewise.
3891 * libio/oldstdfiles.c: Likewise.
3892 * libio/putc.c: Likewise.
3893 * libio/setbuf.c: Likewise.
3894 * libio/setlinebuf.c: Likewise.
3895 * libio/stdfiles.c: Likewise.
3896 * libio/strops.c: Likewise.
3897 * libio/vasprintf.c: Likewise.
3898 * libio/vscanf.c: Likewise.
3899 * libio/vsnprintf.c: Likewise.
3900 * libio/vswprintf.c: Likewise.
3901 * libio/wfiledoalloc.c: Likewise.
3902 * libio/wfileops.c: Likewise.
3903 * libio/wgenops.c: Likewise.
3904 * libio/wmemstream.c: Likewise.
3905 * libio/wstrops.c: Likewise.
3906 * libio/__fpurge.c: Likewise.
3907 * libio/__fsetlocking.c: Likewise.
3908 * assert/assert.c: Likewise.
3909 * debug/fgets_chk.c: Likewise.
3910 * debug/fgets_u_chk.c: Likewise.
3911 * debug/fread_chk.c: Likewise.
3912 * debug/fread_u_chk.c: Likewise.
3913 * debug/gets_chk.c: Likewise.
3914 * debug/obprintf_chk.c: Likewise.
3915 * debug/vasprintf_chk.c: Likewise.
3916 * debug/vdprintf_chk.c: Likewise.
3917 * debug/vsnprintf_chk.c: Likewise.
3918 * debug/vsprintf_chk.c: Likewise.
3919 * malloc/mtrace.c: Likewise.
3920 * misc/error.c: Likewise.
3921 * misc/syslog.c: Likewise.
3922 * stdio-common/asprintf.c: Likewise.
3923 * stdio-common/fxprintf.c: Likewise.
3924 * stdio-common/getw.c: Likewise.
3925 * stdio-common/isoc99_fscanf.c: Likewise.
3926 * stdio-common/isoc99_scanf.c: Likewise.
3927 * stdio-common/isoc99_vfscanf.c: Likewise.
3928 * stdio-common/isoc99_vscanf.c: Likewise.
3929 * stdio-common/isoc99_vsscanf.c: Likewise.
3930 * stdio-common/printf-prs.c: Likewise.
3931 * stdio-common/printf_fp.c: Likewise.
3932 * stdio-common/printf_fphex.c: Likewise.
3933 * stdio-common/printf_size.c: Likewise.
3934 * stdio-common/putw.c: Likewise.
3935 * stdio-common/scanf.c: Likewise.
3936 * stdio-common/sprintf.c: Likewise.
3937 * stdio-common/tmpfile.c: Likewise.
3938 * stdio-common/vfprintf.c: Likewise.
3939 * stdio-common/vfscanf.c: Likewise.
3940 * stdlib/strfmon_l.c: Likewise.
3941 * sunrpc/openchild.c: Likewise.
3942 * sunrpc/xdr_stdio.c: Likewise.
3943 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3944 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3946 2012-05-24 Roland McGrath <roland@hack.frob.com>
3948 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3950 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3951 in the third column, to generate for the shared library an IFUNC
3952 that uses _dl_vdso_vsym.
3953 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3954 * Makeconfig (object-suffixes-noshared): New variable.
3956 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3957 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3958 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3959 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3962 * include/sys/time.h (__gettimeofday): Remove macro.
3963 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3964 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3966 (__gettimeofday): Add libc_hidden_def.
3967 (gettimeofday): Add libc_hidden_weak.
3968 * sysdeps/mach/gettimeofday.c: Likewise.
3969 * sysdeps/posix/gettimeofday.c: Likewise.
3970 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3971 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3972 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3973 (__gettimeofday_internal): Remove strong_alias.
3974 (__gettimeofday): Add libc_hidden_def.
3975 (gettimeofday): Add libc_hidden_weak.
3976 * sysdeps/unix/syscalls.list (gettimeofday):
3977 Remove __gettimeofday_internal alias.
3979 2012-05-24 Daniel Jacobowitz <drow@false.org>
3980 H.J. Lu <hongjiu.lu@intel.com>
3983 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3984 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3985 (largebin_index_32_big): New.
3986 (largebin_index): Use it for 16-byte alignment.
3987 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3988 correction with front_misalign.
3990 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4018 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4019 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4021 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4025 * math/libm-test.inc (exp_test): Add test from bug 14036.
4026 (pow_test): Add test from bug 10846.
4028 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4030 (special_function): Do not include flags in test name.
4031 (parse_args): Likewise.
4032 * sysdeps/i386/fpu/libm-test-ulps: Update.
4033 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4034 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4035 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4038 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4040 * math/libm-test.inc ("Philosophy"): Update comment about
4042 (UNDERFLOW_EXCEPTION): New macro.
4043 (UNDERFLOW_EXCEPTION_OK): Likewise.
4044 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4045 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4046 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4047 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4048 (INVALID_EXCEPTION_OK): Update value.
4049 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4050 (OVERFLOW_EXCEPTION_OK): Likewise.
4051 (IGNORE_ZERO_INF_SIGN): Likewise.
4052 (test_exceptions): Handle underflow exceptions.
4053 (acos_test): Update for underflow exception expectations.
4054 (cexp_test): Likewise.
4055 (clog_test): Likewise.
4056 (clog10_test): Likewise.
4057 (csqrt_test): Likewise.
4058 (ctan_test): Likewise.
4059 (ctanh_test): Likewise.
4060 (exp_test): Likewise.
4061 (exp10_test): Likewise.
4062 (exp2_test): Likewise.
4063 (expm1_test): Likewise.
4064 (fma_test): Likewise.
4065 (j0_test): Likewise.
4066 (jn_test): Likewise.
4067 (nexttoward_test): Likewise.
4068 (pow_test): Likewise.
4069 (scalbn_test): Likewise.
4070 (scalbln_test): Likewise.
4071 (tan_test): Likewise.
4072 (y1_test): Likewise.
4073 * sysdeps/i386/fpu/libm-test-ulps: Update.
4074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4076 2012-05-23 David S. Miller <davem@davemloft.net>
4078 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4079 (__libc_sigaction): Remove unused local variables.
4081 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4083 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4085 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4087 mktime: avoid signed integer overflow
4088 * time/mktime.c (__mktime_internal): Do not mishandle the case
4089 where diff == INT_MIN.
4091 mktime: simplify computation of average
4092 * time/mktime.c (ranged_convert): Use new time_t_avg function
4093 instead of rolling our own (probably-slower) code.
4095 mktime: do not assume signed right shift propagates sign bit
4096 * time/mktime.c (isdst_differ): New static function.
4097 (__mktime_internal): No need to normalize tm_isdst now.
4098 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4101 mktime: merge another wrapv change from gnulib
4102 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4103 from some compilers.
4105 mktime: remove incorrect attempt at unusual arithmetics
4106 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4107 The code didn't really work on such machines anyway.
4108 (TYPE_MINIMUM): Assume two's complement.
4109 (twos_complement_arithmetic): Verify that long_int and time_t
4110 are two's complement (or unsigned, in the latter case).
4112 mktime: check signed shifts on long_int and time_t, too
4113 * time/mktime.c (SHR): Check that shifts work as desired
4114 on the types long_int and time_t too, as SHR is used on
4117 mktime: do not assume 'long' is wide enough
4118 * time/mktime.c (verify): Move decl up.
4119 (long_int): New type.
4120 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4121 to remove assumption in the code that 'long' is wide enough to
4122 store year values. This assumption is not true on x32 and on
4123 some non-glibc platforms.
4125 mktime: merge wrapv change from gnulib
4126 * time/mktime.c (WRAPV): New macro.
4127 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4128 (guess_time_tm, __mktime_internal): Do not assume that signed
4129 integer overflow wraps around; modern compilers generate code
4130 where this assumption is no longer valid.
4132 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4134 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4135 Replace "jmp L(pseudo_end)" with "ret".
4136 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4139 2012-05-23 Andreas Jaeger <aj@suse.de>
4141 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4142 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4144 2012-05-23 Andreas Jaeger <aj@suse.de>
4145 Maximilian Attems <max@stro.at>
4147 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4150 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4152 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4153 code so that pseudo_end is just ret and the stack pointer is
4154 correct also for static library in error case.
4156 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4158 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4159 move to syscalls.list.
4160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4165 * manual/install.texi (Running make install): Do not mention Linux
4166 kernel version for which pt_chown is not needed.
4167 (Linux): Do not mention problems with nscd with 2.0 kernels.
4168 * INSTALL: Regenerated.
4170 2012-05-23 Andreas Jaeger <aj@suse.de>
4172 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4173 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4175 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4176 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4177 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4178 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4179 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4180 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4181 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4182 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4183 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4184 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4185 * sysdeps/unix/sysv/linux/bits/in.h
4186 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4188 2012-05-22 Roland McGrath <roland@hack.frob.com>
4190 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4191 (PREPARE_VERSION): Just use assert instead, it will be elided
4192 under [NDEBUG] anyway.
4194 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4196 * sysdeps/unix/sysv/linux/Makefile: Include
4197 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4198 (sysdep_routines): Remove sysctl.
4199 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4200 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4201 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4202 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4203 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4205 2012-05-22 Andreas Jaeger <aj@suse.de>
4207 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4208 that pseudo_end is just ret and the stack pointer is correct also
4209 for static library in error case.
4211 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4214 * nss/nsswitch.c (defconfig_entries): New variable.
4215 (__nss_database_lookup): Don't leak defconfig entries.
4216 (nss_parse_service_list): Don't leak on error paths.
4217 (free_database_entries): New function.
4218 (free_defconfig): New function.
4219 (free_mem): Move common code to free_database_entries.
4221 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4223 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4225 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4227 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4228 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4229 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4231 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4232 (INTERNAL_SYSCALL_TYPES): Likewise.
4233 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4234 (LOAD_REGS_TYPES_[1-6]): Likewise.
4235 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4236 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4238 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4240 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4241 copysignl for GLIBC_2_0.
4242 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4243 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4244 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4245 logbl for GLIBC_2_0.
4246 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4247 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4249 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4251 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4252 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4254 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4257 * time/mktime.c: Update copyright years.
4259 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4261 mktime: merge comment-quoting-style change from gnulib
4262 * time/mktime.c: Quote 'like this' in comments.
4263 The GNU coding standards suggest that we no longer quote `like this',
4264 as "`" and "'" are typically rendered asymmetrically nowadays.
4265 The typical gnulib style is to quote 'like this' when quoting
4266 code, and "like this" when quoting English.
4268 * time/mktime.c (compile-command): Add "-I.".
4270 mktime: merge mktime-internal.h change from gnulib
4271 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4273 mktime: merge time_r change from gnulib
4274 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4276 mktime: merge DEBUG change from gnulib
4277 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4278 case system <time.h> has a #define.
4280 mktime: merge <sys/types.h> change from gnulib
4281 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4282 since <time.t> is now guaranteed to define time_t.
4284 mktime: merge HAVE_CONFIG_H change from gnulib
4285 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4287 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4292 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4294 (struct rusage): Use anonymous union to pad each field to
4297 2012-05-21 David S. Miller <davem@davemloft.net>
4299 * Makefules (o-iterator): Remove .s cases.
4300 (compile-command.s): Delete.
4301 (COMPILE.s): Delete.
4302 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4304 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4306 * configure.in (libc_cv_predef_stack_protector): Only consider
4307 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4308 * configure: Regenerated.
4310 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4312 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4313 New macro. Use R*LP on int and pointer.
4314 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4315 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4316 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4317 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4319 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4320 [__WORDSIZE_TIME64_COMPAT32] instead of
4321 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4322 (struct utmp): Likewise.
4323 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4324 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4326 (__WORDSIZE_TIME64_COMPAT32): This.
4327 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4328 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4329 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4330 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4331 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4332 (__WORDSIZE_TIME64_COMPAT32): New macro.
4334 2012-05-21 Andreas Jaeger <aj@suse.de>
4336 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4337 only if [SHARED]. Add prototype for __wcschr_ia32.
4339 2012-05-21 Roland McGrath <roland@hack.frob.com>
4341 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4342 of %rbp unmolested in the jmp_buf while mangling the low bits.
4343 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4344 unmolested high bits of %rbp while demangling the low bits.
4345 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4347 2012-05-21 Andreas Jaeger <aj@suse.de>
4349 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4350 * sunrpc/svc_simple.c: Use it for registerrpc.
4351 * sunrpc/xcrypt.c: Use it for passwd2des.
4353 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4355 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4357 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4358 Don't define if [__SYSCALL_WORDSIZE != 32].
4359 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4362 2012-05-21 Bruno Haible <bruno@clisp.org>
4363 Andreas Jaeger <aj@suse.de>
4365 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4366 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4367 inptr and inend for must_buffer_ch.
4368 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4369 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4370 * stdio-common/Makefile (tests): Remove bug15.
4371 (bug15-ENV): Remove macro.
4372 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4375 2012-05-19 Andreas Jaeger <aj@suse.de>
4376 Roland McGrath <roland@hack.frob.com>
4378 * manual/contrib.texi: Completely rewritten. It contains now an
4379 alphabetical list of contributors and their contributions.
4381 2012-05-21 Richard Henderson <rth@twiddle.net>
4383 * misc/getauxval.c (__getauxval): Use unsigned long int.
4384 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4385 (getauxval): Use unsigned long int.
4387 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4389 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4391 2012-05-21 Roland McGrath <roland@hack.frob.com>
4393 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4394 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4395 __alignof__ (long double).
4397 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4401 2012-05-20 Richard Henderson <rth@twiddle.net>
4403 * misc/getauxval.c: New file.
4404 * misc/sys/auxv.h: New file.
4405 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4406 (routines): Add getauxval.
4407 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4408 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4409 * elf/dl-sysdep.c (_dl_auxv): Remove.
4410 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4411 * elf/dl-support.c (_dl_auxv): New variable.
4412 (_dl_aux_init): Initialize it.
4413 * manual/startup.texi (Auxiliary Vector): New node.
4414 * sysdeps/generic/bits/hwcap.h: New file.
4415 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4416 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4417 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4418 * sysdeps/sparc/sysdep.h: ... here. Include it.
4419 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4420 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4426 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4432 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4436 2012-05-19 David S. Miller <davem@davemloft.net>
4438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4440 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4443 * math/s_ccosh.c: Include <float.h>
4444 (__ccosh): Avoid internal overflow calculating sinh and cosh
4445 values before multiplying by sin and cos values.
4446 * math/s_ccoshf.c: Likewise.
4447 * math/s_ccoshl.c: Likewise.
4448 * math/s_csin.c: Likewise.
4449 * math/s_csinf.c: Likewise.
4450 * math/s_csinl.c: Likewise.
4451 * math/s_csinh.c: Likewise.
4452 * math/s_csinhf.c: Likewise.
4453 * math/s_csinhl.c: Likewise.
4454 * math/libm-test.inc (ccos_test): Add more tests.
4455 (ccosh_test): Likewise.
4456 (csin_test): Likewise.
4457 (csinh_test): Likewise.
4458 * sysdeps/i386/fpu/libm-test-ulps: Update.
4459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4461 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4463 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4464 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4466 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4468 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4470 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4471 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4472 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4473 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4474 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4475 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4476 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4477 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4478 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4479 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4480 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4481 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4482 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4483 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4484 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4485 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4486 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4487 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4488 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4489 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4490 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4491 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4492 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4493 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4494 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4495 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4496 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4497 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4498 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4499 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4500 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4502 2012-05-18 Andreas Jaeger <aj@suse.de>
4504 * csu/.gitignore: Delete.
4506 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4508 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4509 (timex): Use __syscall_slong_t.
4511 2012-05-18 Andreas Jaeger <aj@suse.de>
4512 Carlos O'Donell <carlos_odonell@mentor.com>
4514 * manual/install.texi (Configuring and compiling): Update
4515 description about files modified in the source directory.
4516 * INSTALL: Regenerated.
4518 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4520 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4521 value. Use "or" to set return value to -1.
4522 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4523 negate return value.
4525 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4527 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4528 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4529 failure if the compiler has Graphite support disabled.
4530 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4532 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4533 CFLAGS-memmove.c): Likewise.
4534 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4537 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4539 * sysdeps/x86_64/x32/_itoa.h: New file.
4541 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4542 getdents system call only if kernel and user dirents have the
4543 same d_ino and d_off.
4545 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4546 LLONG_MAX != LONG_MAX.
4547 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4548 (_fitoa_word): Likewise.
4550 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4552 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4553 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4554 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4556 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4557 include <bits/wordsize.h>. Check __x86_64__ instead of
4559 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4560 if __x86_64__ is defined. Use anonymous union on fpstate.
4562 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4565 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4567 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4568 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4569 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4570 Refer to _rtld_local_ro instead of _rtld_global_ro.
4571 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4573 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4575 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4577 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4578 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4579 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4581 * sysdeps/powerpc/powerpc32/dl-machine.c
4582 (__elf_machine_runtime_setup) [PROF]: Don't reference
4585 2012-05-18 Andreas Jaeger <aj@suse.de>
4587 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4588 function only available for GCCs before 3.4 since GCC 3.4
4589 introduced a builtin.
4591 (llrintf): Likewise.
4599 (nearbyint): Likewise.
4600 (nearbyintf): Likewise.
4606 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4608 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4609 on both fields and cast pointer to __syscall_ulong_t.
4611 * bits/types.h (__fsword_t): New type.
4612 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4613 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4614 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4615 (__FSWORD_T_TYPE): Likewise.
4616 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4617 (__FSWORD_T_TYPE): Likewise.
4618 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4619 (__FSWORD_T_TYPE): Likewise.
4620 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4621 (__FSWORD_T_TYPE): Likewise.
4622 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4623 __SWORD_TYPE with __fsword_t.
4624 (statfs64): Likewise.
4626 2012-05-17 David S. Miller <davem@davemloft.net>
4628 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4630 2012-05-17 Andreas Jaeger <aj@suse.de>
4632 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4635 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4637 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4639 2012-05-17 Andreas Jaeger <aj@suse.de>
4641 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4644 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4646 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4648 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4650 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4651 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4653 2012-05-17 Andreas Jaeger <aj@suse.de>
4654 Carlos O'Donell <carlos_odonell@mentor.com>
4657 * sysdeps/x86_64/multiarch/init-arch.h
4658 (bit_YMM_Usable): Rename to...
4659 (bit_AVX_Usable): ... this.
4660 (bit_FMA4_Usable): New macro.
4661 (bit_XMM_state): New macro.
4662 (bit_YMM_state): New macro.
4663 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4664 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4665 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4666 (CPUID_OSXSAVE): New macro.
4667 (CPUID_AVX): New macro.
4668 (CPUID_FMA4): New macro.
4669 (index_YMM_Usable): Rename to...
4670 (index_AVX_Usable): ... this.
4671 (HAS_AVX): Use HAS_ARCH_FEATURE.
4672 (HAS_FMA4): Likewise.
4673 (HAS_YMM_USABLE): Remove.
4674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4675 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4677 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4678 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4679 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4680 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4681 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4683 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4685 * math/libm-test.c: Support platforms without multiple rounding modes.
4686 * math/bug-nextafter.c: Support platforms without FP exceptions.
4687 * math/bug-nexttoward.c: Likewise.
4688 * math/test-fenv.c: Likewise.
4689 * math/test-misc.c: Likewise.
4690 * stdlib/bug-getcontext.c: Likewise.
4692 2012-05-17 Andreas Jaeger <aj@suse.de>
4694 * manual/examples/search.c (critter_cmp): Change signature to
4696 * manual/string.texi (Collation Functions): Likewise.
4698 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4700 * bits/types.h: Fold copyright years.
4701 * bits/typesizes.h: Likewise.
4702 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4703 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4704 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4705 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4706 * time/time.h: Likewise.
4708 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4711 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4712 in instead of returning them. Return void.
4713 (__libc_mallinfo): Accumulate over all arenas.
4714 (__malloc_stats): Adjust for change in int_mallinfo interface.
4716 2012-05-16 Roland McGrath <roland@hack.frob.com>
4719 * configure.in (NM): Add AC_CHECK_TOOL for it.
4720 (libc_extra_cflags): New substituted variable.
4721 Check for -fstack-protector being used implicitly.
4722 * configure: Regenerated.
4723 * config.make.in (config-extra-cflags): New variable,
4724 gets @libc_extra_cflags@.
4725 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4728 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4729 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4730 * configure: Regenerated.
4731 * config.make.in (CPPUNDEFS): New substituted variable.
4732 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4733 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4734 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4736 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4738 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4739 (mq_attr): Use __syscall_slong_t.
4741 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4743 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4744 Check __x86_64__ instead of __WORDSIZE.
4745 (_STAT_VER_LINUX): Likewise.
4746 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4747 __syscall_ulong_t and __syscall_slong_t.
4750 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4752 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4754 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4756 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4758 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4760 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4763 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4764 include <bits/wordsize.h>. Check __x86_64__ instead of
4766 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4768 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4770 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4771 include <bits/wordsize.h>. Check __x86_64__ instead of
4773 (user_regs_struct): Use "__extension__ unsigned long long"
4774 instead of "unsigned long" if __x86_64__ is defined.
4775 (user): Likewise. Pad after pointer field if __ILP32__ is
4778 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4780 * configure.in (makeinfo): Require version 4.5 or later. Allow
4782 * configure: Regenerated.
4783 * manual/install.texi (texinfo): Increase version requirement to
4785 * INSTALL: Regenerated.
4787 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4789 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4791 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4793 * sysdeps/x86_64/x32/ffs.c: New file.
4795 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4797 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4798 defined. Use __syscall_ulong_t.
4799 (shminfo): Use __syscall_ulong_t.
4800 (shm_info): Likewise.
4802 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4805 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4807 (msgqnum_t): Use __syscall_ulong_t.
4808 (msglen_t): Likewise.
4809 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4812 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4813 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4815 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4817 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4818 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4820 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4823 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4824 include <bits/wordsize.h>. Check __x86_64__ instead of
4827 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4828 "unsigned long long int" if __x86_64__ is defined.
4829 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4831 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4832 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4833 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4835 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4837 (GET_PC): Cast to uintptr_t first.
4838 (GET_FRAME): Likewise.
4839 (GET_STACK): Likewise.
4841 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4842 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4843 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4844 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4845 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4846 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4847 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4848 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4849 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4850 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4851 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4852 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4853 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4854 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4855 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4856 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4857 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4858 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4859 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4860 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4861 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4862 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4863 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4864 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4865 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4866 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4867 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4868 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4869 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4871 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4873 * Makerules (+depfiles): Also collect depfiles from .oS in
4875 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4876 .oS, $(libnldbl-routines)).
4878 * Makerules (native-compile-mkdep-flags): Define.
4879 * sunrpc/Makefile (extra-objs): Add $(addprefix
4880 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4881 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4882 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4883 calling $(make-target-directory).
4885 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4887 * bits/types.h (__snseconds_t): Removed.
4888 * time/time.h (struct timespec): Replace __snseconds_t with
4890 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4891 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4893 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4894 (__SNSECONDS_T_TYPE): Likewise.
4895 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4896 (__SNSECONDS_T_TYPE): Likewise.
4897 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4898 (__SNSECONDS_T_TYPE): Likewise.
4900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4902 * sysdeps/mach/hurd/bits/typesizes.h
4903 (__SYSCALL_SLONG_TYPE): New macro.
4904 (__SYSCALL_ULONG_TYPE): Likewise.
4906 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4908 * bits/types.h (__syscall_slong_t): New type.
4909 (__syscall_ulong_t): Likewise.
4911 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4912 (__SYSCALL_ULONG_TYPE): Likewise.
4913 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4914 (__SYSCALL_SLONG_TYPE): Likewise.
4915 (__SYSCALL_ULONG_TYPE): Likewise.
4916 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4917 (__SYSCALL_SLONG_TYPE): Likewise.
4918 (__SYSCALL_ULONG_TYPE): Likewise.
4919 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4920 (__SYSCALL_SLONG_TYPE): Likewise.
4921 (__SYSCALL_ULONG_TYPE): Likewise.
4923 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4925 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4926 Add sigaltstack-offsets.sym.
4927 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4928 <sigaltstack-offsets.h>.
4929 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4930 longjmp_msg pointer.
4931 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4932 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4934 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4936 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4938 * elf/stackguard-macros.h: Remove file.
4939 * sysdeps/generic/stackguard-macros.h: New file.
4940 * sysdeps/i386/stackguard-macros.h: Likewise.
4941 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4942 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4943 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4944 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4945 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4946 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4947 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4948 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4949 <elf/stackguard-macros.h>.
4952 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4953 __aligned__ in attribute.
4954 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4955 (gregset_t): Likewise.
4957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4959 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4960 * sysdeps/x86_64/64/Implies-after: Here. New file.
4961 * sysdeps/x86_64/x32/Implies-after: New file.
4963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4965 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4966 and access return value for _dl_profile_fixup. Use R10_LP to
4969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4971 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4973 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4975 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4976 * sysdeps/x86_64/x32/sysdep.h: New file.
4978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4980 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4981 * sysdeps/x86_64/setjmp.S: Likewise.
4983 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4985 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4986 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4987 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4988 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4989 remove unused global constant.
4991 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4993 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4994 include of <not-cancel.h>.
4996 2012-05-15 Roland McGrath <roland@hack.frob.com>
4998 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5000 2012-05-15 Jeff Law <law@redhat.com>
5001 Andreas Jaeger <aj@suse.de>
5004 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5006 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5007 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5008 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5009 code changing __hst_map_handle.map.
5011 2012-05-15 Roland McGrath <roland@hack.frob.com>
5013 * configure.in (sysnames): Look for Implies-before and Implies-after
5015 * configure: Regenerated.
5017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5019 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5020 8-byte data alignment with LP_SIZE alignment.
5022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5024 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5029 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5031 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5033 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5034 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5035 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5037 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5039 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5041 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5042 (stackinfo_sub_sp): Likewise.
5044 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5046 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5049 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5051 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5054 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5056 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5059 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5061 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5065 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5066 into R11_LP and load __x86_64_shared_cache_size_half into
5069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5071 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5074 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5076 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5078 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5080 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5082 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5083 powerpc32/power7/fpu/s_logb.c via #include.
5084 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5085 powerpc32/power7/fpu/s_logbf.c via #include.
5086 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5087 powerpc32/power7/fpu/s_logbl.c via #include.
5089 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5091 * README.libm: Remove file.
5093 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5095 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5096 count for x32. Use R*_LP and omit operand-size suffix.
5098 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5100 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5101 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5102 * sysdeps/x86_64/x32/shlib-versions: New file.
5104 2012-05-14 Roland McGrath <roland@hack.frob.com>
5106 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5107 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5108 Use _dl_fatal_printf instead.
5110 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5112 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5113 set if not set by the user. Do not allow for being unset.
5114 * sysdeps/unix/sysv/linux/configure: Regenerated.
5116 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5118 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5119 the `q' suffix from lea and replace .quad with ASM_ADDR.
5121 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5123 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5124 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5126 (PTR_DEMANGLE): Likewise.
5128 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5130 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5132 (ASM_ADDR): Likewise.
5150 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5152 * sysdeps/x86_64/x32/dl-machine.h: New file.
5154 2012-05-14 Andreas Jaeger <aj@suse.de>
5156 * manual/Makefile (subdir): Remove export of subdir.
5157 (all): Remove target.
5158 (.PHONY): Remove all from list.
5159 (mkinstalldirs): Remove.
5160 (.PHONY): Remove installdirs from list.
5161 ($(inst_infodir)/libc.info): Use make-target-directory.
5162 (installdirs): Remove.
5164 (glibc-targets): Remove.
5167 ($(objpfx)stubs ../po/manual.pot): Remove.
5168 ($(objpfx)stamp%): Remove.
5169 (make-target-directory): Remove.
5170 (subdir_install): Remove.
5178 * manual/.gitignore: Remove, it's not needed anymore.
5179 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5181 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5183 (texis): Renamed to $(objpfx)texis.
5184 (texis-path): New, contains path to generated files.
5185 (chapters.%): Use texis-path for complete path, add extra argument
5187 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5188 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5189 (summary,texi, stamp-summary): Use complete path of
5190 files. Generate files in build dir.
5191 (dir-add.texi): Build in build dir.
5192 (libm-err.texi,stamp-libm-err): Likewise.
5193 (version.texi, stamp-version): Likewise.
5194 (.%c.texi): Likewise.
5195 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5196 (mostlyclean): Remove target.
5197 (realclean): Remove target.
5198 (generated): Add new variable with contents from mostlyclean and
5199 realclean, remove entries duplicated in common-mostlyclean, add
5200 stamp-libm-err and stamp-version.
5201 (generated-dirs): Add libc directory.
5202 ($(inst_infodir)/libc.info): Install files from build dir.
5204 * manual/install.texi (Configuring and compiling): Adjust since
5205 the info files are not part of the tar ball anymore.
5207 2012-05-14 Andreas Jaeger <aj@suse.de>
5209 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5212 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5215 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5216 to 2.2.0 where earlier.
5217 * sysdeps/unix/sysv/linux/configure: Regenerated.
5218 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5219 Remove conditional code.
5220 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5221 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5222 Remove conditional code.
5223 [!__NR_lchown]: Likewise.
5224 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5225 [__NR_lchown]: Likewise.
5226 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5227 comment referencing __ASSUME_LCHOWN_SYSCALL.
5228 * sysdeps/unix/sysv/linux/i386/sigaction.c
5229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5231 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5232 Remove conditional code.
5233 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5234 (__protocol_available): Remove #if 0 code.
5235 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5237 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5238 * sysdeps/unix/sysv/linux/kernel-features.h
5239 (__ASSUME_GETCWD_SYSCALL): Don't define.
5240 (__ASSUME_REALTIME_SIGNALS): Likewise.
5241 (__ASSUME_PREAD_SYSCALL): Likewise.
5242 (__ASSUME_PWRITE_SYSCALL): Likewise.
5243 (__ASSUME_POLL_SYSCALL): Likewise.
5244 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5245 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5247 (__ASSUME_SIOCGIFNAME): Don't define.
5248 (__ASSUME_MSG_NOSIGNAL): Likewise.
5249 (__ASSUME_SENDFILE): Define unconditionally.
5250 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5251 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5253 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5254 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5255 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5256 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5257 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5258 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5259 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5261 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5262 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5264 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5265 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5267 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5268 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5270 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5271 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5273 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5276 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5277 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5279 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5282 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5283 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5284 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5285 Remove conditional code.
5286 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5287 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5288 Remove conditional code.
5289 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5290 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5291 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5292 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5293 Remove conditional code.
5294 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5295 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5296 Remove conditional code.
5297 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5298 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5299 Remove conditional code.
5300 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5301 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5302 Remove conditional code.
5303 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5304 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5305 Remove conditional code.
5306 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5307 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5308 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5309 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5310 * sysdeps/unix/sysv/linux/sigaction.c
5311 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5312 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5313 * sysdeps/unix/sysv/linux/sigpending.c
5314 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5315 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5316 * sysdeps/unix/sysv/linux/sigprocmask.c
5317 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5318 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5319 * sysdeps/unix/sysv/linux/sigsuspend.c
5320 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5321 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5322 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5323 (__libc_missing_rt_sigs): Remove.
5324 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5325 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5326 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5327 Remove conditional code.
5328 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5329 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5331 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5332 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5333 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5334 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5336 2012-05-14 Andreas Jaeger <aj@suse.de>
5338 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5339 it's not used in glibc.
5340 (__coshm1): Likewise.
5341 (__acosh1p): Likewise.
5344 * manual/string.texi (Copying and Concatenation): Add missing
5345 variable in concat example.
5346 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5348 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5351 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5352 __builtin_clzl with __builtin_clzll.
5354 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5357 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5360 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5362 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5363 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5364 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5365 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5367 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5369 * NEWS: Update ia64 info.
5371 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5373 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5376 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5378 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5379 * sysdeps/unix/syscalls.list (dup3): Likewise.
5380 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5381 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5383 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5385 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5386 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5388 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5390 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5392 (TLS_IE): Use mov/add instead of movq/addq to load thread
5394 (TLS_GD_PREFIX): New.
5397 2012-05-11 David S. Miller <davem@davemloft.net>
5399 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5400 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5401 (_FPU_SETCW): Likewise.
5403 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5405 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5408 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5411 * iconvdata/gb18030.c: Update tables.
5412 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5413 characters specially.
5414 (BODY for TO_LOOP): Add encoding of missing ranges.
5416 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5419 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5420 * sysdeps/mach/hurd/dup3.c: Likewise.
5421 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5422 * sysdeps/powerpc/memmove.c:: Likewise.
5424 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5426 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5427 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5429 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5431 * elf/elf.h (R_X86_64_RELATIVE64): New.
5432 (R_X86_64_NUM): Updated.
5433 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5434 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5435 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5436 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5437 tst-quad1pie tst-quad2pie
5438 (modules-names): Add tst-quadmod1 tst-quadmod2.
5439 ($(objpfx)tst-quad1): New dependency.
5440 ($(objpfx)tst-quad2): Likewise.
5441 ($(objpfx)tst-quad1pie): Likewise.
5442 ($(objpfx)tst-quad2pie): Likewise.
5443 * sysdeps/x86_64/tst-quad1.c: New file.
5444 * sysdeps/x86_64/tst-quad1pie.c: New file.
5445 * sysdeps/x86_64/tst-quad2.c: Likewise.
5446 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5447 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5448 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5449 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5450 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5452 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5454 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5455 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5456 * streams/stropts.h (t_scalar_t): Define type.
5458 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5459 (_PATH_PRESERVE): Set to "/var/lib".
5460 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5462 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5465 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5466 if __dir_mkfile succeeded.
5468 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5469 checking for _hurd_dtablesize. Unlock it right after having
5470 finished _hurd_dtable allocation.
5472 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5474 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5475 * sysdeps/mach/hurd/configure: Regenerated.
5476 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5477 special-casing to...
5478 * sysdeps/gnu/configure.in: ... this new file.
5479 * sysdeps/unix/sysv/linux/configure: Regenerated.
5480 * sysdeps/gnu/configure: New generated file.
5482 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5483 for Linux: use nsec instead of usec, as well as:
5484 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5485 members of type struct timespec.
5486 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5488 (struct stat64): Likewise.
5489 (_STATBUF_ST_NSEC): New macro.
5490 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5492 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5493 __strtoul_internal rather than strtoul.
5495 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5497 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5500 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5502 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5503 which preserves existing values.
5504 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5506 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5508 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5509 TIMEOUT values. Return EINVAL for NFDS values either negative or
5510 greater than FD_SETSIZE.
5512 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5514 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5515 allocated, call __vm_protect to finish enabling the existing space, and
5516 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5517 allocate the remainder.
5519 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5521 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5522 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5524 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5526 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5527 sysdeps/mach/hurd/readlink.c.
5529 * posix/tst-sysconf.c (posix_options): Only use
5530 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5531 _POSIX_SYNCHRONIZED_IO when they are defined
5532 * sysdeps/mach/hurd/bits/posix_opt.h:
5533 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5534 (_XOPEN_REALTIME): Undefine macro.
5535 (_XOPEN_REALTIME_THREADS): Undefine macro.
5536 (_XOPEN_SHM): Undefine macro.
5537 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5539 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5541 (_POSIX_ASYNC_IO): Undefine macro.
5542 (_POSIX_PRIORITIZED_IO): Undefine macro.
5543 (_POSIX_SPIN_LOCKS): Define macro to -1.
5545 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5546 SA_NODEFER, SA_RESETHAND.
5547 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5548 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5551 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5553 * elf/Makefile (pldd-modules): Define unconditionally.
5555 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5557 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5559 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5561 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5562 Return ENOENT when name is empty.
5563 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5565 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5567 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5569 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5571 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5573 Fix mlock in all cases except non-readable pages.
5574 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5575 instead of VM_PROT_ALL as parameter to __vm_wire function.
5577 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5578 (__mkdir): When path is `/', just fail with EEXIST.
5579 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5581 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5583 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5584 <sys/uio.h> (for writev).
5585 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5586 and <sys/param.h> (for MIN).
5588 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5590 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5591 REQUESTED_TIME. Properly set the remaining time and return EINTR
5594 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5596 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5597 Depend on against $(link-rpcuserlibs).
5599 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5601 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5602 (__libc_stack_end): Do not use attribute_relro.
5603 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5604 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5605 to libthread-provided value.
5606 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5609 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5612 * bits/libc-lock.h (__libc_once_get): New macro.
5613 * sysdeps/mach/bits/libc-lock.h: Likewise.
5614 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5615 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5616 instead of using implementation details.
5618 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5619 * libio/freopen.c: Likewise.
5620 * libio/freopen64.c: Likewise.
5621 * misc/syslog.c: Likewise.
5622 * nscd/connections.c: Likewise.
5623 * nscd/netgroupcache.c: Likewise.
5624 * sysdeps/posix/getcwd.c: Likewise.
5626 2012-05-10 Roland McGrath <roland@hack.frob.com>
5628 * math/w_ilogbf.c: Add #include <limits.h>.
5630 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5632 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5633 path instead of returning without unlocking.
5635 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5636 immediate-write ioctls.
5637 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5639 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5641 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5642 __builtin_frame_address instead of making assumptions about the
5643 location of the return address relative to DATA. Force early load of
5645 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5646 __builtin_frame_address.
5649 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5650 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5651 implement dup3 and do some further code clean-ups.
5652 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5653 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5655 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5657 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5659 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5660 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5661 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5662 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5663 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5666 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5667 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5668 when handler == SIG_ERR, not when handler != SIG_ERR.
5670 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5672 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5673 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5676 accept4 for GNU Hurd.
5677 * include/sys/socket.h (__libc_accept4): New prototype.
5678 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5679 to implement __libc_accept4.
5680 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5682 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5684 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5685 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5686 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5689 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5691 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5693 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5695 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5696 assertion on O_CLOEXEC flag.
5697 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5698 * hurd/intern-fd.c: Likewise.
5699 * hurd/port2fd.c: Likewise.
5701 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5704 * bits/in.h (IPV6_PKTINFO): Define new macro.
5705 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5707 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5712 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5713 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5714 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5715 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5716 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5717 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5718 * math/libm-test.inc (logb_test) : Additional logb tests.
5720 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5721 Andreas Jaeger <aj@suse.de>
5723 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5724 * configure: Regenerated.
5725 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5726 * config.make.in (link-obsolete-rpc): New substituted variable.
5727 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5728 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5729 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5730 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5731 so that libc.a contains the symbols.
5732 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5733 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5734 * sunrpc/auth_none.c: Likewise.
5735 * sunrpc/auth_unix.c: Likewise.
5736 * sunrpc/authdes_prot.c: Likewise.
5737 * sunrpc/authuxprot.c: Likewise.
5738 * sunrpc/clnt_gen.c: Likewise.
5739 * sunrpc/clnt_perr.c: Likewise.
5740 * sunrpc/clnt_raw.c: Likewise.
5741 * sunrpc/clnt_simp.c: Likewise.
5742 * sunrpc/clnt_tcp.c: Likewise.
5743 * sunrpc/clnt_udp.c: Likewise.
5744 * sunrpc/clnt_unix.c: Likewise.
5745 * sunrpc/des_crypt.c: Likewise.
5746 * sunrpc/des_soft.c: Likewise.
5747 * sunrpc/get_myaddr.c: Likewise.
5748 * sunrpc/key_call.c: Likewise.
5749 * sunrpc/key_prot.c: Likewise.
5750 * sunrpc/netname.c: Likewise.
5751 * sunrpc/pm_getmaps.c: Likewise.
5752 * sunrpc/pm_getport.c: Likewise.
5753 * sunrpc/pmap_clnt.c: Likewise.
5754 * sunrpc/pmap_prot.c: Likewise.
5755 * sunrpc/pmap_prot2.c: Likewise.
5756 * sunrpc/pmap_rmt.c: Likewise.
5757 * sunrpc/publickey.c: Likewise.
5758 * sunrpc/rpc_cmsg.c: Likewise.
5759 * sunrpc/rpc_common.c: Likewise.
5760 * sunrpc/rpc_dtable.c: Likewise.
5761 * sunrpc/rpc_prot.c: Likewise.
5762 * sunrpc/rpc_thread.c: Likewise.
5763 * sunrpc/rtime.c: Likewise.
5764 * sunrpc/svc.c: Likewise.
5765 * sunrpc/svc_auth.c: Likewise.
5766 * sunrpc/svc_raw.c: Likewise.
5767 * sunrpc/svc_run.c: Likewise.
5768 * sunrpc/svc_tcp.c: Likewise.
5769 * sunrpc/svc_udp.c: Likewise.
5770 * sunrpc/svc_unix.c: Likewise.
5771 * sunrpc/svcauth_des.c: Likewise.
5772 * sunrpc/xcrypt.c: Likewise.
5773 * sunrpc/xdr.c: Likewise.
5774 * sunrpc/xdr_array.c: Likewise.
5775 * sunrpc/xdr_float.c: Likewise.
5776 * sunrpc/xdr_intXX_t.c: Likewise.
5777 * sunrpc/xdr_mem.c: Likewise.
5778 * sunrpc/xdr_rec.c: Likewise.
5779 * sunrpc/xdr_ref.c: Likewise.
5780 * sunrpc/xdr_sizeof.c: Likewise.
5781 * sunrpc/xdr_stdio.c: Likewise.
5783 2012-05-10 Roland McGrath <roland@hack.frob.com>
5785 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5786 change. Update copyright years.
5788 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5790 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5792 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5793 Joseph Myers <joseph@codesourcery.com>
5794 Paul Pluzhnikov <ppluzhnikov@google.com>
5797 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5799 [cross-compiling] (extra-libs): Likewise.
5800 [cross-compiling] (extra-libs-others): Likewise.
5801 [cross-compiling] (librpcsvc-routines): Likewise.
5802 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5803 [cross-compiling] (omit-deps): Likewise.
5804 (sunrpc-CPPFLAGS): New variable.
5805 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5806 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5807 (cross-rpcgen-objs): New variable.
5808 (extra-objs): Append $(cross-rpcgen-objs).
5809 ($(cross-rpcgen-objs)): New rule.
5810 ($(objpfx)cross-rpcgen): Likewise.
5811 (rpcgen-cmd): Define to use $(built-program-file). Expand
5813 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5814 ($(objpfx)x%.stmp): Likewise.
5815 * sunrpc/proto.h [IS_IN_build] (_): Define.
5816 [IS_IN_build] (_libc_intl_domainname): Likewise.
5818 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5820 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5821 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5822 and R_X86_64_TPOFF64.
5824 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5826 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5827 sysdeps/unix/sysv/syscalls.list.
5830 * sysdeps/unix/sysv/syscalls.list: Remove file.
5832 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5835 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5836 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5837 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5838 (__LC_IDENTIFICATION): Make these macros useful in #if
5839 expressions, as required by C99.
5841 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5843 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5844 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5847 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5849 * stdlib/longlong.h: Updated from GCC.
5851 2012-05-09 Andreas Jaeger <aj@suse.de>
5853 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5854 default is first entry.
5855 (run_mode): Set type.
5856 (main): Remove informal message about syslog.
5857 (options): Fix typo.
5860 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5863 (llrintf): Likewise.
5867 (nearbyint): Likewise.
5868 (nearbyintf): Likewise.
5870 2012-05-09 Andreas Jaeger <aj@suse.de>
5871 Pedro Alves <palves@redhat.com>
5873 * nscd/nscd.c (run_mode): Use enum.
5874 (main): Cleanup coding style issue.
5876 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
5877 Andreas Jaeger <aj@suse.de>
5879 * nscd/nscd.c (go_background): Replaced with...
5880 (run_mode): ... this.
5881 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5882 (options): Add -F --foreground.
5883 (main): Implement it.
5884 (parse_opt): Parse it.
5886 2012-05-09 Andreas Jaeger <aj@suse.de>
5889 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5890 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5891 -Wconversion warning.
5892 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5895 2012-05-09 Joseph Myers <joseph@codesourcery.com>
5897 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5899 (LC_ALL): Use macro-int-constant.
5900 (LC_COLLATE): Likewise.
5901 (LC_CTYPE): Likewise.
5902 (LC_MESSAGES): Likewise.
5903 (LC_MONETARY): Likewise.
5904 (LC_NUMERIC): Likewise.
5905 (LC_TIME): Likewise.
5906 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5907 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5908 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5909 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5911 [C99-based standards] (float_t): Expect type.
5912 [C99-based standards] (double_t): Expect type.
5913 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5915 [C99-based standards] (HUGE_VALL): Likewise.
5916 [C99-based standards] (INFINITY): Likewise.
5917 [C99-based standards] (NAN): Likewise.
5918 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5919 [C99-based standards] (FP_NAN): Likewise.
5920 [C99-based standards] (FP_NORMAL): Likewise.
5921 [C99-based standards] (FP_SUBNORMAL): Likewise.
5922 [C99-based standards] (FP_ZERO): Likewise.
5923 [C99-based standards] (FP_FAST_FMA): Use
5924 optional-macro-int-constant. Specify type. Require == 1.
5925 [C99-based standards] (FP_FAST_FMAF): Likewise.
5926 [C99-based standards] (FP_FAST_FMAL): Likewise.
5927 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5928 [C99-based standards] (FP_ILOGBNAN): Likewise.
5929 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5931 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5932 [C99-based standards] (math_errhandling): Specify type.
5933 [ISO99 || ISO11] (signgam): Do not allow.
5934 [non-C99-based standards] (copysignf): Do not allow.
5935 [non-C99-based standards] (exp2f): Likewise.
5936 [non-C99-based standards] (log2f): Likewise.
5937 [non-C99-based standards] (modff): Allow.
5938 [non-C99-based standards] (erff): Do not allow.
5939 [non-C99-based standards] (erfcf): Likewise.
5940 [non-C99-based standards] (gammaf): Likewise.
5941 [non-C99-based standards] (hypotf): Likewise.
5942 [non-C99-based standards] (j0f): Likewise.
5943 [non-C99-based standards] (j1f): Likewise.
5944 [non-C99-based standards] (jnf): Likewise.
5945 [non-C99-based standards] (lgammaf): Likewise.
5946 [non-C99-based standards] (tgammaf): Likewise.
5947 [non-C99-based standards] (y0f): Likewise.
5948 [non-C99-based standards] (y1f): Likewise.
5949 [non-C99-based standards] (ynf): Likewise.
5950 [non-C99-based standards] (isnanf): Likewise.
5951 [non-C99-based standards] (acoshf): Likewise.
5952 [non-C99-based standards] (asinhf): Likewise.
5953 [non-C99-based standards] (atanhf): Likewise.
5954 [non-C99-based standards] (cbrtf): Likewise.
5955 [non-C99-based standards] (expm1f): Likewise.
5956 [non-C99-based standards] (ilogbf): Likewise.
5957 [non-C99-based standards] (log1pf): Likewise.
5958 [non-C99-based standards] (logbf): Likewise.
5959 [non-C99-based standards] (nextafterf): Likewise.
5960 [non-C99-based standards] (remainderf): Likewise.
5961 [non-C99-based standards] (rintf): Likewise.
5962 [non-C99-based standards] (scalbf): Likewise.
5963 [non-C99-based standards] (copysignl): Likewise.
5964 [non-C99-based standards] (exp2l): Likewise.
5965 [non-C99-based standards] (log2l): Likewise.
5966 [non-C99-based standards] (modfl): Allow.
5967 [non-C99-based standards] (erfl): Do not allow.
5968 [non-C99-based standards] (erfcl): Likewise.
5969 [non-C99-based standards] (gammal): Likewise.
5970 [non-C99-based standards] (hypotl): Likewise.
5971 [non-C99-based standards] (j0l): Likewise.
5972 [non-C99-based standards] (j1l): Likewise.
5973 [non-C99-based standards] (jnl): Likewise.
5974 [non-C99-based standards] (lgammal): Likewise.
5975 [non-C99-based standards] (tgammal): Likewise.
5976 [non-C99-based standards] (y0l): Likewise.
5977 [non-C99-based standards] (y1l): Likewise.
5978 [non-C99-based standards] (ynl): Likewise.
5979 [non-C99-based standards] (isnanl): Likewise.
5980 [non-C99-based standards] (acoshl): Likewise.
5981 [non-C99-based standards] (asinhl): Likewise.
5982 [non-C99-based standards] (atanhl): Likewise.
5983 [non-C99-based standards] (cbrtl): Likewise.
5984 [non-C99-based standards] (expm1l): Likewise.
5985 [non-C99-based standards] (ilogbl): Likewise.
5986 [non-C99-based standards] (log1pl): Likewise.
5987 [non-C99-based standards] (logbl): Likewise.
5988 [non-C99-based standards] (nextafterl): Likewise.
5989 [non-C99-based standards] (remainderl): Likewise.
5990 [non-C99-based standards] (rintl): Likewise.
5991 [non-C99-based standards] (scalbl): Likewise.
5992 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5993 [non-C99-based standards] (FP_*): Do not allow.
5994 [C99-based standards] (FP_*): Change to
5995 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5996 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5998 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5999 (SIG_ERR): Likewise.
6000 [X/Open-based standards] (SIG_HOLD): Likewise.
6001 (SIG_IGN): Likewise.
6002 (SIGABRT): Use macro-int-constant. Specify type. Require
6007 (SIGSEGV): Likewise.
6009 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6010 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6011 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6012 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6013 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6014 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6015 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6016 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6017 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6018 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6019 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6020 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6021 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6022 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6023 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6024 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6025 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6026 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6027 [X/Open-based standards] (SIGTRAP): Likewise.
6028 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6029 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6030 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6031 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6032 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6035 2012-05-08 Ian Wienand <ianw@vmware.com>
6038 * time/tzset.c (__tzset_parse_tz): Update default rules for
6039 daylight time changes in the Energy Policy Act of 2005.
6041 2012-05-09 Andreas Jaeger <aj@suse.de>
6044 * elf/ldconfig.c (parse_conf): Change string to make clear that
6045 ldconfig only issued a warning if ld.so.conf does not exist.
6047 2012-05-08 David S. Miller <davem@davemloft.net>
6049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6050 movxtod instead of popping the value on the stack.
6052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6054 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6056 * config.h.in: Add HAVE_ARM_PCS_VFP.
6058 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6061 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6062 checking but the checks are disabled for any reason.
6064 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6066 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6067 and ELF64_R_TYPE with ELFW(R_TYPE).
6069 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6071 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6074 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6075 (settimeofday): Likewise.
6077 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6079 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6080 a struct th_u2 inside the union, and move tu_block/tu_code into
6081 a new th_u3 union of tu_block/tu_code inside of that. Move
6082 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6083 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6084 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6085 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6086 (th_stuff): Change to th_u1.tu_stuff.
6088 (th_msg): Change to th_u1.th_u2.tu_data.
6090 2012-05-07 David S. Miller <davem@davemloft.net>
6092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6095 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6096 (SETUP_PIC_REG): Use it.
6097 (SETUP_PIC_REG_LEAF): Use it.
6099 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6103 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6105 (EXPL_FINITE): Likewise.
6107 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6108 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6110 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6112 (EXPL_FINITE): Likewise.
6114 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6115 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6117 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6118 test of -max_value argument for long double.
6119 * sysdeps/i386/fpu/libm-test-ulps: Update.
6120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6122 2012-05-06 David S. Miller <davem@davemloft.net>
6124 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6125 quad soft-float symbols whose references which are compiler
6127 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6129 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6133 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6135 (EXPL_FINITE): Likewise.
6139 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6140 Adjust comments for base varying.
6141 (__expl_finite): Change alias to EXPL_FINITE.
6142 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6144 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6145 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6146 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6147 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6148 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6150 (EXPL_FINITE): Likewise.
6154 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6155 Adjust comments for base varying.
6156 (__expl_finite): Change alias to EXPL_FINITE.
6157 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6162 * math/libm-test.inc (check_float_internal): Correct ulp
6163 calculation for subnormal expected results.
6165 2012-05-06 Andreas Jaeger <aj@suse.de>
6167 * Makeconfig (+math-flags): New, set to -frounding-math.
6168 (+cflags): Add +math-flags so that all of glibc gets compiled with
6171 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6173 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6175 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6181 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6182 (__ieee754_expl): Allow for and saturate large arguments.
6183 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6184 (u_threshold): Likewise.
6185 (__exp): Call __ieee754_exp before checking for overflow and
6187 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6188 (u_threshold): Likewise.
6189 (__expf): Call __ieee754_expf before checking for overflow and
6191 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6192 (u_threshold): Likewise.
6193 (__expl): Call __ieee754_expl before checking for overflow and
6195 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6196 (__ieee754_expl): Allow for and saturate large arguments.
6197 * math/libm-test.inc (exp_test): Add another test. Do not allow
6198 missing overflow exception on overflow.
6199 (expm1_test): Do not allow missing overflow exception on overflow.
6201 * sysdeps/i386/fpu/e_expl.c: Move to ...
6202 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6203 rather than using inline asm.
6204 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6205 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6206 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6208 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6215 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6217 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6218 sysdeps/unix/common/syscalls.list.
6221 (ftruncate): Likewise.
6222 (getrusage): Likewise.
6223 (gettimeofday): Likewise.
6224 (setpgid): Likewise.
6225 (setregid): Likewise.
6226 (setreuid): Likewise.
6227 (sigaction): Likewise.
6228 (truncate): Likewise.
6229 (vhangup): Likewise.
6230 * sysdeps/unix/common/syscalls.list: Remove file.
6231 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6232 * sysdeps/unix/sysv/linux/Implies: Likewise.
6234 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6236 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6238 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6242 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6245 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6248 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6251 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6254 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6257 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6260 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6264 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6268 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6271 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6275 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6279 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6281 * sysdeps/unix/common/bits/dirent.h: Remove file.
6282 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6284 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6285 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6286 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6287 * sysdeps/unix/bsd/isatty.c: Likewise.
6288 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6289 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6290 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6292 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6295 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6296 long double comparison inaccuracies.
6297 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6300 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6302 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6303 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6305 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6308 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6309 nonzero digits before rounding a hex value.
6310 * stdlib/tst-strtod.c (tests): Add another test.
6312 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6314 * sysdeps/s390/fpu/libm-test-ulps: Update.
6316 2012-05-03 Andreas Jaeger <aj@suse.de>
6318 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6319 does not get optimized out.
6320 (malloc_opt_barrier): New.
6322 2012-05-03 Andreas Jaeger <aj@suse.de>
6323 Roland McGrath <roland@hack.frob.com>
6325 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6326 intermediate file deletion.
6327 (generated): Add .symlist files.
6329 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6332 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6333 Redirect under this condition.
6334 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6335 [__USE_GNU] (__dprintf_chk): Not under this condition.
6336 [__USE_GNU] (__vdprintf_chk): Likewise.
6337 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6338 under this condition.
6339 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6340 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6341 [__USE_XOPEN2K8] (vdprintf): Likewise.
6342 [__USE_GNU] (__dprintf_chk): Not under this condition.
6343 [__USE_GNU] (__vdprintf_chk): Likewise.
6344 [__USE_GNU] (dprintf): Likewise.
6345 [__USE_GNU] (vdprintf): Likewise.
6347 2012-05-03 Roland McGrath <roland@hack.frob.com>
6349 * elf/Makefile (common-generated): Set this instead of generated for
6350 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6351 $(all-built-dso)-derived lists.
6353 2012-05-03 Andreas Jaeger <aj@suse.de>
6355 * sysdeps/i386/fpu/libm-test-ulps: Update.
6359 * scripts/gen-FAQ.pl: Likewise.
6360 * manual/install.texi (Installation): Point to online location of
6362 * Makefile (files-for-dist): Remove FAQ.
6365 2012-05-02 Allan McRae <allan@archlinux.org>
6367 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6368 (LDFLAGS-reldepmod5.so): Likewise.
6369 (LDFLAGS-reldep6mod1.so): Likewise.
6370 (LDFLAGS-reldep6mod4.so): Likewise.
6371 (LDFLAGS-reldep8mod3.so): Likewise.
6372 (LDFLAGS-unload4mod1.so): Likewise.
6373 (LDFLAGS-unload4mod2.so): Likewise.
6374 (LDFLAGS-tst-initorder): Likewise.
6375 (LDFLAGS-tst-initordera2.so): Likewise.
6376 (LDFLAGS-tst-initordera3.so): Likewise.
6377 (LDFLAGS-tst-initordera4.so): Likewise.
6378 (LDFLAGS-tst-initorderb2.so): Likewise.
6379 (LDFLAGS-noload): Likewise.
6380 (LDFLAGS-next): Likewise.
6381 (LDFLAGS-order2mod1.so): Likewise.
6382 (LDFLAGS-order2mod2.so): Likewise.
6383 (LDFLAGS-tst-initorder2): Likewise.
6384 (LDFLAGS-tst-initorder2a.so): Likewise.
6385 (LDFLAGS-tst-initorder2b.so): Likewise.
6386 (LDFLAGS-tst-initorder2c.so): Likewise.
6387 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6389 2012-05-02 David S. Miller <davem@davemloft.net>
6391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6393 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6396 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6398 2012-05-02 Andreas Jaeger <aj@suse.de>
6400 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6401 since we manipulate rounding mode.
6402 (CPPFLAGS-test-idouble.c): Likewise.
6403 (CPPFLAGS-test-ifloat.c): Likewise.
6404 (CFLAGS-test-ldouble.c): Likewise.
6405 (CFLAGS-test-double.c): Likewise.
6406 (CFLAGS-test-float.c): Likewise.
6407 (CFLAGS-test-misc.c): Likewise.
6408 (CFLAGS-test-test-fenv.c): Likewise.
6410 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6414 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6415 comparisons to determine direction to adjust input.
6417 2012-05-01 Roland McGrath <roland@hack.frob.com>
6419 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6420 output to the target.
6422 * scripts/localplt.awk: New file.
6423 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6424 (check-localplt-CFLAGS): Variable removed.
6425 ($(all-built-dso:=.jmprel)): New static pattern rule.
6426 (generated): Add those targets.
6427 (localplt-built-dso): New variable.
6428 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6430 * elf/check-localplt.c: File removed.
6432 * scripts/check-execstack.awk: New file.
6433 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6434 (check-execstack-CFLAGS): Variable removed.
6435 ($(objpfx)check-execstack.h): Target removed.
6436 ($(objpfx)execstack-default): New target.
6437 (generated): Add that instead of check-execstack.h.
6438 ($(all-built-dso:=.phdr)): New static pattern rule.
6439 (generated): Add those targets.
6440 * elf/check-execstack.c: File removed.
6442 * scripts/check-textrel.awk: New file.
6443 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6444 (check-textrel-CFLAGS): Variable removed.
6445 (all-built-dso): Use := to define.o
6446 ($(all-built-dso:=.dyn)): New static pattern rule.
6447 (generated): Add those targets.
6448 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6449 * config.make.in (READELF): New substituted variable.
6450 * elf/check-textrel.c: File removed.
6452 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6454 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6456 * conform/data/ctype.h-data [C99-based standards] (isblank):
6458 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6459 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6460 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6461 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6462 Specify type. Require positive value.
6465 [ISO || POSIX] (EILSEQ): Do not expect.
6466 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6467 Specify type. Require positive value.
6468 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6469 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6470 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6471 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6472 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6473 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6474 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6475 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6476 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6477 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6478 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6479 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6480 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6481 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6482 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6483 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6484 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6485 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6486 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6487 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6488 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6489 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6490 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6491 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6492 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6493 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6494 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6495 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6496 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6497 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6498 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6499 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6500 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6501 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6502 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6503 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6504 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6505 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6506 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6507 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6508 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6509 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6510 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6511 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6512 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6513 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6514 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6515 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6516 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6517 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6518 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6519 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6520 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6521 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6522 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6523 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6524 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6525 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6526 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6527 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6528 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6529 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6530 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6531 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6532 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6533 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6534 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6535 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6536 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6537 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6538 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6539 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6540 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6541 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6542 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6543 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6544 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6546 (FLT_ROUNDS): Expect as macro, not constant.
6547 (FLT_MANT_DIG): Use macro-int-constant.
6548 (DBL_MANT_DIG): Likewise.
6549 (LDBL_MANT_DIG): Likewise.
6550 (FLT_DIG): Likewise.
6551 (DBL_DIG): Likewise.
6552 (LDBL_DIG): Likewise.
6553 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6554 (DBL_MIN_EXP): Likewise.
6555 (LDBL_MIN_EXP): Likewise.
6556 (FLT_MAX_EXP): Use macro-int-constant.
6557 (DBL_MAX_EXP): Likewise.
6558 (LDBL_MAX_EXP): Likewise.
6559 (FLT_MAX_10_EXP): Likewise.
6560 (DBL_MAX_10_EXP): Likewise.
6561 (LDBL_MAX_10_EXP): Likewise.
6562 (FLT_MAX): Use macro-constant.
6563 (DBL_MAX): Likewise.
6564 (LDBL_MAX): Likewise.
6565 (FLT_EPSILON): Use macro-constant. Give upper bound.
6566 (DBL_EPSILON): Likewise.
6567 (LDBL_EPSILON): Likewise.
6568 (FLT_MIN): Likewise.
6569 (DBL_MIN): Likewise.
6570 (LDBL_MIN): Likewise.
6571 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6572 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6573 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6574 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6575 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6576 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6577 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6578 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6579 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6580 [ISO11] (FLT_TRUE_MIN): Likewise.
6581 [ISO11] (LDBL_TRUE_MIN): Likewise.
6582 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6583 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6584 (SCHAR_MIN): Use macro-int-constant. Specify type.
6585 (SCHAR_MAX): Likewise.
6586 (UCHAR_MAX): Likewise.
6587 (CHAR_MIN): Likewise.
6588 (CHAR_MAX): Likewise.
6589 (MB_LEN_MAX): Use macro-int-constant.
6590 (SHRT_MIN): Use macro-int-constant. Specify type.
6591 (SHRT_MAX): Likewise.
6592 (USHRT_MAX): Likewise.
6593 (INT_MAX): Likewise.
6594 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6596 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6598 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6600 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6601 bound negative. Suffix upper bound with "L".
6602 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6604 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6606 [C99-based standards] (LLONG_MAX): Likewise.
6607 [C99-based standards] (ULLONG_MAX): Likewise.
6608 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6610 [ISO11] (max_align_t): Require type.
6611 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6613 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6614 from $CFLAGS, without defining away __attribute__ calls.
6615 (checknamespace): Use $CFLAGS_namespace.
6617 * conform/conformtest.pl (@keywords): Only include C99 keywords
6618 for standards based on C99 or C11.
6620 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6622 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6625 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6626 usability of symbols in #if.
6628 * conform/conformtest.pl: If macro or constant types start
6629 "promoted:", expect the symbol to be of the following type
6630 promoted by the integer promotions.
6632 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6633 in one place. Also handle "macro-constant".
6635 * conform/conformtest.pl: Only accept expected macro values with
6636 "==". Parse all "macro" lines in one place.
6637 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6639 * conform/conformtest.pl: Handle braced types on "constant" lines
6640 instead of handling "typed-constant".
6641 * conform/data/signal.h-data: Use "constant" instead of
6644 * conform/conformtest.pl: Handle "optional-" at start of lines in
6645 one place rather than duplicating several cases. Handle each
6646 format of "macro" line with initial "optional-".
6648 * conform/conformtest.pl: Only accept expected constant or
6649 optional-constant values with "==". Parse all "constant" lines in
6650 one place. Parse all "optional-constant" lines in one place.
6651 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6652 * conform/data/fmtmsg.h-data: Likewise.
6653 * conform/data/netinet/in.h-data: Likewise.
6654 * conform/data/tar.h-data: Likewise.
6655 * conform/data/limits.h-data: Use "==" form on "constant" and
6656 "optional-constant" lines.
6658 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6659 Use -std=c99 for XOPEN2K.
6660 (@knownproblems): Remove.
6661 (newtoken): Don't check %isknown.
6663 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6664 Do not expect macro.
6665 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6666 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6667 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6668 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6669 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6670 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6671 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6672 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6673 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6674 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6675 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6676 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6677 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6678 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6679 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6680 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6681 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6682 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6683 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6684 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6685 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6686 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6687 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6688 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6689 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6690 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6691 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6692 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6693 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6694 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6695 [XPG3] (acosh): Likewise.
6696 [XPG3] (asinh): Likewise.
6697 [XPG3] (atanh): Likewise.
6698 [XPG3] (cbrt): Likewise.
6699 [XPG3] (expm1): Likewise.
6700 [XPG3] (ilogb): Likewise.
6701 [XPG3] (log1p): Likewise.
6702 [XPG3] (logb): Likewise.
6703 [XPG3] (nextafter): Likewise.
6704 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6705 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6706 [XPG3] (remainder): Likewise.
6707 [XPG3] (rint): Likewise.
6708 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6709 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6710 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6711 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6712 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6713 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6714 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6715 [UNIX98 || XOPEN2K] (scalb): Expect.
6716 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6717 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6718 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6719 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6720 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6721 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6722 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6723 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6724 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6725 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6726 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6727 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6728 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6729 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6730 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6731 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6732 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6733 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6734 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6735 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6736 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6737 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6738 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6739 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6740 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6741 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6742 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6743 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6744 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6745 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6746 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6747 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6748 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6749 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6750 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6751 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6752 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6753 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6754 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6755 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6756 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6757 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6758 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6759 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6760 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6761 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6762 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6763 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6764 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6765 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6766 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6767 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6768 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6769 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6770 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6771 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6772 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6773 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6774 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6775 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6776 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6777 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6778 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6779 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6780 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6781 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6782 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6783 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6784 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6785 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6786 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6787 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6788 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6789 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6790 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6791 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6792 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6793 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6794 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6795 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6796 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6797 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6798 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6799 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6800 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6801 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6802 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6803 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6804 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6805 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6806 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6807 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6808 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6809 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6810 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6811 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6812 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6813 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6814 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6815 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6816 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6817 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6818 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6819 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6820 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6821 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6822 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6823 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6824 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6825 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6826 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6827 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6828 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6829 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6830 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6831 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6832 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6833 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6834 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6835 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6836 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6837 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6838 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6839 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6840 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6841 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6842 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6843 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6844 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6845 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6846 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6847 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6848 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6849 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6850 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6851 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6852 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6854 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6855 _XOPEN_SOURCE_EXTENDED for XPG4.
6857 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6859 * Makeconfig (localtime): Remove variable.
6860 (inst_localtime-file): Likewise.
6862 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6883 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6887 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6888 comparisons to determine direction to adjust input.
6889 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6890 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6891 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6893 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6895 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6897 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6898 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6900 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6902 * math/libm-test.inc (nexttoward_test): Add more tests.
6904 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6907 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6908 in version GLIBC_2.1, not GLIBC_2.0.
6909 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6912 2012-04-30 Joseph Myers <joseph@codesourcery.com>
6915 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6917 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6918 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6919 * math/libm-test.inc (acos_test): Add more tests.
6920 (asin_test): Likewise.
6921 * sysdeps/i386/fpu/libm-test-ulps: Update.
6922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6925 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6927 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6928 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6929 * math/libm-test.inc (acos_test_tonearest): New function.
6930 (acos_test_towardzero): Likewise.
6931 (acos_test_downward): Likewise.
6932 (acos_test_upward): Likewise.
6933 (asin_test_tonearest): Likewise.
6934 (asin_test_towardzero): Likewise.
6935 (asin_test_downward): Likewise.
6936 (asin_test_upward): Likewise.
6937 (main): Call the new functions.
6938 * sysdeps/i386/fpu/libm-test-ulps: Update.
6939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6943 * math/e_exp10.c: Include <float.h>.
6944 (__ieee754_exp10): Handle underflow here rather than multiplying
6945 large negative argument by M_LN10.
6946 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6948 * math/e_exp10l.c: Include <float.h>.
6949 (__ieee754_exp10l): Handle underflow here rather than multiplying
6950 large negative argument by M_LN10l.
6951 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6952 spurious overflow exception on underflow.
6954 2012-04-29 Marek Polacek <polacek@redhat.com>
6956 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6957 (__fortify_function): New macro.
6958 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6959 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6960 __extern_always_inline.
6961 * libio/bits/stdio2.h: Likewise.
6962 * libio/bits/stdio.h: Likewise.
6963 * string/string.h: Likewise.
6964 * string/bits/string3.h: Likewise.
6965 * include/stdio.h: Likewise.
6966 * stdlib/bits/stdlib.h: Likewise.
6967 * stdlib/stdlib.h: Likewise.
6968 * rt/bits/mqueue2.h: Likewise.
6969 * rt/mqueue.h: Likewise.
6970 * posix/bits/unistd.h: Likewise.
6971 * posix/unistd.h: Likewise.
6972 * io/bits/poll2.h: Likewise.
6973 * io/bits/fcntl2.h: Likewise.
6974 * io/fcntl.h: Likewise.
6975 * io/sys/poll.h: Likewise.
6976 * misc/bits/syslog.h: Likewise.
6977 * misc/bits/syslog-ldbl.h: Likewise.
6978 * misc/sys/syslog.h: Likewise.
6979 * socket/bits/socket2.h: Likewise.
6980 * socket/sys/socket.h: Likewise.
6981 * debug/tst-chk1.c: Likewise.
6982 * wcsmbs/bits/wchar2.h: Likewise.
6983 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6984 * wcsmbs/wchar.h: Likewise.
6986 2012-04-29 Andreas Jaeger <aj@suse.de>
6988 * Makerules (tests): Remove enable-check-abi protection.
6989 (check-abi-warn): Remove.
6990 (check-abi-%): Remove check-abi-warn usage.
6992 * configure.in: Remove check-abi configure option.
6993 * configure: Regenerated.
6994 * config.make.in (enable-check-abi): Remove.
6996 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6999 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7000 double functions to double *_finite functions.
7003 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7004 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7006 * stdio-common/Makefile (tests): Add tst-sprintf3.
7007 * stdio-common/tst-sprintf3.c: New file.
7009 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7010 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7012 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7014 * conform/conformtest.pl: Remove duplicate typed-constant
7017 2012-04-28 David S. Miller <davem@davemloft.net>
7019 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7020 (check-abi-%): Remove AWK script prerequisite and explicit
7022 (check-abi): Rewrite to just diff the symlist with the abilist.
7023 (config-tls, config-abi-config): Delete, no longer used.
7024 (update-abi-%): Remove AWK script and explicit abilist directory.
7025 (update-abi): Rewrite to simply compare and conditionally copy the
7026 symlist and the sysdep abilist file. Remove update-abi-config
7028 * abilist/ld.abilist: Remove.
7029 * abilist/libBrokenLocale.abilist: Remove.
7030 * abilist/libanl.abilist: Remove.
7031 * abilist/libcrypt.abilist: Remove.
7032 * abilist/libdl.abilist: Remove.
7033 * abilist/librt.abilist: Remove.
7034 * abilist/libthread_db.abilist: Remove.
7035 * abilist/libutil.abilist: Remove.
7036 * scripts/extract-abilist.awk: Remove.
7037 * scripts/merge-abilist.awk: Remove.
7038 * sysdeps/generic/libcidn.abilist: New file.
7039 * sysdeps/generic/libnss_compat.abilist: New file.
7040 * sysdeps/generic/libnss_db.abilist: New file.
7041 * sysdeps/generic/libnss_dns.abilist: New file.
7042 * sysdeps/generic/libnss_files.abilist: New file.
7043 * sysdeps/generic/libnss_hesiod.abilist: New file.
7044 * sysdeps/generic/libnss_nis.abilist: New file.
7045 * sysdeps/generic/libnss_nisplus.abilist: New file.
7046 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7047 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7048 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7050 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7051 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7052 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7053 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7054 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7055 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7056 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7057 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7058 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7060 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7061 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7062 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7063 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7065 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7066 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7067 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7068 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7069 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7070 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7072 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7073 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7074 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7076 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7179 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7180 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7181 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7183 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7184 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7185 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7186 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7187 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7188 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7189 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7190 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7191 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7192 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7244 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7246 * conform/conformtest.pl: Fix typo in handling typed-constant from
7249 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7251 * README: Cut down references to pre-2.6 Linux kernels and
7252 Linuxthreads. Update lists of configurations in libc and ports
7253 and sort alphabetically. Say "or newer" with Linux kernel version
7256 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7258 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7261 * math/libm-test.inc (logb_test_downward): New test to expose
7262 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7265 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7268 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7270 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7271 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7273 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7275 * sysdeps/unix/i386/brk.S: Remove file.
7276 * sysdeps/unix/i386/dl-brk.S: Likewise.
7277 * sysdeps/unix/i386/pipe.S: Likewise.
7278 * sysdeps/unix/i386/sigreturn.S: Likewise.
7279 * sysdeps/unix/i386/syscall.S: Likewise.
7280 * sysdeps/unix/i386/vfork.S: Likewise.
7281 * sysdeps/unix/i386/wait.S: Likewise.
7283 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7284 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7286 * configure.in (arm*-none*): Do not allow without
7287 --enable-hacker-mode.
7288 (netbsd*): Remove case setting base_os.
7289 (386bsd*): Likewise.
7290 (freebsd*): Likewise.
7294 (ultrix*): Likewise.
7295 (newsos*): Likewise.
7305 (solaris[2-9]*): Likewise.
7307 * configure: Regenerated.
7309 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7312 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7313 overflow or cancellation in calculating denominator.
7314 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7315 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7316 down expression to avoid unexpected rounding in newer GCCs.
7317 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7319 2012-04-26 David S. Miller <davem@davemloft.net>
7321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7322 long-double compat symbols.
7323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7337 2012-04-25 David S. Miller <davem@davemloft.net>
7339 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7340 HWCAP_* values only after the memory barriers have been defined.
7341 (atomic_full_barrier): Define.
7342 (atomic_read_barrier): Define.
7343 (atomic_write_barrier): Define.
7345 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7347 * shlib-versions: Add libgcc_s version information.
7348 * sysdeps/generic/libgcc_s.h: Remove.
7349 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7351 * sysdeps/gnu/unwind-resume.c: Likewise.
7352 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7354 2012-04-25 David S. Miller <davem@davemloft.net>
7356 * sysdeps/unix/sparc/brk.S: Delete.
7357 * sysdeps/unix/sparc/dl-brk.S: Delete.
7358 * sysdeps/unix/sparc/pipe.S: Delete.
7359 * sysdeps/unix/sparc/sysdep.S: Delete.
7360 * sysdeps/unix/sparc/sysdep.h: Delete.
7361 * sysdeps/unix/sparc/vfork.S: Delete.
7362 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7363 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7364 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7365 ret_ERRVAL, r0, r1, MOVE): Define.
7366 (JUMPTARGET): Remove.
7367 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7368 sysdeps/unix/sparc/sysdep.h
7369 (ENTRY, END): Remove.
7370 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7372 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7374 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7375 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7378 * timezone/README: Update upstream location and email address for
7380 * timezone/zdump.c: Update from tzcode 2012b.
7381 * timezone/zic.c: Likewise.
7383 * configure.in (libc_cv_as_needed): Remove test.
7384 * configure: Regenerated.
7385 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7386 conditional definition.
7387 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7388 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7389 * config.make.in (have-as-needed): Remove variable.
7391 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7392 Paul Pluzhnikov <ppluzhnikov@google.com>
7394 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7397 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7399 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7400 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7401 * sysdeps/sh/strlen.S: Likewise.
7403 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7405 * sysdeps/unix/fork.S: Remove file.
7406 * sysdeps/unix/i386/fork.S: Likewise.
7407 * sysdeps/unix/sparc/fork.S: Likewise.
7409 * sysdeps/unix/system.c: Remove file.
7410 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7412 * sysdeps/unix/getegid.S: Remove file.
7413 * sysdeps/unix/geteuid.S: Likewise.
7415 2012-04-24 Roland McGrath <roland@hack.frob.com>
7417 * scripts/check-localplt.awk: New file.
7418 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7420 * scripts/data/localplt-generic.data: Add a comment.
7422 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7423 NODE when __dir_mkfile failed.
7424 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7425 Reported by Ludovic Courtès <ludo@gnu.org>.
7427 2012-04-24 Andreas Jaeger <aj@suse.de>
7429 * Makerules (common-clean): Also remove gen-as-const-headers
7432 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7434 * Makerules (native-compile): Do not change working directory for
7435 build. Use $(OUTPUT_OPTION) in command.
7436 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7438 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7441 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7442 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7443 * math/libm-test.inc (floor_test): Add more tests.
7444 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7446 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7448 * sysdeps/unix/getdents.c: Remove file.
7449 * sysdeps/unix/sysv/getdents.c: Likewise.
7450 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7452 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7453 sysdeps/unix/mman/syscalls.list.
7455 (mprotect): Likewise.
7458 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7459 * sysdeps/unix/mman/syscalls.list: Remove.
7460 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7462 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7463 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7464 * configure: Regenerated.
7465 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7467 * config.make.in (libgcc_s_suffix): Remove variable.
7469 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7471 * sysdeps/unix/sysv/gethostname.c: Move to ...
7472 * sysdeps/posix/gethostname.c: ... here.
7474 * sysdeps/unix/execve.S: Remove file.
7476 * sysdeps/unix/_exit.S: Remove file.
7478 2012-04-23 Andreas Jaeger <aj@suse.de>
7481 * manual/Makefile: Remove make dist support, there's no
7482 need for a stand-alone documentation tar ball.
7483 (TEXI2DVI): Define always, it's not in Makeconfig.
7487 (glibc-doc-$(edition).tar): Removed
7491 (ETAGS): Remove, it's in Makeconfig.
7492 (move-if-change): Remove, it's in Makeconfig.
7494 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7497 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7498 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7499 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7500 (strtod_l, strtof_l, strtold_l): Remove __wur.
7501 It is not necessarily an error to ignore strtol's return value.
7502 One can reliably look at the stored endptr to decide whether
7503 the number had valid syntax.
7505 2012-04-21 Andreas Jaeger <aj@suse.de>
7508 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7510 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7512 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7513 * sysdeps/unix/sysv/Versions: Remove file.
7515 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7520 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7523 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7524 version from __vm86.
7526 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7528 * sysdeps/unix/common/lxstat.c: Remove file.
7529 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7531 * sysdeps/unix/sysv/Makefile: Remove file.
7533 * sysdeps/unix/sysv/direct.h: Remove file.
7535 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7536 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7537 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7538 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7539 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7540 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7541 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7543 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7545 * sysdeps/unix/xmknod.c: Remove file.
7546 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7548 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7550 * sysdeps/unix/sysv/i386/time.S: Remove file.
7552 * sysdeps/unix/fxstat.c: Remove file.
7553 * sysdeps/unix/xstat.c: Likewise.
7554 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7556 * sysdeps/unix/sysv/sigaction.c: Remove file.
7558 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7559 (sysdep_headers): Remove variable.
7560 [termio.h not in sysdep_headers] (generated): Likewise.
7561 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7562 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7563 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7564 * sysdeps/unix/sysv/tcflow.c: Likewise.
7565 * sysdeps/unix/sysv/tcflush.c: Likewise.
7566 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7567 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7568 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7569 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7570 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7572 * sysdeps/unix/siglist.c: Remove file.
7574 * sysdeps/unix/getppid.S: Remove file.
7576 * sysdeps/unix/mkdir.c: Remove file.
7577 * sysdeps/unix/rmdir.c: Likewise.
7579 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7581 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7583 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7584 errlist-compat value.
7586 2012-04-18 David S. Miller <davem@davemloft.net>
7588 * sysdeps/generic/memcopy.h (reg_char): Delete.
7589 * debug/strcat_chk.c: Use char, not reg_char.
7590 * debug/strcpy_chk.c: Likewise.
7591 * debug/strncat_chk.c: Likewise.
7592 * debug/strncpy_chk.c: Likewise.
7593 * string/memchr.c: Likewise.
7594 * string/memrchr.c: Likewise.
7595 * string/rawmemchr.c: Likewise.
7596 * string/strcat.c: Likewise.
7597 * string/strchr.c: Likewise.
7598 * string/strchrnul.c: Likewise.
7599 * string/strcmp.c: Likewise.
7600 * string/strcpy.c: Likewise.
7601 * string/strncat.c: Likewise.
7602 * string/strncmp.c: Likewise.
7603 * string/strncpy.c: Likewise.
7605 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7607 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7608 __builtin_memcopy is called when src and dest ranges are known to not
7611 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7613 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7614 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7615 fwd_align_merge macro call.
7616 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7617 bwd_align_merge macro call.
7618 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7620 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7622 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7623 bwd_align_merge macros.
7624 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7625 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7626 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7628 2012-04-18 David S. Miller <davem@davemloft.net>
7630 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7632 2012-04-18 Andreas Jaeger <aj@suse.de>
7635 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7636 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7637 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7639 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7640 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7641 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7643 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7644 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7645 Adjust for changed ldbl-128 files.
7647 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7648 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7649 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7651 2012-04-17 David S. Miller <davem@davemloft.net>
7653 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7655 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7657 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7658 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7659 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7660 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7661 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7662 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7664 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7667 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7668 * math/libm-test.inc: Add ilogb errno and exception tests.
7669 * math/w_ilogb.c: New file: ilogb wrapper.
7670 * math/w_ilogbf.c: New file: ilogbf wrapper.
7671 * math/w_ilogbl.c: New file: ilogbl wrapper.
7672 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7673 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7674 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7675 exception being thrown with 0.0 as argument.
7676 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7677 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7678 exception being thrown with 0.0 as argument.
7679 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7680 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7681 exception being thrown with 0.0 as argument.
7682 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7683 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7684 exception being thrown with 0.0 as argument.
7685 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7686 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7687 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7688 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7689 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7690 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7691 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7692 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7693 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7695 2012-04-17 Petr Baudis <pasky@ucw.cz>
7697 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7700 2012-04-16 Marek Polacek <polacek@redhat.com>
7702 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7704 2012-04-16 Marek Polacek <polacek@redhat.com>
7706 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7707 operands of fdivp instruction.
7709 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7711 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7712 * elf/tst-auditmod3b.c: Likewise.
7713 * elf/tst-auditmod4b.c: Likewise.
7714 * elf/tst-auditmod5b.c: Likewise.
7715 * elf/tst-auditmod6b.c: Likewise.
7716 * elf/tst-auditmod6c.c: Likewise.
7717 * elf/tst-auditmod7b.c: Likewise.
7718 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7719 * sysdeps/x86_64/preconfigure.in: Likewise.
7720 * sysdeps/x86_64/preconfigure: Regenerated.
7722 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7724 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7727 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
7729 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7730 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7732 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7735 * locale/iso-639.def: Fix gl language name. Spotted by
7738 2012-04-12 Roland McGrath <roland@hack.frob.com>
7741 * libio/libio.h (__io_write_fn): Update comment.
7743 2012-04-12 Petr Baudis <pasky@ucw.cz>
7746 * stdio.texi (Hook Functions): The user provided writer function
7747 is not allowed to return -1.
7749 2012-04-11 David S. Miller <davem@davemloft.net>
7751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7753 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7755 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7756 Add a leading slash to rtkaio.
7758 2012-04-11 Jim Meyering <meyering@redhat.com>
7761 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7762 It is not necessarily an error to ignore fwrite's return
7763 value. One can reliably use ferror to test for errors after
7766 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7768 * bits/types.h (__snseconds_t): New type.
7769 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7771 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7772 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7773 (__SNSECONDS_T_TYPE): Likewise.
7774 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7775 (__SNSECONDS_T_TYPE): Likewise.
7776 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7777 (__SNSECONDS_T_TYPE): Likewise.
7779 2012-04-10 Andreas Jaeger <aj@suse.de>
7782 * manual/time.texi (Processor Time): Return type of times is
7783 elapsed real time since an arbitrary point in the past.
7784 (CPU Time): Move CLK_TCK from here...
7785 (Processor Time): ...to here. Correct description.
7786 * manual/conf.texi (Constants for Sysconf): Correct description of
7789 2012-04-10 David S. Miller <davem@davemloft.net>
7792 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7793 where the is a gap between DT_REL(A) and DT_JMPREL.
7795 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7797 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7798 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7799 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7801 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7803 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7804 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7805 (dl_main): Handle --inhibit-cache.
7806 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7808 * elf/dl-load.c (_dl_map_object): Use it.
7809 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7811 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7814 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7815 (__ieee754_powl): Saturate large exponents rather than testing for
7816 overflow of y*log2(x).
7817 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7818 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7822 * math/s_ctan.c: Include <float.h>.
7823 (__ctan): Avoid internal overflow or cancellation in calculating
7825 * math/s_ctanf.c: Likewise.
7826 * math/s_ctanl.c: Likewise.
7827 * math/s_ctanh.c: Likewise.
7828 * math/s_ctanhf.c: Likewise.
7829 * math/s_ctanhl.c: Likewise.
7830 * math/libm-test.inc (ctan_test): Add more tests.
7831 (ctanh_test): Likewise.
7832 * sysdeps/i386/fpu/libm-test-ulps: Update.
7833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7835 2012-04-09 Andreas Jaeger <aj@suse.de>
7838 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7839 is an optional BSD extension.
7842 * manual/stdio.texi (Opening Streams): Document additional fopen
7845 2012-04-09 Roland McGrath <roland@hack.frob.com>
7847 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7848 %eax without telling the compiler.
7850 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7853 * manual/install.texi: Use sourceware.org.
7855 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7858 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7859 (__ieee754_pow): Generate overflow and underflow using huge*huge
7860 and tiny*tiny rather than just returning constant infinity or zero
7861 for large exponents.
7862 * math/libm-test.inc (pow_test): Require overflow exceptions for
7863 applicable cases of large exponents.
7866 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7867 (__ieee754_pow): Use iterative multiplication algorithm only for
7868 integer exponents with absolute value below 1024. Check for odd
7869 integer exponents when using algorithm for real exponents.
7870 * math/libm-test.inc (pow_test): Add more tests.
7871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7873 2012-04-08 Joseph Myers <joseph@codesourcery.com>
7876 * math/libm-test.inc (exp_test): Do not allow overflow exception
7879 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7882 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7883 instead of __kernel_standard_f.
7885 2012-04-08 Mike Frysinger <vapier@gentoo.org>
7887 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7888 * sysdeps/x86_64/memset_chk.S: Likewise.
7890 2012-04-08 Andreas Jaeger <aj@suse.de>
7893 * manual/startup.texi (Environment Access): Describe return value
7894 for putenv and setenv.
7897 * manual/filesys.texi (Directory Entries): Add description for
7901 * manual/filesys.texi (Directory Entries): Clarify that it's file
7902 system not operating system in the description of DT_UNKNOWN.
7905 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7907 2012-04-08 Stephen Compall <s11@member.fsf.org>
7910 * manual/llio.texi (Opening and Closing Files): Add cross
7911 reference to explain mode argument.
7913 2012-04-07 Mike Frysinger <vapier@gentoo.org>
7915 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7916 * sysdeps/x86_64/memset_chk.S: Likewise.
7918 2012-04-07 David S. Miller <davem@davemloft.net>
7920 * elf/elf.h (R_SPARC_WDISP10): Define.
7921 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7923 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7924 R_SPARC_SIZE64 and R_SPARC_H34.
7926 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7928 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7929 conditions and remove no longer applicable assertion.
7931 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7933 * bits/byteswap.h: Include <features.h>.
7934 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7935 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7937 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7939 * bits/byteswap.h (__bswap_16): Removed.
7940 Include <bits/byteswap-16.h> to get __bswap_16.
7941 * sysdeps/i386/bits/byteswap.h: Likewise.
7942 * sysdeps/s390/bits/byteswap.h: Likewise.
7943 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7944 * bits/byteswap-16.h: New file.
7945 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7946 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7947 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7948 * string/Makefile (headers): Add bits/byteswap-16.h.
7950 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7953 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7955 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7956 * nss/tst-nss-static.c: New.
7958 2012-04-06 Robert Millan <rmh@gnu.org>
7961 * manual/llio.texi (File Position Primitive): lseek
7962 refers to WHENCE when it really means OFFSET.
7964 2012-04-06 Andreas Jaeger <aj@suse.de>
7966 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7967 strncmp declarations.
7969 * abilist/libc.abilist: Add __poll and __ppoll.
7971 2012-04-05 David S. Miller <davem@davemloft.net>
7973 * scripts/check-local-headers.sh: Accept a host triplet in the
7974 path matched by the exclude regexp.
7976 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7978 * sysdeps/powerpc/powerpc32/dl-machine.h
7979 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7980 * sysdeps/s390/s390-32/dl-machine.h
7981 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7982 * sysdeps/sparc/sparc32/dl-machine.h
7983 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7984 * sysdeps/sparc/sparc64/dl-machine.h
7985 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7987 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7989 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7990 undefined symbol errors.
7992 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7995 2012-04-05 Michael Matz <matz@suse.de>
7998 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8000 2012-04-05 Andreas Jaeger <aj@suse.de>
8003 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8006 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8008 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8009 which ROUND is no valid rounding mode.
8011 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8013 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8015 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8017 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8019 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8020 an exception using FPU order intentionally.
8022 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8024 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8025 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8026 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8027 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8029 2012-04-05 Simon Josefsson <simon@josefsson.org>
8032 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8033 EINVAL when BUFLEN is too smal.
8035 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8038 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8039 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8041 2012-04-03 Andreas Jaeger <aj@suse.de>
8044 * manual/setjmp.texi (System V contexts): Fix sentence.
8047 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8048 New macro for this case.
8049 [!__GNUC__] (__bswap_64): New inline function for this case.
8050 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8051 * bits/byteswap.h: Likewise.
8052 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8053 ull, guard with __GLIBC_HAVE_LONG_LONG.
8055 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8056 __GLIBC_HAVE_LONG_LONG.
8058 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8059 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8061 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8064 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8065 inptr and inend, rather than using last_ch.
8067 2012-04-02 David S. Miller <davem@davemloft.net>
8069 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8070 * stdio-common/printf-parse.h (read_int): Change return type to
8071 'int', return -1 on INT_MAX overflow.
8072 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8073 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8074 overflows INT_MAX. Check for overflow of in-format-string precision
8075 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8076 SIZE_MAX not INT_MAX for integer overflow test.
8077 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8078 skip the construct in the format string but do not record anything.
8079 * stdio-common/bug22.c: Adjust to test both width/prevision
8080 INT_MAX overflow as well as total length INT_MAX overflow. Check
8081 explicitly for proper errno values.
8083 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8085 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8087 * string/test-strcmp.c [! WIDE]: Likewise.
8088 * time/tst-mktime2.c: Likewise for INT_MAX.
8089 * string/test-string.h: #include <sys/param.h> for MIN.
8091 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8092 * sysdeps/i386/init-first.c (init): Likewise.
8093 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8094 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8095 * sysdeps/sh/init-first.c (init): Likewise.
8097 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8099 * po/ru.po: Update from translation team.
8100 * po/vi.po: Likewise.
8102 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8104 * resolv/nss_dns/dns-host.c: Merge copyright years.
8106 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8108 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8109 Optimize memcpy with prefetch if
8110 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8111 src, dst pointers have unequal 16 byte alignments.
8113 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8116 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8117 from a CNAME entry and return the minimum ttl for the query.
8118 (gaih_getanswer_slice): Likewise.
8120 2012-03-30 Jeff Law <law@redhat.com>
8122 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8124 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8125 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8127 * resolv/nss_dns/dns-host.c: Update copyright year.
8129 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8131 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8132 requests to save a system call. Fix check that all bytes are sent.
8134 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8135 comments for sendmmsg.
8137 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8140 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8141 with only 1 character between 0x0041 and 0x01b0.
8142 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8143 * wcsmbs/tst-mbsnrtowcs.c: New file.
8145 2012-03-29 David S. Miller <davem@davemloft.net>
8147 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8148 small copies by hand.
8150 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8153 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8154 _nss_compat_initgroups_dyn): Fall back to malloc/free
8155 for large group memberships.
8157 2012-03-28 David S. Miller <davem@davemloft.net>
8159 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8160 that branches into memcpy.
8161 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8162 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8163 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8164 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8165 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8167 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8169 * sysdeps/sparc/mempcpy.S: New file.
8171 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8172 the IFUNC routine in the libc case.
8173 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8175 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8176 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8177 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8178 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8179 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8180 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8181 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8182 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8184 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8185 loop to 256 bytes instead of 64 bytes and fix test signedness.
8187 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8188 * sysdeps/sparc/sparc32/Makefile: rather than here...
8189 * sysdeps/sparc/sparc64/Makefile: and here.
8191 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8193 * malloc/mallocbug.c: Avoid warnings about unused variables.
8195 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8198 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8199 in the right place. Discard and retry query if response is
8200 larger than input buffer size.
8202 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8207 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8208 x for large integer exponent.
8209 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8210 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8211 sign of result as needed afterwards.
8212 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8213 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8214 result for underflowing pow the same as for overflow.
8215 (__kernel_standard_l): Handle powl overflow and underflow here
8216 rather than calling __kernel_standard.
8217 * math/libm-test.inc (pow_test): Add more tests.
8232 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8233 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8234 (__kernel_standard_l): New function.
8235 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8237 * math/w_acosl.c (__acosl): Likewise.
8238 * math/w_asinl.c (__asinl): Likewise.
8239 * math/w_atan2l.c (__atan2l): Likewise.
8240 * math/w_atanhl.c (__atanhl): Likewise.
8241 * math/w_coshl.c (__coshl): Likewise.
8242 * math/w_exp10l.c (__exp10l): Likewise.
8243 * math/w_exp2l.c (__exp2l): Likewise.
8244 * math/w_fmodl.c (__fmodl): Likewise.
8245 * math/w_hypotl.c (__hypotl): Likewise.
8246 * math/w_j0l.c (__j0l, __y0l): Likewise.
8247 * math/w_j1l.c (__j1l, __y1l): Likewise.
8248 * math/w_jnl.c (__jnl, __ynl): Likewise.
8249 * math/w_lgammal.c (__lgammal): Likewise.
8250 * math/w_log10l.c (__log10l): Likewise.
8251 * math/w_log2l.c (__log2l): Likewise.
8252 * math/w_logl.c (__logl): Likewise.
8253 * math/w_powl.c (__powl): Likewise.
8254 * math/w_remainderl.c (__remainderl): Likewise.
8255 * math/w_scalbl.c (sysv_scalbl): Likewise.
8256 * math/w_sinhl.c (__sinhl): Likewise.
8257 * math/w_sqrtl.c (__sqrtl): Likewise.
8258 * math/w_tgammal.c (__tgammal): Likewise.
8259 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8260 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8261 * math/libm-test.inc (acos_test): Add more tests.
8262 (acosh_test): Likewise.
8263 (asin_test): Likewise.
8264 (atanh_test): Likewise.
8265 (exp_test): Likewise.
8266 (exp10_test): Likewise.
8267 (exp2_test): Likewise.
8268 (expm1_test): Likewise.
8269 (lgamma_test): Likewise.
8270 (log_test): Likewise.
8271 (log10_test): Likewise.
8272 (log1p_test): Likewise.
8273 (log2_test): Likewise.
8274 (pow_test): Do not allow some spurious overflow exceptions.
8275 (sqrt_test): Add more tests.
8276 (tgamma_test): Likewise.
8277 (y0_test): Likewise.
8278 (y1_test): Likewise.
8279 (yn_test): Likewise.
8281 2012-03-27 Anton Blanchard <anton@samba.org>
8283 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8285 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8286 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8287 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8289 2012-03-27 David S. Miller <davem@davemloft.net>
8291 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8293 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8296 2012-03-27 Andreas Jaeger <aj@suse.de>
8298 * sysdeps/x86_64/elf/configure.in: Moved to ...
8299 * sysdeps/x86_64/configure.in: ... here.
8300 * sysdeps/x86_64/elf/start.S: Moved to ...
8301 * sysdeps/x86_64/start.S: ... here.
8302 * sysdeps/x86_64/elf/configure: Delete.
8304 * sysdeps/x86_64/configure.in: Merge contents from
8305 sysdeps/i386/configure.in (without i686 check).
8307 * sysdeps/i386/elf/Versions: Merge into ...
8308 * sysdeps/i386/Versions: ... this.
8309 * sysdeps/i386/elf/Versions: Delete file.
8310 * sysdeps/i386/elf/start.S: Moved to ...
8311 * sysdeps/i386/start.S: ...here.
8312 * sysdeps/i386/elf/configure.in: Merge into...
8313 * sysdeps/i386/configure.in: ...here.
8314 * sysdeps/i386/elf/configure.in: Delete file.
8315 * sysdeps/i386/elf/configure: Delete file.
8317 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8318 * debug/backtracesyms.c: ... here.
8319 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8320 * debug/backtracesymsfd.c: ... here.
8321 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8322 * sysdeps/generic/ifunc-sel.h: ... here.
8324 * sysdeps/unix/i386/start.c: Delete file.
8325 * sysdeps/unix/sparc/start.c: Delete file.
8326 * sysdeps/unix/start.c: Delete file.
8328 * sysdeps/sh/elf/configure.in: Moved to ...
8329 * sysdeps/sh/configure.in: ... here.
8330 * sysdeps/sh/elf/start.S: Moved to ...
8331 * sysdeps/sh/start.S: ... here.
8332 * sysdeps/sh/elf/configure: Delete file.
8334 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8335 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8336 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8337 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8338 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8339 * sysdeps/powerpc/powerpc64/start.S: here.
8340 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8341 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8342 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8343 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8344 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8346 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8347 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8348 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8349 * sysdeps/powerpc/powerpc32/start.S: ... here.
8350 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8351 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8352 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8354 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8355 * sysdeps/powerpc/ifunc-sel.h: ... here.
8356 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8357 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8359 * sysdeps/sparc/elf/configure.in: Moved to ...
8360 * sysdeps/sparc/configure.in: ... here.
8361 * sysdeps/sparc/elf/configure: Delete file.
8362 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8363 * sysdeps/sparc/sparc32/start.S: ... here.
8364 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8365 * sysdeps/sparc/sparc64/start.S: ... here.
8366 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8367 * sysdeps/sparc/sparc32/Makefile: ... this.
8368 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8369 * sysdeps/sparc/sparc64/Makefile: ... this.
8371 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8372 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8373 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8374 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8375 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8376 * sysdeps/s390/s390-32/setjmp.S: ... here.
8377 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8378 * sysdeps/s390/s390-32/configure.in: ... here.
8379 * sysdeps/s390/s390-32/elf/configure: Delete file.
8380 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8381 * sysdeps/s390/s390-32/start.S: ... here.
8383 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8384 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8385 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8386 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8387 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8388 * sysdeps/s390/s390-64/setjmp.S: ... here.
8389 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8390 * sysdeps/s390/s390-64/configure.in: ... here
8391 * sysdeps/s390/s390-64/elf/configure: Delete file.
8392 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8393 * sysdeps/s390/s390-64/start.S: ... here.
8394 * sysdeps/s390/s390-64/elf/configure: Delete.
8396 * configure.in: Remove support for elf directories in sysdeps.
8398 * configure: Regenerated.
8399 * sysdeps/i386/configure: Regenerated.
8400 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8401 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8402 * sysdeps/s390/s390-32/configure: Regenerated.
8403 * sysdeps/s390/s390-64/configure: Regenerated.
8404 * sysdeps/sh/configure: Regenerated.
8405 * sysdeps/sparc/configure: Regenerated.
8406 * sysdeps/x86_64/configure: Regenerated.
8408 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8412 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8413 denormal result into account.
8415 2012-03-25 Roland McGrath <roland@hack.frob.com>
8417 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8418 Reported by Allan McRae <allan@archlinux.org>.
8420 2012-03-23 Jeff Law <law@redhat.com>
8422 * nss/getnssent.c (__nss_getent): Fix typo.
8424 2012-03-23 David S. Miller <davem@davemloft.net>
8426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8428 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8430 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8431 to pad to uint64_t for each field.
8432 (dl_tls_index): Replace unsigned long with uint64_t.
8434 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8435 Paul Pluzhnikov <ppluzhnikov@google.com>
8438 * grp/Makefile (otherlibs): Don't set it.
8439 * inet/Makefile (otherlibs): Likewise.
8440 * login/Makefile (otherlibs): Likewise.
8441 * nscd/Makefile (otherlibs): Likewise.
8442 * posix/Makefile (otherlibs): Likewise.
8443 * pwd/Makefile (otherlibs): Likewise.
8444 * rt/Makefile (otherlibs): Likewise.
8445 * sunrpc/Makefile (otherlibs): Likewise.
8446 * nss/Makefile (otherlibs): Likewise.
8447 Add libnss_files to routines and static-only-routines.
8448 ($(objpfx)getent): Remove rule.
8449 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8450 static-only-routines.
8452 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8455 * math/s_cexp.c: Include <float.h>.
8456 (__cexp): Handle exp result overflowing not necessarily
8457 overflowing both real and imaginary parts of result.
8458 * math/s_cexpf.c: Likewise.
8459 * math/s_cexpl.c: Likewise.
8460 * math/libm-test.inc (cexp_test): Add more tests.
8461 * sysdeps/i386/fpu/libm-test-ulps: Update.
8462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8464 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8466 * include/link.h (ELFW): New macro.
8467 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8468 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8470 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8472 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8475 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8477 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8479 (struct La_x32_retval): Likewise.
8481 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8483 * sysdeps/x86_64/preconfigure.in: New file.
8484 * sysdeps/x86_64/preconfigure: New generated file.
8486 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8489 * math/e_exp2l.c: Include <float.h>.
8490 (__ieee754_exp2l): Handle overflow and underflow cases
8491 separately. Only pass fractional part of argument to
8493 * math/libm-test.inc (exp2_test): Add more tests.
8495 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8496 negating x to take absolute value.
8497 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8499 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8500 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8502 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8503 computing low part if x was negated.
8504 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8506 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8508 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8510 (pltexit): Cast int_retval to ptrdiff_t.
8511 * elf/tst-auditmod3b.c: Likewise.
8512 * elf/tst-auditmod4b.c: Likewise.
8513 * elf/tst-auditmod5b.c: Likewise.
8514 * elf/tst-auditmod6b.c: Likewise.
8515 * elf/tst-auditmod6c.c: Likewise.
8516 * elf/tst-auditmod7b.c: Likewise.
8518 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8519 and x32_gnu_pltexit.
8521 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8523 (La_x32_regs): New macro.
8524 (La_x32_retval): Likewise.
8525 (la_x32_gnu_pltenter): New function prototype.
8526 (la_x32_gnu_pltexit): Likewise.
8528 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8530 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8535 * configure.in (libc_cv_cc_nofma): Check for option to disable
8536 generation of FMA instructions.
8537 * configure: Regenerate.
8538 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8539 * sysdeps/ieee754/dbl-64/Makefile: New file.
8540 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8541 Remove brandred-fma4.
8542 (CFLAGS-brandred-fma4.c): Remove.
8543 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8544 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8546 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8549 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8551 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8552 LLONG_MAX != LONG_MAX.
8553 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8554 (_fitoa_word): Likewise.
8555 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8556 LLONG_MAX != LONG_MAX.
8557 * stdio-common/_itowa.h: Include <_itoa.h>.
8558 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8559 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8560 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8561 only if not defined.
8562 (_ITOA_WORD_TYPE): Likewise.
8563 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8564 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8566 2012-03-21 David S. Miller <davem@davemloft.net>
8568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8570 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8572 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8573 of x86_64 when setting libc_cv_slibdir, libdir and
8575 * sysdeps/unix/sysv/linux/configure: Regenerated.
8577 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8579 * manual/lang.texi (Old Varargs): Remove section.
8580 (How Variadic): Update menu.
8581 (va_start): Do not mention varargs.h.
8583 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8584 Joseph Myers <joseph@codesourcery.com>
8586 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8588 * configure: Regenerated.
8590 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8592 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8593 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8596 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8599 * Makefile (files-for-dist): Remove NOTES.
8600 (NOTES): Remove rule.
8601 * README: Don't refer to NOTES.
8602 * manual/creature.texi: Don't include macros.texi.
8603 * manual/intro.texi (creature.texi): Remove comment referring to
8606 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8607 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8608 * configure: Regenerated.
8609 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8611 (libc_cv_as_i686): Likewise.
8612 (libc_cv_cc_avx): Likewise.
8613 (libc_cv_cc_sse2avx): Likewise.
8614 (libc_cv_cc_fma4): Likewise.
8615 (libc_cv_cc_novzeroupper): Likewise.
8616 * sysdeps/i386/configure: Regenerated.
8619 * sysdeps/i386/fpu/s_cexp.S: Remove.
8620 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8621 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8622 * math/libm-test.inc (cexp_test): Add more tests.
8623 * sysdeps/i386/fpu/libm-test-ulps: Update.
8624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8626 2012-03-21 Allan McRae <allan@archlinux.org>
8628 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8630 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8633 * math/w_exp2.c: Do not include <float.h>.
8634 (o_threshold, u_threshold): Remove.
8635 (__exp2): Calculate result before checking finiteness and calling
8637 * math/w_exp2f.c: Likewise.
8638 * math/w_exp2l.c: Likewise.
8639 * math/libm-test.inc (exp2_test): Require overflow exception for
8643 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8644 range of signed 64-bit integers before using fistpll. Remove
8645 checks for whether integers fit in mantissa bits.
8646 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8647 the range of signed 32-bit integers before using fistpl. Remove
8648 checks for whether integers fit in mantissa bits.
8649 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8650 (__ieee754_powl): Test for y outside the range of signed 64-bit
8651 integers before using fistpll. Reduce 64-bit values to 63-bit
8653 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8654 divide-by-zero is raised for zero to large negative powers.
8655 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8656 (__ieee754_powl): Test for y outside the range of signed 64-bit
8657 integers before using fistpll. Reduce 64-bit values to 63-bit
8659 * math/libm-test.inc (pow_test): Add more tests.
8661 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8663 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8664 <stdio-common/_itoa.h>.
8665 * debug/segfault.c: Likewise.
8666 * elf/dl-cache.c: Likewise.
8667 * elf/dl-minimal.c: Likewise.
8668 * elf/dl-misc.c: Likewise.
8669 * elf/dl-sysdep.c: Likewise.
8670 * elf/dl-version.c: Likewise.
8671 * elf/rtld.c: Likewise.
8672 * hurd/hurdsock.c: Likewise.
8673 * hurd/lookup-retry.c: Likewise.
8674 * malloc/malloc.c: Likewise.
8675 * malloc/mtrace.c: Likewise.
8676 * nscd/nscd_getgr_r.c: Likewise.
8677 * nscd/nscd_getpw_r.c: Likewise.
8678 * nscd/nscd_getserv_r.c: Likewise.
8679 * posix/getopt_init.c: Likewise.
8680 * posix/wordexp.c: Likewise.
8681 * stdio-common/_itoa.c: Likewise.
8682 * stdio-common/printf_fphex.c: Likewise.
8683 * stdio-common/vfprintf.c: Likewise.
8684 * string/_strerror.c: Likewise.
8685 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8686 * sysdeps/i386/i686/hp-timing.h: Likewise.
8687 * sysdeps/mach/_strerror.c: Likewise.
8688 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8689 * sysdeps/mach/hurd/sethostid.c: Likewise.
8690 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8691 * sysdeps/mach/xpg-strerror.c: Likewise.
8692 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8693 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8694 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8695 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8696 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8697 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8698 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8699 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8700 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8701 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8702 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8703 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8704 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8705 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8706 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8707 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8708 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8709 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8710 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8711 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8712 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8714 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8716 * stdio-common/_itoa.h: Moved to ...
8717 * sysdeps/generic/_itoa.h: Here.
8719 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8721 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8722 instead of "_itoa.h" and "_itowa.h".
8723 * stdio-common/vfprintf.: Likewise.
8725 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8727 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8729 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8730 (__signbit): Likwise.
8734 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8736 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8739 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8741 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8742 OVERFLOW_EXCEPTION_OK.
8743 * math/libm-test.inc ("Philosophy"): Update comment about
8745 (OVERFLOW_EXCEPTION): Define.
8746 (OVERFLOW_EXCEPTION_OK): Likewise.
8747 (INVALID_EXCEPTION_OK): Renumber.
8748 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8749 (IGNORE_ZERO_INF_SIGN): Likewise.
8750 (test_exceptions): Handle FE_OVERFLOW.
8751 (exp10_test): Expect overflow exceptions.
8752 (exp2_test): Likewise.
8753 (expm1_test): Likewise.
8754 (nextafter_test): Likewise.
8755 (pow_test): Likewise.
8756 (scalbn_test): Likewise.
8757 (scalbln_test): Likewise.
8759 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8761 * sysdeps/x86_64/bits/atomic.h
8762 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8764 (atomic_exchange_acq): Likewise.
8765 (__arch_exchange_and_add_body): Likewise.
8766 (__arch_add_body): Likewise.
8767 (atomic_add_negative): Likewise.
8768 (atomic_add_zero): Likewise.
8770 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8772 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8773 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8775 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8777 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8778 Check __x86_64__ instead of __WORDSIZE.
8780 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8782 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8784 2012-03-19 David S. Miller <davem@davemloft.net>
8786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8788 * sysdeps/sparc/fpu/fenv_private.h: New file.
8789 * sysdeps/sparc/fpu/math_private.h: Use it.
8790 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8792 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8793 (libc_feholdexcept_setroundl): Remove.
8794 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8796 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8797 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8799 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8801 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8802 int64_t instead of long int.
8803 (INSERT_WORDS64): Likwise.
8805 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8807 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8808 _Unwind_GetCFA return to _Unwind_Ptr first.
8810 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8813 * math/s_clog.c: Include <float.h>.
8814 (__clog): Scale large or subnormal inputs.
8815 * math/s_clogf.c: Likewise.
8816 * math/s_clogl.c: Likewise.
8817 * math/s_clog10.c: Include <float.h>.
8818 (M_LOG10_2): Define.
8819 (__clog10): Scale large or subnormal inputs.
8820 * math/s_clog10f.c: Likewise.
8821 * math/s_clog10l.c: Likewise.
8822 * math/libm-test.inc (clog_test): Add more tests.
8823 (clog10_test): Likewise.
8824 * sysdeps/i386/fpu/libm-test-ulps: Update.
8825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8828 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8830 * math/libm-test.inc (atan2_test): Add another test.
8832 * Makerules (common-objdir-compile): Remove.
8833 * sysdeps/unix/Makefile (config-generated): Do not add
8834 $(unix-generated) to variable.
8835 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8836 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8838 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8840 [generic bits/local_lim.h] (before-compile): Do not append to
8842 [generic bits/local_lim.h] (common-generated): Likewise.
8843 [generic sys/param.h] (before-compile): Do not append to variable.
8844 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8845 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8846 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8847 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8849 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8850 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8851 [generic sys/param.h] ($(addprefix
8852 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8853 [generic sys/param.h] (common-generated): Do not append to
8855 [generic sys/param.h] (sysdep_headers): Likewise.
8856 [generic bits/errno.h] (before-compile): Do not append to
8858 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8860 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8861 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8862 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8863 [generic bits/errno.h] (common-generated): Do not append to
8865 [generic bits/ioctls.h] (before-compile): Do not append to
8867 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8869 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8870 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8871 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8873 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8874 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8875 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8876 [generic bits/ioctls.h] (common-generated): Do not append to
8878 [generic sys/syscall.h] (syscall.h): Remove variable.
8879 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8881 [generic sys/syscall.h] (before-compile): Do not append to
8883 [generic sys/syscall.h] (common-generated): Likewise.
8884 * sysdeps/unix/errnos-tmpl.c: Remove file.
8885 * sysdeps/unix/errnos.awk: Likewise.
8886 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8887 * sysdeps/unix/ioctls.awk: Likewise.
8888 * sysdeps/unix/mk-local_lim.c: Likewise.
8889 * sysdeps/unix/snarf-ioctls: Likewise.
8891 2012-03-19 Richard Henderson <rth@twiddle.net>
8893 * sysdeps/i386/fpu/fenv_private.h: New file.
8894 * sysdeps/i386/fpu/math_private.h: Use it.
8895 (math_opt_barrier, math_force_eval): Remove.
8896 (libc_feholdexcept_setround_53bit): Remove.
8897 (libc_feupdateenv_53bit): Remove.
8898 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8899 (math_opt_barrier, math_force_eval): Remove.
8900 (libc_feholdexcept): Remove.
8901 (libc_feholdexcept_setround): Remove.
8902 (libc_fetestexcept, libc_fesetenv): Remove.
8903 (libc_feupdateenv_test): Remove.
8904 (libc_feupdateenv, libc_feholdsetround): Remove.
8905 (libc_feresetround): Remove.
8907 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8908 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8910 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8911 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8912 (libc_feupdateenv_testl): New.
8913 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8914 (libc_feupdateenv_testf): New.
8915 (libc_feupdateenv): Use libc_feupdateenv_test.
8916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8917 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8919 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8920 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8921 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8922 (libc_feresetround_noex): New.
8923 (libc_feresetround_noexf): New.
8924 (libc_feresetround_noexl): New.
8925 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8926 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8927 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8928 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8930 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8931 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8933 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8934 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8935 SET_RESTORE_ROUND_NOEX.
8936 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8937 SET_RESTORE_ROUND_NOEXF.
8938 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8939 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8940 (libc_feholdsetroundf): New.
8941 (libc_feresetround, libc_feresetroundf): New.
8943 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8944 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8945 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8947 * sysdeps/generic/math_private.h: Include <fenv.h>.
8948 (default_libc_feholdexcept): New.
8949 (default_libc_feholdexcept_setround): New.
8950 (default_libc_fesetenv, default_libc_feupdateenv): New.
8951 (libc_feholdexcept): Only define if undefined.
8952 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8953 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8954 (libc_feholdexcept_setroundl): Likewise.
8955 (libc_feholdexcept_setround_53bit): Likewise.
8956 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8957 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8958 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8959 (libc_feupdateenv_53bit): Likewise.
8960 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8961 (libc_feholdexcept): Convert from macro to inline function.
8962 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8963 (libc_fesetenv, libc_feupdateenv): Likewise.
8965 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8966 not previously defined.
8967 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8968 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8969 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8970 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8971 * sysdeps/ieee754/flt-32/math_private.h: New file.
8972 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8973 math_private.h below SET_FLOAT_WORD.
8974 (__isnan, __isinf_ns, __finite): Remove.
8975 (__isnanf, __isinf_nsf, __finitef): Remove.
8977 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8981 2012-03-17 David S. Miller <davem@davemloft.net>
8984 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8987 2012-03-16 David S. Miller <davem@davemloft.net>
8989 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8993 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8995 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8996 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8997 sysdep_routines when subdir is sysvipc.
8998 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9001 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9003 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9005 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9008 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9010 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9011 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9012 (__lround): Renamed to ...
9013 (__llround): This. Replace long int with long long int.
9014 Define lround functions as aliases of llround functions.
9015 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9017 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9019 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9020 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9021 adresses to uintptr_t. Replace "long int" and "unsigned long
9022 int" with "greg_t" on va_arg.
9024 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9026 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9027 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9029 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9030 Move e_machine check before EI_CLASS check. Handle x32
9031 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9032 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9033 SKIP_EM_IA_64 and include
9034 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9036 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9037 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9038 (add_system_dir): New macro.
9040 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9041 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9043 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9054 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9056 * math/w_j0f.c (j0f): Likewise.
9058 * math/w_j0l.c (__j0l): Likewise.
9060 * math/w_j1.c (j1): Likewise.
9062 * math/w_j1f.c (j1f): Likewise.
9064 * math/w_j1l.c (__j1l): Likewise.
9066 * math/w_jn.c (jn): Likewise.
9068 * math/w_jnf.c (jnf): Likewise.
9070 * math/w_jnl.c (__jnl): Likewise.
9072 * math/libm-test.inc (j0_test): Add more tests.
9073 (j1_test): Likewise.
9074 (jn_test): Likewise. Add trailing semicolon to existing test.
9075 (y0_test): Likewise.
9076 (y1_test): Likewise.
9077 * sysdeps/i386/fpu/libm-test-ulps: Update.
9078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9082 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9083 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9084 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9085 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9086 (__tanl): Set errno for infinite argument.
9087 * sysdeps/i386/fpu/mptan.c: Remove.
9088 * sysdeps/i386/fpu/s_tan.S: Likewise.
9089 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9090 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9091 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9092 * math/libm-test.inc (tan_test): Add more tests and enable more
9093 tests for double and long double.
9094 * sysdeps/i386/fpu/libm-test-ulps: Update.
9095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9097 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9099 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9100 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9102 2012-03-16 Roland McGrath <roland@hack.frob.com>
9104 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9105 * configure.in: Use it for both main tree and add-ons.
9106 * configure: Regenerated.
9108 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9110 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9112 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9114 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9118 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9119 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9120 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9121 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9122 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9124 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9127 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9128 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9129 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9130 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9131 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9132 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9133 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9134 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9135 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9136 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9137 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9138 * math/libm-test.inc (cos_test): Add more tests and enable more
9139 tests for long double.
9140 (sin_test): Likewise.
9141 (sincos_test): Likewise.
9142 * sysdeps/i386/fpu/libm-test-ulps: Update.
9143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9145 2012-03-16 David S. Miller <davem@davemloft.net>
9147 * sysdeps/sparc/fpu/math_private.h: New file.
9149 2012-03-15 David S. Miller <davem@davemloft.net>
9151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9161 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9165 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9166 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9168 * sysdeps/sparc/sparc-ifunc.h: New file.
9169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9195 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9196 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9197 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9204 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9207 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9208 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9209 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9210 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9211 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9212 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9214 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9216 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9220 2012-03-15 Andreas Jaeger <aj@suse.de>
9223 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9224 ieee754/flt-32 implementation for sin, cos and sincos.
9225 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9226 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9227 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9228 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9229 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9230 ieee754/flt-32 implementation for tan.
9232 * math/libm-test.inc (cos_test): Enable some large input tests for
9234 (sin_test): Likewise.
9235 (sincos_test): Likewise.
9236 (tan_test): Add tests for large input.
9238 * sysdeps/i386/fpu/libm-test-ulps: Update.
9240 2012-03-15 Andreas Jaeger <aj@suse.de>
9243 * math/libm-test.inc (cos_test): Add more test cases.
9244 (sin_test): Likewise.
9245 (sincos_test): Likewise.
9247 2012-03-15 Andreas Jaeger <aj@suse.de>
9250 * math/libm-test.inc (cos_test): Add a test case for large input
9252 (sin_test): Likewise.
9253 (sincos_test): Likewise.
9255 2012-03-15 Andreas Jaeger <aj@suse.de>,
9256 Joseph Myers <joseph@codesourcery.com>
9259 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9260 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9261 * sysdeps/i386/fpu/branred.c: Likewise.
9262 * sysdeps/i386/fpu/dosincos.c: Likewise.
9263 * sysdeps/i386/fpu/mpa.c: Likewise.
9264 * sysdeps/i386/fpu/s_cos.S: Likewise.
9265 * sysdeps/i386/fpu/s_sin.S: Likewise.
9266 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9267 * sysdeps/i386/fpu/sincos32.c: Likewise.
9269 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9271 (libc_feupdateenv_53bit): Define.
9272 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9274 (libc_feupdateenv_53bit): Define.
9276 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9277 53 bit (without extend i386 double precision).
9279 * math/libm-test.inc (sincos_test): Add tests for large input.
9283 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9285 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9289 2012-03-15 David S. Miller <davem@davemloft.net>
9291 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9292 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9293 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9294 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9318 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9319 fmin/fmax sysdep routines.
9320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9322 2012-03-14 David S. Miller <davem@davemloft.net>
9324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9325 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9326 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9327 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9328 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9329 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9330 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9331 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9332 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9333 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9334 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9335 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9338 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9339 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9340 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9341 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9344 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9345 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9346 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9347 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9348 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9349 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9350 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9351 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9352 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9396 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9401 * sysdeps/sparc/configure.in: New file.
9402 * sysdeps/sparc/configure: Generate.
9403 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9404 * configure: Regenerate.
9405 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9406 * config.make.in (have-as-vis3): New.
9407 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9408 available use -Av9d instead of -Av9a.
9409 * sysdeps/sparc/sparc64/Makefile: Likewise.
9410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9419 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9420 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9421 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9422 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9423 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9425 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9426 fzeros/fnegs to load 0x80000000 into a float register instead of
9428 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9430 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9432 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9434 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9435 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9436 ($(inst_includedir)/bits/syscall.h): Remove rule.
9437 ($(objpfx)bits/syscall.d): Include instead of
9438 $(objpfx)syscall-list.d.
9439 (generated): Change syscall-list.h and syscall-list.d to
9440 bits/syscall.h and bits/syscall.d.
9442 2012-03-14 Roland McGrath <roland@hack.frob.com>
9445 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9447 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9450 * math/s_csqrt.c: Include <float.h>.
9451 (__csqrt): Scale large or subnormal inputs.
9452 * math/s_csqrtf.c: Likewise.
9453 * math/s_csqrtl.c: Likewise.
9454 * math/libm-test.inc (csqrt_test): Add more tests.
9455 * sysdeps/i386/fpu/libm-test-ulps: Update.
9456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9459 * math/libm-test.inc (hypot_test): Add more tests.
9461 2012-03-13 David S. Miller <davem@davemloft.net>
9464 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9465 double-precision for the calculation instead of scaling.
9467 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9469 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9470 manipulate bits before adding and subtracting TWO52[sx].
9471 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9472 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9474 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9476 2012-03-13 David S. Miller <davem@davemloft.net>
9478 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9479 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9480 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9481 rtld-global-offsets.h
9482 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9484 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9487 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9489 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9490 'err' in the ifdef scope in which it is actually used.
9492 * nss/nss_db/db-init.c: Include string.h
9494 2012-03-12 David S. Miller <davem@davemloft.net>
9496 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9497 masking out of the most significant byte of random value used.
9498 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9499 Fix coding style in previous change.
9501 * sysdeps/unix/sysv/linux/kernel-features.h
9502 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9503 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9505 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9508 2012-03-11 David S. Miller <davem@davemloft.net>
9510 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9511 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9512 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9513 for 'resultvar' otherwise things get truncated on 64-bit.
9515 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9516 Fix masking out of the most significant byte of random value used.
9518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9520 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9524 2012-03-09 David S. Miller <davem@davemloft.net>
9526 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9527 variables with appropriate CPP guards.
9528 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9529 frame pointer, not the stack pointer. Correct layout comments. Fix test
9530 on resulting framesize and the management of the outregs buffer for pltexit.
9531 Preserve floating point return values across _dl_call_pltexit call.
9532 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9533 framesize and the management of the outregs buffer for pltexit.
9534 Preserve floating point return values across _dl_call_pltexit
9536 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9537 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9538 (print_exit): Fix format string for return register value.
9540 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9542 * sunrpc/Makefile (others): Add rpcgen.
9543 ($(objpfx)rpcgen): Remove special build rule and dependency on
9545 * sunrpc/rpcgen.c: New file.
9547 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9550 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9551 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9552 * sysdeps/i386/crti.S: Likewise.
9553 * sysdeps/i386/crtn.S: Likewise.
9554 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9555 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9556 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9557 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9558 * sysdeps/sh/crti.S: Likewise.
9559 * sysdeps/sh/crtn.S: Likewise.
9560 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9563 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9565 * locale/programs/locfile-kw.gperf: Likewise.
9566 * locale/programs/charmap-kw.h: Regenerated.
9567 * locale/programs/locfile-kw.h: Likewise.
9570 * intl/plural.y: Replace FSF snail mail address with URL.
9571 * intl/plural.c: Regenerated.
9573 2012-03-09 Richard Henderson <rth@twiddle.net>
9575 * include/math_private.h: Remove file.
9576 * math/math_private.h: Move file ...
9577 * sysdeps/generic/math_private.h: ... here.
9579 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9580 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9581 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9583 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9584 and <math_private.h>.
9585 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9586 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9587 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9588 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9589 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9590 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9591 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9592 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9593 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9594 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9595 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9596 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9597 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9598 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9599 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9600 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9601 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9602 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9603 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9604 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9606 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9607 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9608 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9609 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9610 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9611 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9612 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9613 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9614 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9615 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9616 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9617 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9618 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9619 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9620 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9621 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9622 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9623 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9624 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9625 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9626 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9627 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9628 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9629 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9630 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9631 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9632 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9633 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9634 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9635 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9636 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9637 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9638 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9639 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9640 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9641 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9642 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9643 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9644 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9645 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9646 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9647 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9648 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9649 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9650 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9651 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9652 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9653 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9654 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9655 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9656 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9657 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9658 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9659 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9660 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9661 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9662 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9663 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9664 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9665 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9666 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9667 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9668 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9669 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9670 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9671 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9672 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9673 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9674 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9675 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9676 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9677 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9678 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9679 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9680 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9681 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9682 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9683 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9684 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9685 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9686 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9687 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9688 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9689 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9690 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9691 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9692 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9693 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9694 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9695 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9696 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9697 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9698 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9699 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9700 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9701 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9702 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9703 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9704 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9705 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9706 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9707 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9708 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9709 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9710 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9711 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9712 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9713 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9714 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9715 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9716 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9717 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9718 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9719 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9720 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9721 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9722 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9723 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9724 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9725 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9726 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9727 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9728 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9729 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9730 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9731 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9732 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9733 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9734 * sysdeps/ieee754/k_standard.c: Likewise.
9735 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9736 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9737 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9738 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9739 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9740 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9741 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9742 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9743 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9744 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9745 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9746 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9747 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9748 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9749 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9750 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9751 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9752 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9753 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9754 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9755 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9756 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9757 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9758 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9759 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9760 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9761 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9762 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9763 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9764 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9765 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9766 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9767 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9768 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9769 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9770 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9771 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9772 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9773 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9774 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9775 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9776 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9777 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9778 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9779 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9780 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9781 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9782 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9783 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9784 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9785 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9786 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9787 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9788 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9789 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9790 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9791 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9792 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9793 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9794 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9795 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9796 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9797 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9798 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9799 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9800 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9801 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9802 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9803 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9804 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9805 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9806 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9807 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9808 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9809 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9810 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9811 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9812 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9813 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9814 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9815 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9816 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9817 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9818 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9819 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9820 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9821 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9822 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9823 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9824 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9825 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9826 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9827 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9828 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9829 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9830 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9831 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9832 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9833 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9834 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9835 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9836 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9837 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9838 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9839 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9840 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9841 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9842 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9843 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9844 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9845 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9846 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9847 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9848 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9849 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9850 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9851 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9852 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9853 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9854 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9855 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9856 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9857 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9858 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9862 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9864 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9865 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9866 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9867 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9868 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9869 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9870 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9871 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9872 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9873 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9874 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9875 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9876 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9877 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9878 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9879 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9880 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9881 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9882 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9883 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9884 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9885 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9886 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9887 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9889 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9890 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9891 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9892 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9893 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9894 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9895 * sysdeps/ieee754/s_lib_version.c: Likewise.
9896 * sysdeps/ieee754/s_matherr.c: Likewise.
9897 * sysdeps/ieee754/s_signgam.c: Likewise.
9898 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9899 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9900 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9901 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9902 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9903 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9904 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9905 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9906 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9907 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9908 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9909 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9910 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9911 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9912 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9913 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9914 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9915 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9916 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9917 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9918 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9920 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9922 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9923 * sunrpc/rpc_main.c: Likewise.
9924 * sunrpc/rpc_svcout.c: Likewise.
9926 2012-03-09 David S. Miller <davem@davemloft.net>
9928 * include/math_private.h: New file.
9930 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9932 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9933 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9934 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9935 from <bits/socket_type.h>.
9936 (enum __socket_type): Don't define here.
9937 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9942 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9945 * Makerules ($(inst_includedir)/%.h): New rule.
9946 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9947 (install-others): Remove variable setting.
9948 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9950 2012-03-08 Richard Henderson <rth@twiddle.net>
9952 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9953 from macro to inline function; merge with the
9954 !__LIBC_INTERNAL_MATH_INLINES version.
9955 (__ieee754_sqrtf): Likewise.
9957 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9959 (__rintf, __floor, __floorf): Likewise.
9961 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9962 macro to inline function.
9963 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9965 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9966 not <math/math_private.h>.
9968 2012-03-08 David S. Miller <davem@davemloft.net>
9970 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9972 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9974 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9976 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9978 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9979 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9981 2012-03-08 Ulrich Drepper <drepper@gmail.com>
9983 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9984 be defined individually, they must be defined as a block. Define
9985 S for printing a string instead of hidint the different by using a
9986 macro for adding the 'l'.
9987 * stdio-common/tst-fphex-wide.c: Adjust.
9989 2012-03-07 Marek Polacek <polacek@redhat.com>
9991 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9993 2012-03-08 Marek Polacek <polacek@redhat.com>
9996 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9997 * stdio-common/tst-fphex.c: Define a few macros to make the
9998 test reusable. Use them.
9999 * stdio-common/tst-fphex-wide.c: New file.
10001 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10004 * manual/macros.texi (gnusystems): New macro.
10005 (nongnusystems): Likewise.
10006 (gnulinuxhurdsystems): Likewise.
10007 (gnuhurdsystems): Likewise..
10008 (gnulinuxsystems): Likewise.
10009 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10010 variants of the GNU system, not "GNU system".
10011 * manual/conf.texi: Likewise.
10012 * manual/errno.texi: Likewise. Update example of errno macro
10014 * manual/filesys.texi: Likewise.
10015 (getumask): Document as specific to GNU/Hurd.
10016 * manual/install.texi: Likewise. Reword some references to
10018 * manual/intro.texi: Likewise.
10019 * manual/io.texi: Likewise.
10020 (File Name Portability): Detail which constraints are inapplicable
10021 to all GNU systems and which are only inapplicable to GNU/Hurd.
10022 * manual/job.texi: Likewise.
10023 * manual/llio.texi: Likewise.
10024 (O_NOCTTY): Document as present on GNU/Linux.
10025 * manual/maint.texi: Likewise.
10026 * manual/memory.texi: Likewise.
10027 * manual/pattern.texi: Likewise.
10028 * manual/pipe.texi: Likewise.
10029 * manual/process.texi: Likewise.
10030 * manual/resource.texi: Likewise.
10031 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10033 * manual/setjmp.texi: Likewise.
10034 * manual/signal.texi: Likewise.
10035 * manual/startup.texi: Likewise.
10036 * manual/stdio.texi: Likewise.
10037 * manual/terminal.texi: Likewise.
10038 (ONLCR): Document as POSIX.
10039 (OXTABS): Document availability on GNU/Linux as XTABS.
10040 (ONOEOT): Document availability separately from other bits.
10041 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10042 * manual/time.texi: Likewise.
10043 * manual/users.texi: Likewise.
10044 * INSTALL: Regenerated.
10045 * sysdeps/gnu/errlist.c: Regenerated.
10047 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10048 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10049 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10051 * configure: Regenerated.
10053 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10055 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10056 default includes instead of AC_HEADER_CHECK.
10057 * sysdeps/i386/configure: Regenerated.
10060 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10061 * math/s_cacoshf.c (__cacoshf): Likewise.
10062 * math/s_cacoshl.c (__cacoshl): Likewise.
10063 * math/s_casinh.c (__casinh): Set signs of result from argument.
10064 * math/s_casinhf.c (__casinhf): Likewise.
10065 * math/s_casinhl.c (__casinhl): Likewise.
10066 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10067 (casinh_test): Add more tests.
10068 * sysdeps/i386/fpu/libm-test-ulps: Update.
10069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10071 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10073 * po/zh_TW.po: Update from translation team.
10075 * login/Makefile (distribute): Remove variable.
10076 * catgets/Makefile: Likewise.
10077 * mach/Makefile: Likewise.
10078 * malloc/Makefile: Likewise.
10079 * misc/Makefile: Likewise.
10080 * iconv/Makefile: Likewise.
10081 * nscd/Makefile: Likewise.
10082 * hurd/Makefile: Likewise.
10083 * manual/Makefile: Likewise.
10084 * locale/Makefile: Likewise.
10085 * intl/Makefile: Likewise.
10086 * conform/Makefile: Likewise.
10087 * nss/Makefile: Likewise.
10088 * time/Makefile: Likewise.
10089 * soft-fp/Makefile: Likewise.
10090 * dirent/Makefile: Likewise.
10091 * gmon/Makefile: Likewise.
10092 * po/Makefile: Likewise.
10093 * rt/Makefile: Likewise.
10094 * socket/Makefile: Likewise.
10095 * math/Makefile: Likewise.
10096 * signal/Makefile: Likewise.
10097 * debug/Makefile: Likewise.
10098 * elf/Makefile: Likewise.
10099 * timezone/Makefile: Likewise.
10100 * stdlib/Makefile: Likewise.
10101 * iconvdata/Makefile: Likewise.
10102 * sunrpc/Makefile: Likewise.
10103 * io/Makefile: Likewise.
10104 * argp/Makefile: Likewise.
10105 * inet/Makefile: Likewise.
10106 * hesiod/Makefile: Likewise.
10107 * grp/Makefile: Likewise.
10108 * csu/Makefile: Likewise.
10109 * wctype/Makefile: Likewise.
10110 * crypt/Makefile: Likewise.
10111 * libio/Makefile: Likewise.
10112 * string/Makefile: Likewise.
10113 * nis/Makefile: Likewise.
10114 * resolv/Makefile: Likewise.
10115 * stdio-common/Makefile: Likewise.
10116 * wcsmbs/Makefile: Likewise.
10117 * dlfcn/Makefile: Likewise.
10118 * posix/Makefile: Likewise.
10121 * timezone/Makefile: Don't install timezone files, just the programs
10124 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10126 * nss/databases.def: Add missing gshadow entry.
10128 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10130 2012-03-06 Marek Polacek <polacek@redhat.com>
10133 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10134 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10135 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10136 * stdio-common/tst-long-dbl-fphex.c: New file.
10138 2012-03-06 David S. Miller <davem@davemloft.net>
10140 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10141 (set_obp_int): New function.
10142 (get_obp_int): New function.
10143 (__get_clockfreq_via_dev_openprom): Likewise.
10144 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10145 Avoid unused variable warnings on 'val' and use builtin_expect.
10146 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10148 (INLINE_CLONE_SYSCALL): Likewise.
10150 2012-03-05 David S. Miller <davem@davemloft.net>
10152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10154 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10158 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10159 only for |x| >= 40.
10160 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10162 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10164 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10165 Replace gettimeofday with __vdso_gettimeofday.
10167 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10168 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10169 __vdso_clock_gettime and __vdso_getcpu.
10171 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10172 time with __vdso_time.
10174 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10176 * manual/lang.texi (size_t): Note types to which size_t may be
10177 equivalent with the GNU C Library, but do not describe when
10178 differences between them are significant.
10180 2012-03-05 Andreas Jaeger <aj@suse.de>
10182 * sysdeps/i386/fpu/libm-test-ulps: Update.
10184 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10187 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10188 (__ieee754_pow): Save and restore rounding mode and use
10189 round-to-nearest for main computations.
10190 * math/libm-test.inc (pow_test_tonearest): New function.
10191 (pow_test_towardzero): Likewise.
10192 (pow_test_downward): Likewise.
10193 (pow_test_upward): Likewise.
10194 (main): Call the new functions.
10195 * sysdeps/i386/fpu/libm-test-ulps: Update.
10196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10199 * math/libm-test.inc (cosh_test_tonearest): New function.
10200 (cosh_test_towardzero): Likewise.
10201 (cosh_test_downward): Likewise.
10202 (cosh_test_upward): Likewise.
10203 (sinh_test_tonearest): Likewise.
10204 (sinh_test_towardzero): Likewise.
10205 (sinh_test_downward): Likewise.
10206 (sinh_test_upward): Likewise.
10207 (main): Call the new functions.
10208 * sysdeps/i386/fpu/libm-test-ulps: Update.
10209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10211 2012-03-05 Tom de Vries <tom@codesourcery.com>
10213 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10214 default stack guard is set in last bytes.
10215 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10217 2012-03-05 Kees Cook <keescook@chromium.org>
10219 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10222 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10223 possibly allocate from heap instead of stack.
10224 * stdio-common/bug-vfprintf-nargs.c: New file.
10225 * stdio-common/Makefile (tests): Add nargs overflow test.
10227 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10231 2012-03-03 Marek Polacek <polacek@redhat.com>
10233 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10234 * math/math_private.h: Likewise.
10235 * stdlib/tst-strtod.c: Likewise.
10236 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10237 * sysdeps/x86_64/bits/atomic.h: Likewise.
10239 2012-03-02 David S. Miller <davem@davemloft.net>
10241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10245 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10246 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10247 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10248 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10250 2012-03-02 Roland McGrath <roland@hack.frob.com>
10253 * manual/examples/README: New file, says the example source files
10254 can be used under GPL>=2.
10255 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10256 line containing just "*/".
10257 * manual/examples/add.c: Add copyright header (GPL>=2).
10258 * manual/examples/argp-ex1.c: Likewise.
10259 * manual/examples/argp-ex2.c: Likewise.
10260 * manual/examples/argp-ex3.c: Likewise.
10261 * manual/examples/argp-ex4.c: Likewise.
10262 * manual/examples/atexit.c: Likewise.
10263 * manual/examples/db.c: Likewise.
10264 * manual/examples/dir.c: Likewise.
10265 * manual/examples/dir2.c: Likewise.
10266 * manual/examples/execinfo.c: Likewise.
10267 * manual/examples/filecli.c: Likewise.
10268 * manual/examples/filesrv.c: Likewise.
10269 * manual/examples/fmtmsgexpl.c: Likewise.
10270 * manual/examples/genpass.c: Likewise.
10271 * manual/examples/inetcli.c: Likewise.
10272 * manual/examples/inetsrv.c: Likewise.
10273 * manual/examples/isockad.c: Likewise.
10274 * manual/examples/longopt.c: Likewise.
10275 * manual/examples/memopen.c: Likewise.
10276 * manual/examples/memstrm.c: Likewise.
10277 * manual/examples/mkfsock.c: Likewise.
10278 * manual/examples/mkisock.c: Likewise.
10279 * manual/examples/mygetpass.c: Likewise.
10280 * manual/examples/pipe.c: Likewise.
10281 * manual/examples/popen.c: Likewise.
10282 * manual/examples/rprintf.c: Likewise.
10283 * manual/examples/search.c: Likewise.
10284 * manual/examples/select.c: Likewise.
10285 * manual/examples/setjmp.c: Likewise.
10286 * manual/examples/sigh1.c: Likewise.
10287 * manual/examples/sigusr.c: Likewise.
10288 * manual/examples/stpcpy.c: Likewise.
10289 * manual/examples/strdupa.c: Likewise.
10290 * manual/examples/strftim.c: Likewise.
10291 * manual/examples/strncat.c: Likewise.
10292 * manual/examples/subopt.c: Likewise.
10293 * manual/examples/swapcontext.c: Likewise.
10294 * manual/examples/termios.c: Likewise.
10295 * manual/examples/testopt.c: Likewise.
10296 * manual/examples/testpass.c: Likewise.
10297 * manual/examples/timeval_subtract.c: Likewise.
10300 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10302 * manual/timeval_subtract.c.texi: ... here, new file.
10304 2012-03-02 David S. Miller <davem@davemloft.net>
10306 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10308 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10311 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10312 (__sin): Save and restore rounding mode and use round-to-nearest
10313 for all computations.
10314 (__cos): Save and restore rounding mode and use round-to-nearest
10315 for all computations.
10316 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10318 (tan): Save and restore rounding mode and use round-to-nearest for
10320 * math/libm-test.inc (cos_test_tonearest): New function.
10321 (cos_test_towardzero): Likewise.
10322 (cos_test_downward): Likewise.
10323 (cos_test_upward): Likewise.
10324 (sin_test_tonearest): Likewise.
10325 (sin_test_towardzero): Likewise.
10326 (sin_test_downward): Likewise.
10327 (sin_test_upward): Likewise.
10328 (tan_test_tonearest): Likewise.
10329 (tan_test_towardzero): Likewise.
10330 (tan_test_downward): Likewise.
10331 (tan_test_upward): Likewise.
10332 (main): Call the new functions.
10333 * sysdeps/i386/fpu/libm-test-ulps: Update.
10334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10337 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10338 small n, then large n, before computing and testing k+n.
10339 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10340 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10342 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10344 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10345 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10346 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10347 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10348 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10349 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10350 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10351 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10352 * math/libm-test.inc (scalbn_test): Add more tests.
10353 (scalbln_test): Likewise.
10355 * manual/filesys.texi (mode_t): Describe constraints on size and
10356 signedness, not exact equivalence to a particular type.
10358 (ino64_t): Likewise.
10360 (nlink_t): Likewise.
10361 (blkcnt_t): Likewise.
10362 (blkcnt64_t): Likewise.
10363 * manual/llio.texi (off_t): Likewise.
10366 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10367 (__ieee754_exp): Save and restore rounding mode and use
10368 round-to-nearest for all computations.
10369 * math/libm-test.inc (exp_test_tonearest): New function.
10370 (exp_test_towardzero): Likewise.
10371 (exp_test_downward): Likewise.
10372 (exp_test_upward): Likewise.
10373 (main): Call the new functions.
10374 * sysdeps/i386/fpu/libm-test-ulps: Update.
10375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10377 2012-03-01 Chris Demetriou <cgd@google.com>
10379 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10380 have predictable order.
10382 2012-03-01 David S. Miller <davem@davemloft.net>
10384 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10386 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10387 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10388 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10389 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10391 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10392 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10393 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10395 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10396 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10397 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10398 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10399 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10403 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10404 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10405 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10407 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10408 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10409 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10410 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10411 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10412 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10413 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10414 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10415 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10416 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10417 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10418 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10420 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10421 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10422 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10423 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10424 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10425 * sysdeps/sparc/elf/configure: Regenerated.
10427 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10429 * configure.in (AS, LD): Require binutils 2.20 or later.
10430 * configure: Regenerated.
10431 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10432 as required minimum version.
10433 * INSTALL: Regenerated.
10437 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10438 before squaring exponent.
10439 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10440 bottom long double and 27 bits of top long double before squaring
10442 * math/libm-test.inc (erfc_test): Add more tests.
10443 * sysdeps/i386/fpu/libm-test-ulps: Update.
10444 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10447 2012-03-01 Kai Tietz <ktietz@redhat.com>
10449 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10450 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10451 containing bit-fields.
10452 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10453 * soft-fp/single.h (_FP_UNION_S): Likewise.
10454 * soft-fp/double.h (_FP_UNION_D): Likewise.
10456 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10459 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10460 not include ../strcmp.S.
10461 [USE_AS_STRNCASECMP_L]: Likewise.
10462 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10463 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10464 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10465 (__strncasecmp_l_ia32): Define as alias to
10466 __strncasecmp_l_nonascii.
10469 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10470 * sysdeps/i386/fpu/libm-test-ulps: Update.
10471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10473 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10476 2012-02-29 Jeff Law <law@redhat.com>
10478 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10479 out of bounds read.
10481 2012-02-29 Marek Polacek <polacek@redhat.com>
10484 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10485 * elf/Makefile: Add rules to run tst-unused-dep.out.
10487 2012-02-28 David S. Miller <davem@davemloft.net>
10489 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10490 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10491 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10492 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10493 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10494 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10496 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10498 * math/libm-test.inc (llround_test): Move one test from
10499 lround_test. Use TEST_f_L in moved test.
10500 (lround_test): Move misplaced test to llround_test. Add testcase
10503 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10505 * sysdeps/x86_64/fpu/e_expf.S: New file.
10506 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10508 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10511 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10512 of remain_len that may cause incomplete multi-byte character and
10514 * posix/bug-regex33.c: New file.
10515 * posix/Makefile (tests): Add bug-regex33.
10517 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10519 * manual/macros.texi: New file.
10520 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10521 * manual/libc.texinfo: Include macros.texi.
10522 * manual/creatute.texi: Likewise.
10523 * manual/install.texi: Likewise.
10524 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10525 @glibcadj{} in references to the GNU C Library.
10526 * manual/charset.texi: Likewise.
10527 * manual/conf.texi: Likewise.
10528 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10529 when not using those macros.
10530 * manual/creature.texi: Likewise.
10531 * manual/crypt.texi: Likewise.
10532 * manual/errno.texi: Likewise.
10533 * manual/filesys.texi: Likewise.
10534 * manual/header.texi: Likewise.
10535 * manual/install.texi: Likewise.
10536 * manual/intro.texi: Likewise.
10537 * manual/io.texi: Likewise.
10538 * manual/job.texi: Likewise.
10539 * manual/lang.texi: Likewise.
10540 * manual/libc.texiinfo: Likewise.
10541 * manual/llio.texi: Likewise.
10542 * manual/locale.texi: Likewise.
10543 * manual/maint.texi: Likewise.
10544 * manual/math.texi: Likewise.
10545 * manual/memory.texi: Likewise.
10546 * manual/message.texi: Likewise.
10547 * manual/nss.texi: Likewise.
10548 * manual/pattern.texi: Likewise.
10549 * manual/process.texi: Likewise.
10550 * manual/resource.texi: Likewise.
10551 * manual/search.texi: Likewise.
10552 * manual/setjmp.texi: Likewise.
10553 * manual/signal.texi: Likewise.
10554 * manual/socket.texi: Likewise.
10555 * manual/startup.texi: Likewise.
10556 * manual/stdio.texi: Likewise.
10557 * manual/string.texi: Likewise.
10558 * manual/sysinfo.texi: Likewise.
10559 * manual/syslog.texi: Likewise.
10560 * manual/terminal.texi: Likewise.
10561 * manual/time.texi: Likewise.
10562 * manual/users.texi: Likewise.
10563 * INSTALL: Regenerated.
10564 * NOTES: Regenerated.
10565 * sysdeps/gnu/errlist.c: Regenerated.
10567 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10569 * include/dirent.h: Include <dirstream.h> before
10572 2012-02-28 David S. Miller <davem@davemloft.net>
10574 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10575 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10576 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10577 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10579 2012-02-27 David S. Miller <davem@davemloft.net>
10581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10583 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10584 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10587 frame pointer instead of stack pointer relative arg slot.
10588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10589 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10590 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10592 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10595 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10597 2012-02-27 David S. Miller <davem@davemloft.net>
10599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10603 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10604 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10605 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10606 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10608 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10610 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10611 later. Allow versions 5-9.
10612 * configure: Regenerated.
10613 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10614 required minimum version and 4.6 as recommended version. Do not
10615 mention bugs in GCC 2.7 and 2.8.
10616 * INSTALL: Regenerated.
10618 2012-02-27 David S. Miller <davem@davemloft.net>
10620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10624 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10625 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10626 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10627 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10629 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10630 manipulate bits before adding and subtracting TWO112[sx].
10631 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10633 2012-02-27 Roland McGrath <roland@hack.frob.com>
10636 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10637 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10638 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10639 being in POSIX, because they are in 1003.1-2008.
10641 * rt/tst-aio.c: Include <fcntl.h>.
10642 * rt/tst-aio7.c: Likewise.
10643 * rt/tst-aio64.c: Likewise.
10645 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10647 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10649 * manual/install.texi (--with-headers): Describe headers as
10650 interface headers, not private headers.
10651 (Specific advice for GNU/Linux systems): Describe use of headers
10652 from "make headers_install", not private headers from older
10654 * INSTALL: Regenerated.
10655 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10657 * sysdeps/unix/sysv/linux/configure: Regenerated.
10659 * manual/llio.texi (fclean): Remove documentation.
10661 * manual/Makefile (libc-texi-generated): New variable. Include
10663 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10664 $(libc-texi-generated), not duplicated list of files.
10665 (version.texi, stamp-version): New rules.
10666 (realclean): Remove $(libc-texi-generated), not individual files
10667 from that list. Do not remove dir-add.texinfo.
10668 * manual/libc.texinfo: Comment out uses of edition numbers and
10669 references to printed manual. Remove last-updated dates.
10670 (EDITION): Comment out.
10672 (VERSION, UPDATED): Remove.
10673 (version.texi): Include.
10675 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10677 * sysdeps/posix/spawni.c: Include <signal.h>.
10678 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10679 * sysdeps/pthread/aio_fsync.c: Likewise.
10681 2012-02-26 Ulrich Drepper <drepper@gmail.com>
10683 * conform/Makefile (tests): Run only when not cross-compiling and
10684 when fast-check is not defined.
10686 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10687 * conform/data/limits.h-data: Fixes for POSIX2008.
10688 * conform/run-conformtest.sh: Run all tests.
10689 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10691 * include/bits/dlfcn.h: Likewise.
10692 * include/langinfo.h: Likewise.
10693 * include/monetary.h: Likewise.
10694 * include/sys/poll.h: Likewise.
10696 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10698 * posix/spawn.h: Define __need_sigset_t.
10699 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10700 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10701 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10702 to get sigevent_t only.
10703 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10704 only for __USE_GNU.
10705 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10706 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10707 process_vm_writev only for __USE_GNU.
10708 * termios/termios.h: Declare tcgetsid also for POSIX2008.
10710 * conform/Makefile: For now ignore errors from run-conformtest.
10711 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10712 POSIX to avoid namespace pollution. Don't prepend headers.
10713 * conform/data/aio.h-data: Fixes for POSIX testing.
10714 * conform/data/fcntl.h-data: Likewise.
10715 * conform/data/glob.h-data: Likewise.
10716 * conform/data/grp.h-data: Likewise.
10717 * conform/data/pthread.h-data: Likewise.
10718 * conform/data/pwd.h-data: Likewise.
10719 * conform/data/signal.h-data: Likewise.
10720 * conform/data/spawn.h-data: Likewise.
10721 * conform/data/stdio.h-data: Likewise.
10722 * conform/data/stdlib.h-data: Likewise.
10723 * conform/data/stropts.h-data: Likewise.
10724 * conform/data/sys/mman.h-data: Likewise.
10725 * conform/data/sys/stat.h-data: Likewise.
10726 * conform/data/sys/types.h-data: Likewise.
10727 * conform/data/sys/wait.h-data: Likewise.
10728 * conform/data/time.h-data: Likewise.
10729 * conform/data/unistd.h-data: Likewise.
10730 * conform/data/utime.h-data: Likewise.
10732 * io/sys/stat.h: fchmod was always in POSIX.
10733 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10734 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10735 * rt/aio.h: Define __need_timespec before including <time.h>.
10736 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10737 struct. Add forward declaration of pthread_attr_t and use it in
10739 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10740 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10741 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10742 always remove CLK_TCK definition.
10744 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10746 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10748 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10750 * conform/run-conformtest.sh: New file.
10751 * conform/Makefile: Run run-conformtest for tests.
10752 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10755 * conform/data/uchar.h-data: New file.
10756 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10757 * conform/data/arpa/inet.h-data: Likewise.
10758 * conform/data/assert.h-data: Likewise.
10759 * conform/data/complex.h-data: Likewise.
10760 * conform/data/cpio.h-data: Likewise.
10761 * conform/data/ctype.h-data: Likewise.
10762 * conform/data/dirent.h-data: Likewise.
10763 * conform/data/dlfcn.h-data: Likewise.
10764 * conform/data/errno.h-data: Likewise.
10765 * conform/data/fcntl.h-data: Likewise.
10766 * conform/data/float.h-data: Likewise.
10767 * conform/data/fmtmsg.h-data: Likewise.
10768 * conform/data/fnmatch.h-data: Likewise.
10769 * conform/data/ftw.h-data: Likewise.
10770 * conform/data/glob.h-data: Likewise.
10771 * conform/data/grp.h-data: Likewise.
10772 * conform/data/iconv.h-data: Likewise.
10773 * conform/data/inttypes.h-data: Likewise.
10774 * conform/data/langinfo.h-data: Likewise.
10775 * conform/data/libgen.h-data: Likewise.
10776 * conform/data/limits.h-data: Likewise.
10777 * conform/data/locale.h-data: Likewise.
10778 * conform/data/math.h-data: Likewise.
10779 * conform/data/monetary.h-data: Likewise.
10780 * conform/data/mqueue.h-data: Likewise.
10781 * conform/data/ndbm.h-data: Likewise.
10782 * conform/data/net/if.h-data: Likewise.
10783 * conform/data/netdb.h-data: Likewise.
10784 * conform/data/netinet/in.h-data: Likewise.
10785 * conform/data/nl_types.h-data: Likewise.
10786 * conform/data/poll.h-data: Likewise.
10787 * conform/data/pthread.h-data: Likewise.
10788 * conform/data/pwd.h-data: Likewise.
10789 * conform/data/regex.h-data: Likewise.
10790 * conform/data/sched.h-data: Likewise.
10791 * conform/data/search.h-data: Likewise.
10792 * conform/data/semaphore.h-data: Likewise.
10793 * conform/data/setjmp.h-data: Likewise.
10794 * conform/data/signal.h-data: Likewise.
10795 * conform/data/spawn.h-data: Likewise.
10796 * conform/data/stdarg.h-data: Likewise.
10797 * conform/data/stdio.h-data: Likewise.
10798 * conform/data/stdlib.h-data: Likewise.
10799 * conform/data/string.h-data: Likewise.
10800 * conform/data/strings.h-data: Likewise.
10801 * conform/data/stropts.h-data: Likewise.
10802 * conform/data/sys/ipc.h-data: Likewise.
10803 * conform/data/sys/mman.h-data: Likewise.
10804 * conform/data/sys/msg.h-data: Likewise.
10805 * conform/data/sys/resource.h-data: Likewise.
10806 * conform/data/sys/select.h-data: Likewise.
10807 * conform/data/sys/sem.h-data: Likewise.
10808 * conform/data/sys/shm.h-data: Likewise.
10809 * conform/data/sys/socket.h-data: Likewise.
10810 * conform/data/sys/stat.h-data: Likewise.
10811 * conform/data/sys/statvfs.h-data: Likewise.
10812 * conform/data/sys/time.h-data: Likewise.
10813 * conform/data/sys/timeb.h-data: Likewise.
10814 * conform/data/sys/times.h-data: Likewise.
10815 * conform/data/sys/types.h-data: Likewise.
10816 * conform/data/sys/uio.h-data: Likewise.
10817 * conform/data/sys/un.h-data: Likewise.
10818 * conform/data/sys/utsname.h-data: Likewise.
10819 * conform/data/sys/wait.h-data: Likewise.
10820 * conform/data/syslog.h-data: Likewise.
10821 * conform/data/tar.h-data: Likewise.
10822 * conform/data/termios.h-data: Likewise.
10823 * conform/data/utime.h-data: Likewise.
10824 * conform/data/utmpx.h-data: Likewise.
10825 * conform/data/varargs.h-data: Likewise.
10826 * conform/data/wchar.h-data: Likewise.
10827 * conform/data/wctype.h-data: Likewise.
10828 * conform/data/wordexp.h-data: Likewise.
10830 * include/stropts.h: New file.
10831 * include/uchar.h: New file.
10832 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10833 * include/assert.h: Likewise.
10834 * include/ctype.h: Likewise.
10835 * include/dirent.h: Likewise.
10836 * include/dlfcn.h: Likewise.
10837 * include/fcntl.h: Likewise.
10838 * include/fnmatch.h: Likewise.
10839 * include/glob.h: Likewise.
10840 * include/grp.h: Likewise.
10841 * include/libio.h: Likewise.
10842 * include/locale.h: Likewise.
10843 * include/math.h: Likewise.
10844 * include/net/if.h: Likewise.
10845 * include/netdb.h: Likewise.
10846 * include/netinet/in.h: Likewise.
10847 * include/pthread.h: Likewise.
10848 * include/pwd.h: Likewise.
10849 * include/regex.h: Likewise.
10850 * include/sched.h: Likewise.
10851 * include/search.h: Likewise.
10852 * include/setjmp.h: Likewise.
10853 * include/signal.h: Likewise.
10854 * include/stdio.h: Likewise.
10855 * include/stdlib.h: Likewise.
10856 * include/string.h: Likewise.
10857 * include/sys/cdefs.h: Likewise.
10858 * include/sys/mman.h: Likewise.
10859 * include/sys/msg.h: Likewise.
10860 * include/sys/resource.h: Likewise.
10861 * include/sys/select.h: Likewise.
10862 * include/sys/socket.h: Likewise.
10863 * include/sys/stat.h: Likewise.
10864 * include/sys/statvfs.h: Likewise.
10865 * include/sys/time.h: Likewise.
10866 * include/sys/times.h: Likewise.
10867 * include/sys/uio.h: Likewise.
10868 * include/sys/utsname.h: Likewise.
10869 * include/sys/wait.h: Likewise.
10870 * include/termios.h: Likewise.
10871 * include/time.h: Likewise.
10872 * include/ulimit.h: Likewise.
10873 * include/unistd.h: Likewise.
10874 * include/utime.h: Likewise.
10875 * include/wchar.h: Likewise.
10876 * include/wctype.h: Likewise.
10877 * include/wordexp.h: Likewise.
10879 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10881 * time/time.h: TIME_UTC must be a macro.
10882 Make timespec_get available for ISO C11 only as well.
10884 2012-02-24 Ulrich Drepper <drepper@gmail.com>
10886 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10887 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10889 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10891 * configure.in: Use -o not -a in test for unsupported multi-arch.
10893 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10895 * manual/texinfo.tex: Update to version 2012-01-19.16.
10897 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10899 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10901 2012-02-24 Roland McGrath <roland@hack.frob.com>
10904 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10905 * manual/fdl-1.3.texi: New file.
10906 * manual/fdl-1.1.texi: File removed.
10909 * manual/libc.texinfo (FDL_VERSION): New @set.
10910 Use it for mention of FDL in cover text.
10911 (Documentation License): Use it in @include file name.
10913 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10914 Roland McGrath <roland@hack.frob.com>
10917 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10918 not LONG_LONG_MAX and LONG_LONG_MIN.
10919 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10920 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10922 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10924 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10928 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10929 manipulate bits before adding and subtracting TWO23[sx].
10930 * math/libm-test.inc (nearbyint_test): Add more tests.
10932 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10935 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10936 bits before adding and subtracting TWO23[sx].
10937 * math/libm-test.inc (rint_test): Add more tests.
10938 (rint_test_tonearest): Likewise.
10939 (rint_test_towardzero): Likewise.
10940 (rint_test_downward): Likewise.
10941 (rint_test_upward: Likewise.
10943 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10946 * include/stdc-predef.h: New file. Extracted from features.h.
10947 * include/features.h: Include stdc-predef.h.
10948 * Makefile (headers): Add stdc-predef.h.
10949 * CONFORMANCE (Compiler limitations): Update.
10951 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10953 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10955 2012-02-21 David S. Miller <davem@davemloft.net>
10957 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10958 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10960 2012-02-20 David S. Miller <davem@davemloft.net>
10962 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10963 using a normal save/restore sequence, rather than allocating a
10964 dummy stack frame just to store a frame pointer and restore.
10965 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10967 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10969 * manual/install.texi: Fix stray word in line-wrapped comment.
10971 2012-02-20 David S. Miller <davem@davemloft.net>
10973 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10974 both binutils and gcc support GOTDATA.
10976 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10977 "rd %pc" in the PIC register setup sequences.
10979 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10980 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10981 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10982 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10983 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10984 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10985 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10986 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10987 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10988 (SYSCALL_ERROR_HANDLER): Likewise.
10989 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10990 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10991 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10992 (SYSCALL_ERROR_HANDLER): Likewise.
10994 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10995 (HAVE_GCC_GOTDATA): New.
10996 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10997 relocation support in both binutils and gcc.
10998 * sysdeps/sparc/elf/configure: Regenerate.
11000 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11001 * sysdeps/sparc/sparc32/elf/configure: Delete.
11002 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11003 * sysdeps/sparc/sparc64/elf/configure: Delete.
11004 * sysdeps/sparc/elf/configure.in: New file.
11005 * sysdeps/sparc/elf/configure: Generate.
11007 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11008 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11009 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11010 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11011 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11013 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11015 * manual/install.texi: Do not mention specific glibc version
11017 * manual/libc.texinfo (VERSION, UPDATED): Update.
11018 (@copying): Use @copyright{} and range of years.
11020 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11023 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11024 [crti.S not in sysdirs] (generated): Do not append.
11025 [crti.S not in sysdirs] (omit-deps): Likewise.
11026 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11027 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11028 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11029 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11030 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11032 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11033 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11034 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11035 * csu/defs.awk: Remove file.
11036 * sysdeps/generic/initfini.c: Likewise.
11037 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11039 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11042 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11044 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11045 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11046 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11047 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11048 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11049 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11051 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11052 (__EPOLL_PACKED): Define to empty if not defined by
11054 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11055 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11058 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11060 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11061 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11062 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11063 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11065 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11069 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11071 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11073 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11074 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11075 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11078 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11080 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11081 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11083 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11085 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11086 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11088 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11090 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11093 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11095 * math/w_acos.c: Use non-signaling floating-point comparisons.
11096 * math/w_acosf.c: Likewise.
11097 * math/w_acosh.c: Likewise.
11098 * math/w_acoshf.c: Likewise.
11099 * math/w_acoshl.c: Likewise.
11100 * math/w_acosl.c: Likewise.
11101 * math/w_asin.c: Likewise.
11102 * math/w_asinf.c: Likewise.
11103 * math/w_asinl.c: Likewise.
11104 * math/w_atanh.c: Likewise.
11105 * math/w_atanhf.c: Likewise.
11106 * math/w_atanhl.c: Likewise.
11107 * math/w_exp2.c: Likewise.
11108 * math/w_exp2f.c: Likewise.
11109 * math/w_exp2l.c: Likewise.
11110 * math/w_j0.c: Likewise.
11111 * math/w_j0f.c: Likewise.
11112 * math/w_j0l.c: Likewise.
11113 * math/w_j1.c: Likewise.
11114 * math/w_j1f.c: Likewise.
11115 * math/w_j1l.c: Likewise.
11116 * math/w_jn.c: Likewise.
11117 * math/w_jnf.c: Likewise.
11118 * math/w_log.c: Likewise.
11119 * math/w_log10.c: Likewise.
11120 * math/w_log10f.c: Likewise.
11121 * math/w_log10l.c: Likewise.
11122 * math/w_log2.c: Likewise.
11123 * math/w_log2f.c: Likewise.
11124 * math/w_log2l.c: Likewise.
11125 * math/w_logf.c: Likewise.
11126 * math/w_logl.c: Likewise.
11127 * math/w_sqrt.c: Likewise.
11128 * math/w_sqrtf.c: Likewise.
11129 * math/w_sqrtl.c: Likewise.
11130 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11131 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11132 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11133 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11134 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11136 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11139 * manual/string.texi (strnlen): Use correct parameter name in
11140 equivalent expression.
11142 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11145 * manual/users.texi (seteuid): Consistently use neweuid for
11148 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11151 * manual/nss.texi (Services in the NSS configuration): Correct
11152 list of services in example configuration file.
11154 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11157 * manual/arith.texi: Remove statements about negative zero
11158 behaving identically to zero.
11160 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11163 * manual/install.texi: Do not document upgrading from libc5.
11165 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11168 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11170 2012-02-18 David S. Miller <davem@davemloft.net>
11172 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11173 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11174 %o7 across the call.
11175 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11177 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11178 SETUP_PIC_REG_LEAF.
11179 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11180 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11181 * sysdeps/sparc/crtn.S: Likewise.
11183 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11185 * aout/Makefile: Remove.
11187 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11190 * manual/examples/argp-ex1.c (main): Format definition in GNU
11192 * manual/examples/argp-ex2.c (main): Likewise.
11193 * manual/examples/argp-ex3.c (main): Likewise.
11194 * manual/examples/argp-ex4.c (main): Likewise.
11195 * manual/examples/longopt.c (main): Use new-style prototype
11197 * manual/examples/strncat.c (main): Specify return type and use
11198 (void) for arguments.
11199 * manual/examples/subopt.c (main): Use char **argv argument.
11201 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11204 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11207 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11210 * manual/string.texi (strchr): Change when strchrnul is
11213 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11216 * manual/locale.texi (setlocale): Document LOCPATH.
11218 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11221 * manual/process.texi (execle): Move @dots{} before last argument.
11223 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11226 * manual/charset.texi (Generic Charset Conversion): Fix typo
11227 (LC_TYPE -> LC_CTYPE).
11229 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11232 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11233 (scalbnf): Likewise.
11234 (scalbnl): Likewise.
11235 (scalbln): Likewise.
11236 (scalblnf): Likewise.
11237 (scalblnl): Likewise.
11238 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11239 (vwarnx): Likewise.
11242 * manual/filesys.texi (telldir): Use braces around return type.
11243 * manual/llio.texi (mmap): Add space after comma.
11244 (mmap64): Likewise.
11245 * manual/math.texi (jn): Use @var{} on parameter names.
11251 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11253 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11255 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11256 (sched_get_priority_max): Likewise.
11257 * manual/signal.texi (sigvec): Add space after comma.
11258 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11260 (if_indextoname): Likewise.
11261 (if_freenameindex): Likewise.
11262 (sendto): Use ',' instead of '.' in prototype.
11263 * manual/startup.texi (syscall): Use @dots{} instead of literal
11265 * manual/stdio.texi (__fpending): Separate initial words of
11266 paragraph from @deftypefun line.
11267 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11269 (vsyslog): Use @var{} on parameter names.
11270 * manual/terminal.texi (stty): Use @var{} on parameter names.
11271 * manual/users.texi (getutmp): Use @var{} on parameter names.
11272 (getutmpx): Likewise.
11274 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11277 * manual/stdio.texi (fopen): Fix typos in description of
11280 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11283 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11284 get clock_id definition.
11286 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11289 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11290 (madvise): Cast every argument to void on its own.
11292 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11295 * manual/startup.texi (Exit Status): Fix typo.
11297 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11300 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11301 * manual/examples/argp-ex2.c: Likewise.
11302 * manual/examples/argp-ex3.c: Likewise.
11304 2012-02-16 Richard Henderson <rth@redhat.com>
11306 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11307 * sysdeps/s390/s390-32/initfini.c: Remove.
11308 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11309 * sysdeps/s390/s390-64/initfini.c: Remove.
11311 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11313 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11314 compiler output for sysdeps/generic/initfini.c.
11315 * sysdeps/sh/elf/initfini.c: Remove file.
11317 2012-02-16 David S. Miller <davem@davemloft.net>
11320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11322 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11323 * sysdeps/sparc/crti.S: New file.
11324 * sysdeps/sparc/crtn.S: New file.
11325 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11326 * sysdeps/sparc/sparc64/Makefile: Likewise.
11328 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11331 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11333 2012-02-15 Roland McGrath <roland@hack.frob.com>
11336 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11338 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11339 (write, read, close): Likewise.
11340 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11342 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11344 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11345 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11346 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11347 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11349 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11353 2012-02-14 Marek Polacek <polacek@redhat.com>
11355 * sysdeps/x86_64/crti.S: New file.
11356 * sysdeps/x86_64/crtn.S: New file.
11357 * sysdeps/x86_64/elf/initfini.c: Remove file.
11359 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11361 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11362 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11363 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11364 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11366 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11370 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11372 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11373 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11374 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11375 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11377 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11381 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11383 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11384 __feraiseexcept instead of feraiseexcept.
11386 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11387 nanosleep invocations.
11388 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11389 strings, and add error checking for a nanosleep invocations.
11391 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11393 Replace FSF snail mail address with URLs, as per GNU coding standards.
11394 Most of the snail mail addresses were wrong anyway, and omitting
11395 them makes the source code easier to maintain. Almost all of the
11396 changes are to license notices and to locale LC_IDENTIFICATION
11397 addresses, except for this one:
11398 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11399 not its snail mail address.
11401 2012-02-09 Richard Henderson <rth@twiddle.net>
11403 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11404 of kernel-features.h.
11406 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11408 2012-02-08 Marek Polacek <polacek@redhat.com>
11410 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11411 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11412 * sysdeps/gnu/_G_config.h: Likewise.
11413 * sysdeps/generic/_G_config.h: Likewise.
11415 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11417 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11421 * sysdeps/powerpc/powerpc32/crti.S: New file.
11422 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11423 * sysdeps/powerpc/powerpc64/crti.S: New file.
11424 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11426 * Makeconfig (have-initfini): Don't set.
11427 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11428 * configure.in (nopic_initfini): Don't substitute.
11429 * config.h.in (HAVE_INITFINI): Don't #undef.
11430 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11431 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11433 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11435 Support crti.S and crtn.S provided directly by architectures.
11436 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11437 [crti.S in sysdirs] (omit-deps): Likewise.
11438 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11439 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11440 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11441 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11442 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11443 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11444 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11445 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11446 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11447 compiler output for sysdeps/generic/initfini.c.
11448 * sysdeps/i386/elf/Makefile: Remove file.
11449 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11451 2012-02-07 Marek Polacek <polacek@redhat.com>
11453 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11454 * sysdeps/gnu/_G_config.h: Likewise.
11455 * sysdeps/mach/hurd/_G_config.h: Likewise.
11457 2012-02-07 Marek Polacek <polacek@redhat.com>
11459 * math/Makefile (tests): Add tst-CMPLX2.
11460 * math/tst-CMPLX2.c: New file.
11462 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11464 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11466 * math/libm-test.inc (jn_test): Add missing L suffix.
11468 2012-02-06 Marek Polacek <polacek@redhat.com>
11470 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11471 * sysdeps/i386/fpu/e_powf.S: Likewise.
11472 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11473 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11474 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11475 * sysdeps/i386/fpu/e_pow.S: Likewise.
11476 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11477 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11478 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11479 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11480 * sysdeps/i386/fpu/e_log2.S: Likewise.
11481 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11482 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11483 * sysdeps/i386/fpu/e_powl.S: Likewise.
11484 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11485 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11486 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11487 * sysdeps/i386/fpu/e_logl.S: Likewise.
11488 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11489 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11490 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11491 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11492 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11493 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11494 * sysdeps/i386/fpu/e_log.S: Likewise.
11495 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11496 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11497 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11498 * sysdeps/i386/fpu/e_logf.S: Likewise.
11499 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11500 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11501 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11502 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11503 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11504 * sysdeps/i386/fpu/e_log10.S: Likewise.
11505 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11506 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11507 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11508 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11509 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11510 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11511 * sysdeps/i386/asm-syntax.h: Likewise.
11512 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11513 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11514 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11515 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11516 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11517 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11518 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11519 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11520 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11521 * sysdeps/powerpc/sysdep.h: Likewise.
11522 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11523 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11525 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11528 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11530 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11532 * sysdeps/i386/sysdep.h: Include <features.h>.
11533 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11536 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11538 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11540 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11543 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11545 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11546 (SETUP_PIC_REG): Use GET_PC_THUNK.
11547 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11550 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11552 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11553 for non-PIC compilation.
11554 (SETUP_PIC_REG): Add .p2align directive.
11555 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11556 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11557 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11558 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11559 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11560 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11561 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11562 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11563 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11564 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11565 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11566 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11567 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11568 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11569 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11570 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11571 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11572 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11573 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11574 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11575 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11576 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11577 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11578 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11579 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11580 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11581 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11582 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11583 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11584 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11585 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11586 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11587 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11588 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11589 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11590 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11591 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11592 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11593 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11594 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11595 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11597 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11599 * math/tst-CMPLX.c: Include <stdio.h>.
11601 2012-01-31 Joseph Myers <joseph@codesourcery.com>
11603 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11605 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11606 * sysdeps/sparc/bits/mathdef.h: Likewise.
11608 2012-01-31 Marek Polacek <polacek@redhat.com>
11610 * libio/libio.h: Don't define _PARAMS.
11611 * locale/programs/config.h: Don't define PARAMS.
11612 * stdlib/strtol_l.c: Likewise.
11613 (__strtol_l): Remove PARAMS from the prototype.
11615 2012-01-31 Ulrich Drepper <drepper@gmail.com>
11617 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11618 names. Just use the correct names. Remove unnecessary wrapper
11620 * malloc/arena.c: Likewise.
11621 * malloc/hooks.c: Likewise.
11623 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11624 ARENA_TEST says not to. Simplify test for creation of a new arena.
11625 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11627 2012-01-30 Ulrich Drepper <drepper@gmail.com>
11629 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11631 (update_get_addr): New function.
11632 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11633 GET_ADDR_MODULE parameter.
11635 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11637 * crypt/cert.c: Remove __STDC__ conditionals.
11638 * crypt/crypt-entry.c: Likewise.
11639 * crypt/crypt_util.c: Likewise.
11640 * libio/filedoalloc.c: Likewise.
11641 * libio/fileops.c: Likewise.
11642 * libio/genops.c: Likewise.
11643 * libio/iofclose.c: Likewise.
11644 * libio/iofdopen.c: Likewise.
11645 * libio/iofopen.c: Likewise.
11646 * libio/iofopen64.c: Likewise.
11647 * libio/iogetdelim.c: Likewise.
11648 * libio/iopopen.c: Likewise.
11649 * libio/obprintf.c: Likewise.
11650 * libio/oldfileops.c: Likewise.
11651 * libio/oldiofclose.c: Likewise.
11652 * libio/oldiofdopen.c: Likewise.
11653 * libio/oldiofopen.c: Likewise.
11654 * libio/oldiopopen.c: Likewise.
11655 * libio/wfiledoalloc.c: Likewise.
11656 * libio/wgenops.c: Likewise.
11657 * locale/programs/xmalloc.c: Likewise.
11658 * misc/syslog.c: Likewise.
11659 * stdio-common/xbug.c: Likewise.
11660 * string/memchr.c: Likewise.
11661 * string/memcmp.c: Likewise.
11662 * string/memrchr.c: Likewise.
11663 * string/rawmemchr.c: Likewise.
11664 * sysdeps/posix/getcwd.c: Likewise.
11665 * time/strftime_l.c: Likewise.
11667 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11669 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11670 * config.make.in (config-cflags-sse2avx): Define.
11671 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11674 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11676 * scripts/config.guess: Update from upstream config git repository.
11677 * scripts/config.sub: Likewise.
11679 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11681 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11683 (R_TILEPRO_*, R_TILEGX_*): New macros.
11685 * scripts/firstversions.awk: Fix bug in version range handling.
11687 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11689 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11691 * include/sys/epoll.h: New file.
11692 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11695 2012-01-28 Ulrich Drepper <drepper@gmail.com>
11697 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11698 Avoid unnecessary __WORDSIZE == 64 test.
11699 (fmaxf): Use VEX format if possible.
11704 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11705 * math/math_private.h: Remove libc_fegetround* and
11707 * sysdeps/i386/configure.in: Check for -msse2avx.
11708 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11709 also if SSE2AVX is defined.
11710 Remove libc_fegetround* and libc_fesetround*.
11711 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11712 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11713 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11715 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11716 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11717 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11718 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11719 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11721 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11723 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11725 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11727 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11729 2012-01-27 Ulrich Drepper <drepper@gmail.com>
11732 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11734 * Makeconfig (libm): Define.
11735 * elf/Makefile: Add rules to build and run tst-relsort1.
11736 * elf/tst-relsort1.c: New file.
11737 * elf/tst-relsort1mod1.c: New file.
11738 * elf/tst-relsort1mod2.c: New file.
11740 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11742 * math/s_ldexp.c: Remove __STDC__ conditionals.
11743 * math/s_ldexpf.c: Likewise.
11744 * math/s_ldexpl.c: Likewise.
11745 * math/s_nextafter.c: Likewise.
11746 * math/s_nexttowardf.c: Likewise.
11747 * math/s_significand.c: Likewise.
11748 * math/s_significandf.c: Likewise.
11749 * math/s_significandl.c: Likewise.
11750 * math/w_jnl.c: Likewise.
11751 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11752 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11753 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11754 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11755 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11756 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11757 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11758 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11759 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11760 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11761 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11762 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11763 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11764 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11765 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11766 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11767 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11768 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11769 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11770 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11771 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11772 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11773 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11774 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11775 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11776 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11777 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11778 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11779 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11780 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11781 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11782 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11783 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11784 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11785 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11786 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11787 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11788 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11789 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11790 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11791 * sysdeps/ieee754/k_standard.c: Likewise.
11792 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11793 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11794 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11795 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11796 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11797 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11798 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11799 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11800 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11801 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11802 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11803 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11804 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11805 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11806 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11807 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11808 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11809 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11810 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11811 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11812 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11813 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11814 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11815 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11816 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11817 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11818 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11819 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11820 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11821 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11822 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11823 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11824 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11825 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11826 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11827 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11828 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11829 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11830 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11831 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11832 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11833 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11834 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11835 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11836 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11837 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11838 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11839 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11840 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11841 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11842 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11843 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11844 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11845 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11846 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11847 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11848 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11849 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11850 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11851 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11852 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11853 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11854 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11855 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11856 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11857 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11858 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11859 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11860 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11861 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11862 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11863 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11864 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11865 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11866 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11867 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11868 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11869 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11870 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11871 * sysdeps/ieee754/s_matherr.c: Likewise.
11872 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11873 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11874 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11875 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11877 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11879 * crypt/md5.h: Remove __STDC__ conditionals.
11880 * libio/libioP.h: Likewise.
11881 * locale/programs/config.h: Likewise.
11882 * sysdeps/generic/sysdep.h: Likewise.
11883 * sysdeps/i386/asm-syntax.h: Likewise.
11884 * sysdeps/s390/asm-syntax.h: Likewise.
11885 * sysdeps/unix/sysdep.h: Likewise.
11886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11889 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11891 * libio/libio.h: Remove __STDC__ conditionals.
11892 * malloc/obstack.h: Likewise.
11893 * math/complex.h: Likewise.
11894 * math/math.h: Likewise.
11895 * sysdeps/generic/_G_config.h: Likewise.
11896 * sysdeps/gnu/_G_config.h: Likewise.
11897 * sysdeps/mach/hurd/_G_config.h: Likewise.
11898 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11899 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11900 * sysdeps/sparc/bits/mathdef.h: Likewise.
11902 2012-01-26 Ulrich Drepper <drepper@gmail.com>
11905 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11906 Clean up HAS_* macros.
11907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11908 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11910 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11912 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11913 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11914 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11915 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11916 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11918 2012-01-25 Joseph Myers <joseph@codesourcery.com>
11920 * elf/tst-unique3.cc (gets): Remove declaration.
11921 * elf/tst-unique3lib.cc (gets): Likewise.
11922 * elf/tst-unique3lib2.cc (gets): Likewise.
11923 * elf/tst-unique4.cc (gets): Likewise.
11925 2012-01-24 Ulrich Drepper <drepper@gmail.com>
11927 * include/stdio.h: Add C++ protection. Add gets declarations and
11929 * debug/tst-chk1.c: Don't declare gets here.
11930 * stdio-common/tst-gets.c: Likewise.
11932 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11934 * posix/glob: Remove directory.
11936 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11938 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11940 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11942 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11943 of the non-standard EPFNOSUPPORT.
11945 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11947 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11948 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11949 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11951 2012-01-21 Ulrich Drepper <drepper@gmail.com>
11953 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11955 2012-01-20 Ulrich Drepper <drepper@gmail.com>
11957 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11959 * nscd/grpcache.c (cache_addgr): Likewise.
11960 * nscd/hstcache.c (cache_addhst): Likewise.
11961 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11962 * nscd/pwdcache.c (cache_addpw): Likewise.
11963 * nscd/servicescache.c (cache_addserv): Likewise.
11965 2012-01-16 Ulrich Drepper <drepper@gmail.com>
11967 * malloc/malloc.c: Various cleanups.
11968 * malloc/hooks.c: Likewise.
11970 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11971 * stdlib/bug-fmtmsg1.c: New file.
11973 * stdlib/fmtmsg.c (init): Add missing unlock.
11974 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11976 2012-01-12 Marek Polacek <polacek@redhat.com>
11978 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11981 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11983 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11984 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11985 macro to ensure uniqueness of label name.
11986 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11987 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11989 2012-01-11 Ulrich Drepper <drepper@gmail.com>
11991 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11993 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11994 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11995 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11996 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11998 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12000 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12002 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12003 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12004 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12006 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12008 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12009 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12010 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12011 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12013 * math/bits/math-finite.h: Add ldexp support.
12015 2012-01-10 Marek Polacek <polacek@redhat.com>
12017 * locale/programs/localedef.h (show_archive_content): Add noreturn
12020 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12022 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12024 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12026 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12028 * io/Makefile (headers): Add bits/poll2.h.
12030 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12033 typo #include statement.
12035 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12037 * include/sys/cdefs.h: Define __attribute_alloc_size.
12038 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12039 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12040 * elf/pldd.c: Likewise.
12041 * iconv/iconv_charmap.c: Likewise.
12042 * iconv/iconvconfig.c: Likewise.
12043 * iconv/strtab.c: Likewise.
12044 * locale/programs/locale.c: Likewise.
12045 * locale/programs/localedef.h: Likewise.
12046 * locale/programs/simple-hash.c: Likewise.
12047 * nscd/nscd.h: Likewise.
12048 * nss/makedb.c: Likewise.
12049 * sysdeps/generic/ldconfig.h: Likewise.
12050 * locale/programs/localedef.c: Remove xmalloc prototype.
12051 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12053 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12055 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12058 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12060 * math/Makefile (tests): Add tst-CMPLX.
12061 * math/tst-CMPLX.c: New file.
12063 * math/complex.h (CMPLXL): Fix typo.
12065 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12066 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12068 * debug/tst-chk1.c: Add poll and ppoll tests.
12069 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12070 * include/sys/poll.h: Add hidden proto for ppoll.
12071 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12072 * sysdeps/mach/hurd/ppoll.c: Likewise.
12073 * io/ppoll.c: Likewise.
12074 * debug/poll_chk.c: New file.
12075 * debug/ppoll_chk.c: New file.
12076 * include/bits/poll2.h: New file.
12077 * io/bits/poll2.h: New file.
12080 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12082 * configure.in: static is always set to yes. Remove.
12083 * config.make.in: Don't set build-static.
12084 * Makeconfig: Remove use of build-static.
12085 * dlfcn/Makefile: Likewise.
12086 * elf/Makefile: Likewise.
12087 * math/Makefile: Likewise.
12088 * misc/Makefile: Likewise.
12089 * nptl/Makefile: Likewise.
12090 * sysdeps/mach/hurd/Makefile: Likewise.
12092 * configure.in: PWD_P is not used anymore.
12093 * config.make.in: Remove PWD_P entry.
12095 * configure.in: Remove last remnants of RANLIB.
12096 No need to check for signed size_t anymore.
12097 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12099 Remove __builtin_expect test because we require at least gcc 3.4.
12100 * aclocal.m4: Likewise.
12102 * wcsmbs/mbrtoc16.c: Implement using towc function.
12103 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12104 * wcsmbs/wcsmbsload.c: Likewise.
12105 * iconv/gconv_simple.c: Likewise.
12106 * iconv/gconv_int.h: Likewise.
12107 * iconv/gconv_builtin.h: Likewise.
12108 * iconv/iconv_prog.c: Remove CHAR16 handling.
12110 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12112 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12114 * configure.in: Remove --with-elf and --enable-bounded options.
12115 Dont set base_machine for ia64. More non-ELF conditions removed.
12116 Remove testing and setting of leading underscore information.
12117 * config.make.in (build-bounded): Set to no.
12118 * config.h.in: Remove NO_UNDERSCORES entry.
12119 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12121 * csu/start.c: Remove !NO_UNDERSCORE code.
12122 * locale/localeinfo.h: Likewise.
12123 * sysdeps/generic/machine-gmon.h: Likewise.
12124 * sysdeps/generic/sysdep.h: Likewise.
12125 * sysdeps/i386/sysdep.h: Likewise.
12126 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12127 * sysdeps/mach/sysdep.h: Likewise.
12128 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12129 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12130 * sysdeps/sh/sysdep.h: Likewise.
12131 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12132 * sysdeps/unix/i386/sysdep.S: Likewise.
12133 * sysdeps/unix/sparc/start.c: Likewise.
12134 * sysdeps/unix/sparc/sysdep.S: Likewise.
12135 * sysdeps/unix/sparc/sysdep.h: Likewise.
12136 * sysdeps/unix/start.c: Likewise.
12137 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12138 * sysdeps/x86_64/sysdep.h: Likewise.
12140 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12143 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12145 * argp/argp-fmtstream.h: Use const instead __const.
12146 * argp/argp.h: Likewise.
12147 * assert/assert.h: Likewise.
12148 * bits/fenv.h: Likewise.
12149 * bits/sched.h: Likewise.
12150 * bits/sigset.h: Likewise.
12151 * bits/sigthread.h: Likewise.
12152 * catgets/nl_types.h: Likewise.
12153 * conform/data/pthread.h-data: Likewise.
12154 * crypt/crypt-private.h: Likewise.
12155 * crypt/crypt.h: Likewise.
12156 * crypt/crypt_util.c: Likewise.
12157 * ctype/ctype.h: Likewise.
12158 * debug/execinfo.h: Likewise.
12159 * debug/mbsnrtowcs_chk.c: Likewise.
12160 * debug/mbsrtowcs_chk.c: Likewise.
12161 * debug/wcsnrtombs_chk.c: Likewise.
12162 * debug/wcsrtombs_chk.c: Likewise.
12163 * debug/wcstombs_chk.c: Likewise.
12164 * dirent/dirent.h: Likewise.
12165 * dlfcn/dlfcn.h: Likewise.
12166 * elf/neededtest4.c: Likewise.
12167 * grp/grp.h: Likewise.
12168 * gshadow/gshadow.h: Likewise.
12169 * iconv/gconv.h: Likewise.
12170 * iconv/gconv_int.h: Likewise.
12171 * iconv/gconv_simple.c: Likewise.
12172 * iconv/iconv.h: Likewise.
12173 * iconv/loop.c: Likewise.
12174 * iconv/skeleton.c: Likewise.
12175 * include/aio.h: Likewise.
12176 * include/aliases.h: Likewise.
12177 * include/argz.h: Likewise.
12178 * include/arpa/inet.h: Likewise.
12179 * include/assert.h: Likewise.
12180 * include/dirent.h: Likewise.
12181 * include/dlfcn.h: Likewise.
12182 * include/execinfo.h: Likewise.
12183 * include/fcntl.h: Likewise.
12184 * include/fenv.h: Likewise.
12185 * include/glob.h: Likewise.
12186 * include/grp.h: Likewise.
12187 * include/libintl.h: Likewise.
12188 * include/mntent.h: Likewise.
12189 * include/netdb.h: Likewise.
12190 * include/pwd.h: Likewise.
12191 * include/rpc/netdb.h: Likewise.
12192 * include/sched.h: Likewise.
12193 * include/search.h: Likewise.
12194 * include/shadow.h: Likewise.
12195 * include/signal.h: Likewise.
12196 * include/stdio.h: Likewise.
12197 * include/stdlib.h: Likewise.
12198 * include/string.h: Likewise.
12199 * include/sys/socket.h: Likewise.
12200 * include/sys/stat.h: Likewise.
12201 * include/sys/statfs.h: Likewise.
12202 * include/sys/statvfs.h: Likewise.
12203 * include/sys/syslog.h: Likewise.
12204 * include/sys/time.h: Likewise.
12205 * include/sys/uio.h: Likewise.
12206 * include/time.h: Likewise.
12207 * include/unistd.h: Likewise.
12208 * include/utmp.h: Likewise.
12209 * include/wchar.h: Likewise.
12210 * include/wctype.h: Likewise.
12211 * inet/aliases.h: Likewise.
12212 * inet/arpa/inet.h: Likewise.
12213 * inet/netinet/ether.h: Likewise.
12214 * inet/netinet/in.h: Likewise.
12215 * intl/libintl.h: Likewise.
12216 * io/bits/fcntl2.h: Likewise.
12217 * io/fcntl.h: Likewise.
12218 * io/ftw.h: Likewise.
12219 * io/sys/poll.h: Likewise.
12220 * io/sys/stat.h: Likewise.
12221 * io/sys/statfs.h: Likewise.
12222 * io/sys/statvfs.h: Likewise.
12223 * io/utime.h: Likewise.
12224 * libio/bits/stdio.h: Likewise.
12225 * libio/bits/stdio2.h: Likewise.
12226 * libio/libio.h: Likewise.
12227 * libio/libioP.h: Likewise.
12228 * libio/stdio.h: Likewise.
12229 * locale/lc-ctype.c: Likewise.
12230 * locale/locale.h: Likewise.
12231 * login/utmp.h: Likewise.
12232 * malloc/arena.c: Likewise.
12233 * malloc/malloc.c: Likewise.
12234 * malloc/malloc.h: Likewise.
12235 * malloc/mcheck.c: Likewise.
12236 * malloc/mtrace.c: Likewise.
12237 * math/bits/mathcalls.h: Likewise.
12238 * math/fenv.h: Likewise.
12239 * math/math_private.h: Likewise.
12240 * misc/bits/error.h: Likewise.
12241 * misc/bits/syslog.h: Likewise.
12242 * misc/err.h: Likewise.
12243 * misc/error.h: Likewise.
12244 * misc/fstab.h: Likewise.
12245 * misc/mntent.h: Likewise.
12246 * misc/regexp.h: Likewise.
12247 * misc/search.h: Likewise.
12248 * misc/sgtty.h: Likewise.
12249 * misc/sys/mman.h: Likewise.
12250 * misc/sys/syslog.h: Likewise.
12251 * misc/sys/uio.h: Likewise.
12252 * misc/sys/xattr.h: Likewise.
12253 * misc/ttyent.h: Likewise.
12254 * nis/rpcsvc/ypclnt.h: Likewise.
12255 * nss/nss.h: Likewise.
12256 * posix/bits/unistd.h: Likewise.
12257 * posix/fnmatch.h: Likewise.
12258 * posix/glob.h: Likewise.
12259 * posix/sched.h: Likewise.
12260 * posix/spawn.h: Likewise.
12261 * posix/sys/wait.h: Likewise.
12262 * posix/unistd.h: Likewise.
12263 * posix/wordexp.h: Likewise.
12264 * pwd/pwd.h: Likewise.
12265 * resolv/netdb.h: Likewise.
12266 * resource/sys/resource.h: Likewise.
12267 * rt/aio.h: Likewise.
12268 * rt/bits/mqueue2.h: Likewise.
12269 * rt/mqueue.h: Likewise.
12270 * shadow/shadow.h: Likewise.
12271 * signal/signal.h: Likewise.
12272 * socket/send.c: Likewise.
12273 * socket/sendto.c: Likewise.
12274 * socket/sys/socket.h: Likewise.
12275 * stdio-common/printf.h: Likewise.
12276 * stdlib/bits/stdlib.h: Likewise.
12277 * stdlib/fmtmsg.h: Likewise.
12278 * stdlib/monetary.h: Likewise.
12279 * stdlib/stdlib.h: Likewise.
12280 * stdlib/ucontext.h: Likewise.
12281 * streams/stropts.h: Likewise.
12282 * string/argz.h: Likewise.
12283 * string/bits/string2.h: Likewise.
12284 * string/string.h: Likewise.
12285 * string/strings.h: Likewise.
12286 * sunrpc/rpc/auth.h: Likewise.
12287 * sunrpc/rpc/auth_des.h: Likewise.
12288 * sunrpc/rpc/clnt.h: Likewise.
12289 * sunrpc/rpc/netdb.h: Likewise.
12290 * sunrpc/rpc/pmap_clnt.h: Likewise.
12291 * sunrpc/rpc/xdr.h: Likewise.
12292 * sysdeps/generic/inttypes.h: Likewise.
12293 * sysdeps/generic/net/if.h: Likewise.
12294 * sysdeps/generic/sys/swap.h: Likewise.
12295 * sysdeps/gnu/net/if.h: Likewise.
12296 * sysdeps/gnu/utmpx.h: Likewise.
12297 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12298 * sysdeps/i386/i486/bits/string.h: Likewise.
12299 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12300 * sysdeps/s390/bits/string.h: Likewise.
12301 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12302 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12303 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12304 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12305 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12306 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12307 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12308 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12309 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12310 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12311 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12312 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12313 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12314 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12315 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12316 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12317 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12319 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12320 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12321 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12322 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12323 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12324 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12325 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12326 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12327 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12328 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12329 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12330 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12331 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12332 * sysvipc/sys/ipc.h: Likewise.
12333 * sysvipc/sys/msg.h: Likewise.
12334 * sysvipc/sys/sem.h: Likewise.
12335 * sysvipc/sys/shm.h: Likewise.
12336 * termios/termios.h: Likewise.
12337 * time/sys/time.h: Likewise.
12338 * time/time.h: Likewise.
12339 * wcsmbs/bits/wchar2.h: Likewise.
12340 * wcsmbs/uchar.h: Likewise.
12341 * wcsmbs/wchar.h: Likewise.
12342 * wctype/wctype.h: Likewise.
12345 * Makeconfig: Remove all but ELF support including AIX support.
12346 * Makerules: Likewise.
12347 * config.h.in: Likewise.
12348 * config.make.in: Likewise.
12349 * configure: Likewise.
12350 * configure.in: Likewise.
12351 * csu/Makefile: Likewise.
12352 * csu/version.c: Likewise.
12353 * debug/Makefile: Likewise.
12354 * dlfcn/Makefile: Likewise.
12355 * elf/Makefile: Likewise.
12356 * extra-lib.mk: Likewise.
12357 * iconv/Makefile: Likewise.
12358 * include/libc-symbols.h: Likewise.
12359 * include/shlib-compat.h: Likewise.
12360 * resolv/Makefile: Likewise.
12361 * resolv/res_libc.c: Likewise.
12362 * rt/Makefile: Likewise.
12363 * sysdeps/i386/asm-syntax.h: Likewise.
12364 * sysdeps/i386/sysdep.h: Likewise.
12365 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12366 * sysdeps/mach/sysdep.h: Likewise.
12367 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12368 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12369 * sysdeps/s390/asm-syntax.h: Likewise.
12370 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12371 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12372 * sysdeps/sh/sysdep.h: Likewise.
12373 * sysdeps/unix/sparc/sysdep.h: Likewise.
12374 * sysdeps/wordsize-32/divdi3.c: Likewise.
12375 * sysdeps/x86_64/sysdep.h: Likewise.
12377 * argp/Versions: Remove _argp_unlock_xxx.
12380 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12381 * abilist/libBrokenLocale.abilist: Likewise.
12382 * abilist/libanl.abilist: Likewise.
12383 * abilist/libc.abilist: Likewise.
12384 * abilist/libcrypt.abilist: Likewise.
12385 * abilist/libdl.abilist: Likewise.
12386 * abilist/libm.abilist: Likewise.
12387 * abilist/libnsl.abilist: Likewise.
12388 * abilist/libpthread.abilist: Likewise.
12389 * abilist/libresolv.abilist: Likewise.
12390 * abilist/librt.abilist: Likewise.
12391 * abilist/libthread_db.abilist: Likewise.
12392 * abilist/libutil.abilist: Likewise.
12393 * abilist/libnss_db.abilist: New file.
12395 * scripts/abilist.awk: Add support for indirect functions.
12397 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12399 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12401 * shlib-versions: Remove entries for ports architectures.
12403 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12405 * elf/stackguard-macros.h: Remove support for IA-64.
12406 * elf/tst-auditmod1.c: Likewise.
12407 * sysdeps/generic/ldsodefs.h: Likewise.
12409 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12410 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12414 * configure.in: Remove --enable-omitfp support.
12416 * config.make.in: Likewise.
12417 * Makeconfig: Likewise.
12418 * manual/install.texi: Likewise.
12420 In case anyone cares, the IA-64 architecture could move to ports.
12421 * sysdeps/ia64/*: Removed.
12422 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12423 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12426 * configure.in: Remove entries for unsupported architectures.
12429 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12430 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12432 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12433 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12434 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12435 fall back to using wcrtomb.
12436 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12437 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12439 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12440 * wcsmbs/tst-c16c32-1.c: New file.
12442 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12445 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12447 * elf/tst-unique3.cc: Add explicit declaration of gets.
12448 * elf/tst-unique3lib.cc: Likewise.
12449 * elf/tst-unique3lib2.cc: Likewise.
12450 * elf/tst-unique4.cc: Likewise.
12452 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12454 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12457 * assert/assert.h (static_assert): Don't define for C++.
12458 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12459 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12461 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12463 * iconv/loop.c (single loop): Fix assertion in storing of
12466 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12468 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12470 * posix/getconf.c: Update copyright year.
12471 * nss/getent.c: Likewise.
12472 * nss/makedb.c: Likewise.
12473 * iconv/iconvconfig.c: Likewise.
12474 * iconv/iconv_prog.c: Likewise.
12475 * elf/ldconfig.c: Likewise.
12476 * elf/pldd.c: Likewise.
12477 * elf/sotruss.ksh: Likewise.
12478 * catgets/gencat.c: Likewise.
12479 * csu/version.c: Likewise.
12480 * elf/ldd.bash.in: Likewise.
12481 * elf/sprof.c (print_version): Likewise.
12482 * locale/programs/locale.c: Likewise.
12483 * locale/programs/localedef.c: Likewise.
12484 * login/programs/pt_chown.c: Likewise.
12485 * nscd/nscd.c (print_version): Likewise.
12486 * debug/xtrace.sh: Likewise.
12487 * malloc/memusage.sh: Likewise.
12488 * malloc/mtrace.pl: Likewise.
12489 * debug/catchsegv.sh: Likewise.
12491 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12493 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12496 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12499 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12500 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12502 * iconv/gconv_int.h: Likewise.
12503 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12504 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12505 from libc for GLIBC_2.16.
12506 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12507 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12508 * wcsmbs/uchar.h: Really define mbstate_t.
12509 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12510 * wcsmbs/c16rtomb.c: New file.
12511 * wcsmbs/mbrtoc16.c: New file.
12512 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12513 for C/POSIX locale.
12514 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12515 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12517 * wcsmbs/wchar.h: Add missing __restrict.
12519 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12522 * time/Makefile (routines): Add timespec_get.
12523 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12524 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12525 timespec for ISO C11.
12526 * time/timespec_get.c: New file.
12527 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12528 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12531 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12532 * stdlib/stdlib.h: Declare aligned_alloc.
12533 * Versions.def: Add GLIBC_2.16 for libc.
12534 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12537 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12540 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12544 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12547 * assert/assert.h (static_assert): Define.
12549 * version.h: Update for 2.16 development version.
12552 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12555 * version.h (RELEASE): Bump for 2.15 release.
12556 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12558 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12559 Patch by Marek Polacek <mpolacek@redhat.com>.
12561 * bits/byteswap.h: Protect long long constants with __extension__.
12562 * sysdeps/i386/bits/byteswap.h: Likewise.
12563 * sysdeps/ia64/bits/byteswap.h: Likewise.
12564 * sysdeps/s390/bits/byteswap.h: Likewise.
12565 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12567 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12570 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12571 destination buffer.
12572 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12574 2011-12-23 Marek Polacek <polacek@redhat.com>
12576 * elf/dl-addr.c (determine_info): Add inline keyword.
12577 * elf/tst-auditmod4b.c (check_avx): Likewise.
12578 * elf/tst-auditmod6b.c (check_avx): Likewise.
12579 * elf/tst-auditmod6c.c (check_avx): Likewise.
12580 * elf/tst-auditmod7b.c (check_avx): Likewise.
12582 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12584 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12587 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12590 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12591 processing for last bytes.
12593 2011-08-06 Bruno Haible <bruno@clisp.org>
12596 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12597 U+0385, not to U+1FEE.
12600 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12601 entry for U+00A5 U+0301.
12603 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12606 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12607 buffer for the output is too small.
12609 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12613 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12614 SSE flags if possible.
12616 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12619 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12620 processing for last bytes.
12622 2011-12-22 Joseph Myers <joseph@codesourcery.com>
12624 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12625 (syscall-list-default-options, syscall-list-default-condition)
12626 (syscall-list-includes): Define.
12627 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12628 list of ABIs and options and #if conditions for each ABI. Do not
12629 handle common syscalls between ABIs specially.
12630 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12632 (syscall-list-variants, syscall-list-32bit-options)
12633 (syscall-list-32bit-condition, syscall-list-64bit-options)
12634 (syscall-list-64bit-condition): Define.
12635 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12636 (syscall-list-variants, syscall-list-32bit-options)
12637 (syscall-list-32bit-condition, syscall-list-64bit-options)
12638 (syscall-list-64bit-condition): Define.
12639 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12641 (syscall-list-variants, syscall-list-32bit-options)
12642 (syscall-list-32bit-condition, syscall-list-64bit-options)
12643 (syscall-list-64bit-condition): Define.
12644 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12646 (syscall-list-variants, syscall-list-32bit-options)
12647 (syscall-list-32bit-condition, syscall-list-64bit-options)
12648 (syscall-list-64bit-condition): Define.
12650 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12652 * locale/iso-639.def: Add brx entry.
12655 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12656 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12658 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12659 __feraiseexcept_renamed.
12661 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12664 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12665 EPOLLET with unsigned values.
12666 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12667 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12669 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12670 to large cancellation.
12671 * math/s_cacoshf.c: Likewise.
12672 * math/s_cacoshl.c: Likewise.
12674 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12678 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12679 * math/s_cacoshf.c: Likewise.
12680 * math/s_cacoshl.c: Likewise.
12682 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12685 * iconv/gconv.h: Define __GCONV_SWAP.
12686 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12687 * iconvdata/utf-16.c: Likewise.
12688 * iconvdata/utf-32.c: Likewise.
12690 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12693 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12694 numerator after shifting it by one limb.
12696 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12698 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12699 under [__USE_EXTERN_INLINES].
12701 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12704 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12706 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12708 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12709 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12711 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12712 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12713 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12714 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12715 for strncasecmp/strncasecmp_l compilation.
12716 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12717 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12719 2011-12-08 Marek Polacek <mpolacek@redhat.com>
12722 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12725 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12728 * time/tzfile.c (__tzfile_read): Check values from file header.
12730 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12732 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12733 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12734 * powerpc/powerpc32/dl-start.S: Likewise.
12735 * powerpc/powerpc32/elf/start.S: Likewise.
12736 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12737 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12738 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12739 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12740 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12741 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12742 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12743 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12744 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12745 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12746 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12747 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12748 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12749 * powerpc/powerpc32/memset.S: Likewise.
12750 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12751 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12752 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12753 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12754 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12755 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12756 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12757 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12758 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12759 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12760 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12761 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12762 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12764 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12766 * math/libm-test.inc: Added more nearbyint tests.
12767 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12768 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12769 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12770 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12772 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12774 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12777 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12779 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12780 Add wcscpy-ssse3 wcscpy-c.
12781 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12782 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12783 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12784 * sysdeps/x86_64/wcschr.S: New file.
12785 * sysdeps/x86_64/wcsrchr.S: New file.
12786 * string/test-strcmp.c: Remove checking of wcscmp function for
12788 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12789 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12790 wcsrchr-sse2 wcsrchr-c.
12791 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12792 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12793 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12794 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12795 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12796 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12797 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12798 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12799 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12800 * wcsmbc/wcschr.c (WCSCHR): New macro.
12802 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12804 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12805 * wcsmbs/test-wcsrchr.c: New file.
12806 * string/test-strrchr.c: Add wcsrchr support.
12808 * wcsmbs/test-wcscpy.c: New file.
12809 * string/test-strcpy.c: Add wcscpy support.
12812 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12814 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12817 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12820 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12822 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12824 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12825 Minor optimizations.
12827 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12828 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12829 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12831 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12833 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12834 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12835 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12836 for gcc to avoid warnings.
12837 * inet/Makefile (tests): Add tst-checks.
12838 * inet/tst-checks.c: New file.
12840 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12843 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12846 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12847 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12849 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12851 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12853 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12856 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12858 2011-11-29 Joseph Myers <joseph@codesourcery.com>
12860 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12861 conditional on GCC version.
12862 (__arch_compare_and_exchange_val_8_acq)
12863 (__arch_compare_and_exchange_val_16_acq)
12864 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12865 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12866 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12868 2011-12-02 Joseph Myers <joseph@codesourcery.com>
12870 * sysdeps/sh/backtrace.c: New file.
12872 2011-12-02 Andreas Schwab <schwab@redhat.com>
12874 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12877 2011-12-01 Andreas Schwab <schwab@redhat.com>
12879 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12880 falling back to utime.
12882 2011-11-30 Andreas Schwab <schwab@redhat.com>
12884 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12885 expectations for float.
12887 2011-11-29 Andreas Schwab <schwab@redhat.com>
12889 * locale/weight.h (findidx): Add parameter len.
12890 * locale/weightwc.h (findidx): Likewise.
12891 * posix/fnmatch_loop.c (FCT): Adjust caller.
12892 * posix/regcomp.c (build_equiv_class): Likewise.
12893 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12894 * posix/regexec.c (check_node_accept_bytes): Likewise.
12895 * string/strcoll_l.c (STRCOLL): Likewise.
12896 * string/strxfrm_l.c (STRXFRM): Likewise.
12898 2011-11-17 Ulrich Drepper <drepper@gmail.com>
12900 * Makefile.in: Remove CVSOPT handling.
12901 * configure.in: Remove use of AC_REVISION.
12902 * iconvdata/Makefile (distribute): No need to filter out CVS.
12903 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12906 2011-11-16 Andreas Schwab <schwab@redhat.com>
12908 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12909 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12910 [USE_AS_STRNCASECMP_L]: Likewise.
12911 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12912 NO_TLS_DIRECT_SEG_REFS.
12913 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12914 Fix argument offsets for non-PIC.
12915 [USE_AS_STRNCASECMP_L]: Likewise.
12916 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12917 NO_TLS_DIRECT_SEG_REFS.
12919 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12921 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12923 * locale/loadlocale.c (_nl_load_locale): Likewise.
12925 2011-11-15 Andreas Schwab <schwab@redhat.com>
12927 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12928 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12929 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12930 (SYSCALL_GETTIME): Set errno on error.
12932 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12933 count references to noai6ai_cached.
12935 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12937 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12939 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12940 FD_CLOEXEC for /proc/self/maps.
12942 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12943 FD_CLOEXEC for /proc/meminfo.
12945 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12948 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12949 FD_CLOEXEC for given file.
12951 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12953 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12954 FD_CLOEXEC for /etc/hosts.
12955 (_gethtent): Likewise.
12957 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12959 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12960 cancellation and set FD_CLOEXEC for /etc/netgroup.
12962 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12963 reading /etc/publickey.
12965 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12966 allow cancellation when reading /etc/group.
12968 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12970 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12972 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12973 when using data file.
12975 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12977 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12978 (write_nis_obj): Use "c" and "e" in fopen.
12980 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12982 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12984 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12986 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12988 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12991 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12993 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12995 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12997 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12998 file parsing and set FD_CLOEXEC.
13000 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13002 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13004 2011-11-14 Andreas Schwab <schwab@redhat.com>
13006 * malloc/arena.c (arena_get2): Don't call reused_arena when
13007 _int_new_arena failed.
13009 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13011 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13012 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13013 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13014 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13015 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13016 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13017 to compile strcasecmp and strncasecmp.
13018 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13019 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13021 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13023 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13025 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13026 locale-defines.sym to gen-as-const-headers.
13027 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13028 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13029 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13030 to compile strcasecmp and strncasecmp.
13031 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13032 strcasecmp_l and strncasecmp_l.
13033 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13034 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13035 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13036 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13037 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13038 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13039 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13040 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13041 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13042 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13043 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13045 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13047 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13048 result of SYSDEP_GETTIME_CPU to retval.
13049 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13050 parameter list to macro. Remove trailing semicolon. Adjust users.
13052 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13055 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13057 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13059 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13060 from unused variable.
13062 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13064 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13067 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13070 * sunrpc/rpc_prot.c (rejected): Fix case value.
13072 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13073 unsigned long long int to avoid warnings in shift.
13075 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13077 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13080 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13081 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13082 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13084 * nis/nis_table.c (nis_list): Use variable of correct type for
13085 result of __follow_path call.
13087 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13089 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13090 of math functions ceil, trunc, floor, round, and sqrt, when
13091 avaliable on the platform.
13092 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13094 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13095 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13096 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13098 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13100 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13101 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13103 2011-11-11 Roland McGrath <roland@hack.frob.com>
13105 * include/unistd.h: Fix __readlink return type.
13106 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13108 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13110 * stdlib/ucontext.h: Undo last change for makecontext.
13112 2011-11-11 Andreas Schwab <schwab@redhat.com>
13114 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13116 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13117 * setjmp/setjmp.h: Mark functions as non-leaf.
13118 * setjmp/bits/setjmp2.h: Likewise.
13119 * stdlib/ucontext.h: Likewise.
13121 2011-11-10 Andreas Schwab <schwab@redhat.com>
13123 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13124 (reused_arena): Don't check arena limit.
13125 (arena_get2): Atomically check arena limit.
13127 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13129 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13130 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13132 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13135 2011-11-07 Andreas Schwab <schwab@redhat.com>
13137 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13138 handler when locking.
13140 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13141 Fix size of allocated buffer.
13143 2011-11-04 Andreas Schwab <schwab@redhat.com>
13146 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13147 declarations for long double functions.
13148 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13150 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13152 2011-11-03 Andreas Schwab <schwab@redhat.com>
13154 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13157 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13160 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13162 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13164 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13166 * include/alloca.h (stackinfo_alloca_round): Define.
13167 (extend_alloca): Use it.
13168 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13169 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13172 * scripts/check-local-headers.sh: Ignore libaudit.h.
13174 * nscd/Makefile (extra-objs): Make recursively expanded.
13176 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13178 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13179 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13181 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13182 * posix/tst-rfc3484-2.c: Likewise.
13183 * posix/tst-rfc3484-3.c: Likewise.
13185 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13187 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13189 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13190 process_vm_writev from libc using GLIBC_2.15 version.
13192 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13194 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13196 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13199 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13202 * nss/getent.c (initgroups_keys): Show error message in case no group
13205 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13206 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13207 __bump_nl_timestamp.
13208 * nscd/connections (nscd_init): When host database is served open
13209 netlink socket and request notification about configuration changes.
13210 (main_loop_poll): Track netlink file descriptor and bump timestamp
13211 in case data becomes available.
13212 (main_loop_epoll): Likewise.
13213 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13214 (database_pers_head): Add extra_data fileds.
13215 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13216 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13217 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13219 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13220 in6ai data, call __free_in6ai.
13221 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13222 Add -DHAVE_NETLINK.
13223 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13224 interface information. Reuse previous data if netlink timestamp
13226 (__bump_nl_timestamp): New function.
13227 (__free_in6ai): New function.
13229 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13231 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13232 close_not_cancel_no_status here.
13233 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13235 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13238 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13241 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13242 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13243 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13245 2011-07-03 Andreas Jaeger <aj@suse.de>
13248 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13249 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13250 * math/libm-test.inc (sin_test): Add test case.
13252 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13255 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13256 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13258 * elf/chroot_canon.c (chroot_canon): Cleanups.
13260 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13263 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13264 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13266 * string/test-strchr.c: Make usable for strchrnul testing.
13267 * string/test-strchrnul.c: New file.
13268 * string/Makefile (strop-tests): Add strchrnul.
13270 * po/it.po: Update from translation team.
13271 * po/es.po: Likewise.
13273 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13275 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13276 the three constants needed as parameters. Drop the others.
13277 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13278 __m128i_strloadu_tolower.
13279 Create and initialize variable zero and use it in all the places
13280 where _mm_setzero_si128 was used.
13282 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13283 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13284 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13285 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13287 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13288 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13289 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13290 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13291 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13292 __mpranred, __mptan.
13293 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13294 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13295 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13296 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13297 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13298 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13299 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13300 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13301 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13303 2011-10-28 Andreas Schwab <schwab@redhat.com>
13305 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13306 redefine if SHARED.
13307 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13309 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13310 wide char related routines to wcsmbs subdir.
13312 2011-10-27 Andreas Schwab <schwab@redhat.com>
13315 * misc/sys/cdefs.h (__THROWNL): Define.
13316 * posix/unistd.h: Use __THREADNL instead of __THREAD
13317 for memory synchronization functions.
13319 2011-10-26 Roland McGrath <roland@hack.frob.com>
13322 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13324 * manual/stdio.texi (Obstack Streams): Node removed.
13326 2011-10-26 Andreas Schwab <schwab@redhat.com>
13328 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13329 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13330 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13332 * math/math_private.h (math_force_eval): Allow non-addressable
13334 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13336 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13338 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13339 file is not needed.
13341 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13342 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13343 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13344 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13345 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13346 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13347 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13348 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13350 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13351 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13352 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13353 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13354 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13355 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13356 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13357 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13358 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13359 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13360 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13361 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13362 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13363 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13364 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13365 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13366 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13367 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13368 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13370 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13371 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13373 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13374 place. Use VEX encoding when compiling for AVX.
13376 2011-10-25 Andreas Schwab <schwab@redhat.com>
13378 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13379 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13381 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13383 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13385 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13386 useless if() expression.
13387 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13388 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13389 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13390 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13391 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13392 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13393 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13394 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13395 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13396 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13397 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13398 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13399 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13400 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13401 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13402 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13403 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13404 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13405 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13407 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13409 2011-10-25 Andreas Schwab <schwab@redhat.com>
13411 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13413 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13415 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13417 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13418 .text section. Avoid duplicate constants.
13419 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13420 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13421 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13422 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13423 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13424 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13425 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13427 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13428 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13429 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13430 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13431 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13432 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13433 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13434 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13435 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13436 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13437 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13438 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13439 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13440 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13441 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13442 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13443 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13444 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13445 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13446 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13447 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13448 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13449 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13450 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13451 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13452 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13453 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13454 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13455 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13456 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13457 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13458 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13459 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13460 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13461 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13462 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13463 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13465 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13467 * sysdeps/x86_64/dla.h: Move to ...
13468 * sysdeps/x86_64/fpu/dla.h: ...here.
13469 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13470 situations. Use __builtin_fma only for gcc 4.6 and up.
13472 * config.make.in: Add have-mfma4 entry.
13473 * configure.in: Substitute libc_cv_cc_fma4.
13474 * math/Makefile (dbl-only-routines): Add sincostab.
13475 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13476 Use __sincostab not sincos.
13477 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13479 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13480 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13481 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13482 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13484 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13485 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13486 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13487 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13489 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13490 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13492 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13493 define aliases when function name is a macro.
13494 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13495 sysdeps/ieee754/dbl-64/sincos.tbl.
13496 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13497 fma4-enabled routines.
13498 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13499 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13500 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13501 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13502 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13503 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13504 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13505 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13506 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13507 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13508 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13509 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13510 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13511 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13512 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13513 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13514 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13515 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13516 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13517 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13518 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13519 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13520 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13521 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13522 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13523 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13524 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13525 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13526 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13527 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13529 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13531 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13532 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13536 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13537 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13538 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13540 2011-10-24 Andreas Schwab <schwab@redhat.com>
13542 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13544 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13546 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13548 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13550 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13552 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13553 Remove unused variable magic_bits.
13554 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13556 * string/strnlen.c: Define and use STRNLEN macro.
13557 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13558 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13559 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13560 * wcsmbs/wcslen.c: Define and use WCSLEN.
13561 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13562 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13563 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13564 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13565 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13566 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13567 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13569 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13572 strnlen-sse2-no-bsf.
13573 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13574 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13575 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13576 Add strnlen support.
13577 (USE_AS_STRNLEN): New macro.
13578 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13579 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13580 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13581 * sysdeps/x86_64/wcslen.S: New file.
13583 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13585 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13586 XMM-moves are used for copying on small sizes.
13588 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13590 * wcsmbs/Makefile (strop-tests): Add wcschr.
13591 * wcsmbs/test-wcschr.c: New file.
13592 * string/test-strchr.c: Update.
13593 Add wcschr support.
13596 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13598 * wcsmbs/Makefile (strop-tests): Add wcslen.
13599 * wcsmbs/test-wcslen.c: New file.
13600 * string/test-strlen.c: Update.
13601 Add wcslen support.
13604 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13606 * po/it.po: Update from translation team.
13608 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13610 * sysdeps/x86_64/wcscmp.S: Update.
13611 Fix wrong comparison semantics.
13612 wcscmp shall use signed comparison not unsigned.
13613 Don't use substraction to avoid overflow bug.
13614 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13615 * wcsmbc/wcscmp.c: Likewise.
13616 * string/test-strcmp.c: Likewise.
13617 Add new tests to check cases with negative values.
13619 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13621 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13622 * sysdeps/x86_64/dla.h: ...here. New file.
13623 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13624 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13626 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13627 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13628 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13630 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13631 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13633 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13635 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13636 __ynl_finite aliases.
13638 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13640 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13642 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13644 [DLA_FMA] (EMULV): Use DLA_FMA.
13645 [DLA_FMA] (MUL12): Use EMULV.
13646 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13647 that are not needed.
13648 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13649 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13650 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13651 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13652 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13653 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13654 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13656 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13658 * math/s_nan.c: Undef __nan.
13659 * math/s_nanf.c: Undef __nanf.
13660 * math/s_nanl.c: Undef __nanl.
13661 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13664 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13666 * math/s_catan.c: Add branch predictions.
13667 * math/s_catanf.c: Likewise.
13668 * math/s_catanh.c: Likewise.
13669 * math/s_catanhf.c: Likewise.
13670 * math/s_catanhl.c: Likewise.
13671 * math/s_catanl.c: Likewise.
13672 * math/s_cexp.c: Likewise.
13673 * math/s_cexpf.c: Likewise.
13674 * math/s_cexpl.c: Likewise.
13675 * math/s_clog.c: Likewise.
13676 * math/s_clog10.c: Likewise.
13677 * math/s_clog10f.c: Likewise.
13678 * math/s_clog10l.c: Likewise.
13679 * math/s_clogf.c: Likewise.
13680 * math/s_clogl.c: Likewise.
13681 * math/s_csqrt.c: Likewise.
13682 * math/s_csqrtf.c: Likewise.
13683 * math/s_csqrtl.c: Likewise.
13684 * math/s_ctanf.c: Likewise.
13685 * math/s_ctanh.c: Likewise.
13686 * math/s_ctanhf.c: Likewise.
13687 * math/s_ctanhl.c: Likewise.
13688 * math/s_ctanl.c: Likewise.
13690 * math/math_private.h: Define __nan, __nanf, __nanl.
13691 * math/s_cacosh.c: Include <math_private.h>.
13692 * math/s_cacoshl.c: Likewise.
13693 * math/s_casinh.c: Likewise.
13694 * math/s_casinhf.c: Likewise.
13695 * math/s_casinhl.c: Likewise.
13696 * math/s_ccos.c: Rely entire on ccosh.
13697 * math/s_ccosf.c: Rely entire on ccoshf.
13698 * math/s_ccosl.c: Rely entirely on ccoshl.
13699 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13700 Remove tests for FE_INVALID.
13701 * math/s_ccoshf.c: Likewise.
13702 * math/s_ccoshl.c: Likewise.
13703 * math/s_csin.c: Likewise.
13704 * math/s_csinf.c: Likewise.
13705 * math/s_csinh.c Likewise.
13706 * math/s_csinhf.c: Likewise.
13707 * math/s_csinhl.c: Likewise.
13708 * math/s_csinl.c: Likewise.
13709 * math/s_ctan.c: Likewise.
13710 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13711 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13712 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13714 2011-10-21 Ulrich Drepper <drepper@gmail.com>
13716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13717 compilation problems.
13719 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13722 2011-10-20 Ulrich Drepper <drepper@gmail.com>
13724 * sysdeps/i386/configure.in: Test for -mfma4 option.
13725 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13726 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13727 COMMON_CPUID_INDEX_80000001.
13728 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13729 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13730 use it if FMA3 is not supported.
13731 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13733 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13734 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13736 2011-10-20 Andreas Schwab <schwab@redhat.com>
13739 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13740 it would create a cycle with a link time dependency.
13742 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13744 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13746 * string/Makefile (strop-tests): Add rawmemchr.
13747 * string/test-rawmemchr.c: New file.
13749 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13750 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13751 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13752 when compiling str{,n}casecmp and when AVX is available. Hook up
13753 new optimized code in initializers.
13755 2011-10-19 Andreas Schwab <schwab@redhat.com>
13757 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13758 __feraiseexcept instead of feraiseexcept.
13760 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13762 * math/math_private.h: Define defaults for libc_fetestexcept and
13764 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13765 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13766 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13767 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13768 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13769 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13770 libc_fetestexcept and libc_feupdateenv.
13772 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13773 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13774 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13775 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13776 libc_feholdexcept_setround.
13778 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13779 Add s_nearbyint-c and s_nearbyintf-c.
13780 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13781 nearbyintf inlines.
13782 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13783 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13784 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13785 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13787 * math/math_private.h: Define defaults for libc_fegetround,
13788 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13789 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13790 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13791 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13792 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13793 standard functions.
13794 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13795 Remove comments and hacks for old compiler versions.
13796 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13797 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13798 libc_feholdexceptl.
13800 2011-10-18 Andreas Schwab <schwab@redhat.com>
13802 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13803 (__feraiseexcept_renamed): Add __NTH.
13804 (feraiseexcept): Add __NTH. Rename local variables to fix
13805 namespace violations.
13807 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13809 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13811 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13813 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13814 recently added interfaces.
13815 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13817 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13818 about macro parameter expansion.
13820 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13821 __NO_MATH_INLINES is defined. Cleanups.
13823 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13824 and __floorf is target has SSE4.1.
13825 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13826 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13827 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13828 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13830 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13832 (floorf): Likewise.
13834 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13836 2011-10-17 Andreas Schwab <schwab@redhat.com>
13838 * misc/sys/cdefs.h: Fix last change.
13840 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13843 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13845 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13847 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13848 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13849 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13850 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13851 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13853 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13854 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13855 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13856 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13857 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13858 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13859 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13860 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13861 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13862 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13863 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13864 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13865 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13866 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13867 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13868 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13870 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13871 ceil, ceilf, floor, floorf.
13873 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13874 Perform IRELATIVE relocations last.
13876 * elf/do-rel.h: Add another parameter nrelative, replacing the
13877 local variable with the same name. Change name of the function
13878 to end in Rel or Rela (uppercase).
13879 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13880 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13881 elf_dynamic_do_##reloc function.
13883 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13885 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13886 is sufficient, at least on modern CPUs.
13888 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13890 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13891 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13893 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13895 * math/bits/math-finite.h: Add entries for exp.
13896 * math/e_expl.c: Add __*_finite alias.
13897 * sysdeps/i386/fpu/e_exp.S: Likewise.
13898 * sysdeps/i386/fpu/e_expf.S: Likewise.
13899 * sysdeps/i386/fpu/e_expl.c: Likewise.
13900 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13901 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13902 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13903 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13904 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13905 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13906 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13908 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13909 is sufficient, at least on modern CPUs.
13911 * ctype/ctype-info.c (__ctype_init): Define.
13912 * include/ctype.h (__ctype_init): Declare.
13913 (__ctype_b_loc): The variable is always initialized.
13914 (__ctype_toupper_loc): Likewise.
13915 (__ctype_tolower_loc): Likewise.
13916 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13917 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13919 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13921 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13923 * configure.in: Also look in $cxxmachine/include for C++ system
13926 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13928 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13929 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13930 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13931 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13932 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13933 (USE_AS_WMEMCMP): New macro.
13935 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13936 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13937 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13938 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13940 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13941 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13942 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13943 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13944 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13945 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13946 (USE_AS_WMEMCMP): New macro.
13947 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13948 * sysdeps/string/test-memcmp.c: Update.
13949 Fix simple_wmemcmp.
13951 * wcsmbs/wmemcmp.c: Update.
13952 (WMEMCMP): New macro.
13955 2011-10-12 Andreas Jaeger <aj@suse.de>
13958 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13960 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13962 * libio/iofwide.c (do_length): Avoid warning.
13964 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13966 2011-10-14 Ulrich Drepper <drepper@gmail.com>
13968 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13970 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13971 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13972 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13973 * sysdeps/i386/i686/fpu/e_log.S: New file.
13974 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13975 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13977 * ctype/ctype.h: Add support for inlined isXXX functions when
13978 compiling C++ code.
13980 2011-10-14 Andreas Schwab <schwab@redhat.com>
13982 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13984 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13986 2011-10-13 Roland McGrath <roland@hack.frob.com>
13989 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13991 2011-10-13 Andreas Schwab <schwab@redhat.com>
13993 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13994 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13997 * sysdeps/x86_64/memrchr.S: Check for zero size.
13999 * string/stratcliff.c: Add memrchr tests.
14001 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14004 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14005 rawmemchr-sse2 rawmemchr-sse2-bsf.
14006 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14007 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14008 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14009 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14010 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14011 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14012 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14013 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14014 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14015 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14016 * string/memrchr.c (MEMRCHR): New macro.
14018 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14020 Add integration with gcc's -ffinite-math-only and optimize wrapper
14022 * Versions.def: Define GLIBC_2.15 version for libm.
14023 * math/Makefile (headers): Add bits/math-finite.h.
14024 * math/bits/math-finite.h: New file.
14025 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14026 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14027 * math/e_acoshl.c: Add __*_finite alias.
14028 * math/e_acosl.c: Likewise.
14029 * math/e_asinl.c: Likewise.
14030 * math/e_atan2l.c: Likewise.
14031 * math/e_atanhl.c: Likewise.
14032 * math/e_coshl.c: Likewise.
14033 * math/e_exp10.c: Likewise.
14034 * math/e_exp10f.c: Likewise.
14035 * math/e_exp10l.c: Likewise.
14036 * math/e_exp2l.c: Likewise.
14037 * math/e_fmodl.c: Likewise.
14038 * math/e_gammal_r.c: Likewise.
14039 * math/e_hypotl.c: Likewise.
14040 * math/e_j0l.c: Likewise.
14041 * math/e_j1l.c: Likewise.
14042 * math/e_jnl.c: Likewise.
14043 * math/e_lgammal_r.c: Likewise.
14044 * math/e_log10l.c: Likewise.
14045 * math/e_log2l.c: Likewise.
14046 * math/e_logl.c: Likewise.
14047 * math/e_powl.c: Likewise.
14048 * math/e_sinhl.c: Likewise.
14049 * math/e_sqrtl.c: Likewise.
14050 * math/e_scalb.c: Completely rewritten and optimized.
14051 * math/e_scalbf.c: Likewise.
14052 * math/e_scalbl.c: Likewise.
14053 * math/w_acos.c: Likewise.
14054 * math/w_acosf.c: Likewise.
14055 * math/w_acosl.c: Likewise.
14056 * math/w_acosh.c: Likewise.
14057 * math/w_acoshf.c: Likewise.
14058 * math/w_acoshl.c: Likewise.
14059 * math/w_asin.c: Likewise.
14060 * math/w_asinf.c: Likewise.
14061 * math/w_asinl.c: Likewise.
14062 * math/w_atan2.c: Likewise.
14063 * math/w_atan2f.c: Likewise.
14064 * math/w_atan2l.c: Likewise.
14065 * math/w_atanh.c: Likewise.
14066 * math/w_atanhf.c: Likewise.
14067 * math/w_atanhl.c: Likewise.
14068 * math/w_exp10.c: Likewise.
14069 * math/w_exp10f.c: Likewise.
14070 * math/w_exp10l.c: Likewise.
14071 * math/w_fmod.c: Likewise.
14072 * math/w_fmodf.c: Likewise.
14073 * math/w_fmodl.c: Likewise.
14074 * math/w_j0.c: Likewise.
14075 * math/w_j0f.c: Likewise.
14076 * math/w_j0l.c: Likewise.
14077 * math/w_j1.c: Likewise.
14078 * math/w_j1f.c: Likewise.
14079 * math/w_j1l.c: Likewise.
14080 * math/w_jn.c: Likewise.
14081 * math/w_jnf.c: Likewise.
14082 * math/w_log.c: Likewise.
14083 * math/w_logf.c: Likewise.
14084 * math/w_logl.c: Likewise.
14085 * math/w_log10.c: Likewise.
14086 * math/w_log10f.c: Likewise.
14087 * math/w_log10l.c: Likewise.
14088 * math/w_log2.c: Likewise.
14089 * math/w_log2f.c: Likewise.
14090 * math/w_log2l.c: Likewise.
14091 * math/w_pow.c: Likewise.
14092 * math/w_powf.c: Likewise.
14093 * math/w_powl.c: Likewise.
14094 * math/w_remainder.c: Likewise.
14095 * math/w_remainderf.c: Likewise.
14096 * math/w_remainderl.c: Likewise.
14097 * math/w_scalb.c: Likewise.
14098 * math/w_scalbf.c: Likewise.
14099 * math/w_scalbl.c: Likewise.
14100 * math/w_sqrt.c: Likewise.
14101 * math/w_sqrtf.c: Likewise.
14102 * math/w_sqrtl.c: Likewise.
14103 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14104 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14106 * math/math_private.h: Declare __kernel_standard_f.
14107 * math/w_cosh.c: Remove cruft and optimize a bit.
14108 * math/w_coshf.c: Likewise.
14109 * math/w_coshl.c: Likewise.
14110 * math/w_exp2.c: Likewise.
14111 * math/w_exp2f.c: Likewise.
14112 * math/w_exp2l.c: Likewise.
14113 * math/w_hypot.c: Likewise.
14114 * math/w_hypotf.c: Likewise.
14115 * math/w_hypotl.c: Likewise.
14116 * math/w_lgamma.c: Likewise.
14117 * math/w_lgamma_r.c: Likewise.
14118 * math/w_lgammaf.c: Likewise.
14119 * math/w_lgammaf_r.c: Likewise.
14120 * math/w_lgammal.c: Likewise.
14121 * math/w_lgammal_r.c: Likewise.
14122 * math/w_sinh.c: Likewise.
14123 * math/w_sinhf.c: Likewise.
14124 * math/w_sinhl.c: Likewise.
14125 * math/w_tgamma.c: Likewise.
14126 * math/w_tgammaf.c: Likewise.
14127 * math/w_tgammal.c: Likewise.
14128 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14129 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14130 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14131 Minor optimizations. Pretty printing. Remove cruft.
14132 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14133 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14134 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14135 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14136 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14137 * sysdeps/i386/fpu/e_asin.S: Likewise.
14138 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14139 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14140 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14141 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14142 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14143 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14144 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14145 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14146 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14147 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14148 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14149 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14150 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14151 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14152 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14153 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14154 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14155 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14156 * sysdeps/i386/fpu/e_log.S: Likewise.
14157 * sysdeps/i386/fpu/e_log10.S: Likewise.
14158 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14159 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14160 * sysdeps/i386/fpu/e_log2.S: Likewise.
14161 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14162 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14163 * sysdeps/i386/fpu/e_logf.S: Likewise.
14164 * sysdeps/i386/fpu/e_logl.S: Likewise.
14165 * sysdeps/i386/fpu/e_pow.S: Likewise.
14166 * sysdeps/i386/fpu/e_powf.S: Likewise.
14167 * sysdeps/i386/fpu/e_powl.S: Likewise.
14168 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14169 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14170 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14171 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14172 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14173 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14174 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14175 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14176 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14177 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14178 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14180 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14181 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14182 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14183 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14184 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14185 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14186 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14187 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14188 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14189 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14190 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14191 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14193 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14194 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14195 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14196 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14197 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14198 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14199 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14200 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14201 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14202 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14203 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14204 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14205 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14206 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14207 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14208 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14209 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14210 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14211 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14212 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14213 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14214 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14215 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14216 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14217 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14218 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14219 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14220 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14221 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14222 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14223 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14224 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14225 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14226 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14227 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14228 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14229 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14230 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14231 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14232 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14233 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14234 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14235 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14236 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14237 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14238 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14239 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14240 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14241 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14242 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14243 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14244 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14245 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14246 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14247 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14248 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14249 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14250 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14251 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14252 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14253 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14254 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14255 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14256 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14257 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14258 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14259 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14260 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14261 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14262 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14263 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14264 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14265 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14266 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14267 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14268 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14269 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14270 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14271 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14272 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14273 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14274 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14275 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14276 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14277 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14278 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14279 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14280 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14281 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14282 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14283 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14284 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14285 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14286 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14287 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14288 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14289 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14290 (__isnanf): Likewise.
14291 (__isinf_ns): Likewise.
14292 (__isinf_nsf): Likewise.
14293 (__finite): Likewise.
14294 (__finitef): Likewise.
14295 (__ieee754_sqrt): Define as macro.
14296 (__ieee754_sqrtf): Define as macro.
14297 (__ieee754_sqrtl): Define as macro.
14298 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14300 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14301 __FINITE_MATH_ONLY__ consistent.
14302 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14304 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14306 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14309 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14311 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14313 * po/ja.po: Update from translation team.
14315 2011-10-08 Roland McGrath <roland@hack.frob.com>
14317 * locale/programs/locarchive.c (prepare_address_space): New function.
14318 (create_archive, enlarge_archive, open_archive): Use it.
14320 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14321 inside [SHARED], where it is used.
14323 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14325 * nss/getent.c (netgroup_keys): Remove unused variable.
14326 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14328 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14330 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14331 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14332 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14333 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14334 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14335 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14336 * math/Makefile (libm-calls): Add s_isinf_ns.
14337 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14338 * math/multc3.c: Likewise.
14339 * math/s_casin.c: Likewise.
14340 * math/s_casinf.c: Likewise.
14341 * math/s_casinl.c: Likewise.
14342 * math/s_ccos.c: Likewise.
14343 * math/s_ccosf.c: Likewise.
14344 * math/s_ccosl.c: Likewise.
14345 * math/s_ctan.c: Likewise.
14346 * math/s_ctanf.c: Likewise.
14347 * math/s_ctanh.c: Likewise.
14348 * math/s_ctanhf.c: Likewise.
14349 * math/s_ctanhl.c: Likewise.
14350 * math/s_ctanl.c: Likewise.
14351 * math/w_fmod.c: Likewise.
14352 * math/w_fmodf.c: Likewise.
14353 * math/w_fmodl.c: Likewise.
14354 * math/w_remainder.c: Likewise.
14355 * math/w_remainderf.c: Likewise.
14356 * math/w_remainderl.c: Likewise.
14357 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14358 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14359 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14360 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14361 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14362 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14363 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14364 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14366 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14368 * stdio-common/printf_fphex.c: Likewise.
14369 * stdio-common/printf_size.c: Likewise.
14371 * math/e_exp10.c: Include math_private.h using <...> not "...".
14372 * math/e_exp10f.c: Likewise.
14373 * math/e_exp10l.c: Likewise.
14374 * math/e_exp2l.c: Likewise.
14375 * math/e_j0l.c: Likewise.
14376 * math/e_j1l.c: Likewise.
14377 * math/e_jnl.c: Likewise.
14378 * math/e_lgammal_r.c: Likewise.
14379 * math/e_rem_pio2l.c: Likewise.
14380 * math/e_scalb.c: Likewise.
14381 * math/e_scalbf.c: Likewise.
14382 * math/e_scalbl.c: Likewise.
14383 * math/k_cosl.c: Likewise.
14384 * math/k_sinl.c: Likewise.
14385 * math/k_tanl.c: Likewise.
14386 * math/s_cacoshf.c: Likewise.
14387 * math/s_catan.c: Likewise.
14388 * math/s_catanf.c: Likewise.
14389 * math/s_catanh.c: Likewise.
14390 * math/s_catanhf.c: Likewise.
14391 * math/s_catanhl.c: Likewise.
14392 * math/s_catanl.c: Likewise.
14393 * math/s_ccosh.c: Likewise.
14394 * math/s_ccoshf.c: Likewise.
14395 * math/s_ccoshl.c: Likewise.
14396 * math/s_cexp.c: Likewise.
14397 * math/s_cexpf.c: Likewise.
14398 * math/s_cexpl.c: Likewise.
14399 * math/s_clog.c: Likewise.
14400 * math/s_clog10.c: Likewise.
14401 * math/s_clog10f.c: Likewise.
14402 * math/s_clog10l.c: Likewise.
14403 * math/s_clogf.c: Likewise.
14404 * math/s_clogl.c: Likewise.
14405 * math/s_csin.c: Likewise.
14406 * math/s_csinf.c: Likewise.
14407 * math/s_csinh.c: Likewise.
14408 * math/s_csinhf.c: Likewise.
14409 * math/s_csinhl.c: Likewise.
14410 * math/s_csinl.c: Likewise.
14411 * math/s_csqrt.c: Likewise.
14412 * math/s_csqrtf.c: Likewise.
14413 * math/s_csqrtl.c: Likewise.
14414 * math/s_ctan.c: Likewise.
14415 * math/s_ctanf.c: Likewise.
14416 * math/s_ctanh.c: Likewise.
14417 * math/s_ctanhf.c: Likewise.
14418 * math/s_ctanhl.c: Likewise.
14419 * math/s_ctanl.c: Likewise.
14420 * math/s_ldexp.c: Likewise.
14421 * math/s_ldexpf.c: Likewise.
14422 * math/s_ldexpl.c: Likewise.
14423 * math/s_significand.c: Likewise.
14424 * math/s_significandf.c: Likewise.
14425 * math/s_significandl.c: Likewise.
14426 * math/w_acos.c: Likewise.
14427 * math/w_acosf.c: Likewise.
14428 * math/w_acosh.c: Likewise.
14429 * math/w_acoshf.c: Likewise.
14430 * math/w_acoshl.c: Likewise.
14431 * math/w_acosl.c: Likewise.
14432 * math/w_asin.c: Likewise.
14433 * math/w_asinf.c: Likewise.
14434 * math/w_asinl.c: Likewise.
14435 * math/w_atan2.c: Likewise.
14436 * math/w_atan2f.c: Likewise.
14437 * math/w_atan2l.c: Likewise.
14438 * math/w_atanh.c: Likewise.
14439 * math/w_atanhf.c: Likewise.
14440 * math/w_atanhl.c: Likewise.
14441 * math/w_cosh.c: Likewise.
14442 * math/w_coshf.c: Likewise.
14443 * math/w_coshl.c: Likewise.
14444 * math/w_dremf.c: Likewise.
14445 * math/w_exp10.c: Likewise.
14446 * math/w_exp10f.c: Likewise.
14447 * math/w_exp10l.c: Likewise.
14448 * math/w_exp2.c: Likewise.
14449 * math/w_exp2f.c: Likewise.
14450 * math/w_fmod.c: Likewise.
14451 * math/w_fmodf.c: Likewise.
14452 * math/w_fmodl.c: Likewise.
14453 * math/w_hypot.c: Likewise.
14454 * math/w_hypotf.c: Likewise.
14455 * math/w_hypotl.c: Likewise.
14456 * math/w_j0.c: Likewise.
14457 * math/w_j0f.c: Likewise.
14458 * math/w_j0l.c: Likewise.
14459 * math/w_j1.c: Likewise.
14460 * math/w_j1f.c: Likewise.
14461 * math/w_j1l.c: Likewise.
14462 * math/w_jn.c: Likewise.
14463 * math/w_jnf.c: Likewise.
14464 * math/w_jnl.c: Likewise.
14465 * math/w_lgamma.c: Likewise.
14466 * math/w_lgamma_r.c: Likewise.
14467 * math/w_lgammaf.c: Likewise.
14468 * math/w_lgammaf_r.c: Likewise.
14469 * math/w_lgammal.c: Likewise.
14470 * math/w_lgammal_r.c: Likewise.
14471 * math/w_log.c: Likewise.
14472 * math/w_log10.c: Likewise.
14473 * math/w_log10f.c: Likewise.
14474 * math/w_log10l.c: Likewise.
14475 * math/w_log2.c: Likewise.
14476 * math/w_log2f.c: Likewise.
14477 * math/w_log2l.c: Likewise.
14478 * math/w_logf.c: Likewise.
14479 * math/w_logl.c: Likewise.
14480 * math/w_pow.c: Likewise.
14481 * math/w_powf.c: Likewise.
14482 * math/w_powl.c: Likewise.
14483 * math/w_remainder.c: Likewise.
14484 * math/w_remainderf.c: Likewise.
14485 * math/w_remainderl.c: Likewise.
14486 * math/w_scalb.c: Likewise.
14487 * math/w_scalbf.c: Likewise.
14488 * math/w_scalbl.c: Likewise.
14489 * math/w_sinh.c: Likewise.
14490 * math/w_sinhf.c: Likewise.
14491 * math/w_sinhl.c: Likewise.
14492 * math/w_sqrt.c: Likewise.
14493 * math/w_sqrtf.c: Likewise.
14494 * math/w_sqrtl.c: Likewise.
14495 * math/w_tgamma.c: Likewise.
14496 * math/w_tgammaf.c: Likewise.
14497 * math/w_tgammal.c: Likewise.
14499 * po/ja.po: Update from translation team.
14501 2011-09-29 Andreas Jaeger <aj@suse.de>
14504 * sunrpc/netname.c (netname2host): Fix logic.
14508 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14510 * math/w_remainder.c (__remainder): Likewise.
14511 * math/w_remainderf.c (__remainderf): Likewise.
14512 * math/libm-test.inc (remainder_test): Add test cases.
14514 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14516 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14519 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14521 * string/test-memcmp.c: Avoid unncessary #defines.
14522 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14524 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14526 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14527 Use new sse2 version for core i3 - i7 as it's faster
14528 than sse42 version.
14529 (bit_Prefer_PMINUB_for_stringop): New.
14530 * sysdeps/x86_64/rawmemchr.S: Update.
14531 Replace with faster SSE2 version.
14532 * sysdeps/x86_64/memrchr.S: New file.
14533 * sysdeps/x86_64/memchr.S: Update.
14534 Replace with faster SSE2 version.
14536 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14538 * elf/dl-load.c (lose): Add cast to avoid warning.
14540 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14542 * po/ca.po: Update from translation team.
14544 * inet/getnetgrent_r.c: Hook up nscd.
14545 * nscd/Makefile (routines): Add nscd_netgroup.
14546 (nscd-modules): Add netgroupcache.
14547 (CFLAGS-netgroupcache.c): Define.
14548 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14549 (cache_search): Add const to second parameter.
14550 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14552 (dbs): Add netgrdb entry.
14553 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14554 (verify_persistent_db): Handle netgrdb.
14555 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14556 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14558 (netgroup_response_header): Define.
14559 (innetgroup_response_header): Define.
14560 (datahead): Add netgroup_response_header and innetgroup_response_header
14562 * nscd/nscd.conf: Add entries for netgroup cache.
14563 * nscd/nscd.h (dbtype): Add netgrdb.
14564 (_PATH_NSCD_NETGROUP_DB): Define.
14565 (netgroup_iov_disabled): Declare.
14566 (xmalloc, xcalloc, xrealloc): Move declarations here.
14567 (cache_search): Adjust prototype.
14568 Add netgroup-related prototypes.
14569 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14570 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14571 (__nscd_innetgr): Declare.
14572 * nscd/selinux.c (perms): Use access_vector_t as element type and
14573 add netgroup-related initializers.
14574 * nscd/netgroupcache.c: New file.
14575 * nscd/nscd_netgroup.c: New file.
14576 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14577 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14578 For four parameters use innetgr.
14579 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14580 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14581 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14582 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14584 * nscd/connections.c (register_traced_file): Don't register file
14585 for disabled databases.
14587 2011-10-06 Ulrich Drepper <drepper@gmail.com>
14589 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14591 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14592 from tree and freeing node.
14594 2011-09-25 Jiri Olsa <jolsa@redhat.com>
14596 * nss/nsswitch.c (__nss_database_lookup): Handle
14597 nss_parse_service_list out of memory case.
14599 2011-09-15 Jiri Olsa <jolsa@redhat.com>
14601 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14602 out of memory case.
14604 2011-10-04 Andreas Schwab <schwab@redhat.com>
14606 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14607 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14609 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14610 elf_machine_rela, elf_machine_lazy_rel.
14611 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14612 (ELF_DYNAMIC_DO_REL): Likewise.
14613 (ELF_DYNAMIC_DO_RELA): Likewise.
14614 (ELF_DYNAMIC_RELOCATE): Likewise.
14615 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14616 to ELF_DYNAMIC_DO_REL.
14617 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14618 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14619 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14621 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14622 skip_ifunc, don't call ifunc function if non-zero.
14623 (elf_machine_rela): Likewise.
14624 (elf_machine_lazy_rel): Likewise.
14625 (elf_machine_lazy_rela): Likewise.
14626 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14627 (elf_machine_lazy_rel): Likewise.
14628 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14630 (elf_machine_lazy_rel): Likewise.
14631 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14633 (elf_machine_lazy_rel): Likewise.
14634 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14635 (elf_machine_lazy_rel): Likewise.
14636 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14637 (elf_machine_lazy_rel): Likewise.
14638 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14639 (elf_machine_lazy_rel): Likewise.
14640 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14641 (elf_machine_lazy_rel): Likewise.
14642 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14643 (elf_machine_lazy_rel): Likewise.
14644 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14645 (elf_machine_lazy_rel): Likewise.
14647 2011-09-28 Ulrich Drepper <drepper@gmail.com>
14649 * nss/nss_files/files-init.c (_nss_files_init): Use static
14650 initialization for all the *_traced_file variables.
14652 2011-09-28 Andreas Schwab <schwab@redhat.com>
14654 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14656 2011-09-27 Roland McGrath <roland@hack.frob.com>
14659 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14661 2011-09-27 Andreas Schwab <schwab@redhat.com>
14663 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14664 Reread the line before reparsing it.
14666 2011-09-26 Andreas Schwab <schwab@redhat.com>
14668 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14670 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14671 Maxim Kuvyrkov <maxim@codesourcery.com>
14672 Joseph Myers <joseph@codesourcery.com>
14674 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14675 if needed for __stack_chk_guard.
14677 2011-09-19 Roland McGrath <roland@hack.frob.com>
14679 * sysdeps/posix/spawni.c (script_execute): Always define it.
14680 It will be optimized away if unused.
14681 (maybe_script_execute): New function.
14682 (__spawni): Call it.
14684 * Makerules: Don't include tls.make.
14685 (config-tls): Always set to thread.
14686 * tls.make.c: File removed.
14688 2011-09-19 Mike Frysinger <vapier@gentoo.org>
14690 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14691 * config.make.in (CPPFLAGS-config): New substituted variable.
14693 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14695 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14698 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14699 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14701 2011-09-15 Roland McGrath <roland@hack.frob.com>
14703 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14704 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14705 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14706 (CALL_FAIL): Likewise.
14707 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14708 (CALL_FAIL): Macro removed.
14709 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14711 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14713 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14714 for __FINITE_MATH_ONLY__ == 1.
14716 2011-09-15 Andreas Schwab <schwab@redhat.com>
14718 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14719 __ieee754_sqrt instead of sqrt.
14720 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14721 __ieee754_sqrtf instead of sqrtf.
14722 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14723 __floorf instead of floorf.
14724 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14725 __floorf, __truncf instead of floorf, truncf.
14727 2011-09-14 Ulrich Drepper <drepper@gmail.com>
14729 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14731 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14732 __extern_always_inline.
14733 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14736 2011-09-14 Andreas Schwab <schwab@redhat.com>
14738 * elf/rtld.c (dl_main): Also relocate in dependency order when
14739 doing symbol dependency testing.
14741 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14743 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14744 Always define `refsym'.
14746 2011-09-13 Andreas Schwab <schwab@redhat.com>
14748 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14749 (__FD_ELT): Renamed from __FDELT.
14750 * misc/bits/select2.h (__FD_ELT): Likewise.
14751 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14752 __FD_MASK instead of __FDELT, __FDMASK.
14753 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14755 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14758 * elf/Makefile (gen-ldd): Fix pattern.
14760 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14761 (init_tls): Likewise.
14763 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14765 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14767 2011-09-12 Andreas Schwab <schwab@redhat.com>
14769 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14770 `struct cmsghdr *' instead of `void *'.
14771 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14774 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14776 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14778 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14779 ldd_rewrite_script.
14781 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14783 * configure.in: Remove --with-tls option.
14784 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14785 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14786 out in case it is missing.
14787 * sysdeps/ia64/elf/configure.in: Likewise.
14788 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14789 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14790 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14791 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14792 * sysdeps/sh/elf/configure.in: Likewise.
14793 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14794 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14795 * sysdeps/x86_64/elf/configure.in: Likewise.
14796 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14797 * sysdeps/mach/hurd/tls.h: Likewise.
14800 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14803 * configure.in: Fix use of AC_INIT.
14805 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14807 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14809 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14811 * malloc/hooks.c: Likewise.
14814 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14815 variables statically.
14816 (narenas): Initialize.
14817 (list_lock): Initialize.
14818 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14819 initializtion of main_arena and list_lock. Small cleanups.
14820 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14821 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14822 Add initializers to main_arena and mp_.
14823 (malloc_state): Remove pagesize member. Change all users to use
14826 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14827 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14828 is always initialized.
14830 * malloc/malloc.c: Removed unused configurations and dead code.
14831 * malloc/arena.c: Likewise.
14832 * malloc/hooks.c: Likewise.
14833 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14835 * include/tls.h: Removed. USE___THREAD must always be defined.
14836 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14837 * elf/dl-libc.c: Likewise.
14838 * elf/dl-tsd.c: Likewise.
14839 * include/errno.h: Likewise.
14840 * include/netdb.h: Likewise.
14841 * include/resolv.h: Likewise.
14842 * inet/herrno-loc.c: Likewise.
14843 * inet/herrno.c: Likewise.
14844 * malloc/arena.c: Likewise.
14845 * malloc/hooks.c: Likewise.
14846 * malloc/malloc.c: Likewise.
14847 * resolv/res-state.c: Likewise.
14848 * resolv/res_libc.c: Likewise.
14849 * sysdeps/i386/dl-machine.h: Likewise.
14850 * sysdeps/ia64/dl-machine.h: Likewise.
14851 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14852 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14853 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14854 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14855 * sysdeps/sh/dl-machine.h: Likewise.
14856 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14857 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14858 * sysdeps/unix/i386/sysdep.S: Likewise.
14859 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14860 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14861 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14862 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14863 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14864 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14865 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14866 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14867 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14868 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14869 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14870 * sysdeps/x86_64/dl-machine.h: Likewise.
14871 * tls.make.c: Likewise.
14873 * configure.in: Remove --with-__thread option. Make tests for
14874 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14875 tls_model attribute fail if no support is available. Remove
14877 * Makeconfig: Adjust for dropped configure option. All features are
14879 * Makerules: Likewise.
14880 * Versions.def: Likewise.
14881 * argp/argp-fmtstream.c: Likewise.
14882 * argp/argp-fmtstream.h: Likewise.
14883 * argp/argp-help.c: Likewise.
14884 * assert/assert.c: Likewise.
14885 * config.h.in: Likewise.
14886 * config.make.in: Likewise.
14887 * configure: Likewise.
14888 * configure.in: Likewise.
14889 * csu/Versions: Likewise.
14890 * csu/init.c: Likewise.
14891 * elf/tst-audit2.c: Likewise.
14892 * elf/tst-tls10.c: Likewise.
14893 * elf/tst-tls10.h: Likewise.
14894 * elf/tst-tls11.c: Likewise.
14895 * elf/tst-tls12.c: Likewise.
14896 * elf/tst-tls14.c: Likewise.
14897 * elf/tst-tlsmod11.c: Likewise.
14898 * elf/tst-tlsmod12.c: Likewise.
14899 * elf/tst-tlsmod13.c: Likewise.
14900 * elf/tst-tlsmod13a.c: Likewise.
14901 * elf/tst-tlsmod14a.c: Likewise.
14902 * elf/tst-tlsmod15b.c: Likewise.
14903 * elf/tst-tlsmod16a.c: Likewise.
14904 * elf/tst-tlsmod16b.c: Likewise.
14905 * elf/tst-tlsmod7.c: Likewise.
14906 * elf/tst-tlsmod8.c: Likewise.
14907 * elf/tst-tlsmod9.c: Likewise.
14908 * gmon/gmon.c: Likewise.
14909 * grp/fgetgrent_r.c: Likewise.
14910 * grp/putgrent.c: Likewise.
14911 * hurd/fopenport.c: Likewise.
14912 * include/libc-symbols.h: Likewise.
14913 * include/tls.h: Likewise.
14914 * intl/gettextP.h: Likewise.
14915 * intl/loadinfo.h: Likewise.
14916 * locale/global-locale.c: Likewise.
14917 * locale/localeinfo.h: Likewise.
14918 * mach/devstream.c: Likewise.
14919 * malloc/arena.c: Likewise.
14920 * malloc/set-freeres.c: Likewise.
14921 * misc/err.c: Likewise.
14922 * misc/getttyent.c: Likewise.
14923 * misc/mntent_r.c: Likewise.
14924 * posix/getopt.c: Likewise.
14925 * posix/wordexp.c: Likewise.
14926 * pwd/fgetpwent_r.c: Likewise.
14927 * resolv/Versions: Likewise.
14928 * resolv/res_hconf.c: Likewise.
14929 * shadow/fgetspent_r.c: Likewise.
14930 * shadow/putspent.c: Likewise.
14931 * stdio-common/printf_fphex.c: Likewise.
14932 * stdio-common/tmpfile.c: Likewise.
14933 * stdlib/abort.c: Likewise.
14934 * stdlib/fmtmsg.c: Likewise.
14935 * sunrpc/auth_unix.c: Likewise.
14936 * sunrpc/clnt_perr.c: Likewise.
14937 * sunrpc/clnt_tcp.c: Likewise.
14938 * sunrpc/clnt_udp.c: Likewise.
14939 * sunrpc/clnt_unix.c: Likewise.
14940 * sunrpc/openchild.c: Likewise.
14941 * sunrpc/svc_simple.c: Likewise.
14942 * sunrpc/svc_tcp.c: Likewise.
14943 * sunrpc/svc_udp.c: Likewise.
14944 * sunrpc/svc_unix.c: Likewise.
14945 * sunrpc/xdr.c: Likewise.
14946 * sunrpc/xdr_array.c: Likewise.
14947 * sunrpc/xdr_rec.c: Likewise.
14948 * sunrpc/xdr_ref.c: Likewise.
14949 * sunrpc/xdr_stdio.c: Likewise.
14951 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14953 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14955 2011-07-03 Andreas Jaeger <aj@suse.de>
14957 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14958 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14959 regenerate with gen-libm-tests.pl.
14961 2010-05-12 Petr Baudis <pasky@suse.cz>
14964 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14965 around j0() zero points by switching to j1().
14966 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14967 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14968 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14969 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14971 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14973 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14975 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14977 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14978 Patch in part by Pavel Roskin <proski@gnu.org>.
14981 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14983 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14984 Free memory block if necessary.
14987 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14988 be NULL. Don't lock in this case.
14990 2011-09-09 Roland McGrath <roland@hack.frob.com>
14992 * elf/elf.h (ELFOSABI_GNU): New macro.
14993 (ELFOSABI_LINUX): Define to that.
14995 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14997 * string/strncat.c (strncat): Undef the symbol in case it has been
14998 defined in bits/string.h.
15000 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15002 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15004 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15007 2011-08-17 Andreas Jaeger <aj@suse.de>
15009 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15011 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15012 Ian Lance Taylor <iant@google.com>
15014 * math/libm-test.inc (lround_test): New testcase.
15015 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15017 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15019 * Makefile: Remove support for automatic cvs check-ins.
15020 * Makerules: Likewise.
15021 * config.make.in: Likewise.
15022 * configure.in: Likewise.
15023 * intl/Makefile: Likewise.
15024 * locale/Makefile: Likewise.
15025 * po/Makefile: Likewise.
15026 * posix/Makefile: Likewise.
15027 * sysdeps/gnu/Makefile: Likewise.
15028 * sysdeps/mach/hurd/Makefile: Likewise.
15029 * sysdeps/sparc/sparc32/Makefile: Likewise.
15032 * posix/Makefile (bug-regex32-ENV): Define.
15033 Patch by John Stanley <jpsinthemix@verizon.net>.
15035 * misc/Makefile (headers): Add bits/select2.h.
15036 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15037 * misc/bits/select2.h: New file.
15038 * include/bits/select2.h: New file.
15039 * debug/Makefile (routines): Add fdelt_chk.
15040 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15041 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15043 * debug/fdelt_chk.c: New file.
15045 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15046 * wcsmbs/test-wmemcmp.c: Likewise.
15047 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15048 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15050 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15052 * string/Makefile (strop-tests): Add memcmp.
15053 * string/test-wmemcmp.c: New file.
15054 * string/test-memcmp.c: Add wmemcmp support.
15056 2011-09-08 Roland McGrath <roland@hack.frob.com>
15059 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15062 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15063 garbage value in a __mach_port_mod_refs call in the cases of the
15064 task-self and thread-self ports.
15066 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15068 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15070 2011-09-08 Andreas Schwab <schwab@redhat.com>
15072 * elf/dl-load.c (lose): Check for non-null L.
15074 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15076 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15078 * elf/dl-libc.c (dlerror_run): Pass back error code from
15082 * elf/dl-load.c (lose): Free l_origin if it is valid.
15084 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15086 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15087 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15088 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15089 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15090 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15091 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15093 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15095 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15096 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15097 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15098 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15099 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15100 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15101 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15102 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15103 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15104 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15106 2011-08-15 Alan Modra <amodra@gmail.com>
15109 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15110 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15111 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15112 ppc_mcount to static-only-routines.
15113 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15115 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15116 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15118 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15120 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15121 for finite and infinity parameters.
15123 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15125 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15126 and add nop instructions for throughput optimization.
15127 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15129 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15131 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15132 aligned copy for power7 with vector-scalar instructions.
15133 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15135 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15137 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15140 2011-09-07 Andreas Schwab <schwab@redhat.com>
15143 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15146 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15148 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15149 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15150 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15151 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15154 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15156 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15157 Forgot to demangle the pointer.
15159 * sysdeps/i386/sysdep.h: Define atom_text_section.
15160 * sysdeps/x86_64/sysdep.h: Likewise.
15161 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15162 section with atom_text_section.
15163 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15164 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15165 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15166 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15167 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15169 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15170 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15171 already be defined. Change to take two parameters and don't assign
15172 result to variable. Adjust all users.
15173 Define INTERNAL_GETTIME if not already defined.
15174 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15176 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15177 HAVE_CLOCK_GETTIME_VSYSCALL.
15178 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15180 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15181 gettimeofday vsyscall, just use time.
15183 2011-09-06 Andreas Schwab <schwab@redhat.com>
15185 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15188 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15190 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15192 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15194 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15195 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15196 syscall if possible.
15198 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15200 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15201 e_ident. Don't pass to find_mapsXX.
15202 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15204 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15207 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15208 * sysdeps/x86_64/multiarch/strchr.S: Update.
15209 Check bit_slow_BSF bit.
15210 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15211 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15212 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15214 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15217 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15219 (tryshell): Define.
15220 (__spawni): Change last parameter to be flag. Test
15221 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15222 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15223 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15224 * posix/spawni.c: Likewise.
15225 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15226 * posix/spawnp.c: Likewise. Change normal version to use
15227 SPAWN_XFLAGS_USE_PATH.
15228 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15229 SPAWN_XFLAGS_TRY_SHELL.
15232 * posix/glob.h: Remove gcc 1.x support.
15235 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15237 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15239 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15240 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15242 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15243 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15244 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15245 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15246 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15247 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15249 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15251 * sysdeps/x86_64/wcscmp.S: New file.
15253 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15254 wcscmp-c wcscmp-sse2
15255 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15256 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15257 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15258 * wcsmbs/wcscmp.c: Allow renaming.
15260 2011-09-05 David S. Miller <davem@davemloft.net>
15262 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15263 stack slot, rather than the struct return pointer slot.
15264 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15265 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15267 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15269 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15271 * po/ja.po: Update from translation team.
15274 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15275 kernel in 64-bit binaries.
15277 2011-09-01 David S. Miller <davem@davemloft.net>
15279 * elf/elf.h (HWCAP_SPARC_*): Move to..
15280 * sysdeps/sparc/sysdep.h: this new file and add new values.
15281 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15282 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15283 _DL_HWCAP_COUNT to 24.
15284 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15286 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15287 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15288 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15289 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15290 instead of magic constants.
15291 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15293 2011-08-31 David S. Miller <davem@davemloft.net>
15295 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15297 Reimplement to do errno handling inline.
15298 (SYSCALL_ERROR_HANDLER): New macro.
15299 (__SYSCALL_STRING): Do not do errno handling in asm.
15300 (__CLONE_SYSCALL_STRING): Delete.
15301 (__INTERNAL_SYSCALL_STRING): Delete.
15302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15303 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15304 (PSEUDO): Reimplement to do errno handling inline.
15305 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15306 (SYSCALL_ERROR_HANDLER): New macro.
15307 (__SYSCALL_STRING): Do not do errno handling in asm.
15308 (__CLONE_SYSCALL_STRING): Delete.
15309 (__INTERNAL_SYSCALL_STRING): Delete.
15310 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15311 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15313 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15314 (inline_syscall*): Add 'err' argument.
15315 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15316 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15317 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15318 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15320 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15321 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15323 2011-08-30 Andreas Schwab <schwab@redhat.com>
15325 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15327 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15329 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15332 2011-08-24 David S. Miller <davem@davemloft.net>
15334 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15336 2011-08-24 Andreas Schwab <schwab@redhat.com>
15338 * elf/Makefile: Add rules to build and run unload8 test.
15339 * elf/unload8.c: New file.
15340 * elf/unload8mod1.c: New file.
15341 * elf/unload8mod1x.c: New file.
15342 * elf/unload8mod2.c: New file.
15343 * elf/unload8mod3.c: New file.
15345 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15348 2011-08-23 David S. Miller <davem@davemloft.net>
15350 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15351 subtract stack bias.
15352 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15353 %sp not %fp in calculations.
15354 (_JMPBUF_UNWINDS_ADJ): Likewise.
15356 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15357 (aio_suspend): Call it to force an exception region around the
15358 AIO_MISC_WAIT() invocation.
15360 2011-08-23 Andreas Schwab <schwab@redhat.com>
15362 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15365 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15367 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15369 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15370 and <dl-machine.h>.
15371 (Elf64_FuncDesc): Remove.
15373 2011-08-22 David S. Miller <davem@davemloft.net>
15375 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15376 sigaltstack check, add missing cfi directives.
15377 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15378 missing cfi directives, and sigaltstack handling.
15380 2011-08-16 Andreas Schwab <schwab@redhat.com>
15383 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15384 object is seen twice.
15385 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15387 * elf/Makefile (distribute): Add tst-initorder2.c.
15388 (tests): Add tst-initorder2.
15389 (modules-names): Add tst-initorder2a tst-initorder2b
15390 tst-initorder2c tst-initorder2d. Add rules to build them.
15391 ($(objpfx)tst-initorder2.out): New rule.
15392 * elf/tst-initorder2.c: New file.
15393 * elf/tst-initorder2.exp: New file.
15395 2011-08-22 Andreas Schwab <schwab@redhat.com>
15397 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15399 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15400 dependencies back to end of function.
15402 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15403 $(elfobjdir)/ld.so.
15405 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15407 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15408 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15409 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15410 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15411 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15412 of __vdso_gettimeofday.
15413 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15414 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15416 (_libc_vdso_platform_setup): Remove initialization of
15417 __vdso_gettimeofday and __vdso_time.
15419 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15421 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15422 and fgetc_unlocked.
15423 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15426 * elf/dl-open.c (add_to_global): Report additions to the global scope
15427 for LD_DEBUG=scopes.
15428 (dl_open_worker): Also print scope of newly loaded dependencies.
15429 (_dl_show_scope): Indicate if there is no scope.
15432 * stdio-common/Makefile (tests): Add bug24.
15433 * stdio-common/bug24.c: New file.
15435 2011-08-19 Andreas Jaeger <aj@suse.de>
15438 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15439 non-existant file when using close-on-exec mode.
15441 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15443 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15444 the very first instruction.
15446 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15447 the CFI state in the end.
15448 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15449 inclusion of dl-trampoline.h.
15450 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15452 2011-08-19 Andreas Schwab <schwab@redhat.com>
15454 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15455 expectations for long double.
15457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15458 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15460 2011-08-14 David S. Miller <davem@davemloft.net>
15462 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15463 artificual limit depends upon the system page size.
15465 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15467 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15468 * resolv/Makefile: Define CFLAGS-libresolv.
15470 2011-08-17 Andreas Schwab <schwab@redhat.com>
15472 * nss/makedb.c (compute_tables): Make variables used in nested
15475 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15477 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15478 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15479 if buffer was too small.
15481 * elf/pldd.c (main): Attach to all threads in the process.
15482 Rewrite /proc handling to use *at functions.
15484 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15486 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15487 specifies first scope to show.
15488 (dl_open_worker): Update callers. Move printing scope of new
15489 object to before the relocation.
15490 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15491 * sysdeps/generic/ldsodefs.h: Update declaration.
15493 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15494 string for the scope number.
15496 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15498 * nscd/servicescache.c (cache_addserv): Make sure written is always
15501 2011-08-14 Roland McGrath <roland@hack.frob.com>
15503 * sysdeps/i386/i486/bits/atomic.h
15504 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15505 statement expression, so as to suppress "set but not used" warning.
15506 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15508 * string/strncat.c (STRNCAT): Use prototype definition.
15510 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15511 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15513 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15514 (localedef-modules): Add localedef.
15515 (locale-modules): Add locale.
15517 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15518 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15519 to avoid a warning.
15521 2011-08-14 David S. Miller <davem@davemloft.net>
15523 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15524 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15526 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15528 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15529 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15530 * elf/rtld.c (dl_main): Set l_name of vDSO.
15531 Call _dl_show_scope when DL_DEBUG_SCOPES.
15532 (process_dl_debug): Recognize scopes flag and also set it for all.
15533 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15534 Declare _dl_show_scope.
15536 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15537 (do_dlopen): Pass caller_dlopen to dl_open.
15538 (__libc_dlopen_mode): Initialize caller_dlopen.
15540 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15541 of libc. Make tolower call locale-independent. Optimize a bit by
15542 using isdigit instead of isalnum.
15543 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15545 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15547 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15548 was a dependency or dynamically loaded.
15550 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15552 * intl/l10nflist.c: Allow architecture-specific pop function.
15553 * sysdeps/x86_64/l10nflist.c: New file.
15555 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15558 2011-08-10 Andreas Schwab <schwab@redhat.com>
15560 * include/dirent.h: Add libc_hidden_proto for scandirat and
15561 scandirat64. Don't declare __scandirat64.
15562 * dirent/scandirat.c: Add libc_hidden_def.
15563 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15564 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15566 2011-08-10 David S. Miller <davem@davemloft.net>
15568 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15570 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15571 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15572 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15574 2011-08-09 Ulrich Drepper <drepper@gmail.com>
15576 * Versions.def [libc]: Add GLIBC_2.15.
15577 * dirent/Makefile (routines): Add scandirat and scandirat64.
15578 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15580 * dirent/dirent.h: Declare scandirat and scandirat64.
15581 * dirent/scandirat.c: New file.
15582 * dirent/scandirat64.c: New file.
15583 * sysdeps/wordsize-64/scandirat.c: New file.
15584 * sysdeps/wordsize-64/scandirat64.c: New file.
15585 * dirent/opendir.c: Define opendirat.
15586 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15588 * dirent/scandir64.c: Adjust for scandir.c change.
15589 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15590 __scandirat64, and __scandir_cancel_handler.
15591 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15592 additional parameter and use openat instead of open (outside of ld.so).
15593 Add new __opendir as wrapper around __opendirat.
15594 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15595 here without requiring old scandirat implementation.
15597 2011-08-08 Ulrich Drepper <drepper@gmail.com>
15599 * dirent/scandir.c (cancel_handler): Renamed to
15600 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15601 defined. Adjust users.
15602 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15603 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15605 2011-08-04 Ulrich Drepper <drepper@gmail.com>
15607 * string/test-string.h (IMPL): Use __STRING to expand name and then
15610 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15613 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15615 * string/Makefile: Update.
15616 (strop-tests): Append strncat.
15617 * string/test-wcscmp.c: New file.
15618 New comprehensive test for wcscmp.
15619 * string/test-strcmp.c: Update.
15620 (WIDE): New define.
15622 2011-07-22 Andreas Schwab <schwab@redhat.com>
15624 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15627 2011-07-26 Andreas Schwab <schwab@redhat.com>
15629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15630 encoding to ACE if AI_IDN.
15632 2011-08-01 Jakub Jelinek <jakub@redhat.com>
15634 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15635 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15637 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15639 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15640 Fix overflow bug in strncat.
15641 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15643 * string/test-strncat.c: Update.
15644 Add new tests for checking overflow bugs.
15646 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15648 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15649 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15650 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15651 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15652 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15653 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15654 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15655 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15656 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15658 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15659 (USE_AS_STRCAT): Define.
15660 Add strcat and strncat support.
15661 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15663 2011-07-25 Andreas Schwab <schwab@redhat.com>
15665 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15666 __n bigger than INT_MAX+1.
15667 (__strncmp_g): Likewise.
15669 2011-07-23 Ulrich Drepper <drepper@gmail.com>
15671 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15672 * libio/stido.h: Likewise.
15674 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15676 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15679 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15680 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15681 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15682 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15683 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15686 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15689 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15691 (_dl_x86_64_save_sse): Likewise.
15693 2011-07-22 Ulrich Drepper <drepper@gmail.com>
15695 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15697 (_dl_x86_64_save_sse): Likewise.
15699 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15701 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15703 2011-07-21 Andreas Schwab <schwab@redhat.com>
15705 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15707 (_dl_x86_64_save_sse): Use correct AVX check.
15709 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15711 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15712 bug in strncpy/strncat.
15713 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15715 2011-07-21 Ulrich Drepper <drepper@gmail.com>
15717 * string/tester.c (test_strcat): Add tests for different alignments
15718 of source and destination.
15719 (test_strncat): Likewise.
15721 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15724 * posix/glob.c (glob): Check passed in values before using them in
15725 expressions to avoid some overflows.
15726 (glob_in_dir): Likewise.
15729 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15730 check for AVX enablement so that we don't crash with old kernels and
15732 * elf/tst-audit4.c: Add same checks here.
15733 * elf/tst-audit6.c: Likewise.
15735 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15737 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15739 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15741 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15743 * po/cs.po: Update from translation team.
15744 * po/bg.po: Likewise.
15746 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15748 * misc/sys/cdefs.h: Add support for const attribute.
15749 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15750 to gnu_dev_{major,minor,makedev} functions.
15752 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15754 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15756 2011-07-20 Andreas Schwab <schwab@redhat.com>
15758 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15761 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15763 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15764 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15765 register in order to avoid conflicts with the soft frame pointer
15766 being held in r11 when necessary.
15767 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15768 (INTERNAL_VSYSCALL_NCS): Likewise.
15770 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15772 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15773 * elf/dl-fini.c (_dl_fini): Adjust caller.
15774 * elf/dl-close.c (_dl_close_worker): Likewise.
15775 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15777 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15779 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15780 "aux_cache->nlibs < 0".
15782 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15783 in the reload-count case.
15785 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15788 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15789 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15790 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15791 * sysdeps/x86_64/multiarch/strcat.S: New file.
15792 * sysdeps/x86_64/multiarch/strncat.S: New file.
15793 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15794 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15795 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15796 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15797 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15798 (USE_AS_STRCAT): Define.
15799 Add strcat and strncat support.
15800 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15801 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15802 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15803 * string/strncat.c: Update.
15804 (USE_AS_STRNCAT): Define.
15805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15806 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15808 * sysdeps/x86_64/multiarch/init-arch.h
15809 (bit_Prefer_PMINUB_for_stringop): New.
15810 (index_Prefer_PMINUB_for_stringop): Likewise.
15811 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15812 bit_Prefer_PMINUB_for_stringop.
15814 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15816 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15818 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15819 of casting of buffer.
15820 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15821 buffer32 and buffer64.
15822 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15823 writes instead of casting of buffer.
15824 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15826 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15829 2011-07-19 Andreas Schwab <schwab@redhat.com>
15831 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15833 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15835 * nscd/nscd.c (termination_handler): Don't do anything for a database
15836 if it has not yet been initialized.
15838 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15840 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15842 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15844 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15846 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15848 * po/nl.po: Update from translation team.
15849 * po/sv.po: Likewise.
15851 2011-07-16 Roland McGrath <roland@hack.frob.com>
15853 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15854 now disallowed by GCC.
15856 * configure.in (use-default-link): Default to yes if a test -shared
15857 link meets our qualifications.
15858 * configure: Regenerated.
15860 * config.make.in (output-format): New variable.
15861 * configure.in: Check for ld --print-output-format support.
15862 * configure: Regenerated.
15863 * Makerules ($(common-objpfx)format.lds)
15864 [$(output-format) != unknown]: Just use $(output-format),
15865 instead of the linker-script munging.
15867 2011-07-14 Roland McGrath <roland@hack.frob.com>
15869 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15870 of $(common-objpfx)shlib.lds.
15871 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15873 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15874 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15876 * configure.in (-z relro check): Adjust test code to add a large
15877 writable data section after it.
15878 * configure: Regenerated.
15880 2011-07-11 Roland McGrath <roland@hack.frob.com>
15882 * configure.in (-z relro check): Fix test code to make the variable
15884 * configure: Regenerated.
15886 2011-07-11 Ulrich Drepper <drepper@gmail.com>
15888 * nscd/nscd.h (struct traced_file): Define.
15889 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15890 elements. Add traced_files.
15891 (inotify_fd): Declare.
15892 (register_traced_file): Declare.
15893 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15894 (inotify_fd): Export.
15895 (resolv_conf_descr): Remove.
15896 (nscd_init): Move inotify descriptor creation to main.
15897 Don't register files for notification here.
15898 (register_traced_file): New function.
15899 (invalidate_cache): Don't use reset_res to determine whether to call
15900 res_init, go through the list of registered files.
15901 (main_loop_poll): The inotify descriptors are now stored in the
15902 structures for the traced files.
15903 (main_loop_epoll): Likewise
15904 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15905 to __nss_disable_nscd.
15906 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15907 for a database anymore. Check the records for all the registered
15909 * nss/Makefile (libnss_files-routines): Add files-init.
15910 (libnss_db-routines): Add db-init.
15911 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15912 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15913 * nss/nss_db/db-init.c: New file.
15914 * nss/nss_files/files-init.c: New file.
15915 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15916 __nss_lookup_function.
15917 (__nss_lookup_function): Call nss_load_library.
15918 (nss_load_all_libraries): New function.
15919 (__nss_disable_nscd): Take parameter with callback function for files
15920 to register. Set is_nscd. Load all the DSOs for the NSS modules
15921 used for the cached services.
15922 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15923 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15924 options for features to all the files in nscd.
15926 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15928 2011-07-10 Roland McGrath <roland@hack.frob.com>
15930 * csu/elf-init.c (__libc_csu_init): Comment typo.
15932 2011-07-09 Ulrich Drepper <drepper@gmail.com>
15934 * po/pl.po: Update from translation team.
15935 * po/ja.po: Likewise.
15936 * po/ru.po: Likewise.
15937 * po/ko.po: Likewise.
15938 * po/fr.po: Likewise.
15940 2011-07-09 Roland McGrath <roland@hack.frob.com>
15942 * configure.in (.ctors/.dtors header and trailer check):
15943 Use an empirical test on a built program.
15944 * configure: Regenerated.
15946 * configure.in (-z relro check): Use an empirical test on a built DSO.
15947 Detect, but do not require, on ia64.
15948 * configure: Regenerated.
15950 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15951 Update tests that use readelf to use $READELF instead.
15952 * configure: Regenerated.
15954 2011-07-08 Ulrich Drepper <drepper@gmail.com>
15956 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15957 if the result is not used.
15959 2011-07-05 Andreas Jaeger <aj@suse.de>
15962 * stdlib/tst-strtod.c: Add testcase.
15964 2011-07-07 Ulrich Drepper <drepper@gmail.com>
15966 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15967 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15968 The latter has a higher limit. Take additional parameter to pass to
15970 (__pathconf): Pass file to __statfs_link_max.
15971 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15973 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15977 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15978 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15980 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15981 (__statfs_filesize_max): Likewise.
15982 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15984 2011-07-05 Andreas Jaeger <aj@suse.de>
15986 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15988 2011-07-06 Marek Polacek <mpolacek@redhat.com>
15990 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15992 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15995 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15997 * Makefile (strop-tests): Add strncat.
15998 * string/test-strncat.c: New file.
16000 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16002 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16004 2011-06-21 Andreas Jaeger <aj@suse.de>
16006 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16007 Copy rule from iconvdata/Makefile.
16009 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16012 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16013 but no long options are defined, just return 'W'.
16015 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16018 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16020 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16022 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16024 (innetgr): Likewise.
16026 2011-07-05 Roland McGrath <roland@hack.frob.com>
16028 * config.make.in (install_root): Default to $(DESTDIR).
16030 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16032 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16034 2011-07-02 Roland McGrath <roland@hack.frob.com>
16036 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16038 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16039 containing directory rather than embedding absolute directory names.
16041 * scripts/check-local-headers.sh: Rewritten using awk.
16042 Match by word, not by line. Print error messages for matches.
16043 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16045 * Makerules [shlib-lds-flags empty]:
16046 ($(common-objpfx)libc_pic.opts): New target.
16047 ($(common-objpfx)libc_pic.os.clean): New target.
16048 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16050 * config.make.in (OBJCOPY): New variable.
16051 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16052 * configure: Regenerated.
16054 * config.make.in (use-default-link): New variable.
16055 * configure.in (use_default_link): Grok --with-default-link to set it.
16056 * configure: Regenerated.
16057 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16058 (shlib-lds, shlib-lds-flags): Define to empty.
16060 * Makerules (shlib-lds): New variable.
16061 (shlib-lds-flags): New variable.
16062 (build-shlib, build-moduile, build-module-asneeded): Use it.
16063 ($(common-objpfx)libc.so): Use $(shlib-lds).
16064 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16065 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16067 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16068 DT_FLAGS/DT_FLAGS_1 with zero flags.
16070 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16071 linker script munging.
16073 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16075 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16077 * crypt/sha512.c (sha512_process_block): Perform total addition using
16078 128-bit if possible.
16079 (__sha512_finish_ctx): Likewise.
16080 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16082 * crypt/sha256.c (SWAP64): Define.
16083 (sha256_process_block): Perform total addition using 64-bit if
16085 (__sha256_finish_ctx): Likewise.
16087 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16089 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16090 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16091 * nscd/hstcache.c (cache_addhst): Likewise.
16092 * nscd/grpcache.c (cache_addgr): Likewise.
16093 * nscd/aicache.c (addhstaiX): Likewise
16094 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16096 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16098 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16099 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16100 * nscd/hstcache.c (cache_addhst): Likewise.
16101 * nscd/grpcache.c (cache_addgr): Likewise.
16102 * nscd/aicache.c (addhstaiX): Likewise
16104 2011-07-01 Andreas Schwab <schwab@redhat.com>
16106 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16107 domain only when needed.
16109 2011-06-30 Andreas Schwab <schwab@redhat.com>
16111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16112 is always restored.
16114 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16116 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16117 are re-adding the entry.
16118 * nscd/servicescache.c (cache_addserv): Likewise.
16120 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16122 * sysdeps/generic/dl-irel.h: fix protection against multiple
16124 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16126 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16129 * malloc/memusage.sh: Fix quoting in message.
16130 * debug/xtrace.sh: Likewise.
16132 * configure.in: Remove support for --experimental-malloc option, make
16134 * config.make.in: Likewise.
16135 * malloc/Makefile: Likewise.
16137 2011-06-27 Andreas Schwab <schwab@redhat.com>
16139 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16140 two-byte characters.
16142 2011-06-27 Roland McGrath <roland@hack.frob.com>
16144 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16145 AC_CACHE_CHECK invocation.
16146 * configure: Regenerated.
16148 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16150 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16153 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16154 bit from old_res_options.
16156 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16158 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16159 value type for setfct.
16161 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16163 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16164 __gettimeofday instead of gettimeofday.
16166 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16168 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16170 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16172 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16174 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16177 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16180 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16181 strcpy-sse2-unaligned strncpy-sse2-unaligned
16182 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16183 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16184 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16185 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16186 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16187 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16188 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16189 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16190 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16191 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16192 (STRCPY): Support SSE2 and SSSE3 versions.
16194 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16197 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16198 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16199 kernels which artificially limit size of requests.
16201 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16203 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16204 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16205 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16206 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16207 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16208 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16209 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16210 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16211 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16212 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16213 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16214 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16215 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16216 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16217 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16219 Enable unaligned load optimization for Intel Core i3, i5 and i7
16221 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16223 (index_Fast_Unaligned_Load): Define.
16224 (HAS_FAST_UNALIGNED_LOAD): Define.
16226 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16228 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16230 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16233 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16234 until it is clear that the information is realy needed.
16235 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16237 2011-06-22 Andreas Schwab <schwab@redhat.com>
16239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16241 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16243 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16244 /sys/devices/system/cpu/online if it is usable.
16246 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16247 reading the information from the /proc filesystem to once a second.
16249 2011-06-21 Andreas Jaeger <aj@suse.de>
16251 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16252 NULL after inclusion of kernel headers.
16254 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16256 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16257 calls to internal_setent.
16260 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16261 addresses using gethostbyname4_r ignore IPv4 addresses.
16263 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16264 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16266 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16268 2011-06-20 David S. Miller <davem@davemloft.net>
16270 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16272 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16274 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16275 (elf_irel): Use it.
16276 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16277 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16278 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16279 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16280 * sysdeps/x86_64/dl-irel.h: Likewise.
16282 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16283 * elf/dl-sym.c: Likewise.
16285 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16287 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16288 need to dereference resplen2.
16290 2011-06-14 Andreas Schwab <schwab@redhat.com>
16292 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16294 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16296 * Makeconfig: Define vardbdir and inst_vardbdir.
16297 * nss/Makefile: Add rules to install db-Makefile.
16299 * nss/nss_db/db-XXX.c: Cleanup.
16301 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16302 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16304 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16305 * nss/makedb.c: Implement -g option to specify that value strings
16306 are generated and should not be added to table iterated over for
16308 * nss/nss_db/db-initgroups.c: New file.
16310 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16313 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16314 (internal_getgrouplist): Adjust to name change.
16315 Update use_initgroups_entry if this is not the first call.
16316 * nss/databases.def: Add initgroups entry.
16318 * nss/makedb.c (compute_tables): Check result of multiple hash table
16319 sizes to minimize maximum chain length.
16321 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16323 * Versions.def: Add entry for libnss_db.
16324 * shlib-versions: Likewise.
16325 * nss/Makefile: Add rules to build libnss_db.
16326 * nss/Versions: Add libnss_db information. Organize libnss_files
16328 * nss/db-Makefile: Add gshadow support. Change rules for the new
16329 makedb progra. Some minor improvements to generate smaller files.
16330 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16332 * nss/makedb.c: ...here.
16333 Improve database format to be smaller and require less memory at
16335 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16337 * nss/nss_db/db-netgrp.c: Likewise.
16338 * nss/nss_db/db-open.c: Likewise.
16339 * nss/nss_files/flies-XXX.x: Adjust comments.
16340 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16341 * nss/nss_files/files-grp.c: Likewise.
16342 * nss/nss_files/files-hosts.c: Likewise.
16343 * nss/nss_files/files-network.c: Likewise.
16344 * nss/nss_files/files-proto.c: Likewise.
16345 * nss/nss_files/files-pwd.c: Likewise.
16346 * nss/nss_files/files-rpc.c: Likewise.
16347 * nss/nss_files/files-service.c: Likewise.
16348 * nss/nss_files/files-sgrp.c: Likewise.
16349 * nss/nss_files/files-spwd.c: Likewise.
16350 * nss/nss_db/db-alias.c: Removed.
16351 * nss/nss_db/dummy-db.h: Removed.
16353 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16355 * nss/makedb.c: Rewritten to not use database library.
16356 * nss/Makefile: Update to build new makedb program.
16358 2011-06-14 Andreas Jaeger <aj@suse.de>
16360 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16361 memset declaration.
16363 2011-06-10 Andreas Schwab <schwab@redhat.com>
16365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16368 2011-06-10 Roland McGrath <roland@hack.frob.com>
16370 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16371 * elf/Makefile ($(objpfx)ld.so): Likewise.
16373 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16374 Don't list ld.so twice in dependencies.
16376 * posix/bug-regex31.c: Include <stdlib.h>.
16378 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16380 * nis/nss_compat/compat-spwd.c
16381 (getspent_next_nss_netgr): Remove unused variable.
16382 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16384 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16385 nonmembers" output to use the right array.
16387 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16389 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16391 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16392 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16393 * catgets/gencat.c (read_input_file): Likewise.
16394 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16396 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16397 variable definition inside #if's controlling its use.
16399 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16401 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16403 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16405 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16408 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16410 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16411 * configure: Regenerated.
16413 * Makerules: Revert last change.
16414 * elf/Makefile: Likewise.
16416 2011-06-09 Roland McGrath <roland@hack.frob.com>
16418 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16419 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16420 (reloc-link): Likewise.
16422 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16424 * elf/Makefile: Add rules to build pldd.
16425 * elf/pldd.c: New file.
16426 * elf/pldd-xx.c: New file.
16428 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16430 * version.h: Update for 2.15 development version.
16432 2011-06-07 David S. Miller <davem@davemloft.net>
16434 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16436 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16437 elf_machine_lazy_rel): Likewise.
16438 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16439 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16440 elf_machine_lazy_rel): Likewise.
16441 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16442 dl_hwcap via passed in argument.
16443 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16446 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16448 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16450 2011-06-06 Roland McGrath <roland@hack.frob.com>
16453 * manual/fdl-1.1.texi: New file, verbatim from:
16454 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16455 * manual/lgpl-2.1.texi: New file, verbatim from:
16456 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16457 * manual/Makefile (licenses): New variable, list those new file names.
16459 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16461 * manual/fdl.texi: File removed.
16462 * manual/lesser.texi: File removed.
16463 * manual/libc.texinfo (Copying, Documentation License):
16464 Use new @include file names, put @appendix directive before @include.
16466 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16469 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16470 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16471 (mq_open): Add __NTH.
16473 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16476 Assume Intel Core i3/i5/i7 processor if AVX is available.
16478 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16480 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16483 2011-05-31 Andreas Schwab <schwab@redhat.com>
16485 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16486 memory. Use alloca_account. Fix memory leak when retrying.
16488 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16490 * version.h (RELEASE): Bump for 2.14 release.
16491 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16493 * config.make.in (RANLIB): Remove entry.
16495 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16497 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16498 (libc.pot): Work around missing support for .ksh extension in xgettext.
16501 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16502 if both request failed.
16503 (send_dg): In case of server errors clear resplen or *resplen2.
16506 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16507 when there are multiple maps.
16508 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16509 (_dl_fini): Remove test here.
16511 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16513 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16516 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16517 bit from old_res_options.
16518 (gaih_inet): Likewise.
16521 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16524 * resolv/res_init.c (res_setoptions): Make the code more compact.
16527 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16531 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16533 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16536 * malloc/malloc.h: Declare malloc hook variables as volatile.
16538 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16542 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16543 raise in the comment.
16544 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16545 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16546 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16548 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16551 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16552 grow the buffers more if it already has to be sufficient.
16553 (build_wcs_upper_buffer): Likewise.
16554 * posix/regexec.c (check_matching): Likewise.
16555 (clean_state_log_if_needed): Likewise.
16556 (extend_buffers): Don't enlarge buffers beyond size of the input
16558 Patches mostly by Emil Wojak <emil@wojak.eu>.
16559 * posix/bug-regex32.c: New file.
16560 * posix/Makefile (tests): Add bug-regex32.
16562 * locale/findlocale.c (_nl_find_locale): Return right away if
16563 _nl_explode_name failed.
16564 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16566 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16568 * debug/xtrace.sh: Unify messages.
16569 * malloc/memusage.sh: Likewise.
16572 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16573 time symbol from vDSO. Substitute with vsyscall if not available.
16574 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16577 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16578 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16579 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16580 Add sendmmsg and internal_sendmmsg.
16581 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16582 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16583 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16585 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16586 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16587 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16589 2011-05-27 Ulrich Drepper <drepper@gmail.com>
16592 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16593 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16595 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16599 * iconvdata/Makefile (tests): Add bug-iconv9.
16600 * iconvdata/bug-iconv9.c: New file.
16602 2011-05-27 Andreas Schwab <schwab@redhat.com>
16605 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16607 2011-05-25 Jakub Jelinek <jakub@redhat.com>
16609 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16610 (struct user_regs_struct): Change intcs field back to cs.
16612 2011-05-25 Ulrich Drepper <drepper@gmail.com>
16614 * po/ja.po: Update from translation team.
16616 2011-05-23 Ulrich Drepper <drepper@gmail.com>
16619 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16620 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16622 2011-05-20 Andreas Schwab <schwab@redhat.com>
16624 * stdlib/longlong.h: Update from GCC.
16626 2011-05-23 Andreas Schwab <schwab@redhat.com>
16628 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16630 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16631 Add parameter name.
16632 (__sysconf): Pass it down.
16634 2011-05-22 Ulrich Drepper <drepper@gmail.com>
16637 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16639 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16640 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16641 add in in __libc_use_alloca calls. Adjust callers.
16642 (glob): Use malloc in some situations.
16644 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16645 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16648 2011-05-21 Ulrich Drepper <drepper@gmail.com>
16650 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16651 and CLOCK_BOOTTIME_ALARM.
16654 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16657 * string/_strerror.c (__strerror_r): Print negative errors as signed
16661 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16662 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16663 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16665 * configure.in: Fix typo in redirection and correct removal of test
16666 files in two cases.
16669 * locale/setlocale.c (new_composite_name): Fix test to check for
16670 identical name of all categories.
16673 * libio/filedoalloc.c (local_isatty): New function.
16674 (_IO_file_doallocate): Use local_isatty.
16675 * stdio-common/perror.c (perror): In case a new stream is used
16676 forward the stream error.
16677 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16680 2011-05-20 Ulrich Drepper <drepper@gmail.com>
16683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16685 * include/alloca.h (extend_alloca_account): Define.
16688 * posix/regex.h: Fix comments with documentation of user-accessible
16689 fields after compilation and describe correct free'ing of pattern
16690 after re_compile_pattern.
16691 Patch by Reuben Thomas <rrt@sc3d.org>.
16693 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16695 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16696 and -mno-altivec to prevent the compiler from using Altivec and/or
16697 VSX instructions when the corresponding registers are not available.
16699 2011-05-19 Andreas Schwab <schwab@redhat.com>
16701 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16703 2011-05-19 Ulrich Drepper <drepper@gmail.com>
16705 * libio/freopen.c (freopen): Use __dup2, not dup2.
16706 * libio/freopen64.c (freopen64): Likewise.
16708 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16711 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16712 * math/Makefile (tests): Add test-powl.
16713 (CFLAGS-test-powl.c): Define.
16714 * math/test-powl.c: New file.
16716 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16718 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16720 2011-05-17 Ulrich Drepper <drepper@gmail.com>
16723 * iconvdata/gb18030.c: Update to GB18020-2005.
16725 2011-05-16 Ulrich Drepper <drepper@gmail.com>
16727 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16728 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16729 Patch by Aharon Robbins <arnold@skeeve.com>.
16732 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16736 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16737 through underflows.
16740 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16741 point to strings before performing equality test for error_one_per_line
16745 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16748 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16749 (struct user_fpregs_struct): Avoid __uint*_t types.
16752 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16753 symbol info. Use it instead of calling _dl_addr locally.
16754 (lock_and_info): New function.
16755 (tr_freehook): Call lock_and_info and pass symbol info as additional
16756 parameter to tr_where.
16757 (tr_mallochook): Likewise.
16758 (tr_reallochook): Likewise.
16759 (tr_memalignhook): Likewise.
16761 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16762 used and couldn't be at all thread-safe.
16764 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16766 * libio/freopen.c (freopen): Don't close old file descriptor
16767 before the new one is opened. Instead dup the new file descriptor
16768 to the old one after the new stream is created.
16769 * libio/freopen64.c (freopen64): Likewise.
16770 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16771 * libio/fileops.c (_IO_new_file_close_it): Handle new
16772 _IO_FLAGS2_NOCLOSE flag.
16773 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16774 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16775 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16776 _IO_FLAGS2_NOCLOSE flag.
16777 * include/unistd.h: Add hidden_proto for dup3.
16778 Define __have_dup3.
16779 * io/dup3.c: Define hidden symbol.
16780 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16783 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16784 when an incomplete long option is used.
16785 * posix/tst-getopt_long1.c: New file.
16786 * posix/Makefile (tests): Add tst-getopt_long1.
16789 * scripts/config.guess: Update from autoconf-2.68.
16790 * scripts/config.sub: Likewise.
16793 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16795 (has_cpuclock): ...this. New function.
16796 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16797 macro here based on has_cpuclock code.
16800 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16801 First byte (not low byte) is now always NUL.
16802 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16804 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16805 Use non-cancelable interfaces.
16808 * locale/iso-639.def: Add entry for Sorani.
16811 * include/stdlib.h: Move include protection to the right place.
16812 Define abort_msg_s. Declare __abort_msg with it.
16813 * stdlib/abort.c (__abort_msg): Adjust type.
16814 * assert/assert.c (__assert_fail_base): New function. Majority
16815 of code from __assert_fail. Allocate memory for __abort_msg with
16817 (__assert_fail): Now call __assert_fail_base.
16818 * assert/assert-perr.c: Remove bulk of implementation. Use
16819 __assert_fail_base.
16820 * include/assert.hL Declare __assert_fail_base.
16821 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16823 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16825 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16829 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16830 until all modules are registered in the DTV.
16831 * elf/Makefile: Add rules to build and run tst-tls19.
16832 * elf/tst-tls19.c: New file.
16833 * elf/tst-tls19mod1.c: New file.
16834 * elf/tst-tls19mod2.c: New file.
16835 * elf/tst-tls19mod3.c: New file.
16836 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16839 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16843 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16844 two-byte sequence errors.
16845 * iconvdata/Makefile (tests): Add bug-iconv8.
16846 * iconvdata/bug-iconv8.c: New file.
16849 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16852 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16855 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16856 (dummy_getcfa): New function.
16857 (init): Get _Unwind_GetCFA address, use dummy if not found.
16858 (backtrace_helper): In recursion check, also check whether CFA changes.
16859 (__backtrace): Completely initialize arg.
16861 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16862 storing incomplete byte sequence in state object. Avoid testing for
16863 guaranteed too small input if we know there is enough data available.
16865 2011-05-11 Andreas Schwab <schwab@redhat.com>
16867 * Makeconfig (+link-pie): Indent.
16868 * Rules (binaries-pie): Define if $(have-fpie) and
16870 (binaries-shared): Also filter out $(binaries-pie).
16871 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16872 * nscd/Makefile (others-pie): Add nscd.
16873 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16874 ($(objpfx)nscd): Remove command override.
16875 * login/Makefile (others-pie): Add pt_chown.
16876 ($(objpfx)pt_chown): Remove command override.
16877 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16878 remove command overrides.
16880 2011-05-13 Ulrich Drepper <drepper@gmail.com>
16882 * libio/tst_putwc.c: Fix error messages.
16885 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16886 currently writing and seek to current position when not.
16887 * libio/Makefile (tests): Add bug-fclose1.
16888 * libio/bug-fclose1.c: New file.
16890 2011-05-12 Ulrich Drepper <drepper@gmail.com>
16893 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16894 don't set DF_1_NODELETE here.
16895 (do_lookup_x): When entering new entry test for copy relocation
16896 and if necessary set DF_1_NODELETE flag.
16897 * elf/tst-unique4.cc: New file.
16898 * elf/tst-unique4.h: New file.
16899 * elf/tst-unique4lib.cc: New file.
16900 * elf/Makefile: Add rules to build and run tst-unique4.
16901 Patch by Piotr Bury <pbury@goahead.com>.
16903 2011-05-11 Ulrich Drepper <drepper@gmail.com>
16906 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16909 * misc/mntent_r.c (addmntent): Flush the stream after the output
16912 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16913 (is_trusted_path_normalize): Skip initial colon. Append slash
16914 to empty buffer. Duplicate is_trusted_path code but allow
16915 constructed patch to be prefix.
16916 (is_dst): Allow $ORIGIN followed by /.
16917 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16918 Correct testing of result of is_trusted_path_normalize
16919 (decompose_rpath): Fix warning.
16921 2011-05-10 Ulrich Drepper <drepper@gmail.com>
16924 * grp/initgroups.c (internal_getgrouplist): When we found the service
16925 list through the initgroups entry in nsswitch.conf do not always
16926 continue on a successful lookup. Don't always use the
16927 __nss_group_database value if it is set.
16928 * nss/nsswitch.conf (initgroups): Change action for successful db
16929 lookup to continue for compatibility.
16931 2011-05-09 Ulrich Drepper <drepper@gmail.com>
16934 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16936 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16938 * iconvdata/tst-tables.sh: Likewise.
16939 * iconvdata/cp770.c: New file.
16940 * iconvdata/cp771.c: New file.
16941 * iconvdata/cp772.c: New file.
16942 * iconvdata/cp773.c: New file.
16943 * iconvdata/cp774.c: New file.
16944 * iconvdata/testdata/CP770: New file.
16945 * iconvdata/testdata/CP770..UTF8: New file.
16946 * iconvdata/testdata/CP771: New file.
16947 * iconvdata/testdata/CP771..UTF8: New file.
16948 * iconvdata/testdata/CP772: New file.
16949 * iconvdata/testdata/CP772..UTF8: New file.
16950 * iconvdata/testdata/CP773: New file.
16951 * iconvdata/testdata/CP773..UTF8: New file.
16952 * iconvdata/testdata/CP774: New file.
16953 * iconvdata/testdata/CP774..UTF8: New file.
16955 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16957 * iconvdata/gen-8bit-gap.sh: Likewise.
16958 * iconvdata/gen-8bit.sh: Likewise.
16960 * locale/iso-639.def: Add ary entry.
16963 * locale/C-translit.h.in: Add U20A1 transliteration.
16966 * locale/iso-639.def: Add wae entry.
16967 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16970 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16974 * locale/C-translit.h.in: Add entry for U20B9.
16975 Patch by pravin.d.s@gmail.com.
16977 2011-05-08 Ulrich Drepper <drepper@gmail.com>
16980 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16981 ENAMETOOLONG use generic getcwd.
16982 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16983 in rtld. Use *stat64.
16984 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16985 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16986 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16987 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16988 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16989 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16990 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16991 __fstatat64 macros.
16992 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16993 * dirent/rewinddir.c: Add libc_hidden_def.
16994 * sysdeps/mach/hurd/rewinddir.c: Likewise.
16995 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
16997 * include/dirent.h (__alloc_dir): Add flags parameter.
16998 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16999 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17001 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17002 from fdopendir if O_CLOEXEC is already set.
17004 2011-03-15 Alan Modra <amodra@gmail.com>
17006 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17007 l_tls_firstbyte_offset non-zero. Save padding offset in
17008 l_tls_firstbyte_offset for later use.
17009 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17010 freeing static tls block.
17012 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17014 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17015 where #ifdef was intended. The intent is to prevent ARG_MAX from
17016 being defined by the kernel headers.
17018 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17021 * resolv/resolv.h: Define RES_NOTLDQUERY.
17022 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17023 no-tld-query and set RES_NOTLDQUERY.
17024 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17025 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17026 modern BIND to search name as TLD unless forbidden.
17028 2011-05-07 Petr Baudis <pasky@suse.cz>
17029 Ulrich Drepper <drepper@gmail.com>
17032 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17033 (is_trusted_path): ...to here.
17034 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17035 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17036 using is_trusted_path_normalize() in setuid scripts.
17038 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17040 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17041 __BEGIN/__END_DECLS.
17043 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17045 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17046 NSS_STATUS_NOTFOUND if no record was found.
17048 2011-05-05 Andreas Schwab <schwab@redhat.com>
17050 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17051 (headers-not-in-tirpc): Remove rpc/netdb.h
17052 * resolv/netdb.h: Revert last change.
17054 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17056 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17057 circular dependency between libgcc.a and libc.a.
17059 2011-05-05 Andreas Schwab <schwab@redhat.com>
17061 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17062 * nis/Makefile: Don't install rpcsvc/*.
17063 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17064 instead of <rpc/types.h>.
17065 (MAXHOSTNAMELEN): Define.
17067 2011-05-03 Andreas Schwab <schwab@redhat.com>
17069 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17071 2011-04-28 Maciej Babinski <mbabinski@google.com>
17074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17075 gethostbyname4_r when IPv6 results are possible.
17077 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17080 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17081 _PC_PIPE_BUF handling.
17083 2011-04-30 Bruno Haible <bruno@clisp.org>
17086 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17087 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17089 * inet/getnameinfo.c (getnameinfo): Likewise.
17091 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17093 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17094 to groups setting in database lookup.
17095 * nss/nsswitch.conf: Add initgroups entry.
17097 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17100 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17102 Patch by Eric Blake <eblake@redhat.com>.
17104 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17106 * sunrpc/Makefile (need-export-routines): Add svc_run.
17107 (routines): Remove svc_run.
17108 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17109 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17110 * sunrpc/svc_run.c (svc_run): Likewise.
17111 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17113 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17115 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17116 problem in reallocation in last patch.
17118 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17120 * sunrpc/Makefile: Move inclusion of Rules.
17122 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17124 * nss/nss_files/files-initgroups.c: New file.
17125 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17126 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17127 _nss_files_initgroups_dyn.
17129 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17131 * elf/elf.h (R_ARM_IRELATIVE): Define.
17133 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17135 * po/ru.po: Update from translation team.
17137 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17139 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17142 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17145 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17146 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17147 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17148 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17149 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17151 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17153 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17155 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17156 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17157 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17159 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17162 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17164 * stdlib/bug-getcontext.c: New file.
17165 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17167 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17169 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17170 instructions into .machine "z9-109".
17171 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17172 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17174 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17176 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17177 between environment variables and auxiliary vector.
17179 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17181 * Makefile: Add rules to build linkobj/libc.so.
17182 * include/libc-symbols.h: Define libc_hidden_nolink.
17183 * include/rpc/auth.h: Mark functions which are to be hidden.
17184 * include/rpc/auth_des.h: Likewise.
17185 * include/rpc/auth_unix.h: Likewise.
17186 * include/rpc/clnt.h: Likewise.
17187 * include/rpc/des_crypt.h: Likewise.
17188 * include/rpc/key_prot.h: Likewise.
17189 * include/rpc/pmap_clnt.h: Likewise.
17190 * include/rpc/pmap_prot.h: Likewise.
17191 * include/rpc/pmap_rmt.h: Likewise.
17192 * include/rpc/rpc_msg.h: Likewise.
17193 * include/rpc/svc.h: Likewise.
17194 * include/rpc/svc_auth.h: Likewise.
17195 * include/rpc/xdr.h: Likewise.
17196 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17197 * nss/Makefile: Likewise.
17198 * sunrpc/Makefile: Don't install headers. Build library with normal
17199 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17200 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17201 for the compat linking library. Remove use of INTDEF/INTUSE.
17202 * sunrpc/auth_none.c: Likewise.
17203 * sunrpc/auth_unix.c: Likewise.
17204 * sunrpc/authdes_prot.c: Likewise.
17205 * sunrpc/authuxprot.c: Likewise.
17206 * sunrpc/clnt_gen.c: Likewise.
17207 * sunrpc/clnt_perr.c: Likewise.
17208 * sunrpc/clnt_raw.c: Likewise.
17209 * sunrpc/clnt_simp.c: Likewise.
17210 * sunrpc/clnt_tcp.c: Likewise.
17211 * sunrpc/clnt_udp.c: Likewise.
17212 * sunrpc/clnt_unix.c: Likewise.
17213 * sunrpc/des_crypt.c: Likewise.
17214 * sunrpc/des_soft.c: Likewise.
17215 * sunrpc/get_myaddr.c: Likewise.
17216 * sunrpc/key_call.c: Likewise.
17217 * sunrpc/key_prot.c: Likewise.
17218 * sunrpc/netname.c: Likewise.
17219 * sunrpc/pm_getmaps.c: Likewise.
17220 * sunrpc/pm_getport.c: Likewise.
17221 * sunrpc/pmap_clnt.c: Likewise.
17222 * sunrpc/pmap_prot.c: Likewise.
17223 * sunrpc/pmap_prot2.c: Likewise.
17224 * sunrpc/pmap_rmt.c: Likewise.
17225 * sunrpc/publickey.c: Likewise.
17226 * sunrpc/rpc_cmsg.c: Likewise.
17227 * sunrpc/rpc_common.c: Likewise.
17228 * sunrpc/rpc_dtable.c: Likewise.
17229 * sunrpc/rpc_prot.c: Likewise.
17230 * sunrpc/rpc_thread.c: Likewise.
17231 * sunrpc/rtime.c: Likewise.
17232 * sunrpc/svc.c: Likewise.
17233 * sunrpc/svc_auth.c: Likewise.
17234 * sunrpc/svc_authux.c: Likewise.
17235 * sunrpc/svc_raw.c: Likewise.
17236 * sunrpc/svc_run.c: Likewise.
17237 * sunrpc/svc_simple.c: Likewise.
17238 * sunrpc/svc_tcp.c: Likewise.
17239 * sunrpc/svc_udp.c: Likewise.
17240 * sunrpc/svc_unix.c: Likewise.
17241 * sunrpc/svcauth_des.c: Likewise.
17242 * sunrpc/xcrypt.c: Likewise.
17243 * sunrpc/xdr.c: Likewise.
17244 * sunrpc/xdr_array.c: Likewise.
17245 * sunrpc/xdr_float.c: Likewise.
17246 * sunrpc/xdr_intXX_t.c: Likewise.
17247 * sunrpc/xdr_mem.c: Likewise.
17248 * sunrpc/xdr_rec.c: Likewise.
17249 * sunrpc/xdr_ref.c: Likewise.
17250 * sunrpc/xdr_sizeof.c: Likewise.
17251 * sunrpc/xdr_stdio.c: Likewise.
17253 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17256 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17257 * sysdeps/ia64/dl-tls.h: Likewise.
17258 * sysdeps/powerpc/dl-tls.h: Likewise.
17259 * sysdeps/s390/dl-tls.h: Likewise.
17260 * sysdeps/sh/dl-tls.h: Likewise.
17261 * sysdeps/sparc/dl-tls.h: Likewise.
17262 * sysdeps/x86_64/dl-tls.h: Likewise.
17263 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17265 2011-03-14 Andreas Schwab <schwab@redhat.com>
17267 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17268 rpath element also skip the following colon.
17269 (expand_dynamic_string_token): Add is_path parameter and pass
17270 down to DL_DST_REQUIRED and _dl_dst_substitute.
17271 (decompose_rpath): Call expand_dynamic_string_token with
17272 non-zero is_path. Ignore empty rpaths.
17273 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17276 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17281 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17284 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17285 Patch by Filipe David Manana <fdmanana@apache.org>.
17287 2011-04-07 Andreas Schwab <schwab@redhat.com>
17289 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17290 Maintain aligned stack.
17291 (CHECK_RSP): Remove unused macro.
17293 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17295 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17296 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17298 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17300 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17302 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17304 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17307 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17308 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17309 * sysdeps/x86_64/memmove.c: New file.
17310 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17311 (memcpy): Renamed to ...
17312 (__new_memcpy): This.
17313 (memcpy): Provide GLIBC_2_14 memcpy.
17314 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17315 (memcpy): Provide GLIBC_2_2_5 memcpy.
17317 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17320 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17322 2011-03-30 Andreas Schwab <schwab@redhat.com>
17324 * misc/syncfs.c: New file.
17325 * misc/Makefile (routines): Add syncfs.
17326 * posix/unistd.h: Declare syncfs.
17327 * sysdeps/unix/syscalls.list: Add syncfs.
17329 2011-04-01 Andreas Schwab <schwab@redhat.com>
17331 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17333 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17334 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17335 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17336 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17337 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17338 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17339 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17341 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17344 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17345 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17346 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17347 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17348 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17349 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17351 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17352 sync_file_range.c with -fexceptions.
17353 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17354 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17355 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17356 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17357 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17358 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17359 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17360 sync_file_range as cancellation point
17361 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17362 now a wrapper around __call_sync_file_range with cancellation handling.
17363 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17364 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17365 function name to __call_sync_file_range.
17366 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17367 Add call_sync_file_range.
17369 2011-04-01 Andreas Schwab <schwab@redhat.com>
17371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17374 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17376 * iconv/iconv.h: Fix typo in comment.
17377 * io/fcntl.h: Likewise.
17378 * libio/stdio.h: Likewise.
17379 * posix/spawn.h: Likewise.
17380 * posix/unistd.h: Likewise.
17381 * stdlib/stdlib.h: Likewise.
17382 * time/time.h: Likewise.
17383 * wcsmbs/wchar.h: Likewise.
17385 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17386 open_by_handle): Add.
17387 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17388 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17389 Augment a few comments.
17390 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17391 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17392 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17394 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17395 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17398 * io/fcntl.h (AT_EMPTY_PATH): Define.
17400 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17402 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17403 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17404 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17406 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17407 * Versions.def: Add GLIBC_2.14.
17408 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17411 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17413 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17415 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17417 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17420 * string/test-strncmp.c (do_page_test): New function.
17421 (check2): Likewise.
17422 (test_main): Call check2.
17423 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17425 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17428 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17429 Handle cache information in CPU leaf 4.
17430 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17432 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17435 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17436 character representation.
17437 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17439 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17441 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17442 END(__isnan) to END(__isnanf) to match function entry point/label
17443 EALIGN(__isnanf,...).
17445 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17447 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17449 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17452 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17453 copy from the symbol referenced in the relocation to initialize the
17455 Patch by Piotr Bury <pbury@goahead.com>.
17456 * elf/Makefile: Add rules to build and tst-unique3.
17457 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17458 * elf/tst-unique3.cc: New file.
17459 * elf/tst-unique3.h: New file.
17460 * elf/tst-unique3lib.cc: New file.
17461 * elf/tst-unique3lib2.cc: New file.
17463 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17465 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17467 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17468 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17471 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17473 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17474 to-be-loaded object along a path to loader is ld.so.
17476 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17477 Ulrich Drepper <drepper@gmail.com>
17479 * sysdeps/x86_64/memset.S: After aligning destination, code
17480 branches to different locations depending on the value of
17481 misalignment, when multiarch is enabled. Fix this.
17483 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17485 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17486 Set _x86_64_preferred_memory_instruction for AMD processsors.
17487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17488 Set bit_Prefer_SSE_for_memop for AMD processors.
17490 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17492 * libio/fmemopen.c (fmemopen): Optimize a bit.
17494 2011-03-03 Andreas Schwab <schwab@redhat.com>
17496 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17498 2011-03-03 Roland McGrath <roland@redhat.com>
17500 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17502 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17504 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17505 __bzero_ultra1 instead of __memset_ultra1.
17507 2011-02-23 Andreas Schwab <schwab@redhat.com>
17508 Ulrich Drepper <drepper@gmail.com>
17511 * include/link.h (struct link_map): Add l_orig_initfini.
17512 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17513 returning unsuccessfully.
17514 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17515 close of a file loaded at startup, restore the original l_initfini
17517 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17518 list, store the pointer.
17519 * elf/Makefile ($(objpfx)noload-mem): New rule.
17520 (noload-ENV): Define.
17521 (tests): Add $(objpfx)noload-mem.
17522 * elf/noload.c: Include <memcheck.h>.
17523 (main): Call mtrace. Close all opened handles.
17525 2011-02-17 Andreas Schwab <schwab@redhat.com>
17528 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17529 dependencies are missing.
17531 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17533 Fix __if_freereq crash: Unlike the generic version which uses free,
17535 * sysdeps/mach/hurd/ifreq.h: New file.
17537 2011-01-27 Petr Baudis <pasky@suse.cz>
17538 Ulrich Drepper <drepper@gmail.com>
17541 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17542 to extend_alloca().
17543 * stdio-common/bug23.c: New file.
17544 * stdio-common/Makefile (tests): Add bug23.
17546 2010-09-28 Andreas Schwab <schwab@redhat.com>
17547 Ulrich Drepper <drepper@gmail.com>
17550 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17551 before performing relro protection. At old place add assertion
17552 to make sure nothing changed.
17554 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17555 Glauber de Oliveira Costa <glommer@gmail.com>
17557 * elf/elf.h: Add new ARM TLS relocs.
17559 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17562 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17564 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17566 * sysdeps/wordsize-64/tst-writev.c: New file.
17568 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17570 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17571 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17572 insns in _dl_start to prevent a TOC reference before relocs are
17575 2011-02-15 Ulrich Drepper <drepper@gmail.com>
17578 * Makeconfig: Remove RANLIB definition.
17579 * Makerules: Don't use RANLIB.
17580 * aclocal.m4: Remove ranlib test.
17581 * configure.in: No need to check for ranlib.
17582 * elf/rtld-Rules: Don't use RANLIB.
17584 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17586 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17588 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17589 inclusion protection macro.
17591 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17592 SIGRTMIN and SIGRTMAX and print information in that case only when
17593 SIGRTMIN is defined.
17595 2011-02-11 Jakub Jelinek <jakub@redhat.com>
17597 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17598 arginfo fn returning -1.
17600 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17601 and thousands string is zero terminated.
17603 2011-02-03 Andreas Schwab <schwab@redhat.com>
17605 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17606 sysdeps/unix/sysv/linux/bits/socket.h.
17608 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17610 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17611 (__CPU_COUNT): Remove old macros.
17612 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17613 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17614 (__CPU_ALLOC, __CPU_FREE): Add macros.
17615 (__sched_cpualloc, __sched_cpufree): Add declarations.
17617 2011-02-05 Ulrich Drepper <drepper@gmail.com>
17619 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17620 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17621 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17622 (readdhstai): Return value of addhstaiX call.
17623 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17624 (addgrbyX): Return value returned by cache_addgr.
17625 (readdgrbyname): Return value returned by addgrbyX.
17626 (readdgrbygid): Likewise.
17627 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17628 (addpwbyX): Return value returned by cache_addpw.
17629 (readdpwbyname): Return value returned by addhstbyX.
17630 (readdpwbyuid): Likewise.
17631 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17632 (addservbyX): Return value returned by cache_addserv.
17633 (readdservbyname): Return value returned by addservbyX:
17634 (readdservbyport): Likewise.
17635 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17636 (addhstbyX): Return value returned by cache_addhst.
17637 (readdhstbyname): Return value returned by addhstbyX.
17638 (readdhstbyaddr): Likewise.
17639 (readdhstbynamev6): Likewise.
17640 (readdhstbyaddrv6): Likewise.
17641 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17642 (readdinitgroups): Return value returned by addinitgroupsX.
17643 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17644 (prune_cache): Keep track of timeout value of re-added entries.
17645 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17646 * nscd/nscd.h: Adjust prototypes of readd* functions.
17648 2011-02-04 Roland McGrath <roland@redhat.com>
17650 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17651 (nis_stats): Likewise.
17652 * nis/nis_modify.c (nis_modify): Likewise.
17653 * nis/nis_remove.c (nis_remove): Likewise.
17654 * nis/nis_add.c (nis_add): Likewise.
17656 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17658 * posix/fnmatch_loop.c: Add some consts.
17660 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17662 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17665 * config.make.in (config-cflags-novzeroupper): Define.
17666 * configure.in: Substitute libc_cv_cc_novzeroupper.
17667 * elf/Makefile (AVX-CFLAGS): Define.
17668 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17669 (CFLAGS-tst-auditmod4a.c): Likewise.
17670 (CFLAGS-tst-auditmod4b.c): Likewise.
17671 (CFLAGS-tst-auditmod6b.c): Likewise.
17672 (CFLAGS-tst-auditmod6c.c): Likewise.
17673 (CFLAGS-tst-auditmod7b.c): Likewise.
17674 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17676 2011-02-02 Ulrich Drepper <drepper@gmail.com>
17678 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17679 function to the callback.
17680 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17682 2011-02-02 Andreas Schwab <schwab@redhat.com>
17684 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17687 2011-01-19 Ulrich Drepper <drepper@gmail.com>
17690 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17692 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17694 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17697 * elf/Makefile: Add rules to build and run new test.
17698 * elf/tst-initorder.c: New file.
17699 * elf/tst-initorder.exp: New file.
17700 * elf/tst-initordera1.c: New file.
17701 * elf/tst-initordera2.c: New file.
17702 * elf/tst-initordera3.c: New file.
17703 * elf/tst-initordera4.c: New file.
17704 * elf/tst-initorderb1.c: New file.
17705 * elf/tst-initorderb2.c: New file.
17706 * elf/tst-order-a1.c: New file.
17707 * elf/tst-order-a2.c: New file.
17708 * elf/tst-order-a3.c: New file.
17709 * elf/tst-order-a4.c: New file.
17710 * elf/tst-order-b1.c: New file.
17711 * elf/tst-order-b2.c: New file.
17712 * elf/tst-order-main.c: New file.
17713 New test case by George Gensure <werkt0@gmail.com>.
17715 2010-10-01 Andreas Schwab <schwab@redhat.com>
17717 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17718 decoding ACE if AI_CANONIDN.
17720 2011-01-18 Ulrich Drepper <drepper@gmail.com>
17722 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17724 2011-01-17 Ulrich Drepper <drepper@gmail.com>
17726 * version.h (RELEASE): Bump for 2.13 release.
17727 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17729 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17731 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17733 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17734 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17735 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17736 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17737 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17738 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17740 * posix/getconf.c: Update copyright year.
17741 * catgets/gencat.c: Likewise.
17742 * csu/version.c: Likewise.
17743 * debug/catchsegv.sh: Likewise.
17744 * debug/xtrace.sh: Likewise.
17745 * elf/ldconfig.c: Likewise.
17746 * elf/ldd.bash.in: Likewise.
17747 * elf/sprof.c (print_version): Likewise.
17748 * iconv/iconv_prog.c: Likewise.
17749 * iconv/iconvconfig.c: Likewise.
17750 * locale/programs/locale.c: Likewise.
17751 * locale/programs/localedef.c: Likewise.
17752 * malloc/memusage.sh: Likewise.
17753 * malloc/mtrace.pl: Likewise.
17754 * nscd/nscd.c (print_version): Likewise.
17755 * nss/getent.c: Likewise.
17757 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17758 PF_CAIF, and PF_ALG.
17759 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17761 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17763 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17764 (modules-names): Use them.
17765 (ifunc-test-modules, ifunc-pie-tests): Define.
17766 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17767 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17768 (test-extras): Likewise.
17769 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17770 $(compile-command.c).
17771 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17772 (all-built-dso): Define.
17773 (check-textrel.out, check-execstack.out): Depend on it.
17775 * configure.in: Don't override --enable-multi-arch.
17777 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17780 * nscd/hstcache.c (tryagain): Define.
17781 (cache_addhst): Return tryagain not notfound for temporary errors.
17782 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17785 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17788 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17789 to make the syscall.
17790 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17793 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17794 and fall back to matching as normal character if the string ends before
17795 the matching ']' is found. This is what POSIX requires.
17796 * posix/testfnm.c: Adjust test result.
17797 * posix/globtest.sh: Adjust test result. Add new test.
17798 * posix/tst-fnmatch.input: Likewise.
17799 * posix/tst-fnmatch2.c: Add new test.
17801 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17803 * elf/Makefile (check-execstack): Revert last change. Depend on
17805 (check-execstack.h): New target.
17806 (generated): Add check-execstack.h.
17807 * elf/check-execstack.c: Include "check-execstack.h".
17808 (main): Revert last change.
17809 (handle_file): Return zero if GNU_STACK is absent and
17810 DEFAULT_STACK_PERMS doesn't include PF_X.
17812 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17814 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17815 in child fails because the descriptor is already closed.
17816 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17817 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17818 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17821 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17825 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17826 temporary buffer used to handle multi lookups locally.
17827 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17829 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17831 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17834 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17836 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17837 alignment for SSE2.
17839 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17842 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17843 characters. When rounding increased number of integer digits recompute
17845 * stdio-common/tst-grouping.c: New file.
17846 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17848 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17850 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17851 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17853 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17855 * bits/select.h: Likewise.
17857 2011-01-08 Ulrich Drepper <drepper@gmail.com>
17859 * po/ja.po: Update from translation team.
17861 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
17864 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17865 implementation just like for lxstat, fxstatat, et al.
17867 2010-12-27 Jim Meyering <meyering@redhat.com>
17870 * posix/regexec.c (build_trtable): Return failure indication upon
17871 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17873 2010-12-25 Ulrich Drepper <drepper@gmail.com>
17876 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17877 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17878 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17879 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17882 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17885 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17886 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17888 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17890 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17891 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17892 script has SORT_BY_INIT_PRIORITY.
17893 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17894 NO_CTORS_DTORS_SECTIONS is defined.
17895 * elf/soinit.c: Likewise.
17896 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17897 NO_CTORS_DTORS_SECTIONS is defined.
17898 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17899 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17900 * sysdeps/sh/init-first.c: Likewise.
17901 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17903 2010-12-24 Ulrich Drepper <drepper@gmail.com>
17905 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17906 always use the slow path.
17908 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17910 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17911 similar rule which adds the sysdep directories to the header search in
17912 order to pick up the correct platform stackinfo.h.
17913 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17914 perform test if it is, otherwise return successfully without testing.
17915 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17916 DEFAULT_STACK_PERMS define in stackinfo.h.
17917 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17918 defined in stackinfo.h.
17919 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17920 DEFAULT_STACK_PERMS defined in stackinfo.h.
17921 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17922 * sysdeps/ia64/stackinfo.h: Likewise.
17923 * sysdeps/s390/stackinfo.h: Likewise.
17924 * sysdeps/sh/stackinfo.h: Likewise.
17925 * sysdeps/sparc/stackinfo.h: Likewise.
17926 * sysdeps/x86_64/stackinfo.h: Likewise.
17927 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17928 PF_X for powerpc64. Retain PF_X for powerpc32.
17930 2010-12-19 Ulrich Drepper <drepper@gmail.com>
17932 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17934 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17935 GETDENTS_64BIT_ALIGNED.
17937 2010-12-14 Ulrich Drepper <dreper@gmail.com>
17939 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17941 2010-12-10 Andreas Schwab <schwab@redhat.com>
17943 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17946 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17947 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17949 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17950 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17952 2010-12-09 Ulrich Drepper <drepper@gmail.com>
17955 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17958 2010-12-09 Jakub Jelinek <jakub@redhat.com>
17960 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17962 2010-12-03 Ulrich Drepper <drepper@gmail.com>
17964 * po/it.po: Update from translation team.
17966 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17968 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17971 2010-11-30 Ulrich Drepper <drepper@gmail.com>
17973 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17975 2010-11-24 Andreas Schwab <schwab@redhat.com>
17977 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17979 (gaih_getanswer_slice): Likewise.
17981 2010-10-20 Jakub Jelinek <jakub@redhat.com>
17983 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17985 2010-05-31 Petr Baudis <pasky@suse.cz>
17988 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17989 silently even in the chroot mode.
17991 2010-11-22 Ulrich Drepper <drepper@gmail.com>
17993 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17994 last patch a bit. Pretty printing
17996 2010-05-31 Petr Baudis <pasky@suse.cz>
17999 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18000 initialization of skip_initgroups_dyn.
18002 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18004 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18005 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18007 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18009 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18011 2010-11-11 Andreas Schwab <schwab@redhat.com>
18013 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18014 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18015 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18016 ($(objpfx)tst-fnmatch-mem): New rule.
18017 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18018 * posix/tst-fnmatch.c (main): Call mtrace.
18020 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18023 Support Intel processor model 6 and model 0x2c.
18025 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18027 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18030 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18033 * string/test-strncasecmp.c (check_result): New function.
18034 (do_one_test): Use it.
18035 (check1): New function.
18036 (test_main): Use it.
18037 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18038 Support strcasecmp and strncasecmp.
18040 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18043 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18044 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18046 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18048 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18052 * sysdeps/x86_64/multiarch/bzero.S: New file.
18053 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18054 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18055 * sysdeps/x86_64/multiarch/memset.S: New file.
18056 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18058 Set bit_Prefer_SSE_for_memop for Intel processors.
18059 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18061 (index_Prefer_SSE_for_memop): Define.
18062 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18064 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18066 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18067 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18069 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18072 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18073 (__x86_64_raw_data_cache_size_half): Likewise.
18074 (__x86_64_raw_shared_cache_size): Likewise.
18075 (__x86_64_raw_shared_cache_size_half): Likewise.
18077 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18078 (__x86_64_raw_data_cache_size_half): Likewise.
18079 (__x86_64_raw_shared_cache_size): Likewise.
18080 (__x86_64_raw_shared_cache_size_half): Likewise.
18081 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18082 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18083 and __x86_64_raw_shared_cache_size_half. Round
18084 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18085 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18086 to multiple of 256 bytes.
18088 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18091 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18092 of inacessible symlinks. Verify result of symlink before returning it.
18093 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18094 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18096 2010-10-28 Erich Ritz <erichritz@gmail.com>
18098 * math/math.h (isinf): Fix typo in comment.
18100 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18102 * po/da.po: Update from translation team.
18104 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18106 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18107 is added to the list.
18109 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18110 Ulrich Drepper <drepper@gmail.com>
18112 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18113 the global list here. Move code to...
18114 (_dl_add_to_namespace_list): ...here. New function.
18115 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18116 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18117 * elf/dl-load.c (lose): Don't remove the element from the list.
18118 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18119 (_dl_map_object): Likewise.
18121 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18124 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18125 into all bytes of SSE register.
18126 Patch by Richard Li <richardpku@gmail.com>.
18128 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18131 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18134 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18136 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18137 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18138 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18139 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18144 2010-10-22 Andreas Schwab <schwab@redhat.com>
18146 * include/dlfcn.h (__RTLD_SECURE): Define.
18147 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18148 mode & __RTLD_SECURE instead.
18149 (open_path): Rename preloaded parameter to secure.
18150 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18151 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18152 * elf/dl-deps.c (openaux): Likewise.
18153 * elf/rtld.c (struct map_args): Remove is_preloaded.
18154 (map_doit): Don't use it.
18155 (dl_main): Likewise.
18156 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18157 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18159 2010-09-09 Andreas Schwab <schwab@redhat.com>
18161 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18162 (sysd-rules-targets): Remove duplicates.
18163 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18164 rtld-%.$o dependency.
18166 2010-10-18 Andreas Schwab <schwab@redhat.com>
18168 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18169 _dl_map_object do it.
18171 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18173 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18174 fast fma builtins, define the macros in the C99 standard.
18175 (FP_FAST_FMAF): Likewise.
18176 (FP_FAST_FMAL): Likewise.
18177 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18179 * bits/mathdef.h: Update copyright year.
18180 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18182 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18184 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18185 builtins, define the macros in the C99 standard.
18186 (FP_FAST_FMAF): Likewise.
18187 (FP_FAST_FMAL): Likewise.
18188 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18190 (FP_FAST_FMAF): Likewise.
18192 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18195 * math/libm-test.inc (fma_test): Some new testcases.
18196 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18197 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18198 y and infinite z. Do multiplication by C already in long double.
18199 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18200 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18201 y and infinite z. Do bitwise or of inexact bit into u.d.
18202 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18203 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18204 * sysdeps/i386/fpu/s_fma.S: Removed.
18205 * sysdeps/i386/fpu/s_fmal.S: Removed.
18207 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18210 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18211 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18212 computation is not scheduled after fetestexcept. Fix value
18213 of minimum denormal long double.
18215 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18218 * math/libm-test.inc (fma_test): Add some more tests.
18219 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18222 2010-10-15 Andreas Schwab <schwab@redhat.com>
18224 * scripts/data/localplt-s390-linux-gnu.data: New file.
18225 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18227 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18230 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18231 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18233 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18235 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18237 if one of x and y is very large and the other is subnormal.
18238 * sysdeps/s390/fpu/s_fmaf.c: New file.
18239 * sysdeps/s390/fpu/s_fma.c: New file.
18240 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18241 * sysdeps/powerpc/fpu/s_fma.S: New file.
18242 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18243 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18244 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18246 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18249 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18251 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18252 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18253 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18254 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18255 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18256 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18257 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18259 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18262 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18263 * posix/bug-regex31.input: Add test case.
18265 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18267 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18268 * posix/bug-regex31.input: New file.
18271 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18272 (parse_sub_exp): Fix last change, use postorder.
18274 * posix/bug-regex31.c: New file.
18275 * posix/Makefile: Add rules to build and run bug-regex31.
18277 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18280 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18283 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18284 to have entries in sys_siglist.
18287 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18290 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18293 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18294 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18295 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18296 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18297 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18298 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18299 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18300 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18301 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18302 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18303 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18304 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18305 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18306 * math/ftestexcept.c (fetestexcept): Likewise.
18307 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18308 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18309 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18310 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18311 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18312 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18313 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18315 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18318 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18321 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18323 * string/bug-strstr1.c: New file.
18324 * string/Makefile: Add rules to build and run bug-strstr1.
18326 2010-10-05 Eric Blake <eblake@redhat.com>
18329 * string/str-two-way.h (two_way_long_needle): Always clear memory
18330 when skipping input due to the shift table.
18332 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18335 * malloc/mcheck.c: Handle large requests.
18338 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18339 for strncmp and strncasecmp.
18340 * string/stratcliff.c: Add tests for strcmp and strncmp.
18341 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18343 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18345 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18348 2010-09-30 Andreas Jaeger <aj@suse.de>
18350 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18351 (CGROUP_SUPER_MAGIC): Define.
18352 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18353 Handle btrfs and cgroup file systems.
18354 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18357 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18359 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18360 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18362 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18365 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18366 trying to locate the ELF header.
18368 2010-09-27 Andreas Schwab <schwab@redhat.com>
18371 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18372 Mask out sign-bit copies when constructing f_fsid.
18374 2010-09-24 Petr Baudis <pasky@suse.cz>
18376 * debug/stack_chk_fail_local.c: Add missing licence exception.
18377 * debug/warning-nop.c: Likewise.
18379 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18381 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18382 implementing getdents64 using getdents syscall, set d_type if
18383 __ASSUME_GETDENTS32_D_TYPE.
18385 2010-09-16 Andreas Schwab <schwab@redhat.com>
18387 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18388 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18390 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18393 * posix/unistd.h: Undo change of feature selection for ftruncate from
18396 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18398 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18401 2010-09-20 Andreas Schwab <schwab@redhat.com>
18403 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18405 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18407 2010-09-14 Andreas Schwab <schwab@redhat.com>
18409 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18410 variables after CHECK_SP call.
18411 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18413 2010-09-13 Andreas Schwab <schwab@redhat.com>
18414 Ulrich Drepper <drepper@redhat.com>
18416 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18417 re-relocationg ld.so.
18418 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18419 _dl_init_paths call.
18420 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18423 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18425 * resolv/res_init.c (__res_vinit): Count the default server we added.
18427 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18428 Ulrich Drepper <drepper@redhat.com>
18431 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18432 (____longjmp_chk): Use %ebx for saving value across system call.
18435 2010-09-06 Andreas Schwab <schwab@redhat.com>
18437 * manual/Makefile: Don't mix pattern rules with normal rules.
18439 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18441 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18443 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18444 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18445 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18446 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18447 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18450 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18453 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18454 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18456 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18458 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18459 * sysdeps/x86_64/addmul_1.S: Likewise.
18460 * sysdeps/x86_64/lshift.S: Likewise.
18461 * sysdeps/x86_64/mul_1.S: Likewise.
18462 * sysdeps/x86_64/rshift.S: Likewise.
18463 * sysdeps/x86_64/sub_n.S: Likewise.
18464 * sysdeps/x86_64/submul_1.S: Likewise.
18466 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18468 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18469 Define __sched_param instead of SCHED_* and sched_param when
18470 <bits/sched.h> is included with __need_schedparam defined.
18471 * bits/sched.h [__need_schedparam]
18472 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18473 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18474 (__defined_schedparam): Define to 1.
18475 (__sched_param): New structure, identical to sched_param.
18476 (__need_schedparam): Undefine.
18478 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18480 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18481 (epoll_create1): Declare.
18483 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18485 2010-08-31 Andreas Schwab <schwab@redhat.com>
18488 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18489 shifting retval into place.
18491 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18493 * nis/rpcsvc/nis.h: Update copyright notice.
18494 * nis/rpcsvc/nis.x: Likewise.
18495 * nis/rpcsvc/nis_callback.h: Likewise.
18496 * nis/rpcsvc/nis_callback.x: Likewise.
18497 * nis/rpcsvc/nis_object.x: Likewise.
18498 * nis/rpcsvc/nis_tags.h: Likewise.
18499 * nis/rpcsvc/yp.h: Likewise.
18500 * nis/rpcsvc/yp.x: Likewise.
18501 * nis/rpcsvc/ypupd.h: Likewise.
18502 * nis/yp_xdr.c: Likewise.
18503 * nis/ypupdate_xdr.c: Likewise.
18505 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18506 mainly the body of pmap_getport. Add parameters to specify timeouts.
18507 (pmap_getport): Use __libc_rpc_getport.
18508 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18509 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18510 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18512 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18517 2010-08-27 Roland McGrath <roland@redhat.com>
18519 * sysdeps/i386/i686/multiarch/Makefile
18520 (CFLAGS-varshift.c): New variable.
18522 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18524 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18525 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18527 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18529 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18531 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18533 * sysdeps/x86_64/strlen.S: Unroll the loop.
18534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18535 strlen-sse2 strlen-sse2-bsf.
18536 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18537 __strlen_no_bsf if bit_Slow_BSF is set.
18538 (__strlen_sse42): Removed.
18539 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18540 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18542 2010-08-25 Roland McGrath <roland@redhat.com>
18544 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18545 * sysdeps/x86_64/multiarch/varshift.c: New file.
18546 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18547 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18548 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18549 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18551 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18553 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18554 strlen-sse2 strlen-sse2-bsf.
18555 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18556 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18557 (__strlen_sse2): Removed.
18558 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18559 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18560 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18561 bit_Slow_BSF for Atom.
18562 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18563 (index_Slow_BSF): Define.
18564 (HAS_SLOW_BSF): Define.
18566 2010-08-25 Ulrich Drepper <drepper@redhat.com>
18569 * resolv/res_init.c (__res_vinit): When no server address at all
18570 is given default to loopback.
18572 2010-08-24 Roland McGrath <roland@redhat.com>
18574 * configure.in: Remove config-name.h generation.
18575 * configure: Regenerated.
18576 * config-name.in: File removed.
18577 * scripts/config-uname.sh: New file.
18578 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18579 ($(objdir)config-name.h): New target.
18581 * sunrpc/rpc_parse.h: Avoid nested comment.
18583 2010-08-24 Richard Henderson <rth@redhat.com>
18584 Ulrich Drepper <drepper@redhat.com>
18585 H.J. Lu <hongjiu.lu@intel.com>
18587 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18588 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18589 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18590 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18591 _mm_alignr_epi8 with _mm_loadu_si128.
18592 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18593 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18594 (__m128i_shift_right): Removed.
18595 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18596 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18597 * sysdeps/x86_64/multiarch/varshift.h: New file.
18598 * sysdeps/x86_64/multiarch/varshift.S: New file.
18600 2010-08-21 Mike Frysinger <vapier@gentoo.org>
18602 * configure.in: Move assembler checks to before sysdep dir checking.
18604 2010-08-20 Petr Baudis <pasky@suse.cz>
18606 * LICENSES: Sync the sunrpc license.
18608 2010-08-19 Ulrich Drepper <drepper@redhat.com>
18610 * sunrpc/auth_des.c: Update copyright notice once again.
18611 * sunrpc/auth_none.c: Likewise.
18612 * sunrpc/auth_unix.c: Likewise.
18613 * sunrpc/authdes_prot.c: Likewise.
18614 * sunrpc/authuxprot.c: Likewise.
18615 * sunrpc/bindrsvprt.c: Likewise.
18616 * sunrpc/clnt_gen.c: Likewise.
18617 * sunrpc/clnt_perr.c: Likewise.
18618 * sunrpc/clnt_raw.c: Likewise.
18619 * sunrpc/clnt_simp.c: Likewise.
18620 * sunrpc/clnt_tcp.c: Likewise.
18621 * sunrpc/clnt_udp.c: Likewise.
18622 * sunrpc/clnt_unix.c: Likewise.
18623 * sunrpc/des_crypt.c: Likewise.
18624 * sunrpc/des_soft.c: Likewise.
18625 * sunrpc/get_myaddr.c: Likewise.
18626 * sunrpc/getrpcport.c: Likewise.
18627 * sunrpc/key_call.c: Likewise.
18628 * sunrpc/key_prot.c: Likewise.
18629 * sunrpc/openchild.c: Likewise.
18630 * sunrpc/pm_getmaps.c: Likewise.
18631 * sunrpc/pm_getport.c: Likewise.
18632 * sunrpc/pmap_clnt.c: Likewise.
18633 * sunrpc/pmap_prot.c: Likewise.
18634 * sunrpc/pmap_prot2.c: Likewise.
18635 * sunrpc/pmap_rmt.c: Likewise.
18636 * sunrpc/rpc/auth.h: Likewise.
18637 * sunrpc/rpc/auth_unix.h: Likewise.
18638 * sunrpc/rpc/clnt.h: Likewise.
18639 * sunrpc/rpc/des_crypt.h: Likewise.
18640 * sunrpc/rpc/key_prot.h: Likewise.
18641 * sunrpc/rpc/netdb.h: Likewise.
18642 * sunrpc/rpc/pmap_clnt.h: Likewise.
18643 * sunrpc/rpc/pmap_prot.h: Likewise.
18644 * sunrpc/rpc/pmap_rmt.h: Likewise.
18645 * sunrpc/rpc/rpc.h: Likewise.
18646 * sunrpc/rpc/rpc_des.h: Likewise.
18647 * sunrpc/rpc/rpc_msg.h: Likewise.
18648 * sunrpc/rpc/svc.h: Likewise.
18649 * sunrpc/rpc/svc_auth.h: Likewise.
18650 * sunrpc/rpc/types.h: Likewise.
18651 * sunrpc/rpc/xdr.h: Likewise.
18652 * sunrpc/rpc_clntout.c: Likewise.
18653 * sunrpc/rpc_cmsg.c: Likewise.
18654 * sunrpc/rpc_common.c: Likewise.
18655 * sunrpc/rpc_cout.c: Likewise.
18656 * sunrpc/rpc_dtable.c: Likewise.
18657 * sunrpc/rpc_hout.c: Likewise.
18658 * sunrpc/rpc_main.c: Likewise.
18659 * sunrpc/rpc_parse.c: Likewise.
18660 * sunrpc/rpc_parse.h: Likewise.
18661 * sunrpc/rpc_prot.c: Likewise.
18662 * sunrpc/rpc_sample.c: Likewise.
18663 * sunrpc/rpc_scan.c: Likewise.
18664 * sunrpc/rpc_scan.h: Likewise.
18665 * sunrpc/rpc_svcout.c: Likewise.
18666 * sunrpc/rpc_tblout.c: Likewise.
18667 * sunrpc/rpc_util.c: Likewise.
18668 * sunrpc/rpc_util.h: Likewise.
18669 * sunrpc/rpcinfo.c: Likewise.
18670 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18671 * sunrpc/rpcsvc/key_prot.x: Likewise.
18672 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18673 * sunrpc/rpcsvc/mount.x: Likewise.
18674 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18675 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18676 * sunrpc/rpcsvc/rex.x: Likewise.
18677 * sunrpc/rpcsvc/rstat.x: Likewise.
18678 * sunrpc/rpcsvc/rusers.x: Likewise.
18679 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18680 * sunrpc/rpcsvc/spray.x: Likewise.
18681 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18682 * sunrpc/rtime.c: Likewise.
18683 * sunrpc/svc.c: Likewise.
18684 * sunrpc/svc_auth.c: Likewise.
18685 * sunrpc/svc_authux.c: Likewise.
18686 * sunrpc/svc_raw.c: Likewise.
18687 * sunrpc/svc_run.c: Likewise.
18688 * sunrpc/svc_simple.c: Likewise.
18689 * sunrpc/svc_tcp.c: Likewise.
18690 * sunrpc/svc_udp.c: Likewise.
18691 * sunrpc/svc_unix.c: Likewise.
18692 * sunrpc/svcauth_des.c: Likewise.
18693 * sunrpc/xcrypt.c: Likewise.
18694 * sunrpc/xdr.c: Likewise.
18695 * sunrpc/xdr_array.c: Likewise.
18696 * sunrpc/xdr_float.c: Likewise.
18697 * sunrpc/xdr_mem.c: Likewise.
18698 * sunrpc/xdr_rec.c: Likewise.
18699 * sunrpc/xdr_ref.c: Likewise.
18700 * sunrpc/xdr_sizeof.c: Likewise.
18701 * sunrpc/xdr_stdio.c: Likewise.
18703 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18706 2010-08-19 Andreas Schwab <schwab@redhat.com>
18708 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18710 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
18712 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18713 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18714 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18715 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18716 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18717 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18718 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18719 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18720 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18721 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18722 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18723 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18724 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18725 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18727 2010-07-26 Anton Blanchard <anton@samba.org>
18729 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18730 * malloc/arena.c (heap_trim): Likewise.
18732 2010-08-16 Ulrich Drepper <drepper@redhat.com>
18734 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18736 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18737 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18739 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18741 * sysdeps/i386/elf/Makefile: New file.
18743 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18745 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18746 from fanotify_init.
18747 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18748 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18750 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18752 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18754 * sysdeps/multiarch/strcmp.S: Likewise.
18756 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18758 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18759 strncase_l-nonascii.
18760 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18761 Add strncase_l-ssse3.
18762 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18763 * sysdeps/x86_64/strcmp.S: Likewise.
18764 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18765 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18766 * sysdeps/x86_64/strncase.S: New file.
18767 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18768 * sysdeps/x86_64/strncase_l.S: New file.
18769 * string/Makefile (strop-tests): Add strncasecmp.
18770 * string/test-strncasecmp.c: New file.
18772 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18775 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18776 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18778 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18780 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18782 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18784 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18785 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18786 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18788 2010-05-01 Alan Modra <amodra@gmail.com>
18790 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18791 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18792 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18793 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18794 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18795 tidying. Don't tail-call __sigjmp_save for static lib.
18796 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18798 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18799 (CALL_MCOUNT): Add eh info, and nop after bl.
18800 (TAIL_CALL_SYSCALL_ERROR): New macro.
18801 (PSEUDO_RET): Use it.
18802 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18803 Correct save location of integer regs and cr.
18804 (_dl_profile_resolve): Correct cr save location. Delete nops
18805 after bl when SHARED. Reduce cfi size a little by better
18806 placement of cfi directives.
18807 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18808 make a stack frame. Instead use parm save area as a temp.
18809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18810 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18812 Don't make a stack frame for parent, use parm save area.
18813 Increase child stack frame to 112 bytes. Don't save unused reg,
18814 and adjust reg usage. Set up cfi on error recovery and
18815 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18817 (__makecontext): Add dummy nop after jump to exit.
18818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18819 Use correct parm save area and cr save, reduce stack frame.
18820 Correct cfi for possible PSEUDO_RET frame setup.
18821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18822 Branch to local label emitted by PSEUDO_RET rather than
18825 2010-08-12 Andreas Schwab <schwab@redhat.com>
18828 * locale/programs/locale.c (print_assignment): New function.
18829 (show_locale_vars): Use it.
18831 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18833 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18835 (struct statfs64): Likewise.
18836 (_STATFS_F_FLAGS): Define.
18837 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18838 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18839 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18840 (ST_VALID): Define locally.
18841 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18842 __statvfs_getflags, use the provided value.
18843 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18844 __ASSUME_STATFS_F_FLAGS.
18846 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18848 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18849 Add sys/fanotify.h.
18850 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18851 fanotify_mask for GLIBC_2.13.
18852 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18853 fanotify_init and fanotify_mark.
18854 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18855 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18857 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18859 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18860 prlimit64 for GLIBC_2.13.
18861 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18863 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18866 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18867 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18868 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18869 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18871 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18874 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18875 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18877 * nss/Makefile: Add rules to build and run tst-nss-test1.
18878 * shlib-versions: Add entry for libnss_test1.
18879 * nss/nss_test1.c: New file.
18880 * nss/tst-nss-test1.c: New file.
18882 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18883 (__nss_configure_lookup): Set appropriate entry in
18884 __nss_configure_lookup to true.
18885 * nss/nsswitch.h: Define enum with indeces of databases in
18886 databases and __nss_database_custom arrays. Declare
18887 __nss_database_custom.
18888 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18889 to avoid using nscd when custom rules are installed.
18890 * nss/getXXbyYY_r.c: Likewise.
18891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18893 * nss/nss_files/files-parse.c: Whitespace fixes.
18895 2010-08-09 Ulrich Drepper <drepper@redhat.com>
18898 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18899 * posix/fnmatch_loop.c: Likewise.
18901 2010-07-17 Andi Kleen <ak@linux.intel.com>
18903 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18904 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18905 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18906 * Versions.def [GLIBC_2.13]: Add.
18908 2010-08-06 Ulrich Drepper <drepper@redhat.com>
18910 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18911 Also fail if tpwd after pwuid call is NULL.
18913 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18915 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18916 when converting to ms.
18918 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18920 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18921 EOPNOTSUPP errors with ENOTTY.
18922 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18923 EOPNOTSUPP errors with ENOTTY.
18925 2010-07-31 Ulrich Drepper <drepper@redhat.com>
18927 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18928 Add strcasecmp_l-ssse3.
18929 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18931 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18932 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18933 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18935 2010-07-30 Ulrich Drepper <drepper@redhat.com>
18937 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18939 * string/Makefile (strop-tests): Add strcasecmp.
18940 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18941 strcasecmp_l-nonascii.
18942 (gen-as-const-headers): Add locale-defines.sym.
18943 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18944 * sysdeps/x86_64/strcasecmp.S: New file.
18945 * sysdeps/x86_64/strcasecmp_l.S: New file.
18946 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18947 * sysdeps/x86_64/locale-defines.sym: New file.
18948 * string/test-strcasecmp.c: New file.
18950 * string/test-strcasestr.c: Test both ends of the range of characters.
18951 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18953 2010-07-29 Roland McGrath <roland@redhat.com>
18956 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18958 2010-07-27 Ulrich Drepper <drepper@redhat.com>
18960 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18963 2010-07-27 Andreas Schwab <schwab@redhat.com>
18965 * manual/memory.texi (Malloc Tunable Parameters): Document
18968 2010-07-26 Roland McGrath <roland@redhat.com>
18971 * configure.in (-fgnu89-inline check): Set and substitute
18972 gnu89_inline, not libc_cv_gnu89_inline.
18973 * configure: Regenerated.
18974 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18976 2010-07-26 Ulrich Drepper <drepper@redhat.com>
18978 * string/test-strnlen.c: New file.
18979 * string/Makefile (strop-tests): Add strnlen.
18980 * string/tester.c (test_strnlen): Add a few more test cases.
18981 * string/tst-strlen.c: Better error reporting.
18983 * sysdeps/x86_64/strnlen.S: New file.
18985 2010-07-24 Ulrich Drepper <drepper@redhat.com>
18987 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18988 lower-latency instructions.
18990 2010-07-23 Ulrich Drepper <drepper@redhat.com>
18992 * string/test-strcasestr.c: New file.
18993 * string/test-strstr.c: New file.
18994 * string/Makefile (strop-tests): Add strstr and strcasestr.
18995 * string/str-two-way.h: Don't undefine MAX.
18996 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18998 2010-07-21 Andreas Schwab <schwab@redhat.com>
19000 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19001 strcasestr-nonascii.
19002 (CFLAGS-strcasestr-nonascii.c): Define.
19003 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19004 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19005 Remove unused attribute.
19007 2010-07-20 Roland McGrath <roland@redhat.com>
19009 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19010 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19011 ld.so.cache was broken. With it, there is no way to disable dsocaps
19012 like LD_HWCAP_MASK can disable hwcaps.
19014 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19016 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19018 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19020 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19021 call in strcasestr.
19022 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19023 __strcasestr_sse42_nonascii.
19024 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19025 strcasestr-nonascii.c.
19026 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19028 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19030 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19031 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19032 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19033 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19035 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19037 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19040 2010-07-06 Andreas Schwab <schwab@redhat.com>
19043 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19046 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19048 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19049 _PC_PIPE_BUF using F_GETPIPE_SZ.
19051 2010-07-05 Roland McGrath <roland@redhat.com>
19053 * manual/arith.texi (Rounding Functions): Fix rint description
19054 implicit in round description.
19056 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19058 * elf/Makefile: Fix linking for a few tests to make recent linker
19061 2010-06-30 Andreas Schwab <schwab@redhat.com>
19063 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19064 $(common-objpfx)libc_nonshared.a.
19066 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19068 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19069 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19070 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19071 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19072 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19073 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19074 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19075 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19090 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19091 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19092 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19093 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19094 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19095 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19096 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19097 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19098 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19099 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19100 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19101 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19117 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19119 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19120 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19121 * string/memmove.c (memmove): Renamed to ...
19122 (MEMMOVE): ...this. Default to memmove.
19123 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19124 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19126 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19127 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19128 mempcpy-ssse3-back memmove-ssse3-back.
19129 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19130 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19131 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19132 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19133 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19134 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19135 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19136 * sysdeps/x86_64/multiarch/memmove.c: New file.
19137 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19138 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19139 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19140 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19141 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19142 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19144 (index_Fast_Copy_Backward): Define.
19145 (HAS_ARCH_FEATURE): Define.
19146 (HAS_FAST_REP_STRING): Define.
19147 (HAS_FAST_COPY_BACKWARD): Define.
19149 2010-06-21 Andreas Schwab <schwab@redhat.com>
19151 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19152 Restore proper fallback handling.
19154 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19157 * posix/group_member.c (__group_member): Correct checking loop.
19159 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19160 OOM in getpwuid_r correctly. Return error number when the caller
19161 should return, otherwise -1.
19162 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19163 call returning > 0 value.
19164 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19166 2010-06-07 Andreas Schwab <schwab@redhat.com>
19168 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19169 libc_nonshared.a from targets in modules-names.
19171 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19173 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19176 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19178 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19179 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19180 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19181 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19183 2010-06-02 Andreas Schwab <schwab@redhat.com>
19185 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19187 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19189 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19191 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19192 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19193 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19194 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19195 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19196 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19198 2010-06-14 Roland McGrath <roland@redhat.com>
19200 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19202 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19204 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19205 __REDIRECT followed by __THROW.
19206 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19207 * posix/getopt.h (getopt): Likewise.
19209 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19211 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19212 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19213 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19215 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19216 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19218 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19220 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19222 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19226 Properly check family and model.
19228 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19230 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19232 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19234 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19236 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19238 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19241 2010-05-19 Andreas Schwab <schwab@redhat.com>
19243 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19246 2010-05-21 Andreas Schwab <schwab@redhat.com>
19248 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19249 and internal_recvmmsg.
19250 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19251 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19252 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19253 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19255 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19256 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19257 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19259 2010-05-20 Andreas Schwab <schwab@redhat.com>
19261 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19263 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19265 POWER7 optimizations.
19266 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19267 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19269 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19271 * version.h: Update for 2.13 development version.
19273 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19275 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19276 exceptions. Return 0.
19278 2010-05-07 Roland McGrath <roland@redhat.com>
19280 * elf/ldconfig.c (main): Add a const.
19282 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19284 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19285 (args_options): Add no-idn option.
19286 (ahosts_keys_int): Add idn_flags to ai_flags.
19287 (parse_option): Handle 'i' option to clear idn_flags.
19289 * malloc/malloc.c (_int_free): Possible race in the most recently
19290 added check. Only act on the data if no current modification
19293 See ChangeLog.17 for earlier changes.