1 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3 * csu/libc-tls.c: Update copyright years.
5 2012-09-10 Joseph Myers <joseph@codesourcery.com>
7 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8 [!_G_USING_THUNKS]: Remove conditional code.
9 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
10 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15 (_G_VTABLE_LABEL_PREFIX): Likewise.
16 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19 (_G_VTABLE_LABEL_PREFIX): Likewise.
20 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23 (_G_VTABLE_LABEL_PREFIX): Likewise.
24 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28 * libio/Makefile: Include ../Makeconfig before tests.
29 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30 only if $(build-shared) is yes.
32 * iconv/gconv_db.c: Update copyright years.
34 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37 unwind info if defined PIC. Fix special cases description.
38 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
40 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
46 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
48 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
51 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
52 (LDLIBS-tst-chk4): This.
53 (LDFLAGS-tst-chk5): Renamed to ...
54 (LDLIBS-tst-chk5): This.
55 (LDFLAGS-tst-chk6): Renamed to ...
56 (LDLIBS-tst-chk6): This.
57 (LDFLAGS-tst-lfschk4): Renamed to ...
58 (LDLIBS-tst-lfschk4): This.
59 (LDFLAGS-tst-lfschk5): Renamed to ...
60 (LDLIBS-tst-lfschk5): This.
61 (LDFLAGS-tst-lfschk6): Renamed to ...
62 (LDLIBS-tst-lfschk6): This.
64 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
65 on $(common-objpfx)soversions.mk.
67 2012-09-07 Joseph Myers <joseph@codesourcery.com>
70 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
73 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
75 * malloc/arena.c (arena_get_retry): New function that gets
76 another arena for the caller to try its request on.
77 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
78 current arena cannot fulfill the request.
79 (__libc_memalign): Likewise.
80 (__libc_memalign): Likewise.
81 (__libc_pvalloc): Likewise.
82 (__libc_calloc): Likewise.
84 2012-09-05 John Tobey <john.tobey@gmail.com>
87 * manual/arith.texi (Operations on Complex): Fix description
90 2012-09-06 Joseph Myers <joseph@codesourcery.com>
93 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
97 * manual/memory.texi (Memory): Make order of menu items match
100 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
102 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
103 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
104 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
106 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
108 * csu/libc-tls.c (static_dtv): Renamed to ...
109 (_dl_static_dtv): This. Make it global.
110 (_dl_initial_dtv): Removed.
111 (__libc_setup_tls): Updated.
112 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
113 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
116 2012-09-06 Petr Machata <pmachata@redhat.com>
118 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
119 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
120 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
121 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
123 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
126 * csu/libc-tls.c (_dl_initial_dtv): New variable.
127 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
130 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
133 * Makeconfig (link-static-before-libc): Replace $(+prector)
135 (link-static-after-libc): Replace $(+postctor) with
137 (link-bounded): Replace $(+prector)/$(+postctor) with
138 $(+prectorT)/$(+postctorT).
139 (+prectorT): New macro.
140 (+postctorT): Likewise.
142 2012-09-06 Joseph Myers <joseph@codesourcery.com>
144 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
145 (round_str): Handle values above the maximum for IBM long double
147 * stdlib/tst-strtod-round.c (tests): Regenerated.
149 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
151 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
153 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
154 zarch_nohighgprs around the zarch optimized routines.
155 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
156 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
157 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
160 2012-09-05 David S. Miller <davem@davemloft.net>
162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
164 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
165 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
166 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
167 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
170 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
172 * malloc/arena.c: Fold copyright years.
173 * malloc/mcheck.c, malloc/memusage.c: Likewise.
175 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
177 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
179 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
181 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
183 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
185 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
186 change internal state upon failure.
188 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
190 * malloc/mcheck.c (mcheck_check_all): Fix typo.
191 * malloc/memusage.c (mmap): Likewise.
192 (mmap64, mremap): Likewise. Adjust name in comment.
194 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
196 * libio/fileops.c: Fix typos in comments.
197 * libio/oldfileops.c: Likewise.
198 * libio/wfileops.c: Likewise.
200 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
203 * malloc/Makefile (tests): Add tst-malloc-usable test case.
204 (tst-malloc-usable-ENV): Set environment for test case.
205 * malloc/hooks.c (malloc_check_get_size): New function to get
207 * malloc/malloc.c (musable): Use malloc_check_get_size.
208 * malloc/tst-malloc-usable.c: New test case.
210 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
212 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
214 2012-09-05 Allan McRae <allan@archlinux.org>
217 * configure.in (CXX_SYSINCLUDES): Use compiler output to
218 determine header location.
219 * configure: Regenerated.
221 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
223 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
225 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
226 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
230 2012-09-04 David S. Miller <davem@davemloft.net>
232 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
233 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
234 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
236 2012-09-04 Florian Weimer <fweimer@redhat.com>
238 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
241 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
243 2012-09-04 Joseph Myers <joseph@codesourcery.com>
246 * libio/iogetdelim.c: Include <limits.h>.
247 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
248 + len + 1 would overflow.
250 2012-09-03 Andreas Jaeger <aj@suse.de>
252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
253 * sysdeps/i386/fpu/libm-test-ulps: Update.
255 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
257 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
258 Add s_sinf-sse2, s_conf-sse2.
260 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
261 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
262 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
263 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
265 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
266 for using routine as __sinf_ia32.
267 Use macro for function declaration and weak_alias.
268 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
269 for using routine as __cosf_ia32.
270 Use macro for function declaration and weak_alias.
272 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
273 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
275 * sysdeps/x86_64/fpu/s_sinf.S: New file.
276 * sysdeps/x86_64/fpu/s_cosf.S: New file.
277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
279 * math/libm-test.inc (cos_test): Add more test cases.
280 (sin_test): Likewise.
281 (sincos_test): Likewise.
283 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
285 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
286 (IFUNC_RESOLVE): Make pointers to the specialized implementations
288 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
290 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
293 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
294 first element of the GOT.
295 (elf_machine_load_address): Return the difference between
296 the runtime address of _DYNAMIC and elf_machine_dynamic ().
298 2012-09-01 Allan McRae <allan@archlinux.org>
301 * configure.in (AWK): Require gawk version 3.0 or later.
302 * configure: Regenerated.
304 2012-09-01 Joseph Myers <joseph@codesourcery.com>
306 * sysdeps/unix/sysv/linux/kernel-features.h
307 (__ASSUME_POSIX_CPU_TIMERS): Remove.
308 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
309 [__NR_clock_getres]: Make code unconditional.
310 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
311 (clock_getcpuclockid): Remove code left unreachable by removal of
313 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
315 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
316 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
317 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
318 Make code unconditional.
319 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
320 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
321 * sysdeps/unix/sysv/linux/clock_settime.c
322 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
324 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
325 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
327 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
330 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
331 scripts/test-installation.pl.
333 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
334 and $ld_so_version if it is set.
336 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
339 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
340 failure if reading from procfs failed.
341 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
343 2012-08-27 Joseph Myers <joseph@codesourcery.com>
345 * sysdeps/unix/sysv/linux/kernel-features.h
346 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
347 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
348 Remove conditional code.
349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
350 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
351 Remove conditional code.
352 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
353 * sysdeps/unix/sysv/linux/i386/fxstat.c
354 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
355 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
356 * sysdeps/unix/sysv/linux/i386/fxstatat.c
357 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
359 * sysdeps/unix/sysv/linux/i386/lxstat.c
360 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
362 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
363 Remove conditional code.
364 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
365 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
366 Remove conditional code.
367 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
368 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
370 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
372 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
373 Remove conditional code.
374 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
375 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
378 2012-08-27 Mike Frysinger <vapier@gentoo.org>
381 * NEWS: Add fixed bug number.
383 2012-08-27 Joseph Myers <joseph@codesourcery.com>
386 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
387 underflowing exponent in case of negative sign.
388 * stdlib/tst-strtod-round-data: Add more tests.
389 * stdlib/tst-strtod-round.c (tests): Regenerated.
392 * stdlib/strtod_l.c (NDIG): Remove.
394 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
395 smallest representable value.
396 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
397 lie within an exact representation of 1/2 ulp of the result.
398 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
400 (TENS_P9_IDX): Define unconditionally.
401 (TENS_P9_SIZE): Likewise.
402 (TENS_P10_IDX): Likewise.
403 (TENS_P10_SIZE): Likewise.
404 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
405 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
406 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
407 entries for 10^2^13 and 10^2^14.
408 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
409 (TENS_P13_IDX): Define.
410 (TENS_P13_SIZE): Likewise.
411 (TENS_P14_IDX): Likewise.
412 (TENS_P14_SIZE): Likewise.
413 (_fpioconst_pow10): Change array size to
414 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
416 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
417 1024]: Add entries for 10^2^13 and 10^2^14.
418 [LAST_POW10 > _LAST_POW10]: Remove #error.
419 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
420 (_fpioconst_pow10): Change array size to
421 FPIOCONST_POW10_ARRAY_SIZE.
422 * stdlib/gen-fpioconst.c: New file.
423 * stdlib/gen-tst-strtod-round.c: Likewise.
424 * stdlib/tst-strtod-round-data: Likewise.
425 * stdlib/tst-strtod-round.c: Likewise.
426 * stdlib/Makefile (tests): Add tst-strtod-round.
429 * stdlib/strtod_l.c: Include <stdint.h>.
430 (NDEBUG): Do not define.
431 (round_and_return): Change EXPONENT parameter to type intmax_t.
432 Rearrange calculations to avoid internal overflow possibilities.
433 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
434 Rearrange calculations to avoid internal overflow possibilities.
435 Assert that number fits inside MPNSIZE limbs.
436 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
437 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
438 calculations and add assertions to avoid internal overflow
439 possibilities. Add casts to avoid signed/unsigned operations.
440 * stdlib/tst-strtod-overflow.c: New file.
441 * stdlib/Makefile (tests): Add tst-strtod-overflow.
443 2012-08-25 Marek Polacek <polacek@redhat.com>
445 * time/time.h: Fix some typos in comments.
447 2012-08-23 Roland McGrath <roland@hack.frob.com>
449 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
450 * posix/tst-rfc3484-2.c: Likewise.
451 * posix/tst-rfc3484-3.c: Likewise.
453 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
455 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
456 (EF_ARM_ABI_FLOAT_HARD): Likewise.
458 2012-08-23 Joseph Myers <joseph@codesourcery.com>
460 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
461 #include of fxstatat64.c.
463 2012-08-22 Roland McGrath <roland@hack.frob.com>
465 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
466 * shadow/getspent_r.c: Likewise.
467 * shadow/getspnam.c: Likewise.
468 * shadow/getspnam_r.c: Likewise.
469 * gshadow/getsgent.c: Likewise.
470 * gshadow/getsgent_r.c: Likewise.
471 * gshadow/getsgnam.c: Likewise.
472 * gshadow/getsgnam_r.c: Likewise.
473 * inet/getnetbyad.c: Likewise.
474 * inet/getnetbyad_r.c: Likewise.
475 * inet/getnetbynm.c: Likewise.
476 * inet/getnetbynm_r.c: Likewise.
477 * inet/getnetent.c: Likewise.
478 * inet/getnetent_r.c: Likewise.
479 * inet/getproto.c: Likewise.
480 * inet/getproto_r.c: Likewise.
481 * inet/getprtent.c: Likewise.
482 * inet/getprtent_r.c: Likewise.
483 * inet/getprtname.c: Likewise.
484 * inet/getprtname_r.c: Likewise.
485 * inet/getrpcbyname.c: Likewise.
486 * inet/getrpcbyname_r.c: Likewise.
487 * inet/getrpcbynumber.c: Likewise.
488 * inet/getrpcbynumber_r.c: Likewise.
489 * inet/getrpcent.c: Likewise.
490 * inet/getrpcent_r.c: Likewise.
491 * inet/getaliasent.c: Likewise.
492 * inet/getaliasent_r.c: Likewise.
493 * inet/getaliasname.c: Likewise.
494 * inet/getaliasname_r.c: Likewise.
495 * nscd/getgrgid_r.c: Likewise.
496 * nscd/getgrnam_r.c: Likewise.
497 * nscd/gethstbyad_r.c: Likewise.
498 * nscd/gethstbynm3_r.c: Likewise.
499 * nscd/getpwnam_r.c: Likewise.
500 * nscd/getpwuid_r.c: Likewise.
501 * nscd/getsrvbynm_r.c: Likewise.
502 * nscd/getsrvbypt_r.c: Likewise.
503 * nscd/gai.c: Likewise.
505 * configure.in (build_nscd): New substituted variable, set
506 by --disable-build-nscd and defaults to $use_nscd.
507 * configure: Regenerated.
508 * config.make.in (build-nscd): New substituted variable.
509 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
510 Change conditional to require [$(build-nscd) = yes] as well.
511 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
514 * configure.in (use_nscd): New substituted variable, set by
515 --disable-nscd. If enabled, define USE_NSCD.
516 * configure: Regenerated.
517 * config.h.in: Add USE_NSCD.
518 * config.make.in (use-nscd): New substituted variable.
519 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
520 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
521 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
522 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
523 (CFLAGS-getgrnam_r.c): Likewise.
524 (CFLAGS-initgroups.c): Likewise.
525 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
526 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
528 * inet/getnetgrent_r.c
529 (nscd_setnetgrent): New function, broken out of ...
530 (setnetgrent): ... here. Call it.
531 (innetgr): Conditionalize nscd bits on [USE_NSCD].
532 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
533 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
534 * nscd/Makefile (routines, aux): Move definitions after include of
535 Makeconfig. Conditionalize on [$(use-nscd) != no].
536 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
537 Conditionalize on [USE_NSCD].
538 (is_nscd, nscd_init_cb): Likewise.
539 (nss_load_library): Conditionalize init callback on [USE_NSCD].
540 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
541 * nss/nss_db/db-init.c: Likewise.
542 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
544 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
545 (make_request): Use it.
546 (cache_valid_p): New function.
547 (__check_pf): Use it.
548 * NEWS: Add item for --disable-nscd.
550 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
552 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
553 to support sed >= 4.2.1-20-ga9bf076.
554 * configure: Regenerated.
556 2012-08-22 Roland McGrath <roland@hack.frob.com>
558 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
559 Conditionalize whole body on [IREL].
561 2012-08-22 Jeff Law <law@redhat.com>
564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
565 if the family is PF_UNSPEC.
567 2012-08-22 Mike Frysinger <vapier@gentoo.org>
569 * Makerules (lib-version): Rename from V.
570 (install-lib-nosubdir): Change V to lib-version.
572 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
575 * powerpc32/power6/wcschr.c: New file.
576 * powerpc32/power6/wcscpy.c: New file.
577 * powerpc32/power6/wcsrchr.c: New file.
578 * powerpc64/power6/wcschr.c: New file.
579 * powerpc64/power6/wcscpy.c: New file.
580 * powerpc64/power6/wcsrchr.c: New file.
582 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
584 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
585 (two_way_short_needle): Use it.
586 * string/strstr.c (AVAILABLE1_USES_J): Define.
587 * string/strcasestr.c: Likewise.
589 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
591 * string/strcasestr.c (TOLOWER): Make side-effect safe.
594 * NEWS: Add an entry.
595 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
596 define their defaults.
597 (two_way_short_needle): Detect end-of-string on-the-fly.
598 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
599 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
600 * string/bug-strcasestr1.c: New test.
601 * string/Makefile: Run it.
603 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
606 * string/str-two-way.h (two_way_short_needle): Optimize matching of
609 2012-08-21 Roland McGrath <roland@hack.frob.com>
611 * csu/elf-init.c (__libc_csu_irel): Function removed.
612 * csu/libc-start.c (apply_irel): New function.
613 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
615 2012-08-21 Joseph Myers <joseph@codesourcery.com>
617 * sysdeps/unix/sysv/linux/kernel-features.h
618 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
619 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
621 [__NR_fadvise64_64]: Make code unconditional.
622 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
623 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
624 !__NR_fadvise64_64)]: Likewise.
625 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
626 !__NR_fadvise64_64))]: Likewise.
627 [__NR_fadvise64]: Make code unconditional.
628 [!__NR_fadvise64]: Remove conditional code.
629 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
631 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
633 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
636 not include <kernel-features.h>.
637 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
639 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
641 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
642 include <kernel-features.h>.
643 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
645 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
648 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
650 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
651 slight instruction rearrangements per scrollpipe analysis.
652 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
654 2012-08-20 Roland McGrath <roland@hack.frob.com>
656 * manual/syslog.texi (syslog; vsyslog, closelog):
657 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
658 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
660 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
661 DSOCAPS to match condition on defining it.
663 2012-08-20 Joseph Myers <joseph@codesourcery.com>
665 * sysdeps/unix/sysv/linux/kernel-features.h
666 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
668 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
669 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
671 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
672 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
674 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
675 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
677 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
678 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
680 * sysdeps/unix/sysv/linux/kernel-features.h
681 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
682 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
684 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
685 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
686 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
687 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
688 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
689 Make code unconditional.
690 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
691 (__mmap64) [!__NR_mmap2]: Likewise.
692 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
693 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
694 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
695 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
696 [__NR_mmap2]: Make code unconditional.
697 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
698 (__mmap64) [!__NR_mmap2]: Likewise.
700 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
702 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
704 2012-08-18 Andreas Jaeger <aj@suse.de>
706 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
708 2012-08-18 Mike Frysinger <vapier@gentoo.org>
710 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
711 * include/unistd.h (__have_sock_cloexec): Likewise.
712 (__have_pipe2): Likewise.
713 (__have_dup3): Likewise.
715 2012-08-18 Mike Frysinger <vapier@gentoo.org>
718 * include/unistd.h (__have_pipe2): Change define into an extern int.
719 (__have_dup3): Likewise.
720 * socket/have_sock_cloexec.c: Include fcntl.h.
721 (__have_pipe2): New variable.
722 (__have_dup3): Likewise.
724 2012-08-17 Mike Frysinger <vapier@gentoo.org>
726 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
728 2012-08-17 Marek Polacek <polacek@redhat.com>
730 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
731 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
733 2012-08-17 Roland McGrath <roland@hack.frob.com>
735 * configure.in: Add AC_SUBST for sysheaders.
736 * configure: Regenerated.
737 * config.make.in (sysheaders): New substituted variable.
739 * sysdeps/unix/mkfifo.c: Moved ...
740 * sysdeps/posix/mkfifo.c: ... here.
741 * sysdeps/unix/mkfifoat.c: Moved ...
742 * sysdeps/posix/mkfifoat.c: ... here.
744 * sysdeps/unix/utime.c: Moved ...
745 * sysdeps/posix/utime.c: ... here.
747 * sysdeps/unix/time.c: Moved ...
748 * sysdeps/posix/time.c: ... here.
749 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
750 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
752 * sysdeps/unix/nice.c: Moved ...
753 * sysdeps/posix/nice.c: ... here.
755 * sysdeps/unix/alarm.c: Moved ...
756 * sysdeps/posix/alarm.c: ... here.
758 * intl/Makefile ($(codeset_mo)): Depend on the input file.
760 2012-08-17 Jeff Law <law@redhat.com>
762 * intl/Makefile (codeset_mo): New variable.
763 ($(codeset_mo)): New target.
764 (tst-codeset.out): Depend on that. Remove explicit rule.
765 (tst-gettext3.out, tst-gettext5.out): Likewise.
766 (LOCPATH-ENV, tst-codeset-ENV): New variables.
767 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
768 * intl/tst-codeset.sh: Remove.
769 * intl/tst-gettext3.sh: Likewise.
770 * intl/tst-gettext5.sh: Likewise.
772 2012-08-17 Roland McGrath <roland@hack.frob.com>
774 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
775 * sysdeps/unix/syscalls.list: ... here.
777 * sysdeps/posix/getaddrinfo.c
778 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
779 (gaiconf_init, gaiconf_reload): Use them.
781 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
782 Define using time_t rather than struct timespec.
784 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
785 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
787 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
789 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
790 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
793 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
794 __libc_cleanup_push argument.
796 * bits/param.h: New file.
797 * misc/sys/param.h: New file.
798 * include/sys/param.h: New file.
799 * misc/Makefile (headers): Add bits/param.h.
800 * sysdeps/generic/sys/param.h: File removed.
801 * sysdeps/unix/sysv/linux/bits/param.h: New file.
802 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
803 * sysdeps/mach/hurd/bits/param.h: New file.
804 * sysdeps/mach/hurd/sys/param.h: New file.
806 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
809 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
811 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
812 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
815 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
816 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
817 rather than -D_IO_MTSAFE_IO conditionally.
818 * stdio-common/Makefile (CPPFLAGS): Likewise.
819 * wcsmbs/Makefile (CPPFLAGS): Likewise.
820 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
822 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
824 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
825 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
826 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
827 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
828 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
829 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
830 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
831 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
832 (CFLAGS-fread_u_chk.c): Likewise.
833 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
834 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
835 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
836 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
837 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
838 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
839 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
840 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
841 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
843 * libio/Makefile: Test [$(libc-reentrant) = yes]
844 instead of [$(filter %REENTRANT, $(defines)) nonempty].
847 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
848 * sysdeps/pthread/configure: File removed.
849 * sysdeps/pthread/Makeconfig: New file.
850 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
851 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
853 2012-08-16 Gary Benson <gbenson@redhat.com>
855 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
856 unmapping the first object in a namespace.
858 2012-08-16 Roland McGrath <roland@hack.frob.com>
860 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
861 (__internal_setnetgrent): ... this. Add internal_function to
862 definition. Add libc_hidden_def.
863 (setnetgrent): Update caller.
864 (internal_endnetgrent): Renamed to ...
865 (__internal_endnetgrent): ... this. Add internal_function to
866 definition. Add libc_hidden_def.
867 (endnetgrent): Update caller.
868 (internal_getnetgrent_r): Renamed to ...
869 (__internal_getnetgrent_r): ... this. Add internal_function to
870 definition. Add libc_hidden_def.
871 (__getnetgrent_r): Update caller.
872 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
874 2012-08-16 Joseph Myers <joseph@codesourcery.com>
876 * stdlib/longlong.h: Update from GCC.
878 2012-08-16 Roland McGrath <roland@hack.frob.com>
880 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
881 on _QL, which is set by umul_ppmm but never used.
882 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
883 variables, which are set by GMP macros but never used.
884 * stdio-common/_itowa.c (_itowa): Likewise.
885 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
886 * stdlib/mod_1.c (mpn_mod_1): Likewise.
888 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
890 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
891 struct La_sh_regs is not constant.
892 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
893 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
894 and struct La_sparc64_regs are not constant.
896 2012-08-16 Joseph Myers <joseph@codesourcery.com>
898 * sysdeps/unix/sysv/linux/kernel-features.h
899 (__ASSUME_POSIX_TIMERS): Remove.
900 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
901 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
902 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
903 Make code unconditional.
904 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
905 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
906 Make code unconditional.
907 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
908 * sysdeps/unix/sysv/linux/clock_nanosleep.c
909 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
910 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
911 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
912 Make code unconditional.
913 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
914 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
915 (__libc_missing_posix_timers): Remove.
917 2012-08-15 Roland McGrath <roland@hack.frob.com>
919 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
920 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
922 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
924 * elf/dl-sym.c: Include <stdlib.h>.
926 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
927 constants, which avoids warnings in 32-bit builds.
929 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
930 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
932 * misc/lseek.c: File moved to ...
933 * io/lseek.c: ... here.
935 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
937 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
938 shifting LEN more than 31 bits at once.
940 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
943 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
944 segmentation fault for a case of two empty input strings.
945 * string/test-strncasecmp.c (check1): Renamed to...
947 (bz14195): Add new testcase for two empty input strings and N > 0.
948 (test_main): Call new testcase, adapt for renamed function.
950 2012-08-15 Andreas Jaeger <aj@suse.de>
953 * crypt/md5test2.c: New test, based on test supplied by Serge
954 Belyshev <belyshev@depni.sinp.msu.ru>.
955 * crypt/Makefile (xtests): Add md5test-giant..
956 * crypt/Makefile ($(objpfx)md5test-giant): Add.
958 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
961 * crypt/md5.c (md5_process_block): Don't assume the buffer
962 length is less than 2**32.
963 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
964 length is less than 2**64.
966 2012-08-15 Roland McGrath <roland@hack.frob.com>
968 * string/str-two-way.h: Include <sys/param.h>.
969 (MAX): Macro removed.
971 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
972 Move #define and #undef of memmove to just before and after
973 including <string.h>.
975 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
976 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
977 and after including <string.h>. Move declarations of
978 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
979 to before #include "string/memmove.c".
981 * include/dirent.h: Declare __getdirentries.
983 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
984 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
986 2012-08-14 Mike Frysinger <vapier@gentoo.org>
988 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
989 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
990 * sysdeps/i386/configure: Regenerated.
991 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
992 STABS_CURRENT_FILE, and STABS_FUN.
993 (END): Remove call to STABS_FUN_END.
994 (STABS_CURRENT_FILE1): Delete.
995 (STABS_CURRENT_FILE): Likewise.
996 (STABS_FUN): Likewise.
997 (STABS_FUN_END): Likewise.
998 (STABS_FUN2): Likewise.
999 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1000 * sysdeps/x86_64/configure: Regenerated.
1002 2012-08-14 Roland McGrath <roland@hack.frob.com>
1004 * elf/dl-open.c: Include <atomic.h>.
1005 * elf/dl-lookup.c: Likewise.
1007 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1009 * sysdeps/unix/sysv/linux/kernel-features.h
1010 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1011 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1013 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1015 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1016 condition on __ASSUME_CLONE_THREAD_FLAGS.
1018 2012-08-14 Andreas Jaeger <aj@suse.de>
1020 * sysdeps/i386/fpu/libm-test-ulps: Update.
1022 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1024 * include/atomic.h (atomic_exchange_and_add): Split into ...
1025 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1028 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1032 2012-08-13 Jeff Law <law@redhat.com>
1034 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1035 null byte in the output string.
1037 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1039 * sysdeps/unix/sysv/linux/kernel-features.h
1040 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1041 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1042 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1043 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1044 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1045 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1046 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1048 2012-08-09 Jeff Law <law@redhat.com>
1051 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1052 When avoid_arena is set, don't retry in the that arena. Pick the
1053 next one, whatever it might be.
1054 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1055 (arena_lock): Pass in new parameter to arena_get2.
1056 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1058 (__libc_malloc): Unify retrying after main arena failure with
1059 __libc_memalign version.
1060 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1062 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1065 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1066 to __redirect_strstr.
1067 (__strstr_sse42): Use typeof __redirect_strstr.
1068 (__strstr_ia32): Likewise.
1069 (__libc_strstr): New prototype.
1070 (strstr): Renamed to ...
1071 (__libc_strstr): This.
1072 (strstr): New strong alias of __libc_strstr.
1073 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1074 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1077 (__libc_time): New prototype.
1078 (time_ifunc): Replace time with __libc_time.
1079 (time): New strong alias and hidden definition of __libc_time.
1080 (__GI_time): Remove strong alias.
1081 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1083 (memmove): Redefined to __redirect_memmove.
1084 (__memmove_sse2): Use typeof __redirect_memmove.
1085 (__memmove_ssse3): Likewise.
1086 (__memmove_ssse3_back): Likewise.
1087 (__libc_memmove): New prototype.
1088 (memmove): Renamed to ...
1089 (__libc_memmove): This.
1090 (memmove): New strong alias of __libc_memmove.
1092 2012-08-08 Mark Salter <msalter@redhat.com>
1095 (R_MN10300_TLS_GD): Define.
1096 (R_MN10300_TLS_LD): Likewise.
1097 (R_MN10300_TLS_LDO): Likewise.
1098 (R_MN10300_TLS_GOTIE): Likewise.
1099 (R_MN10300_TLS_IE): Likewise.
1100 (R_MN10300_TLS_LE): Likewise.
1101 (R_MN10300_TLS_DTPMOD): Likewise.
1102 (R_MN10300_TLS_DTPOFF): Likewise.
1103 (R_MN10300_TLS_TPOFF): Likewise.
1104 (R_MN10300_SYM_DIFF): Likewise.
1105 (R_MN10300_ALIGN): Likewise.
1106 (R_MN10300_NUM): Update.
1108 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1110 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1113 2012-08-08 Roland McGrath <roland@hack.frob.com>
1115 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1117 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1118 sysdeps/unix -> sysdeps/posix move.
1119 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1121 2012-08-07 Allan McRae <allan@archlinux.org>
1124 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1125 (SUNOS_CPP): Likewise.
1126 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1128 (open_input): Call CPP using execvp.
1130 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1132 * sysdeps/unix/sysv/linux/kernel-features.h
1133 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1134 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1135 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1136 (__ASSUME_WAITID_SYSCALL): Likewise.
1137 * sysdeps/unix/sysv/linux/dl-execstack.c
1138 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1140 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1142 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1143 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1144 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1146 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1148 [__ASSUME_WAITID_SYSCALL]: Likewise.
1149 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1151 2012-08-07 Roland McGrath <roland@hack.frob.com>
1153 * sysdeps/unix/closedir.c: Renamed to ...
1154 * sysdeps/posix/closedir.c: ... here.
1155 * sysdeps/unix/dirfd.c: Renamed to ...
1156 * sysdeps/posix/dirfd.c: ... here.
1157 * sysdeps/unix/dirstream.h: Renamed to ...
1158 * sysdeps/posix/dirstream.h: ... here.
1159 * sysdeps/unix/fdopendir.c: Renamed to ...
1160 * sysdeps/posix/fdopendir.c: ... here.
1161 * sysdeps/unix/opendir.c: Renamed to ...
1162 * sysdeps/posix/opendir.c: ... here.
1163 * sysdeps/unix/readdir.c: Renamed to ...
1164 * sysdeps/posix/readdir.c: ... here.
1165 * sysdeps/unix/readdir_r.c: Renamed to ...
1166 * sysdeps/posix/readdir_r.c: ... here.
1167 * sysdeps/unix/rewinddir.c: Renamed to ...
1168 * sysdeps/posix/rewinddir.c: ... here.
1169 * sysdeps/unix/seekdir.c: Renamed to ...
1170 * sysdeps/posix/seekdir.c: ... here.
1171 * sysdeps/unix/telldir.c: Renamed to ...
1172 * sysdeps/posix/telldir.c: ... here.
1173 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1174 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1175 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1176 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1178 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1179 * bits/fcntl.h: ... here.
1181 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1183 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1184 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1185 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1186 (struct flock): Move l_start, l_len to the beginning.
1187 Use __pid_t for l_pid.
1188 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1189 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1190 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1191 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1192 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1193 [__USE_LARGEFILE64] (struct flock64): New type.
1194 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1196 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1197 * bits/dirent.h: ... here.
1199 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1200 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1202 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1204 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1205 Change from 2.6.0 to 2.6.16.
1206 * sysdeps/unix/sysv/linux/configure: Regenerated.
1207 * sysdeps/unix/sysv/linux/kernel-features.h
1208 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1209 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1211 (__ASSUME_UTIMES): Likewise.
1212 (__ASSUME_CLONE_STOPPED): Remove.
1213 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1214 architectures, not kernel version.
1215 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1216 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1217 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1218 (__ASSUME_WAITID_SYSCALL): Likewise.
1219 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1220 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1221 * README: State 2.6.16 as minimum Linux kernel version. Do not
1222 refer to older versions.
1224 2012-08-06 Roland McGrath <roland@hack.frob.com>
1226 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1227 Define alphasort64 as an alias.
1228 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1229 Define versionsort64 as an alias.
1230 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1231 Define scandir64 as an alias.
1232 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1233 Define scandirat64 as an alias.
1234 * dirent/alphasort64.c (alphasort64):
1235 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1236 * dirent/versionsort64.c: Likewise.
1237 * dirent/scandir64.c: Likewise.
1238 * dirent/scandirat64.c: Likewise.
1239 * sysdeps/wordsize-64/alphasort.c: File removed.
1240 * sysdeps/wordsize-64/alphasort64.c: File removed.
1241 * sysdeps/wordsize-64/scandir.c: File removed.
1242 * sysdeps/wordsize-64/scandir64.c: File removed.
1243 * sysdeps/wordsize-64/scandirat.c: File removed.
1244 * sysdeps/wordsize-64/scandirat64.c: File removed.
1245 * sysdeps/wordsize-64/versionsort.c: File removed.
1246 * sysdeps/wordsize-64/versionsort64.c: File removed.
1247 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1248 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1249 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1250 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1251 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1252 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1253 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1254 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1256 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1257 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1258 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1259 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1260 [defined __arch64__ || defined __sparcv9]
1261 (__INO_T_MATCHES_INO64_T): New macro.
1262 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1263 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1264 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1265 * sysdeps/unix/sysv/linux/bits/dirent.h
1266 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1267 (_DIRENT_MATCHES_DIRENT64): New macro.
1269 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1270 Define lockf64 as an alias.
1271 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1272 Define fseeko64 as an alias.
1273 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1274 Define ftello64 as an alias.
1275 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1276 Define _IO_fgetpos64 and fgetpos64 as aliases.
1277 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1278 Define _IO_fsetpos64 and fsetpos64 as aliases.
1279 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1280 Conditionalize body on this.
1281 * libio/fseeko64.c: Likewise.
1282 * libio/ftello64.c: Likewise.
1283 * libio/iofgetpos64.c: Likewise.
1284 * libio/iofsetpos64.c: Likewise.
1285 * sysdeps/wordsize-64/lockf.c: File removed.
1286 * sysdeps/wordsize-64/lockf64.c: File removed.
1287 * sysdeps/wordsize-64/fseeko.c: File removed.
1288 * sysdeps/wordsize-64/fseeko64.c: File removed.
1289 * sysdeps/wordsize-64/ftello.c: File removed.
1290 * sysdeps/wordsize-64/ftello64.c: File removed.
1291 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1292 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1293 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1294 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1295 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1296 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1297 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1298 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1299 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1300 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1301 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1302 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1303 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1304 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1306 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1307 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1308 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1309 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1310 [defined __arch64__ || defined __sparcv9]
1311 (__OFF_T_MATCHES_OFF64_T): New macro.
1312 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1313 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1314 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1315 (__OFF_T_MATCHES_OFF64_T): New macro.
1317 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1319 * stdlib/secure-getenv.c (__secure_getenv): Replace
1320 GLIBC_2_16 with GLIBC_2_17.
1322 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1324 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1325 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1327 2012-08-03 David S. Miller <davem@davemloft.net>
1329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1331 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1333 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1335 (__ASSUME_CORRECT_SI_PID): Likewise.
1336 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1337 (__ASSUME_TMPFS_NAME): Likewise.
1338 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1339 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1340 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1341 (HAVE_AUX_SECURE): Make definition unconditional.
1342 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1343 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1345 2012-08-03 Roland McGrath <roland@hack.frob.com>
1347 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1348 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1349 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1350 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1351 __eloop_threshold instead of SYMLOOP_MAX.
1353 * sysdeps/generic/eloop-threshold.h: New file.
1354 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1356 * elf/chroot_canon.c (chroot_canon): Likewise.
1358 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1361 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1362 Change to 2.6.0 everywhere.
1363 * sysdeps/unix/sysv/linux/configure: Regenerated.
1364 * sysdeps/unix/sysv/linux/kernel-features.h
1365 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1366 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1368 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1369 (__ASSUME_FUTEX_REQUEUE): Remove.
1370 (__ASSUME_STATFS64): Define unconditionally.
1371 (__ASSUME_AT_SECURE): Likewise.
1372 (__ASSUME_CORRECT_SI_PID): Likewise.
1373 (__ASSUME_TGKILL): Define without depending on kernel version for
1375 (__ASSUME_UTIMES): Likewise.
1376 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1378 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1379 (__ASSUME_TMPFS_NAME): Likewise.
1380 * README: Update reference to Linux kernel versions.
1382 2012-08-02 Marek Polacek <polacek@redhat.com>
1385 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1386 libc_cv_asm_type_prefix with %.
1387 * configure: Regenerated.
1388 * include/libc-symbols.h: Remove comment about
1389 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1390 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1391 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1392 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1393 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1394 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1395 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1396 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1397 * elf/tst-unique2mod1.c: Likewise.
1398 * elf/tst-unique1mod2.c: Likewise.
1399 * elf/tst-unique1mod1.c: Likewise.
1400 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1401 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1402 Replace ASM_TYPE_DIRECTIVE with .type.
1403 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1404 * sysdeps/i386/sysdep.h: Likewise.
1405 * sysdeps/x86_64/sysdep.h: Likewise.
1406 * sysdeps/sh/sysdep.h: Likewise.
1407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1408 Do not define ASM_TYPE_DIRECTIVE.
1409 * sysdeps/powerpc/sysdep.h: Likewise.
1410 * sysdeps/powerpc/powerpc32/sysdep.h:
1411 Replace ASM_TYPE_DIRECTIVE with .type.
1412 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1413 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1414 * sysdeps/i386/fpu/e_powf.S: Likewise.
1415 * sysdeps/i386/fpu/e_expl.S: Likewise.
1416 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1417 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1418 * sysdeps/i386/fpu/e_pow.S: Likewise.
1419 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1420 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1421 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1422 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1423 * sysdeps/i386/fpu/e_log2.S: Likewise.
1424 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1425 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1426 * sysdeps/i386/fpu/e_powl.S: Likewise.
1427 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1428 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1429 * sysdeps/i386/fpu/e_logl.S: Likewise.
1430 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1431 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1432 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1433 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1434 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1435 * sysdeps/i386/fpu/e_log.S: Likewise.
1436 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1437 * sysdeps/i386/fpu/e_logf.S: Likewise.
1438 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1439 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1440 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1441 * sysdeps/i386/fpu/e_log10.S: Likewise.
1442 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1443 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1444 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1445 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1446 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1447 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1448 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1449 * sysdeps/i386/i686/strtok.S: Likewise.
1450 * sysdeps/i386/i386-mcount.S: Likewise.
1451 * sysdeps/i386/strtok.S: Likewise.
1452 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1453 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1454 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1455 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1456 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1457 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1458 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1459 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1460 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1461 * sysdeps/x86_64/_mcount.S: Likewise.
1462 * sysdeps/x86_64/strtok.S: Likewise.
1463 * sysdeps/sh/_mcount.S: Likewise.
1465 2012-08-01 Roland McGrath <roland@hack.frob.com>
1467 * libio/iofopen.c: Include <fcntl.h>.
1468 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1469 (_IO_fopen64, fopen64): Define as aliases.
1470 * libio/iofopen64.c: Include <fcntl.h>.
1471 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1472 Conditionalize body on this.
1473 * sysdeps/wordsize-64/iofopen.c: File removed.
1474 * sysdeps/wordsize-64/iofopen64.c: File removed.
1476 2012-08-01 Marek Polacek <polacek@redhat.com>
1478 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1479 Use dlfcn directly instead of a variable.
1480 (binfmt-subdir): Do not define.
1483 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1485 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1486 Remove all definitions.
1487 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1488 <kernel-features.h>.
1489 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1490 (miss_F_GETOWN_EX): Remove all definitions.
1491 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1493 [!__ASSUME_FCNTL64]: Remove conditional code.
1494 [__ASSUME_FCNTL64]: Make code unconditional.
1495 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1496 <kernel-features.h>.
1497 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1498 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1499 (lockf64) [__NR_fcntl64]: Make code unconditional.
1500 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1502 * sysdeps/unix/sysv/linux/kernel-features.h
1503 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1504 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1505 Make code unconditional.
1506 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1507 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1509 [__NR_vfork]: Make code unconditional.
1510 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1511 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1513 [__NR_vfork]: Make code unconditional.
1514 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1515 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1517 2012-08-01 Roland McGrath <roland@hack.frob.com>
1519 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1520 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1522 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1523 Define mkstemp64 as an alias.
1524 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1525 Define mkstemps64 as an alias.
1526 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1527 Define mkostemp64 as an alias.
1528 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1529 Define mkostemps64 as an alias.
1530 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1531 Conditionalize body on this.
1532 * misc/mkostemp64.c: Likewise.
1533 * misc/mkostemps64.c: Likewise.
1534 * misc/mkstemps64.c: Likewise.
1535 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1536 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1537 * sysdeps/wordsize-64/mkostemp.c: File removed.
1538 * sysdeps/wordsize-64/mkstemp.c: File removed.
1539 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1540 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1541 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1542 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1545 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1546 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1547 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1548 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1550 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1551 compat_symbol macros from <shlib-compat.h> rather than the underlying
1552 default_symbol_version and symbol_version macros, so that DEFAULT
1553 lines in shlib-versions are respected.
1554 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1556 2012-08-01 Florian Weimer <fweimer@redhat.com>
1558 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1559 Declare with warn_unused_result.
1560 (setgid, setregid, setegid, setresgid): Likewise.
1561 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1563 * WUR-REPORT: Remove set*id functions.
1565 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1567 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1569 2012-07-31 Roland McGrath <roland@hack.frob.com>
1571 * include/sys/socket.h (__libc_accept, __libc_accept4):
1572 Add attribute_hidden.
1573 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1575 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1577 * inet/getnetgrent_r.c (setup): Likewise.
1579 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1581 2012-07-31 David S. Miller <davem@davemloft.net>
1583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1585 2012-07-31 Joseph Myers <joseph@codesourcery.com>
1588 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1589 value between 1.0 and 2.0 and smaller part has absolute value less
1591 * math/s_clog10.c (__clog10): Likewise.
1592 * math/s_clog10f.c (__clog10f): Likewise.
1593 * math/s_clog10l.c (__clog10l): Likewise.
1594 * math/s_clogf.c (__clogf): Likewise.
1595 * math/s_clogl.c (__clogl): Likewise.
1596 * math/libm-test.inc (clog_test): Add more tests.
1597 (clog10_test): Likewise.
1598 * sysdeps/i386/fpu/libm-test-ulps: Update.
1599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1601 2012-07-31 Florian Weimer <fweimer@redhat.com>
1603 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1604 Exit with zero in case no suitable GID is found, and write a
1605 message to standard error.
1607 2012-07-30 Roland McGrath <roland@hack.frob.com>
1609 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1611 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1612 (MAXPATHLEN): Removed.
1613 (NOGROUP, NODEV): New macros.
1614 (setbit, clrbit, isset, isclr): New macros.
1615 (howmany, roundup, powerof2): New macros.
1616 (DEV_BSIZE): New macro.
1618 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1619 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1621 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1622 definition on [!__NO_LONG_DOUBLE_MATH].
1624 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1625 PTR_MANGLE and PTR_DEMANGLE.
1627 * socket/accept4.c (accept4): Rename to __libc_accept4.
1628 Define accept4 as a weak alias.
1630 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1631 on [_DIRENT_HAVE_D_TYPE].
1632 * io/ftw.c (ftw_dir): Likewise.
1634 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1636 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1638 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1639 Use the BSD numbers rather than the arbitrary ones we had.
1640 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1641 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1642 (SIGXCPU, SIGXFSZ): New macros.
1645 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1646 initializer on [_LIBC_REENTRANT].
1648 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1649 definitions inside [_POSIX_MAPPED_FILES].
1651 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1653 * dirent/opendir.c: Include <fcntl.h>.
1655 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1656 (__libc_getspecific): Likewise.
1657 (__libc_key_create): Likewise.
1659 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1660 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1661 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1662 (tmpfile64): Define as alias.
1663 * sysdeps/wordsize-64/tmpfile.c: File removed.
1664 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1665 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1666 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1668 * stdio-common/vfscanf.c: Include <stdbool.h>.
1669 * nss/makedb.c: Likewise.
1670 * stdio-common/_i18n_number.h: Likewise.
1671 * argp/argp-help.c: Likewise.
1672 * posix/wordexp.c: Likewise.
1673 * sysdeps/posix/spawni.c: Likewise.
1674 * nss/nss_files/files-initgroups.c: Likewise.
1675 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1676 * nss/nss_files/files-initgroups.c: Likewise.
1677 * nss/nss_db/db-netgrp.c: Likewise.
1678 * nss/nss_db/db-initgroups.c: Likewise.
1679 * io/fchmodat.c: Include <sys/stat.h>.
1681 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1682 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1684 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1687 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1688 Add multiple inclusion protection.
1690 2012-07-27 David S. Miller <davem@davemloft.net>
1692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1694 2012-07-27 Gary Benson <gbenson@redhat.com>
1697 * elf/rtld.c: Include <stap-probe.h>.
1698 (dl_main): Added static probes "init_start" and "init_complete".
1699 * elf/dl-load.c: Include <stap-probe.h>.
1700 (lose): Take new parameter "nsid".
1701 Added static probe "map_failed".
1702 (_dl_map_object_from_fd): Pass namespace id to lose.
1703 Added static probe "map_start".
1704 (open_verify): Pass namespace id to lose.
1705 * elf/dl-open.c: Include <stap-probe.h>.
1706 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1707 and "reloc_complete".
1708 * elf/dl-close.c: Include <stap-probe.h>.
1709 (_dl_close_worker): Added static probes "unmap_start" and
1711 * elf/rtld-debugger-interface.txt: New file documenting the above.
1713 2012-07-26 Roland McGrath <roland@hack.frob.com>
1715 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1716 rather than a string variable.
1717 * sunrpc/rpc_main.c (h_output): Likewise.
1718 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1720 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1722 * inet/check_native.c: New file.
1724 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1727 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1728 if larger part has absolute value 1.0.
1729 * math/s_clog10.c (__clog10): Likewise.
1730 * math/s_clog10f.c (__clog10f): Likewise.
1731 * math/s_clog10l.c (__clog10l): Likewise.
1732 * math/s_clogf.c (__clogf): Likewise.
1733 * math/s_clogl.c (__clogl): Likewise.
1734 * math/libm-test.inc (clog_test): Add more tests.
1735 (clog10_test): Likewise.
1736 * sysdeps/i386/fpu/libm-test-ulps: Update.
1737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1739 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1740 (pltexit): Likewise.
1741 (La_regs): Likewise.
1742 (La_retval): Likewise.
1743 (int_retval): Likewise.
1744 Update #error for removed macros to refer only to definitions in
1746 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1748 (pltexit): Likewise.
1749 (La_regs): Likewise.
1750 (La_retval): Likewise.
1751 (int_retval): Likewise.
1752 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1754 (pltexit): Likewise.
1755 (La_regs): Likewise.
1756 (La_retval): Likewise.
1757 (int_retval): Likewise.
1758 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1760 (pltexit): Likewise.
1761 (La_regs): Likewise.
1762 (La_retval): Likewise.
1763 (int_retval): Likewise.
1764 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1766 (pltexit): Likewise.
1767 (La_regs): Likewise.
1768 (La_retval): Likewise.
1769 (int_retval): Likewise.
1770 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1772 (pltexit): Likewise.
1773 (La_regs): Likewise.
1774 (La_retval): Likewise.
1775 (int_retval): Likewise.
1776 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1778 (pltexit): Likewise.
1779 (La_regs): Likewise.
1780 (La_retval): Likewise.
1781 (int_retval): Likewise.
1782 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1783 macro definitions in tst-audit.h.
1784 * sysdeps/i386/tst-audit.h: New file.
1785 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1786 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1787 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1788 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1789 * sysdeps/sh/tst-audit.h: Likewise.
1790 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1791 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1792 * sysdeps/x86_64/tst-audit.h: Likewise.
1794 2012-07-26 Andreas Jaeger <aj@suse.de>
1796 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1799 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1800 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1801 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1803 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1804 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1805 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1807 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1810 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1812 (si_call_addr, si_syscall, si_arch): Define new macro.
1813 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1815 (si_call_addr, si_syscall, si_arch): Define new marcro.
1816 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1818 (si_call_addr, si_syscall, si_arch): Define new macro.
1819 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1821 (si_call_addr, si_syscall, si_arch): Define new macro.
1823 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1826 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1827 Change to 2.4.21 where previously 2.4.1.
1828 * sysdeps/unix/sysv/linux/configure: Regenerated.
1829 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1830 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1831 Linux kernel version.
1832 (__ASSUME_STD_AUXV): Remove.
1833 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1835 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1836 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1837 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1838 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1839 (__ASSUME_NETLINK_SUPPORT): Likewise.
1840 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1841 (__no_netlink_support): Remove conditional definition.
1842 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1844 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1845 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1846 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1847 (if_nameindex_ioctl): Remove.
1848 (if_nameindex_netlink): Do not handle __no_netlink_support.
1849 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1851 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1852 Remove conditional code.
1853 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1855 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1857 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1858 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1859 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1861 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1862 [!__ASSUME_STD_AUXV]: Remove conditional code.
1863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1864 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1865 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1867 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1868 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1870 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1872 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1873 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1875 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1877 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1880 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1883 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1885 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1887 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1889 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1892 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1894 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1897 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1899 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1901 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1903 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1906 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1908 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1910 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1912 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1915 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1917 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1918 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1919 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1920 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1921 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1922 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1923 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1924 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1925 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1926 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1927 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1928 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1929 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1930 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1931 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1932 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1933 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1934 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1935 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1936 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1937 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1938 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1939 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1941 2012-07-25 Florian Weimer <fweimer@redhat.com>
1943 * Versions.def: Add GLIBC_2.17.
1944 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1945 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1946 Introduce __libc_secure_getenv.
1947 * stdlib/Versions (2.17): Add secure_getenv
1948 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1949 * stdlib/secure-getenv.c: Rename __secure_getenv to
1950 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1951 symbol __secure_getenv for GLIBC_2.0.
1952 * stdlib/tst-secure-getenv.c: New.
1953 * stdlib/Makefile (tests): Add testcase.
1954 * manual/startup.texi (Environment Access): Document
1956 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1957 __libc_secure_getenv.
1958 * inet/ruserpass.c (ruserpass): Likewise.
1959 * malloc/mtrace.c (mtrace): Likewise.
1960 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1961 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1962 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1963 * sysdeps/posix/tempname.c: Likewise. Evaluate
1965 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1966 __secure_getenv to __libc_secure_getenv.
1967 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1974 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1980 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1982 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1983 (struct La_i86_retval): Likewise.
1984 (struct La_x86_64_regs): Likewise.
1985 (struct La_x86_64_retval): Likewise.
1986 (struct La_x32_regs): Likewise.
1987 (struct La_x32_retval): Likewise.
1988 (struct La_ppc32_regs): Likewise.
1989 (struct La_ppc32_retval): Likewise.
1990 (struct La_ppc64_regs): Likewise.
1991 (struct La_ppc64_retval): Likewise.
1992 (struct La_sh_regs): Likewise.
1993 (struct La_sh_retval): Likewise.
1994 (struct La_s390_32_regs): Likewise.
1995 (struct La_s390_32_retval): Likewise.
1996 (struct La_s390_64_regs): Likewise.
1997 (struct La_s390_64_retval): Likewise.
1998 (struct La_sparc32_regs): Likewise.
1999 (struct La_sparc32_retval): Likewise.
2000 (struct La_sparc64_regs): Likewise.
2001 (struct La_sparc64_retval): Likewise.
2002 (struct audit_ifaces): Remove architecture-specific pltenter and
2004 * sysdeps/i386/ldsodefs.h: New file.
2005 * sysdeps/powerpc/ldsodefs.h: Likewise.
2006 * sysdeps/s390/ldsodefs.h: Likewise.
2007 * sysdeps/sh/ldsodefs.h: Likewise.
2008 * sysdeps/sparc/ldsodefs.h: Likewise.
2009 * sysdeps/x86_64/ldsodefs.h: Likewise.
2011 2012-07-25 Marek Polacek <polacek@redhat.com>
2014 * math/libm-test.inc (yn_test): Add another test.
2015 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2016 to ERANGE when the result is +-Inf.
2017 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2018 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2019 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2020 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2022 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2024 * conform/data/time.h-data (NULL): Use macro-constant. Require
2026 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2028 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2030 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2032 * configure.in <sysdeps resolving>: Correct printing
2034 * configure: Regenerate.
2036 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2038 * math/w_ilogb.c: Include <limits.h>.
2039 * math/w_ilogbl.c: Likewise.
2041 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2043 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2044 va_copy. Document allowing for unavailable va_copy only as
2045 pre-C99 compatibility.
2046 * manual/string.texi (Copying and Concatenation): Use va_copy
2047 instead of __va_copy in concat example.
2049 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2051 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2052 (__sendto): Use create_address_port. Initialize APORT and deallocate
2055 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2056 with O_NOLINK passed to __file_name_lookup.
2058 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2059 with O_NOLINK passed to __file_name_lookup.
2061 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2062 negative N or less than NGIDS.
2064 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2065 type to string_t. Set ERANGE as errno and return it if NAME is not big
2066 enough. Use memcpy instead of strncpy.
2068 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2070 * elf/Makefile (check-data): Remove.
2071 (localplt.data): New vpath directive.
2072 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2073 instead of $(check-data).
2074 * scripts/data/localplt-generic.data: Move to ...
2075 * sysdeps/generic/localplt.data: ... here.
2076 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2077 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2078 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2081 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2084 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2087 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2090 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2093 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2097 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2099 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2100 PPC32 and PPC64 files.
2101 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2102 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2104 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2106 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2107 __makecontext_ret to ...
2108 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2109 ... here and call exit if uc_link is NULL. New file.
2110 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2111 __makecontext_ret.S.
2112 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2113 __makecontext_ret to ...
2114 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2115 ... here and call exit if uc_link is NULL. New file.
2116 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2117 __makecontext_ret.S.
2119 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2121 * elf/elf.h (R_390_IRELATIVE): New definition.
2122 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2123 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2124 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2125 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2126 (elf_machine_lazy_rel): Likewise.
2127 * sysdeps/s390/dl-irel.h: New file.
2128 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2129 * sysdeps/s390/s390-64/memset.S: New asm code.
2130 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2131 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2132 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2133 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2134 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2135 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2136 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2137 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2138 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2139 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2140 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2141 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2142 * sysdeps/s390/s390-32/memset.S: New asm code.
2143 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2145 2012-07-17 Marek Polacek <polacek@redhat.com>
2148 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2149 * sysdeps/s390/s390-64/configure.in: Likewise.
2150 * sysdeps/sparc/configure.in: Likewise.
2151 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2152 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2153 * sysdeps/i386/configure.in: Likewise.
2154 * sysdeps/x86_64/configure.in: Likewise.
2155 * sysdeps/sh/configure.in: Likewise.
2156 * sysdeps/s390/s390-32/configure: Regenerated.
2157 * sysdeps/s390/s390-64/configure: Likewise.
2158 * sysdeps/x86_64/configure: Likewise.
2159 * sysdeps/sh/configure: Likewise.
2160 * sysdeps/powerpc/powerpc64/configure: Likewise.
2161 * sysdeps/powerpc/powerpc32/configure: Likewise.
2162 * sysdeps/sparc/configure: Likwise.
2163 * sysdeps/i386/configure: Likewise.
2165 * elf/dl-open.c: Comment fixes.
2167 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2169 * Makefile [CXX] (check-data): Remove.
2170 [CXX] (c++-types.data): New vpath directive.
2171 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2172 vpath. Do not allow for C++ type data being missing.
2173 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2174 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2175 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2176 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2177 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2178 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2179 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2182 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2185 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2188 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2191 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2194 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2197 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2200 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2203 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2204 definitions to architecture-specific files.
2208 * sysdeps/i386/tls-macros.h: New file.
2209 * sysdeps/powerpc/tls-macros.h: Likewise.
2210 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2211 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2212 * sysdeps/sh/tls-macros.h: Likewise.
2213 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2214 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2215 * sysdeps/x86_64/tls-macros.h: Likewise.
2217 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2219 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2220 zero value for regular exit case.
2222 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2223 (__start_context): Preserve zero value for regular exit case.
2225 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2226 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2228 * manual/setjmp.texi (setcontext): Clarify normal process
2229 termination when uc_link is the null pointer.
2230 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2233 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2235 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2236 preprocessor. Test for each exception mask separately.
2238 2012-07-16 Andreas Jaeger <aj@suse.de>
2240 * po/ru.po: Update from translation team.
2242 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2244 * conform/data/string.h-data (NULL): Use macro-constant. Require
2246 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2247 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2248 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2249 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2250 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2252 2012-07-13 Andreas Jaeger <aj@suse.de>
2254 * po/fr.po: Update from translation team.
2256 2012-07-12 Marek Polacek <polacek@redhat.com>
2259 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2260 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2263 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2266 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2267 Change to 2.4.1 where previously 2.4.0.
2268 * sysdeps/unix/sysv/linux/configure: Regenerated.
2269 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2270 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2272 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2273 (__ASSUME_AT_CLKTCK): Remove.
2274 (__ASSUME_AT_PAGESIZE): Likewise.
2275 (__ASSUME_AT_XID): Likewise.
2276 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2277 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2278 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2280 (HAVE_AUX_PAGESIZE): Likewise.
2281 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2282 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2283 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2285 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2289 the temporary buffer used to invoke __gethostbyname2_r,
2290 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2291 host_data / struct gaih_addrtuple.
2292 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2293 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2294 header file nss/nsswitch.h.
2295 * nss/nsswitch.h (global scope): Add definition of implementation
2296 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2297 resolv/nss_dns/dns-host.c).
2299 2012-07-11 Andreas Jaeger <aj@suse.de>
2301 * po/fr.po: Update from translation team.
2303 * po/sv.po: Update from translation team
2304 * po/fr.po: Another update from translation team.
2306 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2308 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2309 for subnormals or multiply small sinh result by itself.
2310 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2313 2012-07-11 David S. Miller <davem@davemloft.net>
2315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2317 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2320 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2321 (INTERNAL_MARK): Shift it here.
2323 2012-07-10 Marek Polacek <polacek@redhat.com>
2326 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2327 libc_cv_asm_global_directive with .globl.
2328 * configure: Regenerated.
2329 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2331 * sysdeps/i386/configure: Regenerated.
2332 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2334 * sysdeps/x86_64/configure: Regenerated.
2335 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2336 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2337 * elf/tst-unique2mod2.c: Likewise.
2338 * elf/tst-unique2mod1.c: Likewise.
2339 * elf/tst-unique1mod2.c: Likewise.
2340 * elf/tst-unique1mod1.c: Likewise.
2341 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2342 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2343 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2344 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2345 * sysdeps/mach/sysdep.h: Likewise.
2346 * sysdeps/i386/sysdep.h: Likewise.
2347 * sysdeps/i386/i386-mcount.S: Likewise.
2348 * sysdeps/x86_64/_mcount.S: Likewise.
2349 * sysdeps/x86_64/sysdep.h: Likewise.
2350 * sysdeps/sh/_mcount.S: Likewise.
2351 * sysdeps/sh/sysdep.h: Likewise.
2352 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2353 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2354 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2355 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2356 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2357 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2358 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2359 * locale/localeinfo.h: Likewise.
2360 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2361 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2363 2012-07-09 Roland McGrath <roland@hack.frob.com>
2366 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2368 * manual/message.texi (The Uniforum approach): Likewise.
2369 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2370 (glibc iconv Implementation): Likewise.
2372 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2375 * math/s_clog.c (__clog): Avoid scaling a value down where that
2376 could result in underflow.
2377 * math/s_clog10.c (__clog10): Likewise.
2378 * math/s_clog10f.c (__clog10f): Likewise.
2379 * math/s_clog10l.c (__clog10l): Likewise.
2380 * math/s_clogf.c (__clogf): Likewise.
2381 * math/s_clogl.c (__clogl): Likewise.
2382 * math/libm-test.inc (clog_test): Add more tests.
2383 (clog10_test): Likewise.
2384 * sysdeps/i386/fpu/libm-test-ulps: Update.
2385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2387 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2390 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2391 by 7 not 8 to examine high bit of fractional part.
2394 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2395 for call to __mcount_internal.
2396 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2397 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2398 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2400 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2403 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2404 approximation for values within 0x1p-13f of an odd multiple of
2406 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2407 exception. Add more tests.
2408 * sysdeps/i386/fpu/libm-test-ulps: Update.
2411 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2412 inputs and return -1 for them. Do not check for +Inf in case not
2414 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2415 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2416 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2417 and return -1 for them. Do not check for +Inf in case not
2419 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2421 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2422 and return -1 for them. Do not check for +Inf in case not
2424 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2426 * sysdeps/i386/fpu/libm-test-ulps: Update.
2427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2429 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2431 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2433 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2437 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2438 could result in spurious underflow. Scale down values above
2439 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2440 * math/s_csqrtf.c (__csqrtf): Likewise.
2441 * math/s_csqrtl.c (__csqrtl): Likewise.
2442 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2444 * sysdeps/i386/fpu/libm-test-ulps: Update.
2445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2447 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2449 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2451 * catgets/xopen-msg.awk: New file.
2452 * catgets/xopen-msg.sed: Removed.
2454 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2456 * intl/po2test.awk: New file.
2457 * intl/po2test.sed: Removed.
2459 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2462 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2463 or multiply small sinh result by itself.
2464 * math/s_ctanf.c (__ctanf): Likewise.
2465 * math/s_ctanh.c (__ctanh): Likewise.
2466 * math/s_ctanhf.c (__ctanhf): Likewise.
2467 * math/s_ctanhl.c (__ctanhl): Likewise.
2468 * math/s_ctanl.c (__ctanl): Likewise.
2469 * math/libm-test.inc (ctan_test_tonearest): New function.
2470 (ctan_test_towardzero): Likewise.
2471 (ctan_test_downward): Likewise.
2472 (ctan_test_upward): Likewise.
2473 (ctanh_test_tonearest): Likewise.
2474 (ctanh_test_towardzero): Likewise.
2475 (ctanh_test_downward): Likewise.
2476 (ctanh_test_upward): Likewise.
2477 (main): Call these new functions.
2478 * sysdeps/i386/fpu/libm-test-ulps: Update.
2479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2481 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2483 * .gitignore: Delete /ports entry.
2485 2012-07-03 Andreas Jaeger <aj@suse.de>
2487 * po/bg.po: Update from translation team.
2488 * po/cs.po: Likewise.
2489 * po/de.po: Likewise.
2490 * po/hr.po: Likewise.
2491 * po/nl.pl: Likewise.
2492 * po/pl.po: Likewise.
2493 * po/vi.po: Likewise.
2495 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2497 * Makeconfig [!+link] (+link-before-libc): New variable.
2498 [!+link] (+link-after-libc): Likewise.
2499 [!+link] (+link-tests): Likewise.
2500 [!+link] (+link): Define in terms of $(+link-before-libc) and
2501 $(+link-after-libc).
2502 [!+link-static] (+link-static-before-libc): New variable.
2503 [!+link-static] (+link-static-after-libc): Likewise.
2504 [!+link-static] (+link-static-tests): Likewise.
2505 [!+link-static] (+link-static): Define in terms of
2506 $(+link-static-before-libc) and $(+link-static-after-libc).
2507 [build-shared] (link-libc-before-gnulib): New variable.
2508 [build-shared] (link-libc-tests): Likewise.
2509 [build-shared] (link-libc): Define in terms of
2510 $(link-libc-before-gnulib).
2511 [!build-shared] (link-libc-tests): New variable.
2512 (link-libc-static-tests): New variable.
2513 [!gnulib] (gnulib-arch): New variable.
2514 [!gnulib] (gnulib-tests): Likewise.
2515 [!gnulib] (static-gnulib-arch): Likewise.
2516 [!gnulib] (static-gnulib-tests): Likewise.
2517 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2518 Define with "=" instead of ":=".
2519 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2520 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2521 * Rules (binaries-all-notests): New variable.
2522 (binaries-all-tests): Likewise.
2523 (binaries-static-notests): Likewise.
2524 (binaries-static-tests): Likewise.
2525 (binaries-all): Define using $(binaries-all-notests) and
2526 $(binaries-all-tests).
2527 (binaries-static): Define using $(binaries-static-notests) and
2528 $(binaries-static-tests).
2529 (binaries-shared-tests): New variable.
2530 (binaries-shared-notests): Likewise.
2531 (binaries-shared): Remove variable.
2532 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2533 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2534 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2535 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2536 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2537 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2538 * elf/Makefile (sln-modules): New variable.
2539 (extra-objs): Add $(sln-modules:=.o).
2540 (ldconfig-modules): Add static-stubs.
2541 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2542 * elf/static-stubs.c: New file.
2545 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2546 by 7 not 8 to examine high bit of fractional part. Use volatile
2547 variables when splitting into final array of floats if
2548 __FLT_EVAL_METHOD__ != 0.
2549 * math/libm-test.inc (cos_test): Add another test.
2550 (sin_test): Likewise.
2551 * sysdeps/i386/fpu/libm-test-ulps: Update.
2554 * math/libm-test.inc (cosh_test): Add more tests.
2556 * version.h (RELEASE): Set to "development".
2557 (VERSION): Set to "2.16.90".
2559 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2561 * NEWS: Update copyright. Remove last-updated date.
2562 Mention math library bug fixes and timezone data changes.
2563 * README: Mention GNU/Hurd, x32, and HPPA support status.
2565 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2567 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2569 2012-06-27 Andreas Jaeger <aj@suse.de>
2571 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2573 2012-06-25 Andreas Jaeger <aj@suse.de>
2575 * sysdeps/s390/fpu/libm-test-ulps: Update.
2577 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2578 Thomas Schwinge <thomas@codesourcery.com>
2580 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2581 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2582 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2585 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2587 * sysdeps/mach/start.c: Remove file.
2588 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2589 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2590 * sysdeps/sh/init-first.c: Likewise.
2592 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2593 registers for frame unwinding purposes, add CFI directives.
2594 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2595 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2596 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2599 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2600 __fortify_fail returning.
2601 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2603 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2604 sysdeps/sh/____longjmp_chk.S.
2605 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2606 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2607 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2608 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2610 * sysdeps/sh/abort-instr.h: New file.
2611 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2612 process in case exit returns.
2614 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2615 initialize the GOT register before use.
2617 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2618 calculation of ARGC > 4.
2620 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2621 meaningful names to some local labels.
2623 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2624 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2626 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2627 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2628 (__arch_compare_and_exchange_val_16_acq): Likewise.
2629 (__arch_compare_and_exchange_val_32_acq): Likewise.
2630 (atomic_exchange_and_add): Fix gUSA sequence.
2631 (atomic_add): Likewise.
2632 (atomic_add_negative): Likewise.
2633 (atomic_add_zero): Likewise.
2634 (atomic_bit_test_set): Likewise.
2636 2012-06-22 Andreas Schwab <schwab@redhat.com>
2639 * include/link.h (struct link_map): Add l_free_initfini.
2640 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2642 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2643 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2644 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2647 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2649 * configure.in: Use AC_LANG_SOURCE.
2650 * configure: Regenerate.
2652 2012-06-22 Roland McGrath <roland@hack.frob.com>
2654 * configure.in (libc_cv_localstatedir): New substituted variable.
2655 * configure: Regenerated.
2656 * config.make.in (localstatedir): New variable, substituted from
2657 libc_cv_localstatedir.
2658 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2659 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2660 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2661 * sysdeps/gnu/configure: Regenerated.
2663 2012-06-21 Jeff Law <law@redhat.com>
2666 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2667 free. Simplify list management for _LIBC case.
2669 2012-06-21 Joseph Myers <joseph@codesourcery.com>
2672 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2673 Clear sign bit of 64-bit integer value before comparing against
2676 * sysdeps/mach/configure: Regenerated.
2678 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2681 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2683 2012-06-21 Jeff Law <law@redhat.com>
2686 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2687 uint16_t for elements in the "seen" array to avoid char overflows.
2688 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2689 * elf/dl-open.c (dl_open_worker): Likewise.
2691 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2693 * scripts/list-sources.sh: Scan PORTS for translations.
2694 * po/libc.pot: Regenerated.
2696 2012-06-21 Andreas Jaeger <aj@suse.de>
2699 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2701 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2702 * bits/byteswap-16.h (__bswap_16): Likewise.
2703 * bits/byteswap.h (__bswap_constant_16): Likewise.
2705 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2708 * sysdeps/i386/fpu_control.h: Removed.
2709 * sysdeps/x86_64/fpu_control.h: Moved to ...
2710 * sysdeps/x86/fpu_control.h: Here.
2712 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2713 (_FPU_SETCW): Likewise.
2715 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2718 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2719 * sysdeps/x86/fpu/bits/mathinline.h: This.
2720 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2724 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2725 functions if __x86_64__ is defined.
2727 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2729 * string/endian.h: Add !__ASSEMBLER__ condition for including
2730 conversion interfaces.
2732 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2735 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2736 of ABS(x) in calculating zero to negative powers other than odd
2738 * math/libm-test.inc (pow_test): Add more tests.
2740 2012-06-15 Andreas Jaeger <aj@suse.de>
2742 * manual/contrib.texi (Contributors): Update entry of Liubov
2743 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2746 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2748 * string/string.h: Add __wur to GNU version of strerror_r.
2750 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2753 * string/Makefile (tests): Add tst-strtok_r.
2754 * string/tst-strtok_r.c: New file.
2755 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2756 RAX_LP/RDX_LP on SAVE_PTR.
2758 2012-06-14 Roland McGrath <roland@hack.frob.com>
2760 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2762 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2764 * libm_test.inc (csqrt_test): Allow more spurious underflow
2766 (j0_test): Likewise.
2767 (j1_test): Likewise.
2768 (y0_test): Likewise.
2769 (y1_test): Likewise.
2771 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2773 * po/Makefile (libc.pot): Use UTF-8 charset.
2775 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2778 Suppress sign-conversion warning from FD_SET.
2779 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2780 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2781 not unsigned long int.
2782 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2784 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2788 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2789 __extern_always_inline instead of __extern_inline.
2790 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2791 (__signbit): Likewise.
2792 (__signbitl): Support C++ namespace.
2793 (lrintf): New inline function.
2795 (llrintf): Likewise.
2807 (nearbyint): Likewise.
2808 (nearbyintf): Likewise.
2810 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2812 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2813 non-default versions.
2815 2012-06-11 Roland McGrath <roland@hack.frob.com>
2818 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2820 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2822 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2823 (FE_UPWARD, FE_DOWNWARD): Don't define.
2824 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2825 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2827 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2829 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2830 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2832 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2834 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2835 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2836 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2837 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2839 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2842 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2843 * sysdeps/i386/fpu/Implies: New file.
2844 * sysdeps/x86_64/fpu/Implies: Likewise.
2845 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2846 * sysdeps/x86/fpu/bits/fenv.h: This.
2848 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2851 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2854 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2855 character 0xffff that matches the last element of the
2858 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2860 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2863 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2865 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2866 values higher than 25.6283.
2868 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2870 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2871 subnormal exponent extraction and add some __builtin_expect.
2872 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2873 Fix for subnormal mantissa calculation.
2875 2012-06-04 Mike Frysinger <vapier@gentoo.org>
2877 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2878 cpu2 is -1 and errno is not ENOSYS.
2880 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2883 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2884 * sysdeps/x86/bits/string.h: This.
2885 * sysdeps/x86_64/bits/string.h: Removed.
2887 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2888 if not compiling for x86-64, but compiling for >= i486.
2890 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2891 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2893 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2894 New macro from Linux kernel 3.4.0.
2895 (FP_XSTATE_MAGIC2): Likewise.
2896 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2897 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2898 (struct _fpx_sw_bytes): New struct.
2899 (struct _xsave_hdr): Likewise.
2900 (struct _ymmh_state): Likewise.
2901 (struct _xstate): Likewise.
2903 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2904 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2905 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2906 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2907 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2908 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2910 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2911 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2912 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2913 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2914 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2915 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2917 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2920 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2921 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2922 (sysdep_headers): Include sys/platform/ppc.h.
2923 * sysdeps/powerpc/test-gettimebase.c: Test for
2924 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2925 * manual/Makefile (appendices): Include platform.texi.
2926 * manual/contrib.texi (Contributors): Update @node pointers.
2927 * manual/maint.texi (Maintenance): Likewise.
2928 (Platform): New node.
2929 * manual/platform.texi: New file. Document the new features.
2931 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2932 Jakub Jelinek <jakub@redhat.com>
2935 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2936 where __builtin_expect is unavailable.
2938 2012-06-03 David S. Miller <davem@davemloft.net>
2940 * stdlib/longlong.h: Updated from GCC.
2942 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2945 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2946 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2949 (GLIBC_2.16): Likewise.
2951 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2953 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2955 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2958 (default-abi): New variable.
2959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2960 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2962 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2964 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2966 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2969 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2970 definition. Document in comment.
2972 2012-06-01 David S. Miller <davem@davemloft.net>
2974 * stdlib/longlong.h: Updated from GCC.
2976 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2979 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2980 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2981 sys/debugreg.h sys/io.h here.
2982 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2983 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2985 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2986 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2987 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2988 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2989 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2990 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2992 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2993 Define only if __x86_64__ is defined.
2995 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2998 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2999 Use int64_t for variable i.
3000 * math/libm-test.inc (fmod_test): Add more tests.
3002 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3003 z computation is not scheduled after fetestexcept.
3004 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3005 Use math_force_eval instead of asm to ensure calculation scheduled
3006 before exception test.
3007 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3008 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3010 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3013 computation is not scheduled after fetestexcept.
3015 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3018 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3019 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3021 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3023 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3024 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3026 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3029 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3031 (__WCHAR_MIN): Support __WORDSIZE == 64.
3032 (__WCHAR_MAX): Likewise.
3034 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3035 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3038 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3039 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3042 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3043 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3045 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3046 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3048 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3049 Defined to 1 if __x86_64__ isn't defined.
3050 (_STAT_VER_LINUX_OLD): New.
3051 (st_atime): Remove duplicate.
3052 (st_mtime): Likewise.
3053 (st_ctime): Likewise.
3055 2012-05-31 David S. Miller <davem@davemloft.net>
3057 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3060 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3062 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3066 * elf/dl-reloc.c: Include <_itoa.h>.
3067 (_dl_reloc_bad_type): Remove use of INTUSE.
3068 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3069 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3070 * stdio-common/psiginfo.c (psiginfo): Likewise.
3071 * stdio-common/psignal.c (psignal): Likewise.
3072 * string/strsignal.c (strsignal): Likewise.
3073 * include/signal.h (_sys_siglist): Declare hidden proto.
3074 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3075 INTVARDEF with libc_hidden_data_def.
3076 * stdio-common/itoa-udigits.c: Likewise.
3077 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3078 (_itoa_lower_digits_internal): Remove declaration.
3079 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3080 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3081 (_sys_sigabbrev_internal): Remove aliases.
3082 (_sys_siglist): Define hidden alias.
3084 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3086 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3089 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3092 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3093 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3095 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3096 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3097 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3098 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3099 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3100 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3102 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3103 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3104 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3106 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3114 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3115 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3116 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3118 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3119 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3120 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3121 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3122 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3123 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3125 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3126 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3128 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3129 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3131 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3132 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3133 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3135 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3136 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3138 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3140 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3141 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3142 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3144 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3146 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3148 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3150 * math/math.h (M_El): Use two more decimal places.
3151 (M_LOG2El): Likewise.
3152 (M_LOG10El): Likewise.
3154 (M_LN10l): Likewise.
3156 (M_PI_2l): Likewise.
3157 (M_PI_4l): Likewise.
3158 (M_1_PIl): Likewise.
3159 (M_2_PIl): Likewise.
3160 (M_2_SQRTPIl): Likewise.
3161 (M_SQRT2l): Likewise.
3162 (M_SQRT1_2l): Likewise.
3164 2012-05-31 David S. Miller <davem@davemloft.net>
3166 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3167 values between float registers.
3168 * sysdeps/sparc/sparc64/memset.S: Likewise.
3169 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3171 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3173 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3174 -D_FORTIFY_SOURCE=1.
3175 (CPPFLAGS-tst-longjmp_chk.c): Define.
3176 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3177 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3178 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3179 CFLAGS-tst-wchar-h.c.
3181 2012-05-31 Marek Polacek <polacek@redhat.com>
3184 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3185 __endmntent_internal): Remove declaration.
3186 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3187 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3188 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3190 2012-05-30 David S. Miller <davem@davemloft.net>
3192 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3193 (___Q_simulate_exceptions): Use real FP ops rather than writing
3195 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3198 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3201 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3202 * sysdeps/x86/bits/xtitypes.h: This.
3204 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3205 * sysdeps/x86/bits/wordsize.h: This.
3207 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3208 * sysdeps/x86/bits/huge_vall.h: This.
3210 * sysdeps/i386/bits/select.h: Removed.
3211 * sysdeps/x86_64/bits/select.h: Renamed to ...
3212 * sysdeps/x86/bits/select.h: This.
3214 * sysdeps/i386/bits/setjmp.h: Removed.
3215 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3216 * sysdeps/x86/bits/setjmp.h: This.
3218 * sysdeps/i386/bits/mathdef.h: Removed.
3219 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3220 * sysdeps/x86/bits/mathdef.h: This.
3222 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3225 * include/sys/socket.h (__connect_internal)
3226 (__libc_sa_len_internal): Remove declaration.
3227 (__connect, __libc_sa_len): Declare hidden_proto.
3228 (SA_LEN): Remove use of INTUSE.
3229 * socket/connect.c: Add libc_hidden_def.
3230 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3231 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3232 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3234 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3235 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3236 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3237 of adding _internal alias.
3239 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3242 * sysdeps/i386/bits/link.h: Removed.
3243 * sysdeps/i386/bits/linkmap.h: Likewise.
3244 * sysdeps/x86_64/bits/link.h: Renamed to ...
3245 * sysdeps/x86/bits/link.h: This.
3246 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3247 * sysdeps/x86/bits/linkmap.h: This.
3249 * sysdeps/i386/bits/endian.h: Removed.
3250 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3251 * sysdeps/x86/bits/endian.h: This.
3253 * sysdeps/i386/bits/byteswap.h: Removed.
3254 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3255 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3256 * sysdeps/x86/bits/byteswap.h: This.
3257 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3258 * sysdeps/x86/bits/byteswap-16.h: This.
3259 * sysdeps/i386/Implies: Add x86.
3260 * sysdeps/x86_64/Implies: Likewise.
3262 2012-05-30 David S. Miller <davem@davemloft.net>
3264 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3265 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3266 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3267 (FP_TRAPPING_EXCEPTIONS): Define.
3268 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3269 (FP_TRAPPING_EXCEPTIONS): Define.
3270 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3271 subnormals only when inexact has been signalled or underflow
3272 exceptions are enabled.
3273 (_FP_PACK_CANONICAL): Likewise.
3275 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3278 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3279 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3281 2012-05-30 Richard Henderson <rth@twiddle.net>
3283 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3284 with #ifndef NOT_IN_libc.
3286 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3287 marked to avoid plt entry.
3289 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3292 * Makeconfig (default-abi): New macro.
3293 (abi-includes): Likewise.
3294 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3295 $(abi-$(default-abi)-lib-soname) for soname if defined.
3296 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3298 * Makefile (installed-stubs): Likewise.
3299 * include/stubs-biarch.h: Removed.
3300 * scripts/lib-names.awk: Only handle one library at a time.
3301 * scripts/soversions.awk: Remove WORDSIZE support.
3302 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3304 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3306 (syscall-list-default-condition): Likewise.
3307 (syscall-list-default-condition): Likewise.
3308 (syscall-list-includes): Likewise.
3309 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3310 syscall-list-* with abi-*. Handle undefined abi-variants.
3311 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3312 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3313 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3314 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3315 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3316 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3318 (syscall-list-32-options): Likewise.
3319 (syscall-list-32-condition): Likewise.
3320 (syscall-list-64-options): Likewise.
3321 (syscall-list-64-condition): Likewise.
3322 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3324 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3327 (abi-64-ld-soname): New macro.
3328 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3329 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3332 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3333 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3335 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3337 * sysdeps/unix/sysv/linux/kernel-features.h
3338 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3339 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3340 include <kernel-features.h>.
3341 [!__NR_ftruncate64]: Remove conditional code.
3342 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3343 [__NR_ftruncate64]: Make code unconditional.
3344 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3345 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3346 include <kernel-features.h>.
3347 [!__NR_ftruncate64]: Remove conditional code.
3348 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3349 [__NR_ftruncate64]: Make code unconditional.
3350 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3352 include <kernel-features.h>.
3353 [!__NR_ftruncate64]: Remove conditional code.
3354 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3355 [__NR_ftruncate64]: Make code unconditional.
3356 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3358 include <kernel-features.h>.
3359 [!__NR_ftruncate64]: Remove conditional code.
3360 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3361 [__NR_ftruncate64]: Make code unconditional.
3362 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3364 * configure.in (libc_cv_fpie): Weaken to a compile test using
3366 * configure: Regenerated.
3368 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3383 2012-05-27 David S. Miller <davem@davemloft.net>
3385 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3387 (__Q_simulate_exceptions): Return void. Change to simulate
3388 exceptions by writing into the %fsr.
3389 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3390 (__Qp_handle_exceptions): Likewise.
3392 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3393 __Qp_handle_exceptions.
3394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3395 __Qp_handle_exceptions.
3396 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3397 as unused and give dummy FP_RND_NEAREST initializer.
3398 (FP_INHIBIT_RESULTS): Define.
3399 (___Q_simulate_exceptions): Update declaration.
3400 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3402 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3403 as unused and give dummy FP_RND_NEAREST initializer.
3404 (__Qp_handle_exceptions): Update declaration.
3405 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3408 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3410 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3411 the temporary FPU control word.
3412 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3413 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3414 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3415 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3416 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3417 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3418 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3419 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3420 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3421 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3422 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3424 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3426 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3429 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3431 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3432 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3433 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3434 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3436 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3437 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3440 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3442 * po/h.po: Update from translation team.
3444 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3446 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3448 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3449 handling of denormals.
3450 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3451 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3452 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3453 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3454 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3455 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3456 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3459 2012-05-26 Marek Polacek <polacek@redhat.com>
3462 * math/libm-test.inc (fma_test): Don't always expect underflow
3465 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3468 * elf/tst-execstack.c: Include stackinfo.h.
3469 (do_test): Adjust test case to ensure that pthread_getattr_np
3470 behaviour remains the same after marking stack executable.
3472 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3474 * sysdeps/unix/sysv/linux/kernel-features.h
3475 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3476 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3478 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3479 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3480 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3482 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3483 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3485 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3487 * configure.in: Define the default includes to being none.
3488 * configure: Regenerated.
3490 2012-05-25 Roland McGrath <roland@hack.frob.com>
3492 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3493 * sysdeps/x86_64/setjmp.S: Likewise.
3494 * sysdeps/i386/bsd-setjmp.S: Likewise.
3495 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3496 * sysdeps/i386/setjmp.S: Likewise.
3497 * sysdeps/i386/__longjmp.S: Likewise.
3498 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3499 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3501 * include/stap-probe.h: New file.
3502 * configure.in: Handle --enable-systemtap.
3503 * configure: Regenerated.
3504 * config.h.in (USE_STAP_PROBE): New #undef.
3505 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3506 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3507 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3509 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3512 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3513 to 2.4.0 where earlier.
3514 * sysdeps/unix/sysv/linux/configure: Regenerated.
3515 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3516 <kernel-features.h>.
3517 [__ASSUME_32BITUIDS]: Make code unconditional.
3518 [!__ASSUME_32BITUIDS]: Remove conditional code.
3519 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3520 <kernel-features.h>.
3521 [__ASSUME_32BITUIDS]: Make code unconditional.
3522 [!__ASSUME_32BITUIDS]: Remove conditional code.
3523 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3524 [__ASSUME_32BITUIDS]: Make code unconditional.
3525 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3526 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3527 <kernel-features.h>.
3528 [__ASSUME_32BITUIDS]: Make code unconditional.
3529 [!__ASSUME_32BITUIDS]: Remove conditional code.
3530 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3531 <kernel-features.h>.
3532 [__ASSUME_32BITUIDS]: Make code unconditional.
3533 [!__ASSUME_32BITUIDS]: Remove conditional code.
3534 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3535 <kernel-features.h>.
3536 [__ASSUME_32BITUIDS]: Make code unconditional.
3537 [!__ASSUME_32BITUIDS]: Remove conditional code.
3538 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3539 <kernel-features.h>.
3540 [__ASSUME_32BITUIDS]: Make code unconditional.
3541 [!__ASSUME_32BITUIDS]: Remove conditional code.
3542 * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.c: Do not include
3551 <kernel-features.h>.
3552 [__ASSUME_32BITUIDS]: Make code unconditional.
3553 [!__ASSUME_32BITUIDS]: Remove conditional code.
3554 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3555 <kernel-features.h>.
3556 [__ASSUME_32BITUIDS]: Make code unconditional.
3557 [!__ASSUME_32BITUIDS]: Remove conditional code.
3558 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3559 <kernel-features.h>.
3560 [__ASSUME_32BITUIDS]: Make code unconditional.
3561 [!__ASSUME_32BITUIDS]: Remove conditional code.
3562 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3563 <kernel-features.h>.
3564 [__ASSUME_32BITUIDS]: Make code unconditional.
3565 [!__ASSUME_32BITUIDS]: Remove conditional code.
3566 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3567 <kernel-features.h>.
3568 [__NR_setresgid] (__setresgid): Do not declare.
3569 [__ASSUME_32BITUIDS]: Make code unconditional.
3570 [!__ASSUME_32BITUIDS]: Remove conditional code.
3571 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3572 <kernel-features.h>.
3573 [__NR_setresuid] (__setresuid): Do not declare.
3574 [__ASSUME_32BITUIDS]: Make code unconditional.
3575 [!__ASSUME_32BITUIDS]: Remove conditional code.
3576 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3577 <kernel-features.h>.
3578 [__ASSUME_32BITUIDS]: Make code unconditional.
3579 [!__ASSUME_32BITUIDS]: Remove conditional code.
3580 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3581 <kernel-features.h>.
3582 [__ASSUME_32BITUIDS]: Make code unconditional.
3583 [!__ASSUME_32BITUIDS]: Remove conditional code.
3584 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3585 <kernel-features.h>.
3586 [__ASSUME_32BITUIDS]: Make code unconditional.
3587 [!__ASSUME_32BITUIDS]: Remove conditional code.
3588 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3589 <kernel-features.h>.
3590 [__ASSUME_32BITUIDS]: Make code unconditional.
3591 [!__ASSUME_32BITUIDS]: Remove conditional code.
3592 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3593 <kernel-features.h>.
3594 [__ASSUME_32BITUIDS]: Make code unconditional.
3595 [!__ASSUME_32BITUIDS]: Remove conditional code.
3596 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3597 <kernel-features.h>.
3598 [__ASSUME_32BITUIDS]: Make code unconditional.
3599 [!__ASSUME_32BITUIDS]: Remove conditional code.
3600 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3601 <kernel-features.h>.
3602 [__ASSUME_32BITUIDS]: Make code unconditional.
3603 [!__ASSUME_32BITUIDS]: Remove conditional code.
3604 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3605 <kernel-features.h>.
3606 [__ASSUME_32BITUIDS]: Make code unconditional.
3607 [!__ASSUME_32BITUIDS]: Remove conditional code.
3608 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3609 <kernel-features.h>.
3610 [__ASSUME_32BITUIDS]: Make code unconditional.
3611 [!__ASSUME_32BITUIDS]: Remove conditional code.
3612 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3613 <kernel-features.h>.
3614 [__ASSUME_32BITUIDS]: Make code unconditional.
3615 [!__ASSUME_32BITUIDS]: Remove conditional code.
3616 * sysdeps/unix/sysv/linux/kernel-features.h
3617 (__ASSUME_SETRESUID_SYSCALL): Remove.
3618 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3619 (__ASSUME_32BITUIDS): Likewise.
3620 (__ASSUME_LDT_WORKS): Likewise.
3621 (__ASSUME_O_DIRECTORY): Likewise.
3622 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3623 architecture but not kernel version.
3624 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3625 (__ASSUME_MMAP2_SYSCALL): Likewise.
3626 (__ASSUME_STAT64_SYSCALL): Likewise.
3627 (__ASSUME_IPC64): Likewise.
3628 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3629 <kernel-features.h>.
3630 [__ASSUME_32BITUIDS]: Make code unconditional.
3631 [!__ASSUME_32BITUIDS]: Remove conditional code.
3632 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3633 <kernel-features.h>.
3634 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3635 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3636 132096]: Remove conditional code.
3637 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3638 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3639 <kernel-features.h>.
3640 [__ASSUME_32BITUIDS]: Make code unconditional.
3641 [!__ASSUME_32BITUIDS]: Remove conditional code.
3642 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3643 <kernel-features.h>.
3644 [__ASSUME_32BITUIDS]: Make code unconditional.
3645 [!__ASSUME_32BITUIDS]: Remove conditional code.
3646 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3647 <kernel-features.h>.
3648 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3650 (__setresgid): Do not declare.
3651 [__ASSUME_32BITUIDS]: Make code unconditional.
3652 [!__ASSUME_32BITUIDS]: Remove conditional code.
3653 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3654 <kernel-features.h>.
3655 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3657 (__setresuid): Do not declare.
3658 [__ASSUME_32BITUIDS]: Make code unconditional.
3659 [!__ASSUME_32BITUIDS]: Remove conditional code.
3660 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3661 <kernel-features.h>.
3662 [__ASSUME_32BITUIDS]: Make code unconditional.
3663 [!__ASSUME_32BITUIDS]: Remove conditional code.
3664 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3665 <kernel-features.h>.
3666 [__ASSUME_32BITUIDS]: Make code unconditional.
3667 [!__ASSUME_32BITUIDS]: Remove conditional code.
3669 2012-05-25 Richard Henderson <rth@twiddle.net>
3671 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3672 dl_hwcap to ifunc resolver.
3673 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3675 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3676 dl_hwcap to ifunc resolver.
3677 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3679 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3682 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3683 for |x| <= 2**-26, not 2**-57.
3684 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3687 2012-05-24 Jeff Law <law@redhat.com>
3689 * stdio-common/Makefile (tests): Add bug25.
3690 * stdio-common/bug25.c: New test.
3692 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3695 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3696 multiple of MALLOC_ALIGNMENT in size.
3697 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3699 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3701 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3703 (FILENAME_MAX): Use macro-int-constant.
3704 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3705 (_IOFBF): Use macro-int-constant.
3708 (SEEK_CUR): Likewise.
3709 (SEEK_END): Likewise.
3710 (SEEK_SET): Likewise.
3711 (TMP_MAX): Likewise.
3712 (EOF): Use macro-int-constant. Require < 0.
3713 (NULL): Use macro-constant. Require == 0.
3714 (stdin): Require type to be FILE *.
3717 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3719 (EXIT_SUCCESS): Likewise.
3720 (NULL): Use macro-constant. Require == 0.
3721 (RAND_MAX): Use macro-int-constant.
3722 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3723 [C99-based standards] (strtof): Require function.
3724 [C99-based standards] (strtold): Likewise.
3725 [C99-based standards] (strtoll): Likewise.
3726 [C99-based standards] (strtoull): Likewise.
3727 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3728 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3729 [ISO || ISO99 || ISO11] (math.h): Likewise.
3730 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3731 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3732 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3734 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3737 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3738 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3739 * intl/dgettext.c (DCGETTEXT): Likewise.
3740 * intl/gettext.c (DCGETTEXT): Likewise.
3741 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3742 * posix/regex_internal.h (gettext): Likewise.
3743 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3745 * include/argz.h (__argz_count_internal)
3746 (__argz_stringify_internal): Remove declaration.
3747 (__argz_count, __argz_stringify): Declare hidden proto.
3748 * intl/dcgettext.c: Remove use of INTDEF.
3749 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3750 * string/argz-stringify.c: Likewise.
3751 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3752 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3753 Declare hidden proto.
3754 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3755 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3756 Declare hidden proto.
3757 * include/stdio.h (__asprintf_internal): Don't declare.
3758 (__asprintf): Don't define as macro. Declare hidden proto.
3759 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3760 (__fsetlocking): Declare hidden proto.
3761 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3762 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3764 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3765 (_IO_setlinebuf): Remove use of INTUSE.
3766 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3767 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3768 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3770 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3771 (_IO_do_flush): Remove use of INTUSE.
3772 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3773 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3774 (_IO_adjust_column, _IO_least_wmarker)
3775 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3776 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3777 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3778 (_IO_default_doallocate, _IO_wdefault_doallocate)
3779 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3780 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3781 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3782 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3783 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3784 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3785 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3786 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3787 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3788 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3789 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3790 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3791 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3793 (_IO_flush_all_internal, _IO_adjust_column_internal)
3794 (_IO_default_uflow_internal, _IO_default_finish_internal)
3795 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3796 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3797 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3798 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3799 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3800 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3801 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3802 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3803 (_IO_file_close_internal, _IO_file_close_it_internal)
3804 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3805 (_IO_file_init_internal, _IO_file_attach_internal)
3806 (_IO_file_fopen_internal, _IO_file_read_internal)
3807 (_IO_file_sync_internal, _IO_file_seek_internal)
3808 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3809 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3810 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3811 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3812 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3813 (_IO_list_all_internal, _IO_link_in_internal)
3814 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3815 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3816 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3817 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3818 (_IO_do_write_internal, _IO_padn_internal)
3819 (_IO_getline_info_internal, _IO_getline_internal)
3820 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3821 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3822 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3823 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3824 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3825 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3826 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3827 with libc_hidden_ver, remove use of INTUSE.
3828 * libio/genops.c: Likewise.
3829 * libio/freopen.c: Likewise.
3830 * libio/freopen64.c: Likewise.
3831 * libio/iofclose.c: Likewise.
3832 * libio/iofdopen.c: Likewise.
3833 * libio/iofflush.c: Likewise.
3834 * libio/iofflush_u.c: Likewise.
3835 * libio/iofgets.c: Likewise.
3836 * libio/iofgets_u.c: Likewise.
3837 * libio/iofopen.c: Likewise.
3838 * libio/iofopncook.c: Likewise.
3839 * libio/iofread.c: Likewise.
3840 * libio/iofread_u.c: Likewise.
3841 * libio/ioftell.c: Likewise.
3842 * libio/iofwrite.c: Likewise.
3843 * libio/iogetline.c: Likewise.
3844 * libio/iogets.c: Likewise.
3845 * libio/iogetwline.c: Likewise.
3846 * libio/iopadn.c: Likewise.
3847 * libio/iopopen.c: Likewise.
3848 * libio/ioseekoff.c: Likewise.
3849 * libio/ioseekpos.c: Likewise.
3850 * libio/iosetbuffer.c: Likewise.
3851 * libio/iosetvbuf.c: Likewise.
3852 * libio/ioungetc.c: Likewise.
3853 * libio/ioungetwc.c: Likewise.
3854 * libio/iovdprintf.c: Likewise.
3855 * libio/iovsprintf.c: Likewise.
3856 * libio/iovsscanf.c: Likewise.
3857 * libio/memstream.c: Likewise.
3858 * libio/obprintf.c: Likewise.
3859 * libio/oldfileops.c: Likewise.
3860 * libio/oldiofclose.c: Likewise.
3861 * libio/oldiofdopen.c: Likewise.
3862 * libio/oldiofopen.c: Likewise.
3863 * libio/oldiopopen.c: Likewise.
3864 * libio/oldstdfiles.c: Likewise.
3865 * libio/putc.c: Likewise.
3866 * libio/setbuf.c: Likewise.
3867 * libio/setlinebuf.c: Likewise.
3868 * libio/stdfiles.c: Likewise.
3869 * libio/strops.c: Likewise.
3870 * libio/vasprintf.c: Likewise.
3871 * libio/vscanf.c: Likewise.
3872 * libio/vsnprintf.c: Likewise.
3873 * libio/vswprintf.c: Likewise.
3874 * libio/wfiledoalloc.c: Likewise.
3875 * libio/wfileops.c: Likewise.
3876 * libio/wgenops.c: Likewise.
3877 * libio/wmemstream.c: Likewise.
3878 * libio/wstrops.c: Likewise.
3879 * libio/__fpurge.c: Likewise.
3880 * libio/__fsetlocking.c: Likewise.
3881 * assert/assert.c: Likewise.
3882 * debug/fgets_chk.c: Likewise.
3883 * debug/fgets_u_chk.c: Likewise.
3884 * debug/fread_chk.c: Likewise.
3885 * debug/fread_u_chk.c: Likewise.
3886 * debug/gets_chk.c: Likewise.
3887 * debug/obprintf_chk.c: Likewise.
3888 * debug/vasprintf_chk.c: Likewise.
3889 * debug/vdprintf_chk.c: Likewise.
3890 * debug/vsnprintf_chk.c: Likewise.
3891 * debug/vsprintf_chk.c: Likewise.
3892 * malloc/mtrace.c: Likewise.
3893 * misc/error.c: Likewise.
3894 * misc/syslog.c: Likewise.
3895 * stdio-common/asprintf.c: Likewise.
3896 * stdio-common/fxprintf.c: Likewise.
3897 * stdio-common/getw.c: Likewise.
3898 * stdio-common/isoc99_fscanf.c: Likewise.
3899 * stdio-common/isoc99_scanf.c: Likewise.
3900 * stdio-common/isoc99_vfscanf.c: Likewise.
3901 * stdio-common/isoc99_vscanf.c: Likewise.
3902 * stdio-common/isoc99_vsscanf.c: Likewise.
3903 * stdio-common/printf-prs.c: Likewise.
3904 * stdio-common/printf_fp.c: Likewise.
3905 * stdio-common/printf_fphex.c: Likewise.
3906 * stdio-common/printf_size.c: Likewise.
3907 * stdio-common/putw.c: Likewise.
3908 * stdio-common/scanf.c: Likewise.
3909 * stdio-common/sprintf.c: Likewise.
3910 * stdio-common/tmpfile.c: Likewise.
3911 * stdio-common/vfprintf.c: Likewise.
3912 * stdio-common/vfscanf.c: Likewise.
3913 * stdlib/strfmon_l.c: Likewise.
3914 * sunrpc/openchild.c: Likewise.
3915 * sunrpc/xdr_stdio.c: Likewise.
3916 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3917 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3919 2012-05-24 Roland McGrath <roland@hack.frob.com>
3921 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3923 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3924 in the third column, to generate for the shared library an IFUNC
3925 that uses _dl_vdso_vsym.
3926 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3927 * Makeconfig (object-suffixes-noshared): New variable.
3929 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3930 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3931 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3932 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3935 * include/sys/time.h (__gettimeofday): Remove macro.
3936 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3937 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3939 (__gettimeofday): Add libc_hidden_def.
3940 (gettimeofday): Add libc_hidden_weak.
3941 * sysdeps/mach/gettimeofday.c: Likewise.
3942 * sysdeps/posix/gettimeofday.c: Likewise.
3943 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3944 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3945 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3946 (__gettimeofday_internal): Remove strong_alias.
3947 (__gettimeofday): Add libc_hidden_def.
3948 (gettimeofday): Add libc_hidden_weak.
3949 * sysdeps/unix/syscalls.list (gettimeofday):
3950 Remove __gettimeofday_internal alias.
3952 2012-05-24 Daniel Jacobowitz <drow@false.org>
3953 H.J. Lu <hongjiu.lu@intel.com>
3956 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3957 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3958 (largebin_index_32_big): New.
3959 (largebin_index): Use it for 16-byte alignment.
3960 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3961 correction with front_misalign.
3963 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3991 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3992 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3994 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3998 * math/libm-test.inc (exp_test): Add test from bug 14036.
3999 (pow_test): Add test from bug 10846.
4001 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4003 (special_function): Do not include flags in test name.
4004 (parse_args): Likewise.
4005 * sysdeps/i386/fpu/libm-test-ulps: Update.
4006 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4007 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4008 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4011 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4013 * math/libm-test.inc ("Philosophy"): Update comment about
4015 (UNDERFLOW_EXCEPTION): New macro.
4016 (UNDERFLOW_EXCEPTION_OK): Likewise.
4017 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4018 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4019 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4020 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4021 (INVALID_EXCEPTION_OK): Update value.
4022 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4023 (OVERFLOW_EXCEPTION_OK): Likewise.
4024 (IGNORE_ZERO_INF_SIGN): Likewise.
4025 (test_exceptions): Handle underflow exceptions.
4026 (acos_test): Update for underflow exception expectations.
4027 (cexp_test): Likewise.
4028 (clog_test): Likewise.
4029 (clog10_test): Likewise.
4030 (csqrt_test): Likewise.
4031 (ctan_test): Likewise.
4032 (ctanh_test): Likewise.
4033 (exp_test): Likewise.
4034 (exp10_test): Likewise.
4035 (exp2_test): Likewise.
4036 (expm1_test): Likewise.
4037 (fma_test): Likewise.
4038 (j0_test): Likewise.
4039 (jn_test): Likewise.
4040 (nexttoward_test): Likewise.
4041 (pow_test): Likewise.
4042 (scalbn_test): Likewise.
4043 (scalbln_test): Likewise.
4044 (tan_test): Likewise.
4045 (y1_test): Likewise.
4046 * sysdeps/i386/fpu/libm-test-ulps: Update.
4047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4049 2012-05-23 David S. Miller <davem@davemloft.net>
4051 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4052 (__libc_sigaction): Remove unused local variables.
4054 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4056 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4058 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4060 mktime: avoid signed integer overflow
4061 * time/mktime.c (__mktime_internal): Do not mishandle the case
4062 where diff == INT_MIN.
4064 mktime: simplify computation of average
4065 * time/mktime.c (ranged_convert): Use new time_t_avg function
4066 instead of rolling our own (probably-slower) code.
4068 mktime: do not assume signed right shift propagates sign bit
4069 * time/mktime.c (isdst_differ): New static function.
4070 (__mktime_internal): No need to normalize tm_isdst now.
4071 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4074 mktime: merge another wrapv change from gnulib
4075 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4076 from some compilers.
4078 mktime: remove incorrect attempt at unusual arithmetics
4079 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4080 The code didn't really work on such machines anyway.
4081 (TYPE_MINIMUM): Assume two's complement.
4082 (twos_complement_arithmetic): Verify that long_int and time_t
4083 are two's complement (or unsigned, in the latter case).
4085 mktime: check signed shifts on long_int and time_t, too
4086 * time/mktime.c (SHR): Check that shifts work as desired
4087 on the types long_int and time_t too, as SHR is used on
4090 mktime: do not assume 'long' is wide enough
4091 * time/mktime.c (verify): Move decl up.
4092 (long_int): New type.
4093 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4094 to remove assumption in the code that 'long' is wide enough to
4095 store year values. This assumption is not true on x32 and on
4096 some non-glibc platforms.
4098 mktime: merge wrapv change from gnulib
4099 * time/mktime.c (WRAPV): New macro.
4100 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4101 (guess_time_tm, __mktime_internal): Do not assume that signed
4102 integer overflow wraps around; modern compilers generate code
4103 where this assumption is no longer valid.
4105 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4107 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4108 Replace "jmp L(pseudo_end)" with "ret".
4109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4112 2012-05-23 Andreas Jaeger <aj@suse.de>
4114 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4115 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4117 2012-05-23 Andreas Jaeger <aj@suse.de>
4118 Maximilian Attems <max@stro.at>
4120 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4123 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4125 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4126 code so that pseudo_end is just ret and the stack pointer is
4127 correct also for static library in error case.
4129 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4131 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4132 move to syscalls.list.
4133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4138 * manual/install.texi (Running make install): Do not mention Linux
4139 kernel version for which pt_chown is not needed.
4140 (Linux): Do not mention problems with nscd with 2.0 kernels.
4141 * INSTALL: Regenerated.
4143 2012-05-23 Andreas Jaeger <aj@suse.de>
4145 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4146 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4148 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4149 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4150 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4151 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4152 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4153 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4154 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4155 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4156 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4157 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4158 * sysdeps/unix/sysv/linux/bits/in.h
4159 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4161 2012-05-22 Roland McGrath <roland@hack.frob.com>
4163 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4164 (PREPARE_VERSION): Just use assert instead, it will be elided
4165 under [NDEBUG] anyway.
4167 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4169 * sysdeps/unix/sysv/linux/Makefile: Include
4170 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4171 (sysdep_routines): Remove sysctl.
4172 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4173 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4174 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4175 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4176 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4178 2012-05-22 Andreas Jaeger <aj@suse.de>
4180 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4181 that pseudo_end is just ret and the stack pointer is correct also
4182 for static library in error case.
4184 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4187 * nss/nsswitch.c (defconfig_entries): New variable.
4188 (__nss_database_lookup): Don't leak defconfig entries.
4189 (nss_parse_service_list): Don't leak on error paths.
4190 (free_database_entries): New function.
4191 (free_defconfig): New function.
4192 (free_mem): Move common code to free_database_entries.
4194 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4196 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4198 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4200 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4201 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4202 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4204 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4205 (INTERNAL_SYSCALL_TYPES): Likewise.
4206 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4207 (LOAD_REGS_TYPES_[1-6]): Likewise.
4208 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4209 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4211 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4213 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4214 copysignl for GLIBC_2_0.
4215 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4216 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4217 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4218 logbl for GLIBC_2_0.
4219 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4220 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4222 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4224 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4225 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4227 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4230 * time/mktime.c: Update copyright years.
4232 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4234 mktime: merge comment-quoting-style change from gnulib
4235 * time/mktime.c: Quote 'like this' in comments.
4236 The GNU coding standards suggest that we no longer quote `like this',
4237 as "`" and "'" are typically rendered asymmetrically nowadays.
4238 The typical gnulib style is to quote 'like this' when quoting
4239 code, and "like this" when quoting English.
4241 * time/mktime.c (compile-command): Add "-I.".
4243 mktime: merge mktime-internal.h change from gnulib
4244 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4246 mktime: merge time_r change from gnulib
4247 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4249 mktime: merge DEBUG change from gnulib
4250 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4251 case system <time.h> has a #define.
4253 mktime: merge <sys/types.h> change from gnulib
4254 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4255 since <time.t> is now guaranteed to define time_t.
4257 mktime: merge HAVE_CONFIG_H change from gnulib
4258 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4260 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4262 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4265 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4267 (struct rusage): Use anonymous union to pad each field to
4270 2012-05-21 David S. Miller <davem@davemloft.net>
4272 * Makefules (o-iterator): Remove .s cases.
4273 (compile-command.s): Delete.
4274 (COMPILE.s): Delete.
4275 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4277 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4279 * configure.in (libc_cv_predef_stack_protector): Only consider
4280 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4281 * configure: Regenerated.
4283 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4285 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4286 New macro. Use R*LP on int and pointer.
4287 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4288 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4289 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4290 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4292 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4293 [__WORDSIZE_TIME64_COMPAT32] instead of
4294 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4295 (struct utmp): Likewise.
4296 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4297 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4299 (__WORDSIZE_TIME64_COMPAT32): This.
4300 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4301 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4302 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4303 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4304 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4305 (__WORDSIZE_TIME64_COMPAT32): New macro.
4307 2012-05-21 Andreas Jaeger <aj@suse.de>
4309 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4310 only if [SHARED]. Add prototype for __wcschr_ia32.
4312 2012-05-21 Roland McGrath <roland@hack.frob.com>
4314 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4315 of %rbp unmolested in the jmp_buf while mangling the low bits.
4316 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4317 unmolested high bits of %rbp while demangling the low bits.
4318 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4320 2012-05-21 Andreas Jaeger <aj@suse.de>
4322 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4323 * sunrpc/svc_simple.c: Use it for registerrpc.
4324 * sunrpc/xcrypt.c: Use it for passwd2des.
4326 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4328 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4330 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4331 Don't define if [__SYSCALL_WORDSIZE != 32].
4332 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4335 2012-05-21 Bruno Haible <bruno@clisp.org>
4336 Andreas Jaeger <aj@suse.de>
4338 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4339 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4340 inptr and inend for must_buffer_ch.
4341 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4342 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4343 * stdio-common/Makefile (tests): Remove bug15.
4344 (bug15-ENV): Remove macro.
4345 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4348 2012-05-19 Andreas Jaeger <aj@suse.de>
4349 Roland McGrath <roland@hack.frob.com>
4351 * manual/contrib.texi: Completely rewritten. It contains now an
4352 alphabetical list of contributors and their contributions.
4354 2012-05-21 Richard Henderson <rth@twiddle.net>
4356 * misc/getauxval.c (__getauxval): Use unsigned long int.
4357 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4358 (getauxval): Use unsigned long int.
4360 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4362 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4364 2012-05-21 Roland McGrath <roland@hack.frob.com>
4366 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4367 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4368 __alignof__ (long double).
4370 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4374 2012-05-20 Richard Henderson <rth@twiddle.net>
4376 * misc/getauxval.c: New file.
4377 * misc/sys/auxv.h: New file.
4378 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4379 (routines): Add getauxval.
4380 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4381 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4382 * elf/dl-sysdep.c (_dl_auxv): Remove.
4383 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4384 * elf/dl-support.c (_dl_auxv): New variable.
4385 (_dl_aux_init): Initialize it.
4386 * manual/startup.texi (Auxiliary Vector): New node.
4387 * sysdeps/generic/bits/hwcap.h: New file.
4388 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4389 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4390 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4391 * sysdeps/sparc/sysdep.h: ... here. Include it.
4392 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4393 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4399 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4405 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4409 2012-05-19 David S. Miller <davem@davemloft.net>
4411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4413 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4416 * math/s_ccosh.c: Include <float.h>
4417 (__ccosh): Avoid internal overflow calculating sinh and cosh
4418 values before multiplying by sin and cos values.
4419 * math/s_ccoshf.c: Likewise.
4420 * math/s_ccoshl.c: Likewise.
4421 * math/s_csin.c: Likewise.
4422 * math/s_csinf.c: Likewise.
4423 * math/s_csinl.c: Likewise.
4424 * math/s_csinh.c: Likewise.
4425 * math/s_csinhf.c: Likewise.
4426 * math/s_csinhl.c: Likewise.
4427 * math/libm-test.inc (ccos_test): Add more tests.
4428 (ccosh_test): Likewise.
4429 (csin_test): Likewise.
4430 (csinh_test): Likewise.
4431 * sysdeps/i386/fpu/libm-test-ulps: Update.
4432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4434 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4436 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4437 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4439 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4441 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4443 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4444 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4445 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4446 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4447 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4448 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4449 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4450 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4451 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4452 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4453 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4454 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4455 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4456 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4457 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4458 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4459 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4460 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4461 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4462 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4463 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4464 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4465 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4466 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4467 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4468 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4469 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4470 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4471 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4472 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4473 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4475 2012-05-18 Andreas Jaeger <aj@suse.de>
4477 * csu/.gitignore: Delete.
4479 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4481 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4482 (timex): Use __syscall_slong_t.
4484 2012-05-18 Andreas Jaeger <aj@suse.de>
4485 Carlos O'Donell <carlos_odonell@mentor.com>
4487 * manual/install.texi (Configuring and compiling): Update
4488 description about files modified in the source directory.
4489 * INSTALL: Regenerated.
4491 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4493 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4494 value. Use "or" to set return value to -1.
4495 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4496 negate return value.
4498 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4500 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4501 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4502 failure if the compiler has Graphite support disabled.
4503 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4505 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4506 CFLAGS-memmove.c): Likewise.
4507 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4510 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4512 * sysdeps/x86_64/x32/_itoa.h: New file.
4514 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4515 getdents system call only if kernel and user dirents have the
4516 same d_ino and d_off.
4518 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4519 LLONG_MAX != LONG_MAX.
4520 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4521 (_fitoa_word): Likewise.
4523 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4525 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4526 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4527 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4529 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4530 include <bits/wordsize.h>. Check __x86_64__ instead of
4532 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4533 if __x86_64__ is defined. Use anonymous union on fpstate.
4535 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4538 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4540 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4541 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4542 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4543 Refer to _rtld_local_ro instead of _rtld_global_ro.
4544 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4546 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4548 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4550 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4551 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4552 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4554 * sysdeps/powerpc/powerpc32/dl-machine.c
4555 (__elf_machine_runtime_setup) [PROF]: Don't reference
4558 2012-05-18 Andreas Jaeger <aj@suse.de>
4560 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4561 function only available for GCCs before 3.4 since GCC 3.4
4562 introduced a builtin.
4564 (llrintf): Likewise.
4572 (nearbyint): Likewise.
4573 (nearbyintf): Likewise.
4579 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4581 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4582 on both fields and cast pointer to __syscall_ulong_t.
4584 * bits/types.h (__fsword_t): New type.
4585 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4586 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4587 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4588 (__FSWORD_T_TYPE): Likewise.
4589 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4590 (__FSWORD_T_TYPE): Likewise.
4591 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4592 (__FSWORD_T_TYPE): Likewise.
4593 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4594 (__FSWORD_T_TYPE): Likewise.
4595 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4596 __SWORD_TYPE with __fsword_t.
4597 (statfs64): Likewise.
4599 2012-05-17 David S. Miller <davem@davemloft.net>
4601 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4603 2012-05-17 Andreas Jaeger <aj@suse.de>
4605 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4608 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4610 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4612 2012-05-17 Andreas Jaeger <aj@suse.de>
4614 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4617 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4619 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4621 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4623 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4624 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4626 2012-05-17 Andreas Jaeger <aj@suse.de>
4627 Carlos O'Donell <carlos_odonell@mentor.com>
4630 * sysdeps/x86_64/multiarch/init-arch.h
4631 (bit_YMM_Usable): Rename to...
4632 (bit_AVX_Usable): ... this.
4633 (bit_FMA4_Usable): New macro.
4634 (bit_XMM_state): New macro.
4635 (bit_YMM_state): New macro.
4636 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4637 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4638 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4639 (CPUID_OSXSAVE): New macro.
4640 (CPUID_AVX): New macro.
4641 (CPUID_FMA4): New macro.
4642 (index_YMM_Usable): Rename to...
4643 (index_AVX_Usable): ... this.
4644 (HAS_AVX): Use HAS_ARCH_FEATURE.
4645 (HAS_FMA4): Likewise.
4646 (HAS_YMM_USABLE): Remove.
4647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4648 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4650 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4651 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4652 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4653 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4654 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4656 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4658 * math/libm-test.c: Support platforms without multiple rounding modes.
4659 * math/bug-nextafter.c: Support platforms without FP exceptions.
4660 * math/bug-nexttoward.c: Likewise.
4661 * math/test-fenv.c: Likewise.
4662 * math/test-misc.c: Likewise.
4663 * stdlib/bug-getcontext.c: Likewise.
4665 2012-05-17 Andreas Jaeger <aj@suse.de>
4667 * manual/examples/search.c (critter_cmp): Change signature to
4669 * manual/string.texi (Collation Functions): Likewise.
4671 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4673 * bits/types.h: Fold copyright years.
4674 * bits/typesizes.h: Likewise.
4675 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4676 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4677 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4678 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4679 * time/time.h: Likewise.
4681 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4684 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4685 in instead of returning them. Return void.
4686 (__libc_mallinfo): Accumulate over all arenas.
4687 (__malloc_stats): Adjust for change in int_mallinfo interface.
4689 2012-05-16 Roland McGrath <roland@hack.frob.com>
4692 * configure.in (NM): Add AC_CHECK_TOOL for it.
4693 (libc_extra_cflags): New substituted variable.
4694 Check for -fstack-protector being used implicitly.
4695 * configure: Regenerated.
4696 * config.make.in (config-extra-cflags): New variable,
4697 gets @libc_extra_cflags@.
4698 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4701 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4702 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4703 * configure: Regenerated.
4704 * config.make.in (CPPUNDEFS): New substituted variable.
4705 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4706 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4707 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4709 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4711 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4712 (mq_attr): Use __syscall_slong_t.
4714 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4716 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4717 Check __x86_64__ instead of __WORDSIZE.
4718 (_STAT_VER_LINUX): Likewise.
4719 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4720 __syscall_ulong_t and __syscall_slong_t.
4723 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4725 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4727 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4729 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4731 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4733 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4736 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4737 include <bits/wordsize.h>. Check __x86_64__ instead of
4739 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4741 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4743 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4744 include <bits/wordsize.h>. Check __x86_64__ instead of
4746 (user_regs_struct): Use "__extension__ unsigned long long"
4747 instead of "unsigned long" if __x86_64__ is defined.
4748 (user): Likewise. Pad after pointer field if __ILP32__ is
4751 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4753 * configure.in (makeinfo): Require version 4.5 or later. Allow
4755 * configure: Regenerated.
4756 * manual/install.texi (texinfo): Increase version requirement to
4758 * INSTALL: Regenerated.
4760 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4762 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4764 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4766 * sysdeps/x86_64/x32/ffs.c: New file.
4768 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4770 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4771 defined. Use __syscall_ulong_t.
4772 (shminfo): Use __syscall_ulong_t.
4773 (shm_info): Likewise.
4775 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4778 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4780 (msgqnum_t): Use __syscall_ulong_t.
4781 (msglen_t): Likewise.
4782 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4785 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4786 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4788 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4790 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4791 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4793 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4796 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4797 include <bits/wordsize.h>. Check __x86_64__ instead of
4800 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4801 "unsigned long long int" if __x86_64__ is defined.
4802 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4804 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4805 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4806 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4808 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4810 (GET_PC): Cast to uintptr_t first.
4811 (GET_FRAME): Likewise.
4812 (GET_STACK): Likewise.
4814 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4815 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4816 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4817 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4818 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4819 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4820 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4821 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4822 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4823 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4824 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4825 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4826 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4827 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4828 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4829 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4830 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4831 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4832 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4833 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4834 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4835 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4836 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4837 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4838 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4839 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4840 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4841 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4842 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4844 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4846 * Makerules (+depfiles): Also collect depfiles from .oS in
4848 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4849 .oS, $(libnldbl-routines)).
4851 * Makerules (native-compile-mkdep-flags): Define.
4852 * sunrpc/Makefile (extra-objs): Add $(addprefix
4853 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4854 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4855 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4856 calling $(make-target-directory).
4858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4860 * bits/types.h (__snseconds_t): Removed.
4861 * time/time.h (struct timespec): Replace __snseconds_t with
4863 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4864 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4866 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4867 (__SNSECONDS_T_TYPE): Likewise.
4868 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4869 (__SNSECONDS_T_TYPE): Likewise.
4870 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4871 (__SNSECONDS_T_TYPE): Likewise.
4873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4875 * sysdeps/mach/hurd/bits/typesizes.h
4876 (__SYSCALL_SLONG_TYPE): New macro.
4877 (__SYSCALL_ULONG_TYPE): Likewise.
4879 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4881 * bits/types.h (__syscall_slong_t): New type.
4882 (__syscall_ulong_t): Likewise.
4884 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4885 (__SYSCALL_ULONG_TYPE): Likewise.
4886 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4887 (__SYSCALL_SLONG_TYPE): Likewise.
4888 (__SYSCALL_ULONG_TYPE): Likewise.
4889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4890 (__SYSCALL_SLONG_TYPE): Likewise.
4891 (__SYSCALL_ULONG_TYPE): Likewise.
4892 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4893 (__SYSCALL_SLONG_TYPE): Likewise.
4894 (__SYSCALL_ULONG_TYPE): Likewise.
4896 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4898 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4899 Add sigaltstack-offsets.sym.
4900 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4901 <sigaltstack-offsets.h>.
4902 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4903 longjmp_msg pointer.
4904 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4905 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4907 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4909 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4911 * elf/stackguard-macros.h: Remove file.
4912 * sysdeps/generic/stackguard-macros.h: New file.
4913 * sysdeps/i386/stackguard-macros.h: Likewise.
4914 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4915 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4916 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4917 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4918 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4919 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4920 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4921 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4922 <elf/stackguard-macros.h>.
4925 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4926 __aligned__ in attribute.
4927 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4928 (gregset_t): Likewise.
4930 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4932 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4933 * sysdeps/x86_64/64/Implies-after: Here. New file.
4934 * sysdeps/x86_64/x32/Implies-after: New file.
4936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4938 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4939 and access return value for _dl_profile_fixup. Use R10_LP to
4942 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4944 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4946 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4948 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4949 * sysdeps/x86_64/x32/sysdep.h: New file.
4951 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4953 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4954 * sysdeps/x86_64/setjmp.S: Likewise.
4956 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4958 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4959 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4960 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4961 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4962 remove unused global constant.
4964 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4966 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4967 include of <not-cancel.h>.
4969 2012-05-15 Roland McGrath <roland@hack.frob.com>
4971 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4973 2012-05-15 Jeff Law <law@redhat.com>
4974 Andreas Jaeger <aj@suse.de>
4977 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4979 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4980 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4981 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4982 code changing __hst_map_handle.map.
4984 2012-05-15 Roland McGrath <roland@hack.frob.com>
4986 * configure.in (sysnames): Look for Implies-before and Implies-after
4988 * configure: Regenerated.
4990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4992 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4993 8-byte data alignment with LP_SIZE alignment.
4995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4997 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5000 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5002 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5006 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5007 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5008 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5010 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5012 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5014 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5015 (stackinfo_sub_sp): Likewise.
5017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5019 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5024 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5029 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5034 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5036 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5038 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5039 into R11_LP and load __x86_64_shared_cache_size_half into
5042 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5044 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5047 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5049 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5051 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5053 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5055 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5056 powerpc32/power7/fpu/s_logb.c via #include.
5057 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5058 powerpc32/power7/fpu/s_logbf.c via #include.
5059 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5060 powerpc32/power7/fpu/s_logbl.c via #include.
5062 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5064 * README.libm: Remove file.
5066 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5068 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5069 count for x32. Use R*_LP and omit operand-size suffix.
5071 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5073 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5074 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5075 * sysdeps/x86_64/x32/shlib-versions: New file.
5077 2012-05-14 Roland McGrath <roland@hack.frob.com>
5079 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5080 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5081 Use _dl_fatal_printf instead.
5083 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5085 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5086 set if not set by the user. Do not allow for being unset.
5087 * sysdeps/unix/sysv/linux/configure: Regenerated.
5089 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5091 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5092 the `q' suffix from lea and replace .quad with ASM_ADDR.
5094 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5096 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5097 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5099 (PTR_DEMANGLE): Likewise.
5101 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5103 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5105 (ASM_ADDR): Likewise.
5123 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5125 * sysdeps/x86_64/x32/dl-machine.h: New file.
5127 2012-05-14 Andreas Jaeger <aj@suse.de>
5129 * manual/Makefile (subdir): Remove export of subdir.
5130 (all): Remove target.
5131 (.PHONY): Remove all from list.
5132 (mkinstalldirs): Remove.
5133 (.PHONY): Remove installdirs from list.
5134 ($(inst_infodir)/libc.info): Use make-target-directory.
5135 (installdirs): Remove.
5137 (glibc-targets): Remove.
5140 ($(objpfx)stubs ../po/manual.pot): Remove.
5141 ($(objpfx)stamp%): Remove.
5142 (make-target-directory): Remove.
5143 (subdir_install): Remove.
5151 * manual/.gitignore: Remove, it's not needed anymore.
5152 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5154 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5156 (texis): Renamed to $(objpfx)texis.
5157 (texis-path): New, contains path to generated files.
5158 (chapters.%): Use texis-path for complete path, add extra argument
5160 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5161 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5162 (summary,texi, stamp-summary): Use complete path of
5163 files. Generate files in build dir.
5164 (dir-add.texi): Build in build dir.
5165 (libm-err.texi,stamp-libm-err): Likewise.
5166 (version.texi, stamp-version): Likewise.
5167 (.%c.texi): Likewise.
5168 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5169 (mostlyclean): Remove target.
5170 (realclean): Remove target.
5171 (generated): Add new variable with contents from mostlyclean and
5172 realclean, remove entries duplicated in common-mostlyclean, add
5173 stamp-libm-err and stamp-version.
5174 (generated-dirs): Add libc directory.
5175 ($(inst_infodir)/libc.info): Install files from build dir.
5177 * manual/install.texi (Configuring and compiling): Adjust since
5178 the info files are not part of the tar ball anymore.
5180 2012-05-14 Andreas Jaeger <aj@suse.de>
5182 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5185 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5188 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5189 to 2.2.0 where earlier.
5190 * sysdeps/unix/sysv/linux/configure: Regenerated.
5191 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5192 Remove conditional code.
5193 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5194 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5195 Remove conditional code.
5196 [!__NR_lchown]: Likewise.
5197 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5198 [__NR_lchown]: Likewise.
5199 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5200 comment referencing __ASSUME_LCHOWN_SYSCALL.
5201 * sysdeps/unix/sysv/linux/i386/sigaction.c
5202 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5203 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5204 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5205 Remove conditional code.
5206 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5207 (__protocol_available): Remove #if 0 code.
5208 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5210 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5211 * sysdeps/unix/sysv/linux/kernel-features.h
5212 (__ASSUME_GETCWD_SYSCALL): Don't define.
5213 (__ASSUME_REALTIME_SIGNALS): Likewise.
5214 (__ASSUME_PREAD_SYSCALL): Likewise.
5215 (__ASSUME_PWRITE_SYSCALL): Likewise.
5216 (__ASSUME_POLL_SYSCALL): Likewise.
5217 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5218 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5220 (__ASSUME_SIOCGIFNAME): Don't define.
5221 (__ASSUME_MSG_NOSIGNAL): Likewise.
5222 (__ASSUME_SENDFILE): Define unconditionally.
5223 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5224 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5226 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5227 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5228 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5229 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5230 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5231 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5232 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5234 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5235 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5237 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5238 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5240 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5241 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5243 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5244 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5246 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5247 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5249 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5250 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5252 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5255 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5256 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5257 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5258 Remove conditional code.
5259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5260 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5261 Remove conditional code.
5262 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5263 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5264 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5265 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5266 Remove conditional code.
5267 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5268 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5269 Remove conditional code.
5270 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5271 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5272 Remove conditional code.
5273 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5274 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5275 Remove conditional code.
5276 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5277 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5278 Remove conditional code.
5279 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5280 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5281 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5282 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5283 * sysdeps/unix/sysv/linux/sigaction.c
5284 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5285 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5286 * sysdeps/unix/sysv/linux/sigpending.c
5287 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5288 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5289 * sysdeps/unix/sysv/linux/sigprocmask.c
5290 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5291 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5292 * sysdeps/unix/sysv/linux/sigsuspend.c
5293 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5294 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5295 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5296 (__libc_missing_rt_sigs): Remove.
5297 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5298 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5299 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5300 Remove conditional code.
5301 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5302 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5304 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5305 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5306 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5307 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5309 2012-05-14 Andreas Jaeger <aj@suse.de>
5311 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5312 it's not used in glibc.
5313 (__coshm1): Likewise.
5314 (__acosh1p): Likewise.
5317 * manual/string.texi (Copying and Concatenation): Add missing
5318 variable in concat example.
5319 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5321 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5324 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5325 __builtin_clzl with __builtin_clzll.
5327 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5330 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5333 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5335 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5336 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5337 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5338 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5340 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5342 * NEWS: Update ia64 info.
5344 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5346 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5349 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5351 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5352 * sysdeps/unix/syscalls.list (dup3): Likewise.
5353 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5354 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5356 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5358 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5359 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5361 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5363 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5365 (TLS_IE): Use mov/add instead of movq/addq to load thread
5367 (TLS_GD_PREFIX): New.
5370 2012-05-11 David S. Miller <davem@davemloft.net>
5372 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5373 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5374 (_FPU_SETCW): Likewise.
5376 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5378 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5381 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5384 * iconvdata/gb18030.c: Update tables.
5385 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5386 characters specially.
5387 (BODY for TO_LOOP): Add encoding of missing ranges.
5389 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5392 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5393 * sysdeps/mach/hurd/dup3.c: Likewise.
5394 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5395 * sysdeps/powerpc/memmove.c:: Likewise.
5397 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5399 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5400 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5402 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5404 * elf/elf.h (R_X86_64_RELATIVE64): New.
5405 (R_X86_64_NUM): Updated.
5406 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5407 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5408 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5409 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5410 tst-quad1pie tst-quad2pie
5411 (modules-names): Add tst-quadmod1 tst-quadmod2.
5412 ($(objpfx)tst-quad1): New dependency.
5413 ($(objpfx)tst-quad2): Likewise.
5414 ($(objpfx)tst-quad1pie): Likewise.
5415 ($(objpfx)tst-quad2pie): Likewise.
5416 * sysdeps/x86_64/tst-quad1.c: New file.
5417 * sysdeps/x86_64/tst-quad1pie.c: New file.
5418 * sysdeps/x86_64/tst-quad2.c: Likewise.
5419 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5420 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5421 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5422 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5423 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5425 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5427 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5428 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5429 * streams/stropts.h (t_scalar_t): Define type.
5431 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5432 (_PATH_PRESERVE): Set to "/var/lib".
5433 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5435 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5438 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5439 if __dir_mkfile succeeded.
5441 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5442 checking for _hurd_dtablesize. Unlock it right after having
5443 finished _hurd_dtable allocation.
5445 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5447 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5448 * sysdeps/mach/hurd/configure: Regenerated.
5449 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5450 special-casing to...
5451 * sysdeps/gnu/configure.in: ... this new file.
5452 * sysdeps/unix/sysv/linux/configure: Regenerated.
5453 * sysdeps/gnu/configure: New generated file.
5455 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5456 for Linux: use nsec instead of usec, as well as:
5457 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5458 members of type struct timespec.
5459 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5461 (struct stat64): Likewise.
5462 (_STATBUF_ST_NSEC): New macro.
5463 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5465 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5466 __strtoul_internal rather than strtoul.
5468 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5470 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5473 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5475 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5476 which preserves existing values.
5477 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5479 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5481 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5482 TIMEOUT values. Return EINVAL for NFDS values either negative or
5483 greater than FD_SETSIZE.
5485 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5487 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5488 allocated, call __vm_protect to finish enabling the existing space, and
5489 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5490 allocate the remainder.
5492 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5494 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5495 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5497 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5499 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5500 sysdeps/mach/hurd/readlink.c.
5502 * posix/tst-sysconf.c (posix_options): Only use
5503 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5504 _POSIX_SYNCHRONIZED_IO when they are defined
5505 * sysdeps/mach/hurd/bits/posix_opt.h:
5506 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5507 (_XOPEN_REALTIME): Undefine macro.
5508 (_XOPEN_REALTIME_THREADS): Undefine macro.
5509 (_XOPEN_SHM): Undefine macro.
5510 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5512 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5514 (_POSIX_ASYNC_IO): Undefine macro.
5515 (_POSIX_PRIORITIZED_IO): Undefine macro.
5516 (_POSIX_SPIN_LOCKS): Define macro to -1.
5518 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5519 SA_NODEFER, SA_RESETHAND.
5520 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5521 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5524 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5526 * elf/Makefile (pldd-modules): Define unconditionally.
5528 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5530 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5532 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5534 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5535 Return ENOENT when name is empty.
5536 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5538 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5540 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5542 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5544 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5546 Fix mlock in all cases except non-readable pages.
5547 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5548 instead of VM_PROT_ALL as parameter to __vm_wire function.
5550 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5551 (__mkdir): When path is `/', just fail with EEXIST.
5552 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5554 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5556 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5557 <sys/uio.h> (for writev).
5558 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5559 and <sys/param.h> (for MIN).
5561 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5563 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5564 REQUESTED_TIME. Properly set the remaining time and return EINTR
5567 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5569 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5570 Depend on against $(link-rpcuserlibs).
5572 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5574 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5575 (__libc_stack_end): Do not use attribute_relro.
5576 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5577 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5578 to libthread-provided value.
5579 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5582 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5585 * bits/libc-lock.h (__libc_once_get): New macro.
5586 * sysdeps/mach/bits/libc-lock.h: Likewise.
5587 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5588 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5589 instead of using implementation details.
5591 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5592 * libio/freopen.c: Likewise.
5593 * libio/freopen64.c: Likewise.
5594 * misc/syslog.c: Likewise.
5595 * nscd/connections.c: Likewise.
5596 * nscd/netgroupcache.c: Likewise.
5597 * sysdeps/posix/getcwd.c: Likewise.
5599 2012-05-10 Roland McGrath <roland@hack.frob.com>
5601 * math/w_ilogbf.c: Add #include <limits.h>.
5603 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5605 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5606 path instead of returning without unlocking.
5608 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5609 immediate-write ioctls.
5610 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5612 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5614 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5615 __builtin_frame_address instead of making assumptions about the
5616 location of the return address relative to DATA. Force early load of
5618 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5619 __builtin_frame_address.
5622 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5623 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5624 implement dup3 and do some further code clean-ups.
5625 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5626 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5628 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5630 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5632 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5633 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5634 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5635 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5636 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5639 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5640 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5641 when handler == SIG_ERR, not when handler != SIG_ERR.
5643 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5645 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5646 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5649 accept4 for GNU Hurd.
5650 * include/sys/socket.h (__libc_accept4): New prototype.
5651 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5652 to implement __libc_accept4.
5653 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5655 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5657 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5658 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5659 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5662 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5664 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5666 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5668 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5669 assertion on O_CLOEXEC flag.
5670 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5671 * hurd/intern-fd.c: Likewise.
5672 * hurd/port2fd.c: Likewise.
5674 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5677 * bits/in.h (IPV6_PKTINFO): Define new macro.
5678 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5680 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5685 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5686 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5687 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5688 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5689 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5690 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5691 * math/libm-test.inc (logb_test) : Additional logb tests.
5693 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5694 Andreas Jaeger <aj@suse.de>
5696 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5697 * configure: Regenerated.
5698 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5699 * config.make.in (link-obsolete-rpc): New substituted variable.
5700 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5701 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5702 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5703 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5704 so that libc.a contains the symbols.
5705 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5706 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5707 * sunrpc/auth_none.c: Likewise.
5708 * sunrpc/auth_unix.c: Likewise.
5709 * sunrpc/authdes_prot.c: Likewise.
5710 * sunrpc/authuxprot.c: Likewise.
5711 * sunrpc/clnt_gen.c: Likewise.
5712 * sunrpc/clnt_perr.c: Likewise.
5713 * sunrpc/clnt_raw.c: Likewise.
5714 * sunrpc/clnt_simp.c: Likewise.
5715 * sunrpc/clnt_tcp.c: Likewise.
5716 * sunrpc/clnt_udp.c: Likewise.
5717 * sunrpc/clnt_unix.c: Likewise.
5718 * sunrpc/des_crypt.c: Likewise.
5719 * sunrpc/des_soft.c: Likewise.
5720 * sunrpc/get_myaddr.c: Likewise.
5721 * sunrpc/key_call.c: Likewise.
5722 * sunrpc/key_prot.c: Likewise.
5723 * sunrpc/netname.c: Likewise.
5724 * sunrpc/pm_getmaps.c: Likewise.
5725 * sunrpc/pm_getport.c: Likewise.
5726 * sunrpc/pmap_clnt.c: Likewise.
5727 * sunrpc/pmap_prot.c: Likewise.
5728 * sunrpc/pmap_prot2.c: Likewise.
5729 * sunrpc/pmap_rmt.c: Likewise.
5730 * sunrpc/publickey.c: Likewise.
5731 * sunrpc/rpc_cmsg.c: Likewise.
5732 * sunrpc/rpc_common.c: Likewise.
5733 * sunrpc/rpc_dtable.c: Likewise.
5734 * sunrpc/rpc_prot.c: Likewise.
5735 * sunrpc/rpc_thread.c: Likewise.
5736 * sunrpc/rtime.c: Likewise.
5737 * sunrpc/svc.c: Likewise.
5738 * sunrpc/svc_auth.c: Likewise.
5739 * sunrpc/svc_raw.c: Likewise.
5740 * sunrpc/svc_run.c: Likewise.
5741 * sunrpc/svc_tcp.c: Likewise.
5742 * sunrpc/svc_udp.c: Likewise.
5743 * sunrpc/svc_unix.c: Likewise.
5744 * sunrpc/svcauth_des.c: Likewise.
5745 * sunrpc/xcrypt.c: Likewise.
5746 * sunrpc/xdr.c: Likewise.
5747 * sunrpc/xdr_array.c: Likewise.
5748 * sunrpc/xdr_float.c: Likewise.
5749 * sunrpc/xdr_intXX_t.c: Likewise.
5750 * sunrpc/xdr_mem.c: Likewise.
5751 * sunrpc/xdr_rec.c: Likewise.
5752 * sunrpc/xdr_ref.c: Likewise.
5753 * sunrpc/xdr_sizeof.c: Likewise.
5754 * sunrpc/xdr_stdio.c: Likewise.
5756 2012-05-10 Roland McGrath <roland@hack.frob.com>
5758 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5759 change. Update copyright years.
5761 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5763 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5765 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5766 Joseph Myers <joseph@codesourcery.com>
5767 Paul Pluzhnikov <ppluzhnikov@google.com>
5770 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5772 [cross-compiling] (extra-libs): Likewise.
5773 [cross-compiling] (extra-libs-others): Likewise.
5774 [cross-compiling] (librpcsvc-routines): Likewise.
5775 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5776 [cross-compiling] (omit-deps): Likewise.
5777 (sunrpc-CPPFLAGS): New variable.
5778 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5779 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5780 (cross-rpcgen-objs): New variable.
5781 (extra-objs): Append $(cross-rpcgen-objs).
5782 ($(cross-rpcgen-objs)): New rule.
5783 ($(objpfx)cross-rpcgen): Likewise.
5784 (rpcgen-cmd): Define to use $(built-program-file). Expand
5786 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5787 ($(objpfx)x%.stmp): Likewise.
5788 * sunrpc/proto.h [IS_IN_build] (_): Define.
5789 [IS_IN_build] (_libc_intl_domainname): Likewise.
5791 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5793 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5794 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5795 and R_X86_64_TPOFF64.
5797 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5799 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5800 sysdeps/unix/sysv/syscalls.list.
5803 * sysdeps/unix/sysv/syscalls.list: Remove file.
5805 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5808 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5809 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5810 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5811 (__LC_IDENTIFICATION): Make these macros useful in #if
5812 expressions, as required by C99.
5814 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5816 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5817 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5820 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5822 * stdlib/longlong.h: Updated from GCC.
5824 2012-05-09 Andreas Jaeger <aj@suse.de>
5826 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5827 default is first entry.
5828 (run_mode): Set type.
5829 (main): Remove informal message about syslog.
5830 (options): Fix typo.
5833 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5836 (llrintf): Likewise.
5840 (nearbyint): Likewise.
5841 (nearbyintf): Likewise.
5843 2012-05-09 Andreas Jaeger <aj@suse.de>
5844 Pedro Alves <palves@redhat.com>
5846 * nscd/nscd.c (run_mode): Use enum.
5847 (main): Cleanup coding style issue.
5849 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
5850 Andreas Jaeger <aj@suse.de>
5852 * nscd/nscd.c (go_background): Replaced with...
5853 (run_mode): ... this.
5854 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5855 (options): Add -F --foreground.
5856 (main): Implement it.
5857 (parse_opt): Parse it.
5859 2012-05-09 Andreas Jaeger <aj@suse.de>
5862 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5863 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5864 -Wconversion warning.
5865 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5868 2012-05-09 Joseph Myers <joseph@codesourcery.com>
5870 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5872 (LC_ALL): Use macro-int-constant.
5873 (LC_COLLATE): Likewise.
5874 (LC_CTYPE): Likewise.
5875 (LC_MESSAGES): Likewise.
5876 (LC_MONETARY): Likewise.
5877 (LC_NUMERIC): Likewise.
5878 (LC_TIME): Likewise.
5879 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5880 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5881 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5882 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5884 [C99-based standards] (float_t): Expect type.
5885 [C99-based standards] (double_t): Expect type.
5886 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5888 [C99-based standards] (HUGE_VALL): Likewise.
5889 [C99-based standards] (INFINITY): Likewise.
5890 [C99-based standards] (NAN): Likewise.
5891 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5892 [C99-based standards] (FP_NAN): Likewise.
5893 [C99-based standards] (FP_NORMAL): Likewise.
5894 [C99-based standards] (FP_SUBNORMAL): Likewise.
5895 [C99-based standards] (FP_ZERO): Likewise.
5896 [C99-based standards] (FP_FAST_FMA): Use
5897 optional-macro-int-constant. Specify type. Require == 1.
5898 [C99-based standards] (FP_FAST_FMAF): Likewise.
5899 [C99-based standards] (FP_FAST_FMAL): Likewise.
5900 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5901 [C99-based standards] (FP_ILOGBNAN): Likewise.
5902 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5904 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5905 [C99-based standards] (math_errhandling): Specify type.
5906 [ISO99 || ISO11] (signgam): Do not allow.
5907 [non-C99-based standards] (copysignf): Do not allow.
5908 [non-C99-based standards] (exp2f): Likewise.
5909 [non-C99-based standards] (log2f): Likewise.
5910 [non-C99-based standards] (modff): Allow.
5911 [non-C99-based standards] (erff): Do not allow.
5912 [non-C99-based standards] (erfcf): Likewise.
5913 [non-C99-based standards] (gammaf): Likewise.
5914 [non-C99-based standards] (hypotf): Likewise.
5915 [non-C99-based standards] (j0f): Likewise.
5916 [non-C99-based standards] (j1f): Likewise.
5917 [non-C99-based standards] (jnf): Likewise.
5918 [non-C99-based standards] (lgammaf): Likewise.
5919 [non-C99-based standards] (tgammaf): Likewise.
5920 [non-C99-based standards] (y0f): Likewise.
5921 [non-C99-based standards] (y1f): Likewise.
5922 [non-C99-based standards] (ynf): Likewise.
5923 [non-C99-based standards] (isnanf): Likewise.
5924 [non-C99-based standards] (acoshf): Likewise.
5925 [non-C99-based standards] (asinhf): Likewise.
5926 [non-C99-based standards] (atanhf): Likewise.
5927 [non-C99-based standards] (cbrtf): Likewise.
5928 [non-C99-based standards] (expm1f): Likewise.
5929 [non-C99-based standards] (ilogbf): Likewise.
5930 [non-C99-based standards] (log1pf): Likewise.
5931 [non-C99-based standards] (logbf): Likewise.
5932 [non-C99-based standards] (nextafterf): Likewise.
5933 [non-C99-based standards] (remainderf): Likewise.
5934 [non-C99-based standards] (rintf): Likewise.
5935 [non-C99-based standards] (scalbf): Likewise.
5936 [non-C99-based standards] (copysignl): Likewise.
5937 [non-C99-based standards] (exp2l): Likewise.
5938 [non-C99-based standards] (log2l): Likewise.
5939 [non-C99-based standards] (modfl): Allow.
5940 [non-C99-based standards] (erfl): Do not allow.
5941 [non-C99-based standards] (erfcl): Likewise.
5942 [non-C99-based standards] (gammal): Likewise.
5943 [non-C99-based standards] (hypotl): Likewise.
5944 [non-C99-based standards] (j0l): Likewise.
5945 [non-C99-based standards] (j1l): Likewise.
5946 [non-C99-based standards] (jnl): Likewise.
5947 [non-C99-based standards] (lgammal): Likewise.
5948 [non-C99-based standards] (tgammal): Likewise.
5949 [non-C99-based standards] (y0l): Likewise.
5950 [non-C99-based standards] (y1l): Likewise.
5951 [non-C99-based standards] (ynl): Likewise.
5952 [non-C99-based standards] (isnanl): Likewise.
5953 [non-C99-based standards] (acoshl): Likewise.
5954 [non-C99-based standards] (asinhl): Likewise.
5955 [non-C99-based standards] (atanhl): Likewise.
5956 [non-C99-based standards] (cbrtl): Likewise.
5957 [non-C99-based standards] (expm1l): Likewise.
5958 [non-C99-based standards] (ilogbl): Likewise.
5959 [non-C99-based standards] (log1pl): Likewise.
5960 [non-C99-based standards] (logbl): Likewise.
5961 [non-C99-based standards] (nextafterl): Likewise.
5962 [non-C99-based standards] (remainderl): Likewise.
5963 [non-C99-based standards] (rintl): Likewise.
5964 [non-C99-based standards] (scalbl): Likewise.
5965 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5966 [non-C99-based standards] (FP_*): Do not allow.
5967 [C99-based standards] (FP_*): Change to
5968 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5969 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5971 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5972 (SIG_ERR): Likewise.
5973 [X/Open-based standards] (SIG_HOLD): Likewise.
5974 (SIG_IGN): Likewise.
5975 (SIGABRT): Use macro-int-constant. Specify type. Require
5980 (SIGSEGV): Likewise.
5982 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5983 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5984 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5985 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5986 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5987 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5988 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5989 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5990 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5991 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5992 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5993 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5994 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5995 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5996 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5997 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5998 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5999 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6000 [X/Open-based standards] (SIGTRAP): Likewise.
6001 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6002 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6003 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6004 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6005 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6008 2012-05-08 Ian Wienand <ianw@vmware.com>
6011 * time/tzset.c (__tzset_parse_tz): Update default rules for
6012 daylight time changes in the Energy Policy Act of 2005.
6014 2012-05-09 Andreas Jaeger <aj@suse.de>
6017 * elf/ldconfig.c (parse_conf): Change string to make clear that
6018 ldconfig only issued a warning if ld.so.conf does not exist.
6020 2012-05-08 David S. Miller <davem@davemloft.net>
6022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6023 movxtod instead of popping the value on the stack.
6025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6027 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6029 * config.h.in: Add HAVE_ARM_PCS_VFP.
6031 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6034 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6035 checking but the checks are disabled for any reason.
6037 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6039 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6040 and ELF64_R_TYPE with ELFW(R_TYPE).
6042 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6044 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6047 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6048 (settimeofday): Likewise.
6050 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6052 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6053 a struct th_u2 inside the union, and move tu_block/tu_code into
6054 a new th_u3 union of tu_block/tu_code inside of that. Move
6055 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6056 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6057 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6058 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6059 (th_stuff): Change to th_u1.tu_stuff.
6061 (th_msg): Change to th_u1.th_u2.tu_data.
6063 2012-05-07 David S. Miller <davem@davemloft.net>
6065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6068 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6069 (SETUP_PIC_REG): Use it.
6070 (SETUP_PIC_REG_LEAF): Use it.
6072 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6076 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6078 (EXPL_FINITE): Likewise.
6080 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6081 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6083 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6085 (EXPL_FINITE): Likewise.
6087 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6088 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6090 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6091 test of -max_value argument for long double.
6092 * sysdeps/i386/fpu/libm-test-ulps: Update.
6093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6095 2012-05-06 David S. Miller <davem@davemloft.net>
6097 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6098 quad soft-float symbols whose references which are compiler
6100 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6102 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6106 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6108 (EXPL_FINITE): Likewise.
6112 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6113 Adjust comments for base varying.
6114 (__expl_finite): Change alias to EXPL_FINITE.
6115 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6117 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6118 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6119 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6120 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6121 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6123 (EXPL_FINITE): Likewise.
6127 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6128 Adjust comments for base varying.
6129 (__expl_finite): Change alias to EXPL_FINITE.
6130 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6135 * math/libm-test.inc (check_float_internal): Correct ulp
6136 calculation for subnormal expected results.
6138 2012-05-06 Andreas Jaeger <aj@suse.de>
6140 * Makeconfig (+math-flags): New, set to -frounding-math.
6141 (+cflags): Add +math-flags so that all of glibc gets compiled with
6144 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6146 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6148 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6154 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6155 (__ieee754_expl): Allow for and saturate large arguments.
6156 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6157 (u_threshold): Likewise.
6158 (__exp): Call __ieee754_exp before checking for overflow and
6160 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6161 (u_threshold): Likewise.
6162 (__expf): Call __ieee754_expf before checking for overflow and
6164 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6165 (u_threshold): Likewise.
6166 (__expl): Call __ieee754_expl before checking for overflow and
6168 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6169 (__ieee754_expl): Allow for and saturate large arguments.
6170 * math/libm-test.inc (exp_test): Add another test. Do not allow
6171 missing overflow exception on overflow.
6172 (expm1_test): Do not allow missing overflow exception on overflow.
6174 * sysdeps/i386/fpu/e_expl.c: Move to ...
6175 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6176 rather than using inline asm.
6177 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6178 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6179 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6181 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6188 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6190 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6191 sysdeps/unix/common/syscalls.list.
6194 (ftruncate): Likewise.
6195 (getrusage): Likewise.
6196 (gettimeofday): Likewise.
6197 (setpgid): Likewise.
6198 (setregid): Likewise.
6199 (setreuid): Likewise.
6200 (sigaction): Likewise.
6201 (truncate): Likewise.
6202 (vhangup): Likewise.
6203 * sysdeps/unix/common/syscalls.list: Remove file.
6204 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6205 * sysdeps/unix/sysv/linux/Implies: Likewise.
6207 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6209 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6211 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6215 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6218 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6221 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6224 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6227 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6230 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6233 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6237 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6241 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6244 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6248 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6252 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6254 * sysdeps/unix/common/bits/dirent.h: Remove file.
6255 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6257 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6258 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6259 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6260 * sysdeps/unix/bsd/isatty.c: Likewise.
6261 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6262 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6263 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6265 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6268 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6269 long double comparison inaccuracies.
6270 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6273 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6275 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6276 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6278 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6281 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6282 nonzero digits before rounding a hex value.
6283 * stdlib/tst-strtod.c (tests): Add another test.
6285 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6287 * sysdeps/s390/fpu/libm-test-ulps: Update.
6289 2012-05-03 Andreas Jaeger <aj@suse.de>
6291 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6292 does not get optimized out.
6293 (malloc_opt_barrier): New.
6295 2012-05-03 Andreas Jaeger <aj@suse.de>
6296 Roland McGrath <roland@hack.frob.com>
6298 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6299 intermediate file deletion.
6300 (generated): Add .symlist files.
6302 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6305 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6306 Redirect under this condition.
6307 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6308 [__USE_GNU] (__dprintf_chk): Not under this condition.
6309 [__USE_GNU] (__vdprintf_chk): Likewise.
6310 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6311 under this condition.
6312 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6313 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6314 [__USE_XOPEN2K8] (vdprintf): Likewise.
6315 [__USE_GNU] (__dprintf_chk): Not under this condition.
6316 [__USE_GNU] (__vdprintf_chk): Likewise.
6317 [__USE_GNU] (dprintf): Likewise.
6318 [__USE_GNU] (vdprintf): Likewise.
6320 2012-05-03 Roland McGrath <roland@hack.frob.com>
6322 * elf/Makefile (common-generated): Set this instead of generated for
6323 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6324 $(all-built-dso)-derived lists.
6326 2012-05-03 Andreas Jaeger <aj@suse.de>
6328 * sysdeps/i386/fpu/libm-test-ulps: Update.
6332 * scripts/gen-FAQ.pl: Likewise.
6333 * manual/install.texi (Installation): Point to online location of
6335 * Makefile (files-for-dist): Remove FAQ.
6338 2012-05-02 Allan McRae <allan@archlinux.org>
6340 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6341 (LDFLAGS-reldepmod5.so): Likewise.
6342 (LDFLAGS-reldep6mod1.so): Likewise.
6343 (LDFLAGS-reldep6mod4.so): Likewise.
6344 (LDFLAGS-reldep8mod3.so): Likewise.
6345 (LDFLAGS-unload4mod1.so): Likewise.
6346 (LDFLAGS-unload4mod2.so): Likewise.
6347 (LDFLAGS-tst-initorder): Likewise.
6348 (LDFLAGS-tst-initordera2.so): Likewise.
6349 (LDFLAGS-tst-initordera3.so): Likewise.
6350 (LDFLAGS-tst-initordera4.so): Likewise.
6351 (LDFLAGS-tst-initorderb2.so): Likewise.
6352 (LDFLAGS-noload): Likewise.
6353 (LDFLAGS-next): Likewise.
6354 (LDFLAGS-order2mod1.so): Likewise.
6355 (LDFLAGS-order2mod2.so): Likewise.
6356 (LDFLAGS-tst-initorder2): Likewise.
6357 (LDFLAGS-tst-initorder2a.so): Likewise.
6358 (LDFLAGS-tst-initorder2b.so): Likewise.
6359 (LDFLAGS-tst-initorder2c.so): Likewise.
6360 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6362 2012-05-02 David S. Miller <davem@davemloft.net>
6364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6366 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6369 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6371 2012-05-02 Andreas Jaeger <aj@suse.de>
6373 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6374 since we manipulate rounding mode.
6375 (CPPFLAGS-test-idouble.c): Likewise.
6376 (CPPFLAGS-test-ifloat.c): Likewise.
6377 (CFLAGS-test-ldouble.c): Likewise.
6378 (CFLAGS-test-double.c): Likewise.
6379 (CFLAGS-test-float.c): Likewise.
6380 (CFLAGS-test-misc.c): Likewise.
6381 (CFLAGS-test-test-fenv.c): Likewise.
6383 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6387 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6388 comparisons to determine direction to adjust input.
6390 2012-05-01 Roland McGrath <roland@hack.frob.com>
6392 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6393 output to the target.
6395 * scripts/localplt.awk: New file.
6396 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6397 (check-localplt-CFLAGS): Variable removed.
6398 ($(all-built-dso:=.jmprel)): New static pattern rule.
6399 (generated): Add those targets.
6400 (localplt-built-dso): New variable.
6401 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6403 * elf/check-localplt.c: File removed.
6405 * scripts/check-execstack.awk: New file.
6406 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6407 (check-execstack-CFLAGS): Variable removed.
6408 ($(objpfx)check-execstack.h): Target removed.
6409 ($(objpfx)execstack-default): New target.
6410 (generated): Add that instead of check-execstack.h.
6411 ($(all-built-dso:=.phdr)): New static pattern rule.
6412 (generated): Add those targets.
6413 * elf/check-execstack.c: File removed.
6415 * scripts/check-textrel.awk: New file.
6416 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6417 (check-textrel-CFLAGS): Variable removed.
6418 (all-built-dso): Use := to define.o
6419 ($(all-built-dso:=.dyn)): New static pattern rule.
6420 (generated): Add those targets.
6421 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6422 * config.make.in (READELF): New substituted variable.
6423 * elf/check-textrel.c: File removed.
6425 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6427 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6429 * conform/data/ctype.h-data [C99-based standards] (isblank):
6431 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6432 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6433 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6434 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6435 Specify type. Require positive value.
6438 [ISO || POSIX] (EILSEQ): Do not expect.
6439 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6440 Specify type. Require positive value.
6441 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6442 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6443 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6444 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6445 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6446 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6447 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6448 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6449 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6450 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6451 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6452 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6453 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6454 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6455 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6456 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6457 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6458 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6459 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6460 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6461 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6462 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6463 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6464 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6465 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6466 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6467 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6468 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6469 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6470 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6471 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6472 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6473 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6474 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6475 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6476 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6477 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6478 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6479 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6480 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6481 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6482 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6483 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6484 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6485 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6486 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6487 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6488 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6489 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6490 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6491 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6492 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6493 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6494 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6495 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6496 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6497 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6498 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6499 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6500 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6501 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6502 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6503 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6504 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6505 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6506 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6507 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6508 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6509 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6510 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6511 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6512 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6513 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6514 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6515 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6516 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6517 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6519 (FLT_ROUNDS): Expect as macro, not constant.
6520 (FLT_MANT_DIG): Use macro-int-constant.
6521 (DBL_MANT_DIG): Likewise.
6522 (LDBL_MANT_DIG): Likewise.
6523 (FLT_DIG): Likewise.
6524 (DBL_DIG): Likewise.
6525 (LDBL_DIG): Likewise.
6526 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6527 (DBL_MIN_EXP): Likewise.
6528 (LDBL_MIN_EXP): Likewise.
6529 (FLT_MAX_EXP): Use macro-int-constant.
6530 (DBL_MAX_EXP): Likewise.
6531 (LDBL_MAX_EXP): Likewise.
6532 (FLT_MAX_10_EXP): Likewise.
6533 (DBL_MAX_10_EXP): Likewise.
6534 (LDBL_MAX_10_EXP): Likewise.
6535 (FLT_MAX): Use macro-constant.
6536 (DBL_MAX): Likewise.
6537 (LDBL_MAX): Likewise.
6538 (FLT_EPSILON): Use macro-constant. Give upper bound.
6539 (DBL_EPSILON): Likewise.
6540 (LDBL_EPSILON): Likewise.
6541 (FLT_MIN): Likewise.
6542 (DBL_MIN): Likewise.
6543 (LDBL_MIN): Likewise.
6544 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6545 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6546 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6547 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6548 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6549 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6550 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6551 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6552 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6553 [ISO11] (FLT_TRUE_MIN): Likewise.
6554 [ISO11] (LDBL_TRUE_MIN): Likewise.
6555 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6556 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6557 (SCHAR_MIN): Use macro-int-constant. Specify type.
6558 (SCHAR_MAX): Likewise.
6559 (UCHAR_MAX): Likewise.
6560 (CHAR_MIN): Likewise.
6561 (CHAR_MAX): Likewise.
6562 (MB_LEN_MAX): Use macro-int-constant.
6563 (SHRT_MIN): Use macro-int-constant. Specify type.
6564 (SHRT_MAX): Likewise.
6565 (USHRT_MAX): Likewise.
6566 (INT_MAX): Likewise.
6567 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6569 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6571 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6573 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6574 bound negative. Suffix upper bound with "L".
6575 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6577 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6579 [C99-based standards] (LLONG_MAX): Likewise.
6580 [C99-based standards] (ULLONG_MAX): Likewise.
6581 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6583 [ISO11] (max_align_t): Require type.
6584 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6586 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6587 from $CFLAGS, without defining away __attribute__ calls.
6588 (checknamespace): Use $CFLAGS_namespace.
6590 * conform/conformtest.pl (@keywords): Only include C99 keywords
6591 for standards based on C99 or C11.
6593 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6595 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6598 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6599 usability of symbols in #if.
6601 * conform/conformtest.pl: If macro or constant types start
6602 "promoted:", expect the symbol to be of the following type
6603 promoted by the integer promotions.
6605 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6606 in one place. Also handle "macro-constant".
6608 * conform/conformtest.pl: Only accept expected macro values with
6609 "==". Parse all "macro" lines in one place.
6610 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6612 * conform/conformtest.pl: Handle braced types on "constant" lines
6613 instead of handling "typed-constant".
6614 * conform/data/signal.h-data: Use "constant" instead of
6617 * conform/conformtest.pl: Handle "optional-" at start of lines in
6618 one place rather than duplicating several cases. Handle each
6619 format of "macro" line with initial "optional-".
6621 * conform/conformtest.pl: Only accept expected constant or
6622 optional-constant values with "==". Parse all "constant" lines in
6623 one place. Parse all "optional-constant" lines in one place.
6624 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6625 * conform/data/fmtmsg.h-data: Likewise.
6626 * conform/data/netinet/in.h-data: Likewise.
6627 * conform/data/tar.h-data: Likewise.
6628 * conform/data/limits.h-data: Use "==" form on "constant" and
6629 "optional-constant" lines.
6631 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6632 Use -std=c99 for XOPEN2K.
6633 (@knownproblems): Remove.
6634 (newtoken): Don't check %isknown.
6636 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6637 Do not expect macro.
6638 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6639 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6640 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6641 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6642 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6643 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6644 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6645 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6646 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6647 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6648 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6649 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6650 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6651 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6652 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6653 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6654 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6655 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6656 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6657 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6658 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6659 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6660 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6661 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6662 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6663 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6664 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6665 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6666 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6667 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6668 [XPG3] (acosh): Likewise.
6669 [XPG3] (asinh): Likewise.
6670 [XPG3] (atanh): Likewise.
6671 [XPG3] (cbrt): Likewise.
6672 [XPG3] (expm1): Likewise.
6673 [XPG3] (ilogb): Likewise.
6674 [XPG3] (log1p): Likewise.
6675 [XPG3] (logb): Likewise.
6676 [XPG3] (nextafter): Likewise.
6677 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6678 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6679 [XPG3] (remainder): Likewise.
6680 [XPG3] (rint): Likewise.
6681 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6682 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6683 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6684 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6685 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6686 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6687 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6688 [UNIX98 || XOPEN2K] (scalb): Expect.
6689 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6690 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6691 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6692 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6693 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6694 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6695 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6696 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6697 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6698 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6699 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6700 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6701 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6702 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6703 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6704 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6705 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6706 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6707 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6708 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6709 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6710 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6711 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6712 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6713 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6714 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6715 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6716 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6717 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6718 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6719 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6720 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6721 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6722 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6723 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6724 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6725 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6726 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6727 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6728 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6729 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6730 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6731 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6732 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6733 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6734 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6735 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6736 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6737 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6738 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6739 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6740 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6741 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6742 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6743 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6744 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6745 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6746 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6747 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6748 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6749 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6750 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6751 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6752 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6753 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6754 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6755 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6756 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6757 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6758 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6759 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6760 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6761 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6762 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6763 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6764 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6765 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6766 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6767 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6768 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6769 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6770 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6771 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6772 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6773 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6774 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6775 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6776 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6777 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6778 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6779 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6780 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6781 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6782 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6783 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6784 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6785 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6786 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6787 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6788 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6789 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6790 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6791 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6792 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6793 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6794 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6795 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6796 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6797 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6798 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6799 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6800 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6801 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6802 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6803 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6804 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6805 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6806 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6807 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6808 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6809 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6810 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6811 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6812 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6813 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6814 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6815 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6816 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6817 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6818 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6819 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6820 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6821 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6822 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6823 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6824 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6825 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6827 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6828 _XOPEN_SOURCE_EXTENDED for XPG4.
6830 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6832 * Makeconfig (localtime): Remove variable.
6833 (inst_localtime-file): Likewise.
6835 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6856 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6860 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6861 comparisons to determine direction to adjust input.
6862 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6863 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6864 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6866 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6868 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6870 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6871 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6873 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6875 * math/libm-test.inc (nexttoward_test): Add more tests.
6877 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6880 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6881 in version GLIBC_2.1, not GLIBC_2.0.
6882 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6885 2012-04-30 Joseph Myers <joseph@codesourcery.com>
6888 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6890 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6891 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6892 * math/libm-test.inc (acos_test): Add more tests.
6893 (asin_test): Likewise.
6894 * sysdeps/i386/fpu/libm-test-ulps: Update.
6895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6898 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6900 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6901 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6902 * math/libm-test.inc (acos_test_tonearest): New function.
6903 (acos_test_towardzero): Likewise.
6904 (acos_test_downward): Likewise.
6905 (acos_test_upward): Likewise.
6906 (asin_test_tonearest): Likewise.
6907 (asin_test_towardzero): Likewise.
6908 (asin_test_downward): Likewise.
6909 (asin_test_upward): Likewise.
6910 (main): Call the new functions.
6911 * sysdeps/i386/fpu/libm-test-ulps: Update.
6912 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6916 * math/e_exp10.c: Include <float.h>.
6917 (__ieee754_exp10): Handle underflow here rather than multiplying
6918 large negative argument by M_LN10.
6919 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6921 * math/e_exp10l.c: Include <float.h>.
6922 (__ieee754_exp10l): Handle underflow here rather than multiplying
6923 large negative argument by M_LN10l.
6924 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6925 spurious overflow exception on underflow.
6927 2012-04-29 Marek Polacek <polacek@redhat.com>
6929 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6930 (__fortify_function): New macro.
6931 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6932 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6933 __extern_always_inline.
6934 * libio/bits/stdio2.h: Likewise.
6935 * libio/bits/stdio.h: Likewise.
6936 * string/string.h: Likewise.
6937 * string/bits/string3.h: Likewise.
6938 * include/stdio.h: Likewise.
6939 * stdlib/bits/stdlib.h: Likewise.
6940 * stdlib/stdlib.h: Likewise.
6941 * rt/bits/mqueue2.h: Likewise.
6942 * rt/mqueue.h: Likewise.
6943 * posix/bits/unistd.h: Likewise.
6944 * posix/unistd.h: Likewise.
6945 * io/bits/poll2.h: Likewise.
6946 * io/bits/fcntl2.h: Likewise.
6947 * io/fcntl.h: Likewise.
6948 * io/sys/poll.h: Likewise.
6949 * misc/bits/syslog.h: Likewise.
6950 * misc/bits/syslog-ldbl.h: Likewise.
6951 * misc/sys/syslog.h: Likewise.
6952 * socket/bits/socket2.h: Likewise.
6953 * socket/sys/socket.h: Likewise.
6954 * debug/tst-chk1.c: Likewise.
6955 * wcsmbs/bits/wchar2.h: Likewise.
6956 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6957 * wcsmbs/wchar.h: Likewise.
6959 2012-04-29 Andreas Jaeger <aj@suse.de>
6961 * Makerules (tests): Remove enable-check-abi protection.
6962 (check-abi-warn): Remove.
6963 (check-abi-%): Remove check-abi-warn usage.
6965 * configure.in: Remove check-abi configure option.
6966 * configure: Regenerated.
6967 * config.make.in (enable-check-abi): Remove.
6969 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6972 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6973 double functions to double *_finite functions.
6976 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6977 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6979 * stdio-common/Makefile (tests): Add tst-sprintf3.
6980 * stdio-common/tst-sprintf3.c: New file.
6982 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6983 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6985 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6987 * conform/conformtest.pl: Remove duplicate typed-constant
6990 2012-04-28 David S. Miller <davem@davemloft.net>
6992 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6993 (check-abi-%): Remove AWK script prerequisite and explicit
6995 (check-abi): Rewrite to just diff the symlist with the abilist.
6996 (config-tls, config-abi-config): Delete, no longer used.
6997 (update-abi-%): Remove AWK script and explicit abilist directory.
6998 (update-abi): Rewrite to simply compare and conditionally copy the
6999 symlist and the sysdep abilist file. Remove update-abi-config
7001 * abilist/ld.abilist: Remove.
7002 * abilist/libBrokenLocale.abilist: Remove.
7003 * abilist/libanl.abilist: Remove.
7004 * abilist/libcrypt.abilist: Remove.
7005 * abilist/libdl.abilist: Remove.
7006 * abilist/librt.abilist: Remove.
7007 * abilist/libthread_db.abilist: Remove.
7008 * abilist/libutil.abilist: Remove.
7009 * scripts/extract-abilist.awk: Remove.
7010 * scripts/merge-abilist.awk: Remove.
7011 * sysdeps/generic/libcidn.abilist: New file.
7012 * sysdeps/generic/libnss_compat.abilist: New file.
7013 * sysdeps/generic/libnss_db.abilist: New file.
7014 * sysdeps/generic/libnss_dns.abilist: New file.
7015 * sysdeps/generic/libnss_files.abilist: New file.
7016 * sysdeps/generic/libnss_hesiod.abilist: New file.
7017 * sysdeps/generic/libnss_nis.abilist: New file.
7018 * sysdeps/generic/libnss_nisplus.abilist: New file.
7019 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7020 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7021 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7023 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7024 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7025 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7026 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7027 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7028 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7029 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7030 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7031 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7033 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7034 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7035 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7036 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7038 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7039 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7040 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7041 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7042 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7043 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7045 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7046 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7047 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7049 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7152 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7153 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7154 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7156 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7157 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7158 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7159 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7160 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7161 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7162 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7163 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7164 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7165 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7217 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7219 * conform/conformtest.pl: Fix typo in handling typed-constant from
7222 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7224 * README: Cut down references to pre-2.6 Linux kernels and
7225 Linuxthreads. Update lists of configurations in libc and ports
7226 and sort alphabetically. Say "or newer" with Linux kernel version
7229 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7231 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7234 * math/libm-test.inc (logb_test_downward): New test to expose
7235 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7238 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7241 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7243 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7244 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7246 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7248 * sysdeps/unix/i386/brk.S: Remove file.
7249 * sysdeps/unix/i386/dl-brk.S: Likewise.
7250 * sysdeps/unix/i386/pipe.S: Likewise.
7251 * sysdeps/unix/i386/sigreturn.S: Likewise.
7252 * sysdeps/unix/i386/syscall.S: Likewise.
7253 * sysdeps/unix/i386/vfork.S: Likewise.
7254 * sysdeps/unix/i386/wait.S: Likewise.
7256 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7257 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7259 * configure.in (arm*-none*): Do not allow without
7260 --enable-hacker-mode.
7261 (netbsd*): Remove case setting base_os.
7262 (386bsd*): Likewise.
7263 (freebsd*): Likewise.
7267 (ultrix*): Likewise.
7268 (newsos*): Likewise.
7278 (solaris[2-9]*): Likewise.
7280 * configure: Regenerated.
7282 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7285 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7286 overflow or cancellation in calculating denominator.
7287 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7288 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7289 down expression to avoid unexpected rounding in newer GCCs.
7290 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7292 2012-04-26 David S. Miller <davem@davemloft.net>
7294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7295 long-double compat symbols.
7296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7310 2012-04-25 David S. Miller <davem@davemloft.net>
7312 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7313 HWCAP_* values only after the memory barriers have been defined.
7314 (atomic_full_barrier): Define.
7315 (atomic_read_barrier): Define.
7316 (atomic_write_barrier): Define.
7318 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7320 * shlib-versions: Add libgcc_s version information.
7321 * sysdeps/generic/libgcc_s.h: Remove.
7322 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7324 * sysdeps/gnu/unwind-resume.c: Likewise.
7325 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7327 2012-04-25 David S. Miller <davem@davemloft.net>
7329 * sysdeps/unix/sparc/brk.S: Delete.
7330 * sysdeps/unix/sparc/dl-brk.S: Delete.
7331 * sysdeps/unix/sparc/pipe.S: Delete.
7332 * sysdeps/unix/sparc/sysdep.S: Delete.
7333 * sysdeps/unix/sparc/sysdep.h: Delete.
7334 * sysdeps/unix/sparc/vfork.S: Delete.
7335 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7336 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7337 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7338 ret_ERRVAL, r0, r1, MOVE): Define.
7339 (JUMPTARGET): Remove.
7340 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7341 sysdeps/unix/sparc/sysdep.h
7342 (ENTRY, END): Remove.
7343 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7345 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7347 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7348 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7351 * timezone/README: Update upstream location and email address for
7353 * timezone/zdump.c: Update from tzcode 2012b.
7354 * timezone/zic.c: Likewise.
7356 * configure.in (libc_cv_as_needed): Remove test.
7357 * configure: Regenerated.
7358 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7359 conditional definition.
7360 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7361 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7362 * config.make.in (have-as-needed): Remove variable.
7364 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7365 Paul Pluzhnikov <ppluzhnikov@google.com>
7367 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7370 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7372 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7373 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7374 * sysdeps/sh/strlen.S: Likewise.
7376 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7378 * sysdeps/unix/fork.S: Remove file.
7379 * sysdeps/unix/i386/fork.S: Likewise.
7380 * sysdeps/unix/sparc/fork.S: Likewise.
7382 * sysdeps/unix/system.c: Remove file.
7383 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7385 * sysdeps/unix/getegid.S: Remove file.
7386 * sysdeps/unix/geteuid.S: Likewise.
7388 2012-04-24 Roland McGrath <roland@hack.frob.com>
7390 * scripts/check-localplt.awk: New file.
7391 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7393 * scripts/data/localplt-generic.data: Add a comment.
7395 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7396 NODE when __dir_mkfile failed.
7397 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7398 Reported by Ludovic Courtès <ludo@gnu.org>.
7400 2012-04-24 Andreas Jaeger <aj@suse.de>
7402 * Makerules (common-clean): Also remove gen-as-const-headers
7405 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7407 * Makerules (native-compile): Do not change working directory for
7408 build. Use $(OUTPUT_OPTION) in command.
7409 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7411 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7414 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7415 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7416 * math/libm-test.inc (floor_test): Add more tests.
7417 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7419 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7421 * sysdeps/unix/getdents.c: Remove file.
7422 * sysdeps/unix/sysv/getdents.c: Likewise.
7423 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7425 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7426 sysdeps/unix/mman/syscalls.list.
7428 (mprotect): Likewise.
7431 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7432 * sysdeps/unix/mman/syscalls.list: Remove.
7433 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7435 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7436 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7437 * configure: Regenerated.
7438 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7440 * config.make.in (libgcc_s_suffix): Remove variable.
7442 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7444 * sysdeps/unix/sysv/gethostname.c: Move to ...
7445 * sysdeps/posix/gethostname.c: ... here.
7447 * sysdeps/unix/execve.S: Remove file.
7449 * sysdeps/unix/_exit.S: Remove file.
7451 2012-04-23 Andreas Jaeger <aj@suse.de>
7454 * manual/Makefile: Remove make dist support, there's no
7455 need for a stand-alone documentation tar ball.
7456 (TEXI2DVI): Define always, it's not in Makeconfig.
7460 (glibc-doc-$(edition).tar): Removed
7464 (ETAGS): Remove, it's in Makeconfig.
7465 (move-if-change): Remove, it's in Makeconfig.
7467 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7470 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7471 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7472 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7473 (strtod_l, strtof_l, strtold_l): Remove __wur.
7474 It is not necessarily an error to ignore strtol's return value.
7475 One can reliably look at the stored endptr to decide whether
7476 the number had valid syntax.
7478 2012-04-21 Andreas Jaeger <aj@suse.de>
7481 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7483 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7485 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7486 * sysdeps/unix/sysv/Versions: Remove file.
7488 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7493 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7496 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7497 version from __vm86.
7499 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7501 * sysdeps/unix/common/lxstat.c: Remove file.
7502 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7504 * sysdeps/unix/sysv/Makefile: Remove file.
7506 * sysdeps/unix/sysv/direct.h: Remove file.
7508 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7509 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7510 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7511 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7512 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7513 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7514 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7516 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7518 * sysdeps/unix/xmknod.c: Remove file.
7519 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7521 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7523 * sysdeps/unix/sysv/i386/time.S: Remove file.
7525 * sysdeps/unix/fxstat.c: Remove file.
7526 * sysdeps/unix/xstat.c: Likewise.
7527 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7529 * sysdeps/unix/sysv/sigaction.c: Remove file.
7531 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7532 (sysdep_headers): Remove variable.
7533 [termio.h not in sysdep_headers] (generated): Likewise.
7534 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7535 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7536 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7537 * sysdeps/unix/sysv/tcflow.c: Likewise.
7538 * sysdeps/unix/sysv/tcflush.c: Likewise.
7539 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7540 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7541 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7542 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7543 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7545 * sysdeps/unix/siglist.c: Remove file.
7547 * sysdeps/unix/getppid.S: Remove file.
7549 * sysdeps/unix/mkdir.c: Remove file.
7550 * sysdeps/unix/rmdir.c: Likewise.
7552 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7554 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7556 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7557 errlist-compat value.
7559 2012-04-18 David S. Miller <davem@davemloft.net>
7561 * sysdeps/generic/memcopy.h (reg_char): Delete.
7562 * debug/strcat_chk.c: Use char, not reg_char.
7563 * debug/strcpy_chk.c: Likewise.
7564 * debug/strncat_chk.c: Likewise.
7565 * debug/strncpy_chk.c: Likewise.
7566 * string/memchr.c: Likewise.
7567 * string/memrchr.c: Likewise.
7568 * string/rawmemchr.c: Likewise.
7569 * string/strcat.c: Likewise.
7570 * string/strchr.c: Likewise.
7571 * string/strchrnul.c: Likewise.
7572 * string/strcmp.c: Likewise.
7573 * string/strcpy.c: Likewise.
7574 * string/strncat.c: Likewise.
7575 * string/strncmp.c: Likewise.
7576 * string/strncpy.c: Likewise.
7578 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7580 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7581 __builtin_memcopy is called when src and dest ranges are known to not
7584 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7586 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7587 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7588 fwd_align_merge macro call.
7589 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7590 bwd_align_merge macro call.
7591 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7593 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7595 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7596 bwd_align_merge macros.
7597 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7598 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7599 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7601 2012-04-18 David S. Miller <davem@davemloft.net>
7603 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7605 2012-04-18 Andreas Jaeger <aj@suse.de>
7608 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7609 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7610 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7612 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7613 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7614 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7616 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7617 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7618 Adjust for changed ldbl-128 files.
7620 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7621 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7622 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7624 2012-04-17 David S. Miller <davem@davemloft.net>
7626 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7628 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7630 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7631 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7632 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7633 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7634 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7635 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7637 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7640 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7641 * math/libm-test.inc: Add ilogb errno and exception tests.
7642 * math/w_ilogb.c: New file: ilogb wrapper.
7643 * math/w_ilogbf.c: New file: ilogbf wrapper.
7644 * math/w_ilogbl.c: New file: ilogbl wrapper.
7645 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7646 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7647 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7648 exception being thrown with 0.0 as argument.
7649 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7650 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7651 exception being thrown with 0.0 as argument.
7652 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7653 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7654 exception being thrown with 0.0 as argument.
7655 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7656 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7657 exception being thrown with 0.0 as argument.
7658 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7659 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7660 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7661 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7662 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7663 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7664 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7665 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7666 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7668 2012-04-17 Petr Baudis <pasky@ucw.cz>
7670 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7673 2012-04-16 Marek Polacek <polacek@redhat.com>
7675 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7677 2012-04-16 Marek Polacek <polacek@redhat.com>
7679 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7680 operands of fdivp instruction.
7682 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7684 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7685 * elf/tst-auditmod3b.c: Likewise.
7686 * elf/tst-auditmod4b.c: Likewise.
7687 * elf/tst-auditmod5b.c: Likewise.
7688 * elf/tst-auditmod6b.c: Likewise.
7689 * elf/tst-auditmod6c.c: Likewise.
7690 * elf/tst-auditmod7b.c: Likewise.
7691 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7692 * sysdeps/x86_64/preconfigure.in: Likewise.
7693 * sysdeps/x86_64/preconfigure: Regenerated.
7695 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7697 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7700 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
7702 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7703 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7705 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7708 * locale/iso-639.def: Fix gl language name. Spotted by
7711 2012-04-12 Roland McGrath <roland@hack.frob.com>
7714 * libio/libio.h (__io_write_fn): Update comment.
7716 2012-04-12 Petr Baudis <pasky@ucw.cz>
7719 * stdio.texi (Hook Functions): The user provided writer function
7720 is not allowed to return -1.
7722 2012-04-11 David S. Miller <davem@davemloft.net>
7724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7726 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7728 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7729 Add a leading slash to rtkaio.
7731 2012-04-11 Jim Meyering <meyering@redhat.com>
7734 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7735 It is not necessarily an error to ignore fwrite's return
7736 value. One can reliably use ferror to test for errors after
7739 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7741 * bits/types.h (__snseconds_t): New type.
7742 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7744 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7745 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7746 (__SNSECONDS_T_TYPE): Likewise.
7747 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7748 (__SNSECONDS_T_TYPE): Likewise.
7749 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7750 (__SNSECONDS_T_TYPE): Likewise.
7752 2012-04-10 Andreas Jaeger <aj@suse.de>
7755 * manual/time.texi (Processor Time): Return type of times is
7756 elapsed real time since an arbitrary point in the past.
7757 (CPU Time): Move CLK_TCK from here...
7758 (Processor Time): ...to here. Correct description.
7759 * manual/conf.texi (Constants for Sysconf): Correct description of
7762 2012-04-10 David S. Miller <davem@davemloft.net>
7765 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7766 where the is a gap between DT_REL(A) and DT_JMPREL.
7768 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7770 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7771 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7772 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7774 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7776 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7777 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7778 (dl_main): Handle --inhibit-cache.
7779 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7781 * elf/dl-load.c (_dl_map_object): Use it.
7782 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7784 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7787 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7788 (__ieee754_powl): Saturate large exponents rather than testing for
7789 overflow of y*log2(x).
7790 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7791 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7795 * math/s_ctan.c: Include <float.h>.
7796 (__ctan): Avoid internal overflow or cancellation in calculating
7798 * math/s_ctanf.c: Likewise.
7799 * math/s_ctanl.c: Likewise.
7800 * math/s_ctanh.c: Likewise.
7801 * math/s_ctanhf.c: Likewise.
7802 * math/s_ctanhl.c: Likewise.
7803 * math/libm-test.inc (ctan_test): Add more tests.
7804 (ctanh_test): Likewise.
7805 * sysdeps/i386/fpu/libm-test-ulps: Update.
7806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7808 2012-04-09 Andreas Jaeger <aj@suse.de>
7811 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7812 is an optional BSD extension.
7815 * manual/stdio.texi (Opening Streams): Document additional fopen
7818 2012-04-09 Roland McGrath <roland@hack.frob.com>
7820 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7821 %eax without telling the compiler.
7823 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7826 * manual/install.texi: Use sourceware.org.
7828 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7831 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7832 (__ieee754_pow): Generate overflow and underflow using huge*huge
7833 and tiny*tiny rather than just returning constant infinity or zero
7834 for large exponents.
7835 * math/libm-test.inc (pow_test): Require overflow exceptions for
7836 applicable cases of large exponents.
7839 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7840 (__ieee754_pow): Use iterative multiplication algorithm only for
7841 integer exponents with absolute value below 1024. Check for odd
7842 integer exponents when using algorithm for real exponents.
7843 * math/libm-test.inc (pow_test): Add more tests.
7844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7846 2012-04-08 Joseph Myers <joseph@codesourcery.com>
7849 * math/libm-test.inc (exp_test): Do not allow overflow exception
7852 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7855 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7856 instead of __kernel_standard_f.
7858 2012-04-08 Mike Frysinger <vapier@gentoo.org>
7860 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7861 * sysdeps/x86_64/memset_chk.S: Likewise.
7863 2012-04-08 Andreas Jaeger <aj@suse.de>
7866 * manual/startup.texi (Environment Access): Describe return value
7867 for putenv and setenv.
7870 * manual/filesys.texi (Directory Entries): Add description for
7874 * manual/filesys.texi (Directory Entries): Clarify that it's file
7875 system not operating system in the description of DT_UNKNOWN.
7878 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7880 2012-04-08 Stephen Compall <s11@member.fsf.org>
7883 * manual/llio.texi (Opening and Closing Files): Add cross
7884 reference to explain mode argument.
7886 2012-04-07 Mike Frysinger <vapier@gentoo.org>
7888 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7889 * sysdeps/x86_64/memset_chk.S: Likewise.
7891 2012-04-07 David S. Miller <davem@davemloft.net>
7893 * elf/elf.h (R_SPARC_WDISP10): Define.
7894 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7896 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7897 R_SPARC_SIZE64 and R_SPARC_H34.
7899 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7901 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7902 conditions and remove no longer applicable assertion.
7904 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7906 * bits/byteswap.h: Include <features.h>.
7907 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7908 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7910 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7912 * bits/byteswap.h (__bswap_16): Removed.
7913 Include <bits/byteswap-16.h> to get __bswap_16.
7914 * sysdeps/i386/bits/byteswap.h: Likewise.
7915 * sysdeps/s390/bits/byteswap.h: Likewise.
7916 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7917 * bits/byteswap-16.h: New file.
7918 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7919 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7920 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7921 * string/Makefile (headers): Add bits/byteswap-16.h.
7923 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7926 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7928 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7929 * nss/tst-nss-static.c: New.
7931 2012-04-06 Robert Millan <rmh@gnu.org>
7934 * manual/llio.texi (File Position Primitive): lseek
7935 refers to WHENCE when it really means OFFSET.
7937 2012-04-06 Andreas Jaeger <aj@suse.de>
7939 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7940 strncmp declarations.
7942 * abilist/libc.abilist: Add __poll and __ppoll.
7944 2012-04-05 David S. Miller <davem@davemloft.net>
7946 * scripts/check-local-headers.sh: Accept a host triplet in the
7947 path matched by the exclude regexp.
7949 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7951 * sysdeps/powerpc/powerpc32/dl-machine.h
7952 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7953 * sysdeps/s390/s390-32/dl-machine.h
7954 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7955 * sysdeps/sparc/sparc32/dl-machine.h
7956 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7957 * sysdeps/sparc/sparc64/dl-machine.h
7958 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7960 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7962 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7963 undefined symbol errors.
7965 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7968 2012-04-05 Michael Matz <matz@suse.de>
7971 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7973 2012-04-05 Andreas Jaeger <aj@suse.de>
7976 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7979 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7981 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7982 which ROUND is no valid rounding mode.
7984 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7986 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7988 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7990 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7992 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7993 an exception using FPU order intentionally.
7995 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7997 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7998 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7999 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8000 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8002 2012-04-05 Simon Josefsson <simon@josefsson.org>
8005 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8006 EINVAL when BUFLEN is too smal.
8008 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8011 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8012 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8014 2012-04-03 Andreas Jaeger <aj@suse.de>
8017 * manual/setjmp.texi (System V contexts): Fix sentence.
8020 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8021 New macro for this case.
8022 [!__GNUC__] (__bswap_64): New inline function for this case.
8023 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8024 * bits/byteswap.h: Likewise.
8025 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8026 ull, guard with __GLIBC_HAVE_LONG_LONG.
8028 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8029 __GLIBC_HAVE_LONG_LONG.
8031 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8032 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8034 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8037 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8038 inptr and inend, rather than using last_ch.
8040 2012-04-02 David S. Miller <davem@davemloft.net>
8042 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8043 * stdio-common/printf-parse.h (read_int): Change return type to
8044 'int', return -1 on INT_MAX overflow.
8045 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8046 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8047 overflows INT_MAX. Check for overflow of in-format-string precision
8048 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8049 SIZE_MAX not INT_MAX for integer overflow test.
8050 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8051 skip the construct in the format string but do not record anything.
8052 * stdio-common/bug22.c: Adjust to test both width/prevision
8053 INT_MAX overflow as well as total length INT_MAX overflow. Check
8054 explicitly for proper errno values.
8056 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8058 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8060 * string/test-strcmp.c [! WIDE]: Likewise.
8061 * time/tst-mktime2.c: Likewise for INT_MAX.
8062 * string/test-string.h: #include <sys/param.h> for MIN.
8064 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8065 * sysdeps/i386/init-first.c (init): Likewise.
8066 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8067 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8068 * sysdeps/sh/init-first.c (init): Likewise.
8070 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8072 * po/ru.po: Update from translation team.
8073 * po/vi.po: Likewise.
8075 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8077 * resolv/nss_dns/dns-host.c: Merge copyright years.
8079 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8081 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8082 Optimize memcpy with prefetch if
8083 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8084 src, dst pointers have unequal 16 byte alignments.
8086 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8089 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8090 from a CNAME entry and return the minimum ttl for the query.
8091 (gaih_getanswer_slice): Likewise.
8093 2012-03-30 Jeff Law <law@redhat.com>
8095 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8097 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8098 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8100 * resolv/nss_dns/dns-host.c: Update copyright year.
8102 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8104 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8105 requests to save a system call. Fix check that all bytes are sent.
8107 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8108 comments for sendmmsg.
8110 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8113 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8114 with only 1 character between 0x0041 and 0x01b0.
8115 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8116 * wcsmbs/tst-mbsnrtowcs.c: New file.
8118 2012-03-29 David S. Miller <davem@davemloft.net>
8120 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8121 small copies by hand.
8123 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8126 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8127 _nss_compat_initgroups_dyn): Fall back to malloc/free
8128 for large group memberships.
8130 2012-03-28 David S. Miller <davem@davemloft.net>
8132 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8133 that branches into memcpy.
8134 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8135 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8136 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8137 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8138 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8140 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8142 * sysdeps/sparc/mempcpy.S: New file.
8144 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8145 the IFUNC routine in the libc case.
8146 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8148 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8149 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8150 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8151 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8152 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8153 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8154 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8155 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8157 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8158 loop to 256 bytes instead of 64 bytes and fix test signedness.
8160 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8161 * sysdeps/sparc/sparc32/Makefile: rather than here...
8162 * sysdeps/sparc/sparc64/Makefile: and here.
8164 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8166 * malloc/mallocbug.c: Avoid warnings about unused variables.
8168 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8171 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8172 in the right place. Discard and retry query if response is
8173 larger than input buffer size.
8175 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8180 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8181 x for large integer exponent.
8182 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8183 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8184 sign of result as needed afterwards.
8185 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8186 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8187 result for underflowing pow the same as for overflow.
8188 (__kernel_standard_l): Handle powl overflow and underflow here
8189 rather than calling __kernel_standard.
8190 * math/libm-test.inc (pow_test): Add more tests.
8205 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8206 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8207 (__kernel_standard_l): New function.
8208 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8210 * math/w_acosl.c (__acosl): Likewise.
8211 * math/w_asinl.c (__asinl): Likewise.
8212 * math/w_atan2l.c (__atan2l): Likewise.
8213 * math/w_atanhl.c (__atanhl): Likewise.
8214 * math/w_coshl.c (__coshl): Likewise.
8215 * math/w_exp10l.c (__exp10l): Likewise.
8216 * math/w_exp2l.c (__exp2l): Likewise.
8217 * math/w_fmodl.c (__fmodl): Likewise.
8218 * math/w_hypotl.c (__hypotl): Likewise.
8219 * math/w_j0l.c (__j0l, __y0l): Likewise.
8220 * math/w_j1l.c (__j1l, __y1l): Likewise.
8221 * math/w_jnl.c (__jnl, __ynl): Likewise.
8222 * math/w_lgammal.c (__lgammal): Likewise.
8223 * math/w_log10l.c (__log10l): Likewise.
8224 * math/w_log2l.c (__log2l): Likewise.
8225 * math/w_logl.c (__logl): Likewise.
8226 * math/w_powl.c (__powl): Likewise.
8227 * math/w_remainderl.c (__remainderl): Likewise.
8228 * math/w_scalbl.c (sysv_scalbl): Likewise.
8229 * math/w_sinhl.c (__sinhl): Likewise.
8230 * math/w_sqrtl.c (__sqrtl): Likewise.
8231 * math/w_tgammal.c (__tgammal): Likewise.
8232 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8233 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8234 * math/libm-test.inc (acos_test): Add more tests.
8235 (acosh_test): Likewise.
8236 (asin_test): Likewise.
8237 (atanh_test): Likewise.
8238 (exp_test): Likewise.
8239 (exp10_test): Likewise.
8240 (exp2_test): Likewise.
8241 (expm1_test): Likewise.
8242 (lgamma_test): Likewise.
8243 (log_test): Likewise.
8244 (log10_test): Likewise.
8245 (log1p_test): Likewise.
8246 (log2_test): Likewise.
8247 (pow_test): Do not allow some spurious overflow exceptions.
8248 (sqrt_test): Add more tests.
8249 (tgamma_test): Likewise.
8250 (y0_test): Likewise.
8251 (y1_test): Likewise.
8252 (yn_test): Likewise.
8254 2012-03-27 Anton Blanchard <anton@samba.org>
8256 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8258 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8259 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8260 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8262 2012-03-27 David S. Miller <davem@davemloft.net>
8264 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8266 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8269 2012-03-27 Andreas Jaeger <aj@suse.de>
8271 * sysdeps/x86_64/elf/configure.in: Moved to ...
8272 * sysdeps/x86_64/configure.in: ... here.
8273 * sysdeps/x86_64/elf/start.S: Moved to ...
8274 * sysdeps/x86_64/start.S: ... here.
8275 * sysdeps/x86_64/elf/configure: Delete.
8277 * sysdeps/x86_64/configure.in: Merge contents from
8278 sysdeps/i386/configure.in (without i686 check).
8280 * sysdeps/i386/elf/Versions: Merge into ...
8281 * sysdeps/i386/Versions: ... this.
8282 * sysdeps/i386/elf/Versions: Delete file.
8283 * sysdeps/i386/elf/start.S: Moved to ...
8284 * sysdeps/i386/start.S: ...here.
8285 * sysdeps/i386/elf/configure.in: Merge into...
8286 * sysdeps/i386/configure.in: ...here.
8287 * sysdeps/i386/elf/configure.in: Delete file.
8288 * sysdeps/i386/elf/configure: Delete file.
8290 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8291 * debug/backtracesyms.c: ... here.
8292 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8293 * debug/backtracesymsfd.c: ... here.
8294 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8295 * sysdeps/generic/ifunc-sel.h: ... here.
8297 * sysdeps/unix/i386/start.c: Delete file.
8298 * sysdeps/unix/sparc/start.c: Delete file.
8299 * sysdeps/unix/start.c: Delete file.
8301 * sysdeps/sh/elf/configure.in: Moved to ...
8302 * sysdeps/sh/configure.in: ... here.
8303 * sysdeps/sh/elf/start.S: Moved to ...
8304 * sysdeps/sh/start.S: ... here.
8305 * sysdeps/sh/elf/configure: Delete file.
8307 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8308 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8309 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8310 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8311 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8312 * sysdeps/powerpc/powerpc64/start.S: here.
8313 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8314 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8315 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8316 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8317 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8319 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8320 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8321 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8322 * sysdeps/powerpc/powerpc32/start.S: ... here.
8323 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8324 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8325 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8327 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8328 * sysdeps/powerpc/ifunc-sel.h: ... here.
8329 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8330 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8332 * sysdeps/sparc/elf/configure.in: Moved to ...
8333 * sysdeps/sparc/configure.in: ... here.
8334 * sysdeps/sparc/elf/configure: Delete file.
8335 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8336 * sysdeps/sparc/sparc32/start.S: ... here.
8337 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8338 * sysdeps/sparc/sparc64/start.S: ... here.
8339 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8340 * sysdeps/sparc/sparc32/Makefile: ... this.
8341 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8342 * sysdeps/sparc/sparc64/Makefile: ... this.
8344 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8345 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8346 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8347 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8348 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8349 * sysdeps/s390/s390-32/setjmp.S: ... here.
8350 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8351 * sysdeps/s390/s390-32/configure.in: ... here.
8352 * sysdeps/s390/s390-32/elf/configure: Delete file.
8353 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8354 * sysdeps/s390/s390-32/start.S: ... here.
8356 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8357 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8358 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8359 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8360 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8361 * sysdeps/s390/s390-64/setjmp.S: ... here.
8362 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8363 * sysdeps/s390/s390-64/configure.in: ... here
8364 * sysdeps/s390/s390-64/elf/configure: Delete file.
8365 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8366 * sysdeps/s390/s390-64/start.S: ... here.
8367 * sysdeps/s390/s390-64/elf/configure: Delete.
8369 * configure.in: Remove support for elf directories in sysdeps.
8371 * configure: Regenerated.
8372 * sysdeps/i386/configure: Regenerated.
8373 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8374 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8375 * sysdeps/s390/s390-32/configure: Regenerated.
8376 * sysdeps/s390/s390-64/configure: Regenerated.
8377 * sysdeps/sh/configure: Regenerated.
8378 * sysdeps/sparc/configure: Regenerated.
8379 * sysdeps/x86_64/configure: Regenerated.
8381 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8385 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8386 denormal result into account.
8388 2012-03-25 Roland McGrath <roland@hack.frob.com>
8390 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8391 Reported by Allan McRae <allan@archlinux.org>.
8393 2012-03-23 Jeff Law <law@redhat.com>
8395 * nss/getnssent.c (__nss_getent): Fix typo.
8397 2012-03-23 David S. Miller <davem@davemloft.net>
8399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8401 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8403 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8404 to pad to uint64_t for each field.
8405 (dl_tls_index): Replace unsigned long with uint64_t.
8407 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8408 Paul Pluzhnikov <ppluzhnikov@google.com>
8411 * grp/Makefile (otherlibs): Don't set it.
8412 * inet/Makefile (otherlibs): Likewise.
8413 * login/Makefile (otherlibs): Likewise.
8414 * nscd/Makefile (otherlibs): Likewise.
8415 * posix/Makefile (otherlibs): Likewise.
8416 * pwd/Makefile (otherlibs): Likewise.
8417 * rt/Makefile (otherlibs): Likewise.
8418 * sunrpc/Makefile (otherlibs): Likewise.
8419 * nss/Makefile (otherlibs): Likewise.
8420 Add libnss_files to routines and static-only-routines.
8421 ($(objpfx)getent): Remove rule.
8422 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8423 static-only-routines.
8425 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8428 * math/s_cexp.c: Include <float.h>.
8429 (__cexp): Handle exp result overflowing not necessarily
8430 overflowing both real and imaginary parts of result.
8431 * math/s_cexpf.c: Likewise.
8432 * math/s_cexpl.c: Likewise.
8433 * math/libm-test.inc (cexp_test): Add more tests.
8434 * sysdeps/i386/fpu/libm-test-ulps: Update.
8435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8437 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8439 * include/link.h (ELFW): New macro.
8440 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8441 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8443 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8445 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8448 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8450 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8452 (struct La_x32_retval): Likewise.
8454 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8456 * sysdeps/x86_64/preconfigure.in: New file.
8457 * sysdeps/x86_64/preconfigure: New generated file.
8459 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8462 * math/e_exp2l.c: Include <float.h>.
8463 (__ieee754_exp2l): Handle overflow and underflow cases
8464 separately. Only pass fractional part of argument to
8466 * math/libm-test.inc (exp2_test): Add more tests.
8468 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8469 negating x to take absolute value.
8470 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8472 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8473 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8475 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8476 computing low part if x was negated.
8477 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8479 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8481 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8483 (pltexit): Cast int_retval to ptrdiff_t.
8484 * elf/tst-auditmod3b.c: Likewise.
8485 * elf/tst-auditmod4b.c: Likewise.
8486 * elf/tst-auditmod5b.c: Likewise.
8487 * elf/tst-auditmod6b.c: Likewise.
8488 * elf/tst-auditmod6c.c: Likewise.
8489 * elf/tst-auditmod7b.c: Likewise.
8491 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8492 and x32_gnu_pltexit.
8494 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8496 (La_x32_regs): New macro.
8497 (La_x32_retval): Likewise.
8498 (la_x32_gnu_pltenter): New function prototype.
8499 (la_x32_gnu_pltexit): Likewise.
8501 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8503 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8508 * configure.in (libc_cv_cc_nofma): Check for option to disable
8509 generation of FMA instructions.
8510 * configure: Regenerate.
8511 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8512 * sysdeps/ieee754/dbl-64/Makefile: New file.
8513 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8514 Remove brandred-fma4.
8515 (CFLAGS-brandred-fma4.c): Remove.
8516 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8517 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8519 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8522 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8524 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8525 LLONG_MAX != LONG_MAX.
8526 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8527 (_fitoa_word): Likewise.
8528 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8529 LLONG_MAX != LONG_MAX.
8530 * stdio-common/_itowa.h: Include <_itoa.h>.
8531 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8532 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8533 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8534 only if not defined.
8535 (_ITOA_WORD_TYPE): Likewise.
8536 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8537 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8539 2012-03-21 David S. Miller <davem@davemloft.net>
8541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8543 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8545 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8546 of x86_64 when setting libc_cv_slibdir, libdir and
8548 * sysdeps/unix/sysv/linux/configure: Regenerated.
8550 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8552 * manual/lang.texi (Old Varargs): Remove section.
8553 (How Variadic): Update menu.
8554 (va_start): Do not mention varargs.h.
8556 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8557 Joseph Myers <joseph@codesourcery.com>
8559 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8561 * configure: Regenerated.
8563 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8565 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8566 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8569 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8572 * Makefile (files-for-dist): Remove NOTES.
8573 (NOTES): Remove rule.
8574 * README: Don't refer to NOTES.
8575 * manual/creature.texi: Don't include macros.texi.
8576 * manual/intro.texi (creature.texi): Remove comment referring to
8579 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8580 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8581 * configure: Regenerated.
8582 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8584 (libc_cv_as_i686): Likewise.
8585 (libc_cv_cc_avx): Likewise.
8586 (libc_cv_cc_sse2avx): Likewise.
8587 (libc_cv_cc_fma4): Likewise.
8588 (libc_cv_cc_novzeroupper): Likewise.
8589 * sysdeps/i386/configure: Regenerated.
8592 * sysdeps/i386/fpu/s_cexp.S: Remove.
8593 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8594 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8595 * math/libm-test.inc (cexp_test): Add more tests.
8596 * sysdeps/i386/fpu/libm-test-ulps: Update.
8597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8599 2012-03-21 Allan McRae <allan@archlinux.org>
8601 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8603 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8606 * math/w_exp2.c: Do not include <float.h>.
8607 (o_threshold, u_threshold): Remove.
8608 (__exp2): Calculate result before checking finiteness and calling
8610 * math/w_exp2f.c: Likewise.
8611 * math/w_exp2l.c: Likewise.
8612 * math/libm-test.inc (exp2_test): Require overflow exception for
8616 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8617 range of signed 64-bit integers before using fistpll. Remove
8618 checks for whether integers fit in mantissa bits.
8619 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8620 the range of signed 32-bit integers before using fistpl. Remove
8621 checks for whether integers fit in mantissa bits.
8622 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8623 (__ieee754_powl): Test for y outside the range of signed 64-bit
8624 integers before using fistpll. Reduce 64-bit values to 63-bit
8626 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8627 divide-by-zero is raised for zero to large negative powers.
8628 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8629 (__ieee754_powl): Test for y outside the range of signed 64-bit
8630 integers before using fistpll. Reduce 64-bit values to 63-bit
8632 * math/libm-test.inc (pow_test): Add more tests.
8634 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8636 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8637 <stdio-common/_itoa.h>.
8638 * debug/segfault.c: Likewise.
8639 * elf/dl-cache.c: Likewise.
8640 * elf/dl-minimal.c: Likewise.
8641 * elf/dl-misc.c: Likewise.
8642 * elf/dl-sysdep.c: Likewise.
8643 * elf/dl-version.c: Likewise.
8644 * elf/rtld.c: Likewise.
8645 * hurd/hurdsock.c: Likewise.
8646 * hurd/lookup-retry.c: Likewise.
8647 * malloc/malloc.c: Likewise.
8648 * malloc/mtrace.c: Likewise.
8649 * nscd/nscd_getgr_r.c: Likewise.
8650 * nscd/nscd_getpw_r.c: Likewise.
8651 * nscd/nscd_getserv_r.c: Likewise.
8652 * posix/getopt_init.c: Likewise.
8653 * posix/wordexp.c: Likewise.
8654 * stdio-common/_itoa.c: Likewise.
8655 * stdio-common/printf_fphex.c: Likewise.
8656 * stdio-common/vfprintf.c: Likewise.
8657 * string/_strerror.c: Likewise.
8658 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8659 * sysdeps/i386/i686/hp-timing.h: Likewise.
8660 * sysdeps/mach/_strerror.c: Likewise.
8661 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8662 * sysdeps/mach/hurd/sethostid.c: Likewise.
8663 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8664 * sysdeps/mach/xpg-strerror.c: Likewise.
8665 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8666 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8667 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8668 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8669 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8670 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8671 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8672 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8673 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8674 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8675 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8676 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8677 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8678 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8679 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8680 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8681 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8682 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8683 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8684 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8685 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8687 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8689 * stdio-common/_itoa.h: Moved to ...
8690 * sysdeps/generic/_itoa.h: Here.
8692 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8694 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8695 instead of "_itoa.h" and "_itowa.h".
8696 * stdio-common/vfprintf.: Likewise.
8698 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8700 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8702 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8703 (__signbit): Likwise.
8707 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8709 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8712 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8714 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8715 OVERFLOW_EXCEPTION_OK.
8716 * math/libm-test.inc ("Philosophy"): Update comment about
8718 (OVERFLOW_EXCEPTION): Define.
8719 (OVERFLOW_EXCEPTION_OK): Likewise.
8720 (INVALID_EXCEPTION_OK): Renumber.
8721 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8722 (IGNORE_ZERO_INF_SIGN): Likewise.
8723 (test_exceptions): Handle FE_OVERFLOW.
8724 (exp10_test): Expect overflow exceptions.
8725 (exp2_test): Likewise.
8726 (expm1_test): Likewise.
8727 (nextafter_test): Likewise.
8728 (pow_test): Likewise.
8729 (scalbn_test): Likewise.
8730 (scalbln_test): Likewise.
8732 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8734 * sysdeps/x86_64/bits/atomic.h
8735 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8737 (atomic_exchange_acq): Likewise.
8738 (__arch_exchange_and_add_body): Likewise.
8739 (__arch_add_body): Likewise.
8740 (atomic_add_negative): Likewise.
8741 (atomic_add_zero): Likewise.
8743 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8745 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8746 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8748 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8750 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8751 Check __x86_64__ instead of __WORDSIZE.
8753 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8755 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8757 2012-03-19 David S. Miller <davem@davemloft.net>
8759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8761 * sysdeps/sparc/fpu/fenv_private.h: New file.
8762 * sysdeps/sparc/fpu/math_private.h: Use it.
8763 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8765 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8766 (libc_feholdexcept_setroundl): Remove.
8767 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8769 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8770 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8772 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8774 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8775 int64_t instead of long int.
8776 (INSERT_WORDS64): Likwise.
8778 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8780 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8781 _Unwind_GetCFA return to _Unwind_Ptr first.
8783 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8786 * math/s_clog.c: Include <float.h>.
8787 (__clog): Scale large or subnormal inputs.
8788 * math/s_clogf.c: Likewise.
8789 * math/s_clogl.c: Likewise.
8790 * math/s_clog10.c: Include <float.h>.
8791 (M_LOG10_2): Define.
8792 (__clog10): Scale large or subnormal inputs.
8793 * math/s_clog10f.c: Likewise.
8794 * math/s_clog10l.c: Likewise.
8795 * math/libm-test.inc (clog_test): Add more tests.
8796 (clog10_test): Likewise.
8797 * sysdeps/i386/fpu/libm-test-ulps: Update.
8798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8801 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8803 * math/libm-test.inc (atan2_test): Add another test.
8805 * Makerules (common-objdir-compile): Remove.
8806 * sysdeps/unix/Makefile (config-generated): Do not add
8807 $(unix-generated) to variable.
8808 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8809 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8811 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8813 [generic bits/local_lim.h] (before-compile): Do not append to
8815 [generic bits/local_lim.h] (common-generated): Likewise.
8816 [generic sys/param.h] (before-compile): Do not append to variable.
8817 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8818 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8819 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8820 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8822 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8823 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8824 [generic sys/param.h] ($(addprefix
8825 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8826 [generic sys/param.h] (common-generated): Do not append to
8828 [generic sys/param.h] (sysdep_headers): Likewise.
8829 [generic bits/errno.h] (before-compile): Do not append to
8831 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8833 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8834 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8835 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8836 [generic bits/errno.h] (common-generated): Do not append to
8838 [generic bits/ioctls.h] (before-compile): Do not append to
8840 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8842 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8843 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8844 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8846 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8847 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8848 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8849 [generic bits/ioctls.h] (common-generated): Do not append to
8851 [generic sys/syscall.h] (syscall.h): Remove variable.
8852 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8854 [generic sys/syscall.h] (before-compile): Do not append to
8856 [generic sys/syscall.h] (common-generated): Likewise.
8857 * sysdeps/unix/errnos-tmpl.c: Remove file.
8858 * sysdeps/unix/errnos.awk: Likewise.
8859 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8860 * sysdeps/unix/ioctls.awk: Likewise.
8861 * sysdeps/unix/mk-local_lim.c: Likewise.
8862 * sysdeps/unix/snarf-ioctls: Likewise.
8864 2012-03-19 Richard Henderson <rth@twiddle.net>
8866 * sysdeps/i386/fpu/fenv_private.h: New file.
8867 * sysdeps/i386/fpu/math_private.h: Use it.
8868 (math_opt_barrier, math_force_eval): Remove.
8869 (libc_feholdexcept_setround_53bit): Remove.
8870 (libc_feupdateenv_53bit): Remove.
8871 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8872 (math_opt_barrier, math_force_eval): Remove.
8873 (libc_feholdexcept): Remove.
8874 (libc_feholdexcept_setround): Remove.
8875 (libc_fetestexcept, libc_fesetenv): Remove.
8876 (libc_feupdateenv_test): Remove.
8877 (libc_feupdateenv, libc_feholdsetround): Remove.
8878 (libc_feresetround): Remove.
8880 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8881 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8883 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8884 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8885 (libc_feupdateenv_testl): New.
8886 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8887 (libc_feupdateenv_testf): New.
8888 (libc_feupdateenv): Use libc_feupdateenv_test.
8889 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8890 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8892 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8893 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8894 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8895 (libc_feresetround_noex): New.
8896 (libc_feresetround_noexf): New.
8897 (libc_feresetround_noexl): New.
8898 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8899 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8900 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8901 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8903 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8904 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8906 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8907 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8908 SET_RESTORE_ROUND_NOEX.
8909 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8910 SET_RESTORE_ROUND_NOEXF.
8911 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8912 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8913 (libc_feholdsetroundf): New.
8914 (libc_feresetround, libc_feresetroundf): New.
8916 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8917 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8918 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8920 * sysdeps/generic/math_private.h: Include <fenv.h>.
8921 (default_libc_feholdexcept): New.
8922 (default_libc_feholdexcept_setround): New.
8923 (default_libc_fesetenv, default_libc_feupdateenv): New.
8924 (libc_feholdexcept): Only define if undefined.
8925 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8926 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8927 (libc_feholdexcept_setroundl): Likewise.
8928 (libc_feholdexcept_setround_53bit): Likewise.
8929 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8930 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8931 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8932 (libc_feupdateenv_53bit): Likewise.
8933 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8934 (libc_feholdexcept): Convert from macro to inline function.
8935 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8936 (libc_fesetenv, libc_feupdateenv): Likewise.
8938 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8939 not previously defined.
8940 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8941 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8942 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8943 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8944 * sysdeps/ieee754/flt-32/math_private.h: New file.
8945 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8946 math_private.h below SET_FLOAT_WORD.
8947 (__isnan, __isinf_ns, __finite): Remove.
8948 (__isnanf, __isinf_nsf, __finitef): Remove.
8950 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8954 2012-03-17 David S. Miller <davem@davemloft.net>
8957 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8960 2012-03-16 David S. Miller <davem@davemloft.net>
8962 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8966 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8968 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8969 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8970 sysdep_routines when subdir is sysvipc.
8971 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8974 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8976 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8978 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8981 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8983 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8984 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8985 (__lround): Renamed to ...
8986 (__llround): This. Replace long int with long long int.
8987 Define lround functions as aliases of llround functions.
8988 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8990 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8992 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8993 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8994 adresses to uintptr_t. Replace "long int" and "unsigned long
8995 int" with "greg_t" on va_arg.
8997 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8999 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9000 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9002 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9003 Move e_machine check before EI_CLASS check. Handle x32
9004 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9005 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9006 SKIP_EM_IA_64 and include
9007 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9009 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9010 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9011 (add_system_dir): New macro.
9013 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9014 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9016 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9027 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9029 * math/w_j0f.c (j0f): Likewise.
9031 * math/w_j0l.c (__j0l): Likewise.
9033 * math/w_j1.c (j1): Likewise.
9035 * math/w_j1f.c (j1f): Likewise.
9037 * math/w_j1l.c (__j1l): Likewise.
9039 * math/w_jn.c (jn): Likewise.
9041 * math/w_jnf.c (jnf): Likewise.
9043 * math/w_jnl.c (__jnl): Likewise.
9045 * math/libm-test.inc (j0_test): Add more tests.
9046 (j1_test): Likewise.
9047 (jn_test): Likewise. Add trailing semicolon to existing test.
9048 (y0_test): Likewise.
9049 (y1_test): Likewise.
9050 * sysdeps/i386/fpu/libm-test-ulps: Update.
9051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9055 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9056 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9057 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9058 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9059 (__tanl): Set errno for infinite argument.
9060 * sysdeps/i386/fpu/mptan.c: Remove.
9061 * sysdeps/i386/fpu/s_tan.S: Likewise.
9062 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9063 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9064 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9065 * math/libm-test.inc (tan_test): Add more tests and enable more
9066 tests for double and long double.
9067 * sysdeps/i386/fpu/libm-test-ulps: Update.
9068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9070 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9072 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9073 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9075 2012-03-16 Roland McGrath <roland@hack.frob.com>
9077 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9078 * configure.in: Use it for both main tree and add-ons.
9079 * configure: Regenerated.
9081 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9083 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9085 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9087 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9091 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9092 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9097 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9098 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9100 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9101 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9102 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9103 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9104 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9105 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9106 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9107 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9108 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9109 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9110 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9111 * math/libm-test.inc (cos_test): Add more tests and enable more
9112 tests for long double.
9113 (sin_test): Likewise.
9114 (sincos_test): Likewise.
9115 * sysdeps/i386/fpu/libm-test-ulps: Update.
9116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9118 2012-03-16 David S. Miller <davem@davemloft.net>
9120 * sysdeps/sparc/fpu/math_private.h: New file.
9122 2012-03-15 David S. Miller <davem@davemloft.net>
9124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9134 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9138 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9139 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9141 * sysdeps/sparc/sparc-ifunc.h: New file.
9142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9166 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9167 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9168 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9169 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9170 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9171 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9180 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9181 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9182 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9183 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9184 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9185 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9187 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9189 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9193 2012-03-15 Andreas Jaeger <aj@suse.de>
9196 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9197 ieee754/flt-32 implementation for sin, cos and sincos.
9198 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9199 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9200 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9201 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9202 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9203 ieee754/flt-32 implementation for tan.
9205 * math/libm-test.inc (cos_test): Enable some large input tests for
9207 (sin_test): Likewise.
9208 (sincos_test): Likewise.
9209 (tan_test): Add tests for large input.
9211 * sysdeps/i386/fpu/libm-test-ulps: Update.
9213 2012-03-15 Andreas Jaeger <aj@suse.de>
9216 * math/libm-test.inc (cos_test): Add more test cases.
9217 (sin_test): Likewise.
9218 (sincos_test): Likewise.
9220 2012-03-15 Andreas Jaeger <aj@suse.de>
9223 * math/libm-test.inc (cos_test): Add a test case for large input
9225 (sin_test): Likewise.
9226 (sincos_test): Likewise.
9228 2012-03-15 Andreas Jaeger <aj@suse.de>,
9229 Joseph Myers <joseph@codesourcery.com>
9232 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9233 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9234 * sysdeps/i386/fpu/branred.c: Likewise.
9235 * sysdeps/i386/fpu/dosincos.c: Likewise.
9236 * sysdeps/i386/fpu/mpa.c: Likewise.
9237 * sysdeps/i386/fpu/s_cos.S: Likewise.
9238 * sysdeps/i386/fpu/s_sin.S: Likewise.
9239 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9240 * sysdeps/i386/fpu/sincos32.c: Likewise.
9242 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9244 (libc_feupdateenv_53bit): Define.
9245 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9247 (libc_feupdateenv_53bit): Define.
9249 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9250 53 bit (without extend i386 double precision).
9252 * math/libm-test.inc (sincos_test): Add tests for large input.
9256 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9258 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9262 2012-03-15 David S. Miller <davem@davemloft.net>
9264 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9265 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9266 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9267 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9291 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9292 fmin/fmax sysdep routines.
9293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9295 2012-03-14 David S. Miller <davem@davemloft.net>
9297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9298 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9301 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9302 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9303 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9304 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9305 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9306 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9307 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9317 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9318 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9319 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9320 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9321 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9322 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9323 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9324 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9325 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9369 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9374 * sysdeps/sparc/configure.in: New file.
9375 * sysdeps/sparc/configure: Generate.
9376 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9377 * configure: Regenerate.
9378 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9379 * config.make.in (have-as-vis3): New.
9380 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9381 available use -Av9d instead of -Av9a.
9382 * sysdeps/sparc/sparc64/Makefile: Likewise.
9383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9392 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9393 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9394 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9395 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9396 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9398 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9399 fzeros/fnegs to load 0x80000000 into a float register instead of
9401 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9403 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9405 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9407 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9408 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9409 ($(inst_includedir)/bits/syscall.h): Remove rule.
9410 ($(objpfx)bits/syscall.d): Include instead of
9411 $(objpfx)syscall-list.d.
9412 (generated): Change syscall-list.h and syscall-list.d to
9413 bits/syscall.h and bits/syscall.d.
9415 2012-03-14 Roland McGrath <roland@hack.frob.com>
9418 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9420 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9423 * math/s_csqrt.c: Include <float.h>.
9424 (__csqrt): Scale large or subnormal inputs.
9425 * math/s_csqrtf.c: Likewise.
9426 * math/s_csqrtl.c: Likewise.
9427 * math/libm-test.inc (csqrt_test): Add more tests.
9428 * sysdeps/i386/fpu/libm-test-ulps: Update.
9429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9432 * math/libm-test.inc (hypot_test): Add more tests.
9434 2012-03-13 David S. Miller <davem@davemloft.net>
9437 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9438 double-precision for the calculation instead of scaling.
9440 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9442 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9443 manipulate bits before adding and subtracting TWO52[sx].
9444 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9445 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9447 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9449 2012-03-13 David S. Miller <davem@davemloft.net>
9451 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9452 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9453 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9454 rtld-global-offsets.h
9455 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9457 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9460 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9462 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9463 'err' in the ifdef scope in which it is actually used.
9465 * nss/nss_db/db-init.c: Include string.h
9467 2012-03-12 David S. Miller <davem@davemloft.net>
9469 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9470 masking out of the most significant byte of random value used.
9471 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9472 Fix coding style in previous change.
9474 * sysdeps/unix/sysv/linux/kernel-features.h
9475 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9476 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9478 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9481 2012-03-11 David S. Miller <davem@davemloft.net>
9483 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9484 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9485 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9486 for 'resultvar' otherwise things get truncated on 64-bit.
9488 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9489 Fix masking out of the most significant byte of random value used.
9491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9493 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9497 2012-03-09 David S. Miller <davem@davemloft.net>
9499 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9500 variables with appropriate CPP guards.
9501 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9502 frame pointer, not the stack pointer. Correct layout comments. Fix test
9503 on resulting framesize and the management of the outregs buffer for pltexit.
9504 Preserve floating point return values across _dl_call_pltexit call.
9505 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9506 framesize and the management of the outregs buffer for pltexit.
9507 Preserve floating point return values across _dl_call_pltexit
9509 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9510 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9511 (print_exit): Fix format string for return register value.
9513 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9515 * sunrpc/Makefile (others): Add rpcgen.
9516 ($(objpfx)rpcgen): Remove special build rule and dependency on
9518 * sunrpc/rpcgen.c: New file.
9520 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9523 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9524 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9525 * sysdeps/i386/crti.S: Likewise.
9526 * sysdeps/i386/crtn.S: Likewise.
9527 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9528 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9529 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9530 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9531 * sysdeps/sh/crti.S: Likewise.
9532 * sysdeps/sh/crtn.S: Likewise.
9533 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9536 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9538 * locale/programs/locfile-kw.gperf: Likewise.
9539 * locale/programs/charmap-kw.h: Regenerated.
9540 * locale/programs/locfile-kw.h: Likewise.
9543 * intl/plural.y: Replace FSF snail mail address with URL.
9544 * intl/plural.c: Regenerated.
9546 2012-03-09 Richard Henderson <rth@twiddle.net>
9548 * include/math_private.h: Remove file.
9549 * math/math_private.h: Move file ...
9550 * sysdeps/generic/math_private.h: ... here.
9552 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9553 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9554 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9556 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9557 and <math_private.h>.
9558 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9559 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9560 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9561 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9562 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9563 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9564 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9565 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9566 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9567 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9568 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9569 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9570 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9571 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9572 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9573 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9574 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9575 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9576 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9577 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9578 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9579 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9580 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9581 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9582 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9583 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9584 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9585 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9586 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9587 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9588 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9589 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9590 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9591 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9592 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9593 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9594 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9595 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9596 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9597 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9598 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9599 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9600 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9601 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9602 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9603 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9604 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9605 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9606 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9607 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9608 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9609 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9610 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9611 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9612 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9613 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9614 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9615 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9616 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9617 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9618 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9619 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9620 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9621 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9622 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9623 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9624 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9625 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9626 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9627 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9628 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9629 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9630 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9631 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9632 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9633 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9634 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9635 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9636 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9637 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9638 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9639 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9640 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9641 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9642 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9643 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9644 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9645 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9646 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9647 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9648 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9649 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9650 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9651 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9652 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9653 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9654 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9655 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9656 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9657 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9658 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9659 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9660 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9661 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9662 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9663 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9664 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9665 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9666 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9667 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9668 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9669 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9670 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9671 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9672 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9673 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9674 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9675 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9676 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9677 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9678 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9679 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9680 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9681 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9682 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9683 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9684 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9685 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9686 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9687 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9688 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9689 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9690 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9691 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9692 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9693 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9694 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9695 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9696 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9697 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9698 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9699 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9700 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9701 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9702 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9703 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9704 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9705 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9706 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9707 * sysdeps/ieee754/k_standard.c: Likewise.
9708 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9709 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9710 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9711 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9712 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9713 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9714 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9715 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9716 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9717 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9718 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9719 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9720 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9721 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9722 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9723 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9724 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9725 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9726 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9727 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9728 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9729 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9730 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9732 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9733 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9734 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9735 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9736 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9737 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9738 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9739 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9740 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9741 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9742 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9743 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9744 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9745 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9746 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9747 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9748 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9749 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9750 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9751 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9752 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9753 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9754 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9755 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9756 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9757 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9758 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9759 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9760 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9761 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9762 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9763 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9764 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9765 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9766 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9767 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9768 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9769 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9770 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9771 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9772 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9773 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9774 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9775 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9776 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9777 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9778 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9779 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9780 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9781 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9782 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9783 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9784 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9785 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9786 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9787 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9788 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9789 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9790 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9791 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9792 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9793 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9794 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9795 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9796 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9797 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9798 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9799 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9800 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9801 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9802 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9803 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9804 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9805 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9806 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9807 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9808 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9809 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9810 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9811 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9812 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9813 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9814 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9815 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9816 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9817 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9818 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9819 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9820 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9821 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9822 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9823 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9824 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9825 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9826 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9827 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9828 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9829 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9830 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9831 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9832 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9833 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9834 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9835 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9836 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9837 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9838 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9839 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9840 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9841 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9842 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9843 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9844 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9845 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9846 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9847 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9848 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9849 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9850 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9851 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9852 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9853 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9854 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9855 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9856 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9857 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9858 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9862 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9864 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9865 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9866 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9867 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9868 * sysdeps/ieee754/s_lib_version.c: Likewise.
9869 * sysdeps/ieee754/s_matherr.c: Likewise.
9870 * sysdeps/ieee754/s_signgam.c: Likewise.
9871 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9872 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9873 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9874 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9875 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9876 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9877 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9878 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9879 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9880 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9881 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9882 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9883 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9884 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9885 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9886 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9887 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9888 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9889 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9890 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9891 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9893 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9895 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9896 * sunrpc/rpc_main.c: Likewise.
9897 * sunrpc/rpc_svcout.c: Likewise.
9899 2012-03-09 David S. Miller <davem@davemloft.net>
9901 * include/math_private.h: New file.
9903 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9905 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9906 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9907 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9908 from <bits/socket_type.h>.
9909 (enum __socket_type): Don't define here.
9910 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9911 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9915 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9918 * Makerules ($(inst_includedir)/%.h): New rule.
9919 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9920 (install-others): Remove variable setting.
9921 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9923 2012-03-08 Richard Henderson <rth@twiddle.net>
9925 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9926 from macro to inline function; merge with the
9927 !__LIBC_INTERNAL_MATH_INLINES version.
9928 (__ieee754_sqrtf): Likewise.
9930 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9932 (__rintf, __floor, __floorf): Likewise.
9934 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9935 macro to inline function.
9936 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9938 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9939 not <math/math_private.h>.
9941 2012-03-08 David S. Miller <davem@davemloft.net>
9943 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9945 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9947 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9949 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9951 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9952 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9954 2012-03-08 Ulrich Drepper <drepper@gmail.com>
9956 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9957 be defined individually, they must be defined as a block. Define
9958 S for printing a string instead of hidint the different by using a
9959 macro for adding the 'l'.
9960 * stdio-common/tst-fphex-wide.c: Adjust.
9962 2012-03-07 Marek Polacek <polacek@redhat.com>
9964 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9966 2012-03-08 Marek Polacek <polacek@redhat.com>
9969 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9970 * stdio-common/tst-fphex.c: Define a few macros to make the
9971 test reusable. Use them.
9972 * stdio-common/tst-fphex-wide.c: New file.
9974 2012-03-08 Joseph Myers <joseph@codesourcery.com>
9977 * manual/macros.texi (gnusystems): New macro.
9978 (nongnusystems): Likewise.
9979 (gnulinuxhurdsystems): Likewise.
9980 (gnuhurdsystems): Likewise..
9981 (gnulinuxsystems): Likewise.
9982 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9983 variants of the GNU system, not "GNU system".
9984 * manual/conf.texi: Likewise.
9985 * manual/errno.texi: Likewise. Update example of errno macro
9987 * manual/filesys.texi: Likewise.
9988 (getumask): Document as specific to GNU/Hurd.
9989 * manual/install.texi: Likewise. Reword some references to
9991 * manual/intro.texi: Likewise.
9992 * manual/io.texi: Likewise.
9993 (File Name Portability): Detail which constraints are inapplicable
9994 to all GNU systems and which are only inapplicable to GNU/Hurd.
9995 * manual/job.texi: Likewise.
9996 * manual/llio.texi: Likewise.
9997 (O_NOCTTY): Document as present on GNU/Linux.
9998 * manual/maint.texi: Likewise.
9999 * manual/memory.texi: Likewise.
10000 * manual/pattern.texi: Likewise.
10001 * manual/pipe.texi: Likewise.
10002 * manual/process.texi: Likewise.
10003 * manual/resource.texi: Likewise.
10004 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10006 * manual/setjmp.texi: Likewise.
10007 * manual/signal.texi: Likewise.
10008 * manual/startup.texi: Likewise.
10009 * manual/stdio.texi: Likewise.
10010 * manual/terminal.texi: Likewise.
10011 (ONLCR): Document as POSIX.
10012 (OXTABS): Document availability on GNU/Linux as XTABS.
10013 (ONOEOT): Document availability separately from other bits.
10014 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10015 * manual/time.texi: Likewise.
10016 * manual/users.texi: Likewise.
10017 * INSTALL: Regenerated.
10018 * sysdeps/gnu/errlist.c: Regenerated.
10020 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10021 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10022 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10024 * configure: Regenerated.
10026 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10028 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10029 default includes instead of AC_HEADER_CHECK.
10030 * sysdeps/i386/configure: Regenerated.
10033 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10034 * math/s_cacoshf.c (__cacoshf): Likewise.
10035 * math/s_cacoshl.c (__cacoshl): Likewise.
10036 * math/s_casinh.c (__casinh): Set signs of result from argument.
10037 * math/s_casinhf.c (__casinhf): Likewise.
10038 * math/s_casinhl.c (__casinhl): Likewise.
10039 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10040 (casinh_test): Add more tests.
10041 * sysdeps/i386/fpu/libm-test-ulps: Update.
10042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10044 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10046 * po/zh_TW.po: Update from translation team.
10048 * login/Makefile (distribute): Remove variable.
10049 * catgets/Makefile: Likewise.
10050 * mach/Makefile: Likewise.
10051 * malloc/Makefile: Likewise.
10052 * misc/Makefile: Likewise.
10053 * iconv/Makefile: Likewise.
10054 * nscd/Makefile: Likewise.
10055 * hurd/Makefile: Likewise.
10056 * manual/Makefile: Likewise.
10057 * locale/Makefile: Likewise.
10058 * intl/Makefile: Likewise.
10059 * conform/Makefile: Likewise.
10060 * nss/Makefile: Likewise.
10061 * time/Makefile: Likewise.
10062 * soft-fp/Makefile: Likewise.
10063 * dirent/Makefile: Likewise.
10064 * gmon/Makefile: Likewise.
10065 * po/Makefile: Likewise.
10066 * rt/Makefile: Likewise.
10067 * socket/Makefile: Likewise.
10068 * math/Makefile: Likewise.
10069 * signal/Makefile: Likewise.
10070 * debug/Makefile: Likewise.
10071 * elf/Makefile: Likewise.
10072 * timezone/Makefile: Likewise.
10073 * stdlib/Makefile: Likewise.
10074 * iconvdata/Makefile: Likewise.
10075 * sunrpc/Makefile: Likewise.
10076 * io/Makefile: Likewise.
10077 * argp/Makefile: Likewise.
10078 * inet/Makefile: Likewise.
10079 * hesiod/Makefile: Likewise.
10080 * grp/Makefile: Likewise.
10081 * csu/Makefile: Likewise.
10082 * wctype/Makefile: Likewise.
10083 * crypt/Makefile: Likewise.
10084 * libio/Makefile: Likewise.
10085 * string/Makefile: Likewise.
10086 * nis/Makefile: Likewise.
10087 * resolv/Makefile: Likewise.
10088 * stdio-common/Makefile: Likewise.
10089 * wcsmbs/Makefile: Likewise.
10090 * dlfcn/Makefile: Likewise.
10091 * posix/Makefile: Likewise.
10094 * timezone/Makefile: Don't install timezone files, just the programs
10097 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10099 * nss/databases.def: Add missing gshadow entry.
10101 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10103 2012-03-06 Marek Polacek <polacek@redhat.com>
10106 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10107 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10108 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10109 * stdio-common/tst-long-dbl-fphex.c: New file.
10111 2012-03-06 David S. Miller <davem@davemloft.net>
10113 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10114 (set_obp_int): New function.
10115 (get_obp_int): New function.
10116 (__get_clockfreq_via_dev_openprom): Likewise.
10117 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10118 Avoid unused variable warnings on 'val' and use builtin_expect.
10119 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10121 (INLINE_CLONE_SYSCALL): Likewise.
10123 2012-03-05 David S. Miller <davem@davemloft.net>
10125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10127 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10131 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10132 only for |x| >= 40.
10133 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10135 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10137 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10138 Replace gettimeofday with __vdso_gettimeofday.
10140 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10141 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10142 __vdso_clock_gettime and __vdso_getcpu.
10144 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10145 time with __vdso_time.
10147 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10149 * manual/lang.texi (size_t): Note types to which size_t may be
10150 equivalent with the GNU C Library, but do not describe when
10151 differences between them are significant.
10153 2012-03-05 Andreas Jaeger <aj@suse.de>
10155 * sysdeps/i386/fpu/libm-test-ulps: Update.
10157 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10160 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10161 (__ieee754_pow): Save and restore rounding mode and use
10162 round-to-nearest for main computations.
10163 * math/libm-test.inc (pow_test_tonearest): New function.
10164 (pow_test_towardzero): Likewise.
10165 (pow_test_downward): Likewise.
10166 (pow_test_upward): Likewise.
10167 (main): Call the new functions.
10168 * sysdeps/i386/fpu/libm-test-ulps: Update.
10169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10172 * math/libm-test.inc (cosh_test_tonearest): New function.
10173 (cosh_test_towardzero): Likewise.
10174 (cosh_test_downward): Likewise.
10175 (cosh_test_upward): Likewise.
10176 (sinh_test_tonearest): Likewise.
10177 (sinh_test_towardzero): Likewise.
10178 (sinh_test_downward): Likewise.
10179 (sinh_test_upward): Likewise.
10180 (main): Call the new functions.
10181 * sysdeps/i386/fpu/libm-test-ulps: Update.
10182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10184 2012-03-05 Tom de Vries <tom@codesourcery.com>
10186 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10187 default stack guard is set in last bytes.
10188 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10190 2012-03-05 Kees Cook <keescook@chromium.org>
10192 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10195 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10196 possibly allocate from heap instead of stack.
10197 * stdio-common/bug-vfprintf-nargs.c: New file.
10198 * stdio-common/Makefile (tests): Add nargs overflow test.
10200 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10204 2012-03-03 Marek Polacek <polacek@redhat.com>
10206 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10207 * math/math_private.h: Likewise.
10208 * stdlib/tst-strtod.c: Likewise.
10209 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10210 * sysdeps/x86_64/bits/atomic.h: Likewise.
10212 2012-03-02 David S. Miller <davem@davemloft.net>
10214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10218 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10219 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10220 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10221 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10223 2012-03-02 Roland McGrath <roland@hack.frob.com>
10226 * manual/examples/README: New file, says the example source files
10227 can be used under GPL>=2.
10228 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10229 line containing just "*/".
10230 * manual/examples/add.c: Add copyright header (GPL>=2).
10231 * manual/examples/argp-ex1.c: Likewise.
10232 * manual/examples/argp-ex2.c: Likewise.
10233 * manual/examples/argp-ex3.c: Likewise.
10234 * manual/examples/argp-ex4.c: Likewise.
10235 * manual/examples/atexit.c: Likewise.
10236 * manual/examples/db.c: Likewise.
10237 * manual/examples/dir.c: Likewise.
10238 * manual/examples/dir2.c: Likewise.
10239 * manual/examples/execinfo.c: Likewise.
10240 * manual/examples/filecli.c: Likewise.
10241 * manual/examples/filesrv.c: Likewise.
10242 * manual/examples/fmtmsgexpl.c: Likewise.
10243 * manual/examples/genpass.c: Likewise.
10244 * manual/examples/inetcli.c: Likewise.
10245 * manual/examples/inetsrv.c: Likewise.
10246 * manual/examples/isockad.c: Likewise.
10247 * manual/examples/longopt.c: Likewise.
10248 * manual/examples/memopen.c: Likewise.
10249 * manual/examples/memstrm.c: Likewise.
10250 * manual/examples/mkfsock.c: Likewise.
10251 * manual/examples/mkisock.c: Likewise.
10252 * manual/examples/mygetpass.c: Likewise.
10253 * manual/examples/pipe.c: Likewise.
10254 * manual/examples/popen.c: Likewise.
10255 * manual/examples/rprintf.c: Likewise.
10256 * manual/examples/search.c: Likewise.
10257 * manual/examples/select.c: Likewise.
10258 * manual/examples/setjmp.c: Likewise.
10259 * manual/examples/sigh1.c: Likewise.
10260 * manual/examples/sigusr.c: Likewise.
10261 * manual/examples/stpcpy.c: Likewise.
10262 * manual/examples/strdupa.c: Likewise.
10263 * manual/examples/strftim.c: Likewise.
10264 * manual/examples/strncat.c: Likewise.
10265 * manual/examples/subopt.c: Likewise.
10266 * manual/examples/swapcontext.c: Likewise.
10267 * manual/examples/termios.c: Likewise.
10268 * manual/examples/testopt.c: Likewise.
10269 * manual/examples/testpass.c: Likewise.
10270 * manual/examples/timeval_subtract.c: Likewise.
10273 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10275 * manual/timeval_subtract.c.texi: ... here, new file.
10277 2012-03-02 David S. Miller <davem@davemloft.net>
10279 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10281 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10284 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10285 (__sin): Save and restore rounding mode and use round-to-nearest
10286 for all computations.
10287 (__cos): Save and restore rounding mode and use round-to-nearest
10288 for all computations.
10289 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10291 (tan): Save and restore rounding mode and use round-to-nearest for
10293 * math/libm-test.inc (cos_test_tonearest): New function.
10294 (cos_test_towardzero): Likewise.
10295 (cos_test_downward): Likewise.
10296 (cos_test_upward): Likewise.
10297 (sin_test_tonearest): Likewise.
10298 (sin_test_towardzero): Likewise.
10299 (sin_test_downward): Likewise.
10300 (sin_test_upward): Likewise.
10301 (tan_test_tonearest): Likewise.
10302 (tan_test_towardzero): Likewise.
10303 (tan_test_downward): Likewise.
10304 (tan_test_upward): Likewise.
10305 (main): Call the new functions.
10306 * sysdeps/i386/fpu/libm-test-ulps: Update.
10307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10310 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10311 small n, then large n, before computing and testing k+n.
10312 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10313 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10315 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10317 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10318 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10319 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10320 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10321 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10322 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10323 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10324 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10325 * math/libm-test.inc (scalbn_test): Add more tests.
10326 (scalbln_test): Likewise.
10328 * manual/filesys.texi (mode_t): Describe constraints on size and
10329 signedness, not exact equivalence to a particular type.
10331 (ino64_t): Likewise.
10333 (nlink_t): Likewise.
10334 (blkcnt_t): Likewise.
10335 (blkcnt64_t): Likewise.
10336 * manual/llio.texi (off_t): Likewise.
10339 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10340 (__ieee754_exp): Save and restore rounding mode and use
10341 round-to-nearest for all computations.
10342 * math/libm-test.inc (exp_test_tonearest): New function.
10343 (exp_test_towardzero): Likewise.
10344 (exp_test_downward): Likewise.
10345 (exp_test_upward): Likewise.
10346 (main): Call the new functions.
10347 * sysdeps/i386/fpu/libm-test-ulps: Update.
10348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10350 2012-03-01 Chris Demetriou <cgd@google.com>
10352 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10353 have predictable order.
10355 2012-03-01 David S. Miller <davem@davemloft.net>
10357 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10359 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10360 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10361 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10362 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10364 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10365 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10366 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10368 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10369 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10370 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10371 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10372 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10376 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10377 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10378 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10380 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10381 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10382 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10383 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10384 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10385 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10386 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10387 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10388 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10389 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10390 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10391 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10392 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10393 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10394 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10395 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10396 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10397 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10398 * sysdeps/sparc/elf/configure: Regenerated.
10400 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10402 * configure.in (AS, LD): Require binutils 2.20 or later.
10403 * configure: Regenerated.
10404 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10405 as required minimum version.
10406 * INSTALL: Regenerated.
10410 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10411 before squaring exponent.
10412 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10413 bottom long double and 27 bits of top long double before squaring
10415 * math/libm-test.inc (erfc_test): Add more tests.
10416 * sysdeps/i386/fpu/libm-test-ulps: Update.
10417 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10420 2012-03-01 Kai Tietz <ktietz@redhat.com>
10422 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10423 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10424 containing bit-fields.
10425 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10426 * soft-fp/single.h (_FP_UNION_S): Likewise.
10427 * soft-fp/double.h (_FP_UNION_D): Likewise.
10429 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10432 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10433 not include ../strcmp.S.
10434 [USE_AS_STRNCASECMP_L]: Likewise.
10435 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10436 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10437 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10438 (__strncasecmp_l_ia32): Define as alias to
10439 __strncasecmp_l_nonascii.
10442 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10443 * sysdeps/i386/fpu/libm-test-ulps: Update.
10444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10446 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10449 2012-02-29 Jeff Law <law@redhat.com>
10451 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10452 out of bounds read.
10454 2012-02-29 Marek Polacek <polacek@redhat.com>
10457 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10458 * elf/Makefile: Add rules to run tst-unused-dep.out.
10460 2012-02-28 David S. Miller <davem@davemloft.net>
10462 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10463 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10464 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10465 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10466 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10467 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10469 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10471 * math/libm-test.inc (llround_test): Move one test from
10472 lround_test. Use TEST_f_L in moved test.
10473 (lround_test): Move misplaced test to llround_test. Add testcase
10476 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10478 * sysdeps/x86_64/fpu/e_expf.S: New file.
10479 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10481 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10484 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10485 of remain_len that may cause incomplete multi-byte character and
10487 * posix/bug-regex33.c: New file.
10488 * posix/Makefile (tests): Add bug-regex33.
10490 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10492 * manual/macros.texi: New file.
10493 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10494 * manual/libc.texinfo: Include macros.texi.
10495 * manual/creatute.texi: Likewise.
10496 * manual/install.texi: Likewise.
10497 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10498 @glibcadj{} in references to the GNU C Library.
10499 * manual/charset.texi: Likewise.
10500 * manual/conf.texi: Likewise.
10501 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10502 when not using those macros.
10503 * manual/creature.texi: Likewise.
10504 * manual/crypt.texi: Likewise.
10505 * manual/errno.texi: Likewise.
10506 * manual/filesys.texi: Likewise.
10507 * manual/header.texi: Likewise.
10508 * manual/install.texi: Likewise.
10509 * manual/intro.texi: Likewise.
10510 * manual/io.texi: Likewise.
10511 * manual/job.texi: Likewise.
10512 * manual/lang.texi: Likewise.
10513 * manual/libc.texiinfo: Likewise.
10514 * manual/llio.texi: Likewise.
10515 * manual/locale.texi: Likewise.
10516 * manual/maint.texi: Likewise.
10517 * manual/math.texi: Likewise.
10518 * manual/memory.texi: Likewise.
10519 * manual/message.texi: Likewise.
10520 * manual/nss.texi: Likewise.
10521 * manual/pattern.texi: Likewise.
10522 * manual/process.texi: Likewise.
10523 * manual/resource.texi: Likewise.
10524 * manual/search.texi: Likewise.
10525 * manual/setjmp.texi: Likewise.
10526 * manual/signal.texi: Likewise.
10527 * manual/socket.texi: Likewise.
10528 * manual/startup.texi: Likewise.
10529 * manual/stdio.texi: Likewise.
10530 * manual/string.texi: Likewise.
10531 * manual/sysinfo.texi: Likewise.
10532 * manual/syslog.texi: Likewise.
10533 * manual/terminal.texi: Likewise.
10534 * manual/time.texi: Likewise.
10535 * manual/users.texi: Likewise.
10536 * INSTALL: Regenerated.
10537 * NOTES: Regenerated.
10538 * sysdeps/gnu/errlist.c: Regenerated.
10540 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10542 * include/dirent.h: Include <dirstream.h> before
10545 2012-02-28 David S. Miller <davem@davemloft.net>
10547 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10548 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10549 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10550 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10552 2012-02-27 David S. Miller <davem@davemloft.net>
10554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10556 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10557 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10560 frame pointer instead of stack pointer relative arg slot.
10561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10562 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10563 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10565 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10568 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10570 2012-02-27 David S. Miller <davem@davemloft.net>
10572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10576 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10577 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10578 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10579 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10581 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10583 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10584 later. Allow versions 5-9.
10585 * configure: Regenerated.
10586 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10587 required minimum version and 4.6 as recommended version. Do not
10588 mention bugs in GCC 2.7 and 2.8.
10589 * INSTALL: Regenerated.
10591 2012-02-27 David S. Miller <davem@davemloft.net>
10593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10597 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10598 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10599 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10600 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10602 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10603 manipulate bits before adding and subtracting TWO112[sx].
10604 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10606 2012-02-27 Roland McGrath <roland@hack.frob.com>
10609 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10610 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10611 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10612 being in POSIX, because they are in 1003.1-2008.
10614 * rt/tst-aio.c: Include <fcntl.h>.
10615 * rt/tst-aio7.c: Likewise.
10616 * rt/tst-aio64.c: Likewise.
10618 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10620 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10622 * manual/install.texi (--with-headers): Describe headers as
10623 interface headers, not private headers.
10624 (Specific advice for GNU/Linux systems): Describe use of headers
10625 from "make headers_install", not private headers from older
10627 * INSTALL: Regenerated.
10628 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10630 * sysdeps/unix/sysv/linux/configure: Regenerated.
10632 * manual/llio.texi (fclean): Remove documentation.
10634 * manual/Makefile (libc-texi-generated): New variable. Include
10636 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10637 $(libc-texi-generated), not duplicated list of files.
10638 (version.texi, stamp-version): New rules.
10639 (realclean): Remove $(libc-texi-generated), not individual files
10640 from that list. Do not remove dir-add.texinfo.
10641 * manual/libc.texinfo: Comment out uses of edition numbers and
10642 references to printed manual. Remove last-updated dates.
10643 (EDITION): Comment out.
10645 (VERSION, UPDATED): Remove.
10646 (version.texi): Include.
10648 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10650 * sysdeps/posix/spawni.c: Include <signal.h>.
10651 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10652 * sysdeps/pthread/aio_fsync.c: Likewise.
10654 2012-02-26 Ulrich Drepper <drepper@gmail.com>
10656 * conform/Makefile (tests): Run only when not cross-compiling and
10657 when fast-check is not defined.
10659 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10660 * conform/data/limits.h-data: Fixes for POSIX2008.
10661 * conform/run-conformtest.sh: Run all tests.
10662 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10664 * include/bits/dlfcn.h: Likewise.
10665 * include/langinfo.h: Likewise.
10666 * include/monetary.h: Likewise.
10667 * include/sys/poll.h: Likewise.
10669 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10671 * posix/spawn.h: Define __need_sigset_t.
10672 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10673 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10674 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10675 to get sigevent_t only.
10676 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10677 only for __USE_GNU.
10678 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10679 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10680 process_vm_writev only for __USE_GNU.
10681 * termios/termios.h: Declare tcgetsid also for POSIX2008.
10683 * conform/Makefile: For now ignore errors from run-conformtest.
10684 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10685 POSIX to avoid namespace pollution. Don't prepend headers.
10686 * conform/data/aio.h-data: Fixes for POSIX testing.
10687 * conform/data/fcntl.h-data: Likewise.
10688 * conform/data/glob.h-data: Likewise.
10689 * conform/data/grp.h-data: Likewise.
10690 * conform/data/pthread.h-data: Likewise.
10691 * conform/data/pwd.h-data: Likewise.
10692 * conform/data/signal.h-data: Likewise.
10693 * conform/data/spawn.h-data: Likewise.
10694 * conform/data/stdio.h-data: Likewise.
10695 * conform/data/stdlib.h-data: Likewise.
10696 * conform/data/stropts.h-data: Likewise.
10697 * conform/data/sys/mman.h-data: Likewise.
10698 * conform/data/sys/stat.h-data: Likewise.
10699 * conform/data/sys/types.h-data: Likewise.
10700 * conform/data/sys/wait.h-data: Likewise.
10701 * conform/data/time.h-data: Likewise.
10702 * conform/data/unistd.h-data: Likewise.
10703 * conform/data/utime.h-data: Likewise.
10705 * io/sys/stat.h: fchmod was always in POSIX.
10706 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10707 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10708 * rt/aio.h: Define __need_timespec before including <time.h>.
10709 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10710 struct. Add forward declaration of pthread_attr_t and use it in
10712 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10713 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10714 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10715 always remove CLK_TCK definition.
10717 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10719 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10721 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10723 * conform/run-conformtest.sh: New file.
10724 * conform/Makefile: Run run-conformtest for tests.
10725 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10728 * conform/data/uchar.h-data: New file.
10729 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10730 * conform/data/arpa/inet.h-data: Likewise.
10731 * conform/data/assert.h-data: Likewise.
10732 * conform/data/complex.h-data: Likewise.
10733 * conform/data/cpio.h-data: Likewise.
10734 * conform/data/ctype.h-data: Likewise.
10735 * conform/data/dirent.h-data: Likewise.
10736 * conform/data/dlfcn.h-data: Likewise.
10737 * conform/data/errno.h-data: Likewise.
10738 * conform/data/fcntl.h-data: Likewise.
10739 * conform/data/float.h-data: Likewise.
10740 * conform/data/fmtmsg.h-data: Likewise.
10741 * conform/data/fnmatch.h-data: Likewise.
10742 * conform/data/ftw.h-data: Likewise.
10743 * conform/data/glob.h-data: Likewise.
10744 * conform/data/grp.h-data: Likewise.
10745 * conform/data/iconv.h-data: Likewise.
10746 * conform/data/inttypes.h-data: Likewise.
10747 * conform/data/langinfo.h-data: Likewise.
10748 * conform/data/libgen.h-data: Likewise.
10749 * conform/data/limits.h-data: Likewise.
10750 * conform/data/locale.h-data: Likewise.
10751 * conform/data/math.h-data: Likewise.
10752 * conform/data/monetary.h-data: Likewise.
10753 * conform/data/mqueue.h-data: Likewise.
10754 * conform/data/ndbm.h-data: Likewise.
10755 * conform/data/net/if.h-data: Likewise.
10756 * conform/data/netdb.h-data: Likewise.
10757 * conform/data/netinet/in.h-data: Likewise.
10758 * conform/data/nl_types.h-data: Likewise.
10759 * conform/data/poll.h-data: Likewise.
10760 * conform/data/pthread.h-data: Likewise.
10761 * conform/data/pwd.h-data: Likewise.
10762 * conform/data/regex.h-data: Likewise.
10763 * conform/data/sched.h-data: Likewise.
10764 * conform/data/search.h-data: Likewise.
10765 * conform/data/semaphore.h-data: Likewise.
10766 * conform/data/setjmp.h-data: Likewise.
10767 * conform/data/signal.h-data: Likewise.
10768 * conform/data/spawn.h-data: Likewise.
10769 * conform/data/stdarg.h-data: Likewise.
10770 * conform/data/stdio.h-data: Likewise.
10771 * conform/data/stdlib.h-data: Likewise.
10772 * conform/data/string.h-data: Likewise.
10773 * conform/data/strings.h-data: Likewise.
10774 * conform/data/stropts.h-data: Likewise.
10775 * conform/data/sys/ipc.h-data: Likewise.
10776 * conform/data/sys/mman.h-data: Likewise.
10777 * conform/data/sys/msg.h-data: Likewise.
10778 * conform/data/sys/resource.h-data: Likewise.
10779 * conform/data/sys/select.h-data: Likewise.
10780 * conform/data/sys/sem.h-data: Likewise.
10781 * conform/data/sys/shm.h-data: Likewise.
10782 * conform/data/sys/socket.h-data: Likewise.
10783 * conform/data/sys/stat.h-data: Likewise.
10784 * conform/data/sys/statvfs.h-data: Likewise.
10785 * conform/data/sys/time.h-data: Likewise.
10786 * conform/data/sys/timeb.h-data: Likewise.
10787 * conform/data/sys/times.h-data: Likewise.
10788 * conform/data/sys/types.h-data: Likewise.
10789 * conform/data/sys/uio.h-data: Likewise.
10790 * conform/data/sys/un.h-data: Likewise.
10791 * conform/data/sys/utsname.h-data: Likewise.
10792 * conform/data/sys/wait.h-data: Likewise.
10793 * conform/data/syslog.h-data: Likewise.
10794 * conform/data/tar.h-data: Likewise.
10795 * conform/data/termios.h-data: Likewise.
10796 * conform/data/utime.h-data: Likewise.
10797 * conform/data/utmpx.h-data: Likewise.
10798 * conform/data/varargs.h-data: Likewise.
10799 * conform/data/wchar.h-data: Likewise.
10800 * conform/data/wctype.h-data: Likewise.
10801 * conform/data/wordexp.h-data: Likewise.
10803 * include/stropts.h: New file.
10804 * include/uchar.h: New file.
10805 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10806 * include/assert.h: Likewise.
10807 * include/ctype.h: Likewise.
10808 * include/dirent.h: Likewise.
10809 * include/dlfcn.h: Likewise.
10810 * include/fcntl.h: Likewise.
10811 * include/fnmatch.h: Likewise.
10812 * include/glob.h: Likewise.
10813 * include/grp.h: Likewise.
10814 * include/libio.h: Likewise.
10815 * include/locale.h: Likewise.
10816 * include/math.h: Likewise.
10817 * include/net/if.h: Likewise.
10818 * include/netdb.h: Likewise.
10819 * include/netinet/in.h: Likewise.
10820 * include/pthread.h: Likewise.
10821 * include/pwd.h: Likewise.
10822 * include/regex.h: Likewise.
10823 * include/sched.h: Likewise.
10824 * include/search.h: Likewise.
10825 * include/setjmp.h: Likewise.
10826 * include/signal.h: Likewise.
10827 * include/stdio.h: Likewise.
10828 * include/stdlib.h: Likewise.
10829 * include/string.h: Likewise.
10830 * include/sys/cdefs.h: Likewise.
10831 * include/sys/mman.h: Likewise.
10832 * include/sys/msg.h: Likewise.
10833 * include/sys/resource.h: Likewise.
10834 * include/sys/select.h: Likewise.
10835 * include/sys/socket.h: Likewise.
10836 * include/sys/stat.h: Likewise.
10837 * include/sys/statvfs.h: Likewise.
10838 * include/sys/time.h: Likewise.
10839 * include/sys/times.h: Likewise.
10840 * include/sys/uio.h: Likewise.
10841 * include/sys/utsname.h: Likewise.
10842 * include/sys/wait.h: Likewise.
10843 * include/termios.h: Likewise.
10844 * include/time.h: Likewise.
10845 * include/ulimit.h: Likewise.
10846 * include/unistd.h: Likewise.
10847 * include/utime.h: Likewise.
10848 * include/wchar.h: Likewise.
10849 * include/wctype.h: Likewise.
10850 * include/wordexp.h: Likewise.
10852 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10854 * time/time.h: TIME_UTC must be a macro.
10855 Make timespec_get available for ISO C11 only as well.
10857 2012-02-24 Ulrich Drepper <drepper@gmail.com>
10859 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10860 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10862 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10864 * configure.in: Use -o not -a in test for unsupported multi-arch.
10866 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10868 * manual/texinfo.tex: Update to version 2012-01-19.16.
10870 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10872 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10874 2012-02-24 Roland McGrath <roland@hack.frob.com>
10877 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10878 * manual/fdl-1.3.texi: New file.
10879 * manual/fdl-1.1.texi: File removed.
10882 * manual/libc.texinfo (FDL_VERSION): New @set.
10883 Use it for mention of FDL in cover text.
10884 (Documentation License): Use it in @include file name.
10886 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10887 Roland McGrath <roland@hack.frob.com>
10890 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10891 not LONG_LONG_MAX and LONG_LONG_MIN.
10892 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10893 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10895 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10897 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10901 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10902 manipulate bits before adding and subtracting TWO23[sx].
10903 * math/libm-test.inc (nearbyint_test): Add more tests.
10905 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10908 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10909 bits before adding and subtracting TWO23[sx].
10910 * math/libm-test.inc (rint_test): Add more tests.
10911 (rint_test_tonearest): Likewise.
10912 (rint_test_towardzero): Likewise.
10913 (rint_test_downward): Likewise.
10914 (rint_test_upward: Likewise.
10916 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10919 * include/stdc-predef.h: New file. Extracted from features.h.
10920 * include/features.h: Include stdc-predef.h.
10921 * Makefile (headers): Add stdc-predef.h.
10922 * CONFORMANCE (Compiler limitations): Update.
10924 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10926 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10928 2012-02-21 David S. Miller <davem@davemloft.net>
10930 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10931 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10933 2012-02-20 David S. Miller <davem@davemloft.net>
10935 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10936 using a normal save/restore sequence, rather than allocating a
10937 dummy stack frame just to store a frame pointer and restore.
10938 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10940 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10942 * manual/install.texi: Fix stray word in line-wrapped comment.
10944 2012-02-20 David S. Miller <davem@davemloft.net>
10946 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10947 both binutils and gcc support GOTDATA.
10949 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10950 "rd %pc" in the PIC register setup sequences.
10952 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10953 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10954 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10955 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10956 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10957 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10958 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10959 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10960 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10961 (SYSCALL_ERROR_HANDLER): Likewise.
10962 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10963 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10964 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10965 (SYSCALL_ERROR_HANDLER): Likewise.
10967 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10968 (HAVE_GCC_GOTDATA): New.
10969 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10970 relocation support in both binutils and gcc.
10971 * sysdeps/sparc/elf/configure: Regenerate.
10973 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10974 * sysdeps/sparc/sparc32/elf/configure: Delete.
10975 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10976 * sysdeps/sparc/sparc64/elf/configure: Delete.
10977 * sysdeps/sparc/elf/configure.in: New file.
10978 * sysdeps/sparc/elf/configure: Generate.
10980 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10981 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10982 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10983 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10984 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10986 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10988 * manual/install.texi: Do not mention specific glibc version
10990 * manual/libc.texinfo (VERSION, UPDATED): Update.
10991 (@copying): Use @copyright{} and range of years.
10993 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10996 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10997 [crti.S not in sysdirs] (generated): Do not append.
10998 [crti.S not in sysdirs] (omit-deps): Likewise.
10999 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11000 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11001 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11002 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11003 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11005 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11006 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11007 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11008 * csu/defs.awk: Remove file.
11009 * sysdeps/generic/initfini.c: Likewise.
11010 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11012 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11015 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11017 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11018 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11019 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11020 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11021 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11022 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11024 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11025 (__EPOLL_PACKED): Define to empty if not defined by
11027 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11028 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11031 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11033 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11034 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11035 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11036 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11038 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11042 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11044 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11046 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11047 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11048 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11051 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11053 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11054 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11056 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11058 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11059 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11061 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11063 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11066 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11068 * math/w_acos.c: Use non-signaling floating-point comparisons.
11069 * math/w_acosf.c: Likewise.
11070 * math/w_acosh.c: Likewise.
11071 * math/w_acoshf.c: Likewise.
11072 * math/w_acoshl.c: Likewise.
11073 * math/w_acosl.c: Likewise.
11074 * math/w_asin.c: Likewise.
11075 * math/w_asinf.c: Likewise.
11076 * math/w_asinl.c: Likewise.
11077 * math/w_atanh.c: Likewise.
11078 * math/w_atanhf.c: Likewise.
11079 * math/w_atanhl.c: Likewise.
11080 * math/w_exp2.c: Likewise.
11081 * math/w_exp2f.c: Likewise.
11082 * math/w_exp2l.c: Likewise.
11083 * math/w_j0.c: Likewise.
11084 * math/w_j0f.c: Likewise.
11085 * math/w_j0l.c: Likewise.
11086 * math/w_j1.c: Likewise.
11087 * math/w_j1f.c: Likewise.
11088 * math/w_j1l.c: Likewise.
11089 * math/w_jn.c: Likewise.
11090 * math/w_jnf.c: Likewise.
11091 * math/w_log.c: Likewise.
11092 * math/w_log10.c: Likewise.
11093 * math/w_log10f.c: Likewise.
11094 * math/w_log10l.c: Likewise.
11095 * math/w_log2.c: Likewise.
11096 * math/w_log2f.c: Likewise.
11097 * math/w_log2l.c: Likewise.
11098 * math/w_logf.c: Likewise.
11099 * math/w_logl.c: Likewise.
11100 * math/w_sqrt.c: Likewise.
11101 * math/w_sqrtf.c: Likewise.
11102 * math/w_sqrtl.c: Likewise.
11103 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11104 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11105 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11106 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11107 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11109 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11112 * manual/string.texi (strnlen): Use correct parameter name in
11113 equivalent expression.
11115 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11118 * manual/users.texi (seteuid): Consistently use neweuid for
11121 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11124 * manual/nss.texi (Services in the NSS configuration): Correct
11125 list of services in example configuration file.
11127 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11130 * manual/arith.texi: Remove statements about negative zero
11131 behaving identically to zero.
11133 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11136 * manual/install.texi: Do not document upgrading from libc5.
11138 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11141 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11143 2012-02-18 David S. Miller <davem@davemloft.net>
11145 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11146 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11147 %o7 across the call.
11148 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11150 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11151 SETUP_PIC_REG_LEAF.
11152 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11153 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11154 * sysdeps/sparc/crtn.S: Likewise.
11156 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11158 * aout/Makefile: Remove.
11160 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11163 * manual/examples/argp-ex1.c (main): Format definition in GNU
11165 * manual/examples/argp-ex2.c (main): Likewise.
11166 * manual/examples/argp-ex3.c (main): Likewise.
11167 * manual/examples/argp-ex4.c (main): Likewise.
11168 * manual/examples/longopt.c (main): Use new-style prototype
11170 * manual/examples/strncat.c (main): Specify return type and use
11171 (void) for arguments.
11172 * manual/examples/subopt.c (main): Use char **argv argument.
11174 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11177 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11180 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11183 * manual/string.texi (strchr): Change when strchrnul is
11186 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11189 * manual/locale.texi (setlocale): Document LOCPATH.
11191 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11194 * manual/process.texi (execle): Move @dots{} before last argument.
11196 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11199 * manual/charset.texi (Generic Charset Conversion): Fix typo
11200 (LC_TYPE -> LC_CTYPE).
11202 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11205 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11206 (scalbnf): Likewise.
11207 (scalbnl): Likewise.
11208 (scalbln): Likewise.
11209 (scalblnf): Likewise.
11210 (scalblnl): Likewise.
11211 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11212 (vwarnx): Likewise.
11215 * manual/filesys.texi (telldir): Use braces around return type.
11216 * manual/llio.texi (mmap): Add space after comma.
11217 (mmap64): Likewise.
11218 * manual/math.texi (jn): Use @var{} on parameter names.
11224 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11226 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11228 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11229 (sched_get_priority_max): Likewise.
11230 * manual/signal.texi (sigvec): Add space after comma.
11231 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11233 (if_indextoname): Likewise.
11234 (if_freenameindex): Likewise.
11235 (sendto): Use ',' instead of '.' in prototype.
11236 * manual/startup.texi (syscall): Use @dots{} instead of literal
11238 * manual/stdio.texi (__fpending): Separate initial words of
11239 paragraph from @deftypefun line.
11240 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11242 (vsyslog): Use @var{} on parameter names.
11243 * manual/terminal.texi (stty): Use @var{} on parameter names.
11244 * manual/users.texi (getutmp): Use @var{} on parameter names.
11245 (getutmpx): Likewise.
11247 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11250 * manual/stdio.texi (fopen): Fix typos in description of
11253 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11256 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11257 get clock_id definition.
11259 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11262 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11263 (madvise): Cast every argument to void on its own.
11265 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11268 * manual/startup.texi (Exit Status): Fix typo.
11270 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11273 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11274 * manual/examples/argp-ex2.c: Likewise.
11275 * manual/examples/argp-ex3.c: Likewise.
11277 2012-02-16 Richard Henderson <rth@redhat.com>
11279 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11280 * sysdeps/s390/s390-32/initfini.c: Remove.
11281 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11282 * sysdeps/s390/s390-64/initfini.c: Remove.
11284 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11286 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11287 compiler output for sysdeps/generic/initfini.c.
11288 * sysdeps/sh/elf/initfini.c: Remove file.
11290 2012-02-16 David S. Miller <davem@davemloft.net>
11293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11295 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11296 * sysdeps/sparc/crti.S: New file.
11297 * sysdeps/sparc/crtn.S: New file.
11298 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11299 * sysdeps/sparc/sparc64/Makefile: Likewise.
11301 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11304 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11306 2012-02-15 Roland McGrath <roland@hack.frob.com>
11309 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11311 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11312 (write, read, close): Likewise.
11313 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11315 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11317 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11318 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11319 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11320 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11322 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11326 2012-02-14 Marek Polacek <polacek@redhat.com>
11328 * sysdeps/x86_64/crti.S: New file.
11329 * sysdeps/x86_64/crtn.S: New file.
11330 * sysdeps/x86_64/elf/initfini.c: Remove file.
11332 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11334 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11335 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11336 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11337 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11339 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11343 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11345 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11346 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11347 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11348 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11350 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11354 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11356 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11357 __feraiseexcept instead of feraiseexcept.
11359 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11360 nanosleep invocations.
11361 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11362 strings, and add error checking for a nanosleep invocations.
11364 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11366 Replace FSF snail mail address with URLs, as per GNU coding standards.
11367 Most of the snail mail addresses were wrong anyway, and omitting
11368 them makes the source code easier to maintain. Almost all of the
11369 changes are to license notices and to locale LC_IDENTIFICATION
11370 addresses, except for this one:
11371 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11372 not its snail mail address.
11374 2012-02-09 Richard Henderson <rth@twiddle.net>
11376 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11377 of kernel-features.h.
11379 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11381 2012-02-08 Marek Polacek <polacek@redhat.com>
11383 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11384 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11385 * sysdeps/gnu/_G_config.h: Likewise.
11386 * sysdeps/generic/_G_config.h: Likewise.
11388 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11390 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11394 * sysdeps/powerpc/powerpc32/crti.S: New file.
11395 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11396 * sysdeps/powerpc/powerpc64/crti.S: New file.
11397 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11399 * Makeconfig (have-initfini): Don't set.
11400 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11401 * configure.in (nopic_initfini): Don't substitute.
11402 * config.h.in (HAVE_INITFINI): Don't #undef.
11403 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11404 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11406 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11408 Support crti.S and crtn.S provided directly by architectures.
11409 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11410 [crti.S in sysdirs] (omit-deps): Likewise.
11411 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11412 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11413 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11414 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11415 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11416 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11417 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11418 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11419 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11420 compiler output for sysdeps/generic/initfini.c.
11421 * sysdeps/i386/elf/Makefile: Remove file.
11422 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11424 2012-02-07 Marek Polacek <polacek@redhat.com>
11426 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11427 * sysdeps/gnu/_G_config.h: Likewise.
11428 * sysdeps/mach/hurd/_G_config.h: Likewise.
11430 2012-02-07 Marek Polacek <polacek@redhat.com>
11432 * math/Makefile (tests): Add tst-CMPLX2.
11433 * math/tst-CMPLX2.c: New file.
11435 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11437 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11439 * math/libm-test.inc (jn_test): Add missing L suffix.
11441 2012-02-06 Marek Polacek <polacek@redhat.com>
11443 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11444 * sysdeps/i386/fpu/e_powf.S: Likewise.
11445 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11446 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11447 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11448 * sysdeps/i386/fpu/e_pow.S: Likewise.
11449 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11450 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11451 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11452 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11453 * sysdeps/i386/fpu/e_log2.S: Likewise.
11454 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11455 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11456 * sysdeps/i386/fpu/e_powl.S: Likewise.
11457 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11458 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11459 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11460 * sysdeps/i386/fpu/e_logl.S: Likewise.
11461 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11462 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11463 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11464 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11465 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11466 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11467 * sysdeps/i386/fpu/e_log.S: Likewise.
11468 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11469 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11470 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11471 * sysdeps/i386/fpu/e_logf.S: Likewise.
11472 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11473 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11474 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11475 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11476 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11477 * sysdeps/i386/fpu/e_log10.S: Likewise.
11478 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11479 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11480 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11481 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11482 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11483 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11484 * sysdeps/i386/asm-syntax.h: Likewise.
11485 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11486 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11487 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11488 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11489 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11490 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11491 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11492 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11493 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11494 * sysdeps/powerpc/sysdep.h: Likewise.
11495 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11496 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11498 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11501 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11503 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11505 * sysdeps/i386/sysdep.h: Include <features.h>.
11506 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11509 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11511 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11513 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11516 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11518 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11519 (SETUP_PIC_REG): Use GET_PC_THUNK.
11520 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11523 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11525 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11526 for non-PIC compilation.
11527 (SETUP_PIC_REG): Add .p2align directive.
11528 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11529 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11530 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11531 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11532 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11533 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11534 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11535 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11536 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11537 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11538 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11539 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11540 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11541 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11542 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11543 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11544 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11545 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11546 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11547 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11548 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11549 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11550 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11551 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11552 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11553 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11554 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11555 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11556 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11557 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11558 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11559 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11560 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11561 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11562 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11563 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11564 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11565 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11566 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11567 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11568 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11570 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11572 * math/tst-CMPLX.c: Include <stdio.h>.
11574 2012-01-31 Joseph Myers <joseph@codesourcery.com>
11576 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11578 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11579 * sysdeps/sparc/bits/mathdef.h: Likewise.
11581 2012-01-31 Marek Polacek <polacek@redhat.com>
11583 * libio/libio.h: Don't define _PARAMS.
11584 * locale/programs/config.h: Don't define PARAMS.
11585 * stdlib/strtol_l.c: Likewise.
11586 (__strtol_l): Remove PARAMS from the prototype.
11588 2012-01-31 Ulrich Drepper <drepper@gmail.com>
11590 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11591 names. Just use the correct names. Remove unnecessary wrapper
11593 * malloc/arena.c: Likewise.
11594 * malloc/hooks.c: Likewise.
11596 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11597 ARENA_TEST says not to. Simplify test for creation of a new arena.
11598 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11600 2012-01-30 Ulrich Drepper <drepper@gmail.com>
11602 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11604 (update_get_addr): New function.
11605 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11606 GET_ADDR_MODULE parameter.
11608 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11610 * crypt/cert.c: Remove __STDC__ conditionals.
11611 * crypt/crypt-entry.c: Likewise.
11612 * crypt/crypt_util.c: Likewise.
11613 * libio/filedoalloc.c: Likewise.
11614 * libio/fileops.c: Likewise.
11615 * libio/genops.c: Likewise.
11616 * libio/iofclose.c: Likewise.
11617 * libio/iofdopen.c: Likewise.
11618 * libio/iofopen.c: Likewise.
11619 * libio/iofopen64.c: Likewise.
11620 * libio/iogetdelim.c: Likewise.
11621 * libio/iopopen.c: Likewise.
11622 * libio/obprintf.c: Likewise.
11623 * libio/oldfileops.c: Likewise.
11624 * libio/oldiofclose.c: Likewise.
11625 * libio/oldiofdopen.c: Likewise.
11626 * libio/oldiofopen.c: Likewise.
11627 * libio/oldiopopen.c: Likewise.
11628 * libio/wfiledoalloc.c: Likewise.
11629 * libio/wgenops.c: Likewise.
11630 * locale/programs/xmalloc.c: Likewise.
11631 * misc/syslog.c: Likewise.
11632 * stdio-common/xbug.c: Likewise.
11633 * string/memchr.c: Likewise.
11634 * string/memcmp.c: Likewise.
11635 * string/memrchr.c: Likewise.
11636 * string/rawmemchr.c: Likewise.
11637 * sysdeps/posix/getcwd.c: Likewise.
11638 * time/strftime_l.c: Likewise.
11640 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11642 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11643 * config.make.in (config-cflags-sse2avx): Define.
11644 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11647 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11649 * scripts/config.guess: Update from upstream config git repository.
11650 * scripts/config.sub: Likewise.
11652 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11654 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11656 (R_TILEPRO_*, R_TILEGX_*): New macros.
11658 * scripts/firstversions.awk: Fix bug in version range handling.
11660 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11662 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11664 * include/sys/epoll.h: New file.
11665 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11668 2012-01-28 Ulrich Drepper <drepper@gmail.com>
11670 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11671 Avoid unnecessary __WORDSIZE == 64 test.
11672 (fmaxf): Use VEX format if possible.
11677 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11678 * math/math_private.h: Remove libc_fegetround* and
11680 * sysdeps/i386/configure.in: Check for -msse2avx.
11681 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11682 also if SSE2AVX is defined.
11683 Remove libc_fegetround* and libc_fesetround*.
11684 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11685 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11686 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11688 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11689 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11690 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11691 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11692 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11694 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11696 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11698 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11700 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11702 2012-01-27 Ulrich Drepper <drepper@gmail.com>
11705 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11707 * Makeconfig (libm): Define.
11708 * elf/Makefile: Add rules to build and run tst-relsort1.
11709 * elf/tst-relsort1.c: New file.
11710 * elf/tst-relsort1mod1.c: New file.
11711 * elf/tst-relsort1mod2.c: New file.
11713 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11715 * math/s_ldexp.c: Remove __STDC__ conditionals.
11716 * math/s_ldexpf.c: Likewise.
11717 * math/s_ldexpl.c: Likewise.
11718 * math/s_nextafter.c: Likewise.
11719 * math/s_nexttowardf.c: Likewise.
11720 * math/s_significand.c: Likewise.
11721 * math/s_significandf.c: Likewise.
11722 * math/s_significandl.c: Likewise.
11723 * math/w_jnl.c: Likewise.
11724 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11725 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11726 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11727 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11728 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11729 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11730 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11731 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11732 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11733 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11734 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11735 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11736 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11737 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11738 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11739 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11740 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11741 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11742 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11743 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11744 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11745 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11746 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11747 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11748 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11749 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11750 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11751 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11752 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11753 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11754 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11755 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11756 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11757 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11758 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11759 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11760 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11761 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11762 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11763 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11764 * sysdeps/ieee754/k_standard.c: Likewise.
11765 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11766 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11767 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11768 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11769 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11770 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11771 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11772 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11773 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11774 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11775 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11776 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11777 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11778 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11779 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11780 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11781 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11782 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11783 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11784 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11785 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11786 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11787 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11788 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11789 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11790 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11791 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11792 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11793 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11794 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11795 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11796 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11797 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11798 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11799 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11800 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11801 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11802 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11803 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11804 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11805 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11806 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11807 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11808 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11809 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11810 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11811 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11812 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11813 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11814 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11815 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11816 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11817 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11818 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11819 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11820 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11821 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11822 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11823 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11824 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11825 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11826 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11827 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11828 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11829 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11830 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11831 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11832 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11833 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11834 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11835 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11836 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11837 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11838 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11839 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11840 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11841 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11842 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11843 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11844 * sysdeps/ieee754/s_matherr.c: Likewise.
11845 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11846 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11847 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11848 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11850 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11852 * crypt/md5.h: Remove __STDC__ conditionals.
11853 * libio/libioP.h: Likewise.
11854 * locale/programs/config.h: Likewise.
11855 * sysdeps/generic/sysdep.h: Likewise.
11856 * sysdeps/i386/asm-syntax.h: Likewise.
11857 * sysdeps/s390/asm-syntax.h: Likewise.
11858 * sysdeps/unix/sysdep.h: Likewise.
11859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11862 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11864 * libio/libio.h: Remove __STDC__ conditionals.
11865 * malloc/obstack.h: Likewise.
11866 * math/complex.h: Likewise.
11867 * math/math.h: Likewise.
11868 * sysdeps/generic/_G_config.h: Likewise.
11869 * sysdeps/gnu/_G_config.h: Likewise.
11870 * sysdeps/mach/hurd/_G_config.h: Likewise.
11871 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11872 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11873 * sysdeps/sparc/bits/mathdef.h: Likewise.
11875 2012-01-26 Ulrich Drepper <drepper@gmail.com>
11878 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11879 Clean up HAS_* macros.
11880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11881 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11883 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11885 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11886 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11887 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11888 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11889 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11891 2012-01-25 Joseph Myers <joseph@codesourcery.com>
11893 * elf/tst-unique3.cc (gets): Remove declaration.
11894 * elf/tst-unique3lib.cc (gets): Likewise.
11895 * elf/tst-unique3lib2.cc (gets): Likewise.
11896 * elf/tst-unique4.cc (gets): Likewise.
11898 2012-01-24 Ulrich Drepper <drepper@gmail.com>
11900 * include/stdio.h: Add C++ protection. Add gets declarations and
11902 * debug/tst-chk1.c: Don't declare gets here.
11903 * stdio-common/tst-gets.c: Likewise.
11905 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11907 * posix/glob: Remove directory.
11909 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11911 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11913 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11915 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11916 of the non-standard EPFNOSUPPORT.
11918 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11920 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11921 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11922 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11924 2012-01-21 Ulrich Drepper <drepper@gmail.com>
11926 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11928 2012-01-20 Ulrich Drepper <drepper@gmail.com>
11930 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11932 * nscd/grpcache.c (cache_addgr): Likewise.
11933 * nscd/hstcache.c (cache_addhst): Likewise.
11934 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11935 * nscd/pwdcache.c (cache_addpw): Likewise.
11936 * nscd/servicescache.c (cache_addserv): Likewise.
11938 2012-01-16 Ulrich Drepper <drepper@gmail.com>
11940 * malloc/malloc.c: Various cleanups.
11941 * malloc/hooks.c: Likewise.
11943 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11944 * stdlib/bug-fmtmsg1.c: New file.
11946 * stdlib/fmtmsg.c (init): Add missing unlock.
11947 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11949 2012-01-12 Marek Polacek <polacek@redhat.com>
11951 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11954 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11956 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11957 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11958 macro to ensure uniqueness of label name.
11959 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11960 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11962 2012-01-11 Ulrich Drepper <drepper@gmail.com>
11964 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11966 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11967 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11968 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11969 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11971 2012-01-10 Ulrich Drepper <drepper@gmail.com>
11973 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11975 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11976 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11977 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11979 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11981 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11982 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11983 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11984 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11986 * math/bits/math-finite.h: Add ldexp support.
11988 2012-01-10 Marek Polacek <polacek@redhat.com>
11990 * locale/programs/localedef.h (show_archive_content): Add noreturn
11993 2012-01-09 Ulrich Drepper <drepper@gmail.com>
11995 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11997 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11999 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12001 * io/Makefile (headers): Add bits/poll2.h.
12003 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12006 typo #include statement.
12008 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12010 * include/sys/cdefs.h: Define __attribute_alloc_size.
12011 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12012 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12013 * elf/pldd.c: Likewise.
12014 * iconv/iconv_charmap.c: Likewise.
12015 * iconv/iconvconfig.c: Likewise.
12016 * iconv/strtab.c: Likewise.
12017 * locale/programs/locale.c: Likewise.
12018 * locale/programs/localedef.h: Likewise.
12019 * locale/programs/simple-hash.c: Likewise.
12020 * nscd/nscd.h: Likewise.
12021 * nss/makedb.c: Likewise.
12022 * sysdeps/generic/ldconfig.h: Likewise.
12023 * locale/programs/localedef.c: Remove xmalloc prototype.
12024 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12026 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12028 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12031 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12033 * math/Makefile (tests): Add tst-CMPLX.
12034 * math/tst-CMPLX.c: New file.
12036 * math/complex.h (CMPLXL): Fix typo.
12038 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12039 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12041 * debug/tst-chk1.c: Add poll and ppoll tests.
12042 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12043 * include/sys/poll.h: Add hidden proto for ppoll.
12044 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12045 * sysdeps/mach/hurd/ppoll.c: Likewise.
12046 * io/ppoll.c: Likewise.
12047 * debug/poll_chk.c: New file.
12048 * debug/ppoll_chk.c: New file.
12049 * include/bits/poll2.h: New file.
12050 * io/bits/poll2.h: New file.
12053 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12055 * configure.in: static is always set to yes. Remove.
12056 * config.make.in: Don't set build-static.
12057 * Makeconfig: Remove use of build-static.
12058 * dlfcn/Makefile: Likewise.
12059 * elf/Makefile: Likewise.
12060 * math/Makefile: Likewise.
12061 * misc/Makefile: Likewise.
12062 * nptl/Makefile: Likewise.
12063 * sysdeps/mach/hurd/Makefile: Likewise.
12065 * configure.in: PWD_P is not used anymore.
12066 * config.make.in: Remove PWD_P entry.
12068 * configure.in: Remove last remnants of RANLIB.
12069 No need to check for signed size_t anymore.
12070 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12072 Remove __builtin_expect test because we require at least gcc 3.4.
12073 * aclocal.m4: Likewise.
12075 * wcsmbs/mbrtoc16.c: Implement using towc function.
12076 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12077 * wcsmbs/wcsmbsload.c: Likewise.
12078 * iconv/gconv_simple.c: Likewise.
12079 * iconv/gconv_int.h: Likewise.
12080 * iconv/gconv_builtin.h: Likewise.
12081 * iconv/iconv_prog.c: Remove CHAR16 handling.
12083 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12085 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12087 * configure.in: Remove --with-elf and --enable-bounded options.
12088 Dont set base_machine for ia64. More non-ELF conditions removed.
12089 Remove testing and setting of leading underscore information.
12090 * config.make.in (build-bounded): Set to no.
12091 * config.h.in: Remove NO_UNDERSCORES entry.
12092 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12094 * csu/start.c: Remove !NO_UNDERSCORE code.
12095 * locale/localeinfo.h: Likewise.
12096 * sysdeps/generic/machine-gmon.h: Likewise.
12097 * sysdeps/generic/sysdep.h: Likewise.
12098 * sysdeps/i386/sysdep.h: Likewise.
12099 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12100 * sysdeps/mach/sysdep.h: Likewise.
12101 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12102 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12103 * sysdeps/sh/sysdep.h: Likewise.
12104 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12105 * sysdeps/unix/i386/sysdep.S: Likewise.
12106 * sysdeps/unix/sparc/start.c: Likewise.
12107 * sysdeps/unix/sparc/sysdep.S: Likewise.
12108 * sysdeps/unix/sparc/sysdep.h: Likewise.
12109 * sysdeps/unix/start.c: Likewise.
12110 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12111 * sysdeps/x86_64/sysdep.h: Likewise.
12113 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12116 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12118 * argp/argp-fmtstream.h: Use const instead __const.
12119 * argp/argp.h: Likewise.
12120 * assert/assert.h: Likewise.
12121 * bits/fenv.h: Likewise.
12122 * bits/sched.h: Likewise.
12123 * bits/sigset.h: Likewise.
12124 * bits/sigthread.h: Likewise.
12125 * catgets/nl_types.h: Likewise.
12126 * conform/data/pthread.h-data: Likewise.
12127 * crypt/crypt-private.h: Likewise.
12128 * crypt/crypt.h: Likewise.
12129 * crypt/crypt_util.c: Likewise.
12130 * ctype/ctype.h: Likewise.
12131 * debug/execinfo.h: Likewise.
12132 * debug/mbsnrtowcs_chk.c: Likewise.
12133 * debug/mbsrtowcs_chk.c: Likewise.
12134 * debug/wcsnrtombs_chk.c: Likewise.
12135 * debug/wcsrtombs_chk.c: Likewise.
12136 * debug/wcstombs_chk.c: Likewise.
12137 * dirent/dirent.h: Likewise.
12138 * dlfcn/dlfcn.h: Likewise.
12139 * elf/neededtest4.c: Likewise.
12140 * grp/grp.h: Likewise.
12141 * gshadow/gshadow.h: Likewise.
12142 * iconv/gconv.h: Likewise.
12143 * iconv/gconv_int.h: Likewise.
12144 * iconv/gconv_simple.c: Likewise.
12145 * iconv/iconv.h: Likewise.
12146 * iconv/loop.c: Likewise.
12147 * iconv/skeleton.c: Likewise.
12148 * include/aio.h: Likewise.
12149 * include/aliases.h: Likewise.
12150 * include/argz.h: Likewise.
12151 * include/arpa/inet.h: Likewise.
12152 * include/assert.h: Likewise.
12153 * include/dirent.h: Likewise.
12154 * include/dlfcn.h: Likewise.
12155 * include/execinfo.h: Likewise.
12156 * include/fcntl.h: Likewise.
12157 * include/fenv.h: Likewise.
12158 * include/glob.h: Likewise.
12159 * include/grp.h: Likewise.
12160 * include/libintl.h: Likewise.
12161 * include/mntent.h: Likewise.
12162 * include/netdb.h: Likewise.
12163 * include/pwd.h: Likewise.
12164 * include/rpc/netdb.h: Likewise.
12165 * include/sched.h: Likewise.
12166 * include/search.h: Likewise.
12167 * include/shadow.h: Likewise.
12168 * include/signal.h: Likewise.
12169 * include/stdio.h: Likewise.
12170 * include/stdlib.h: Likewise.
12171 * include/string.h: Likewise.
12172 * include/sys/socket.h: Likewise.
12173 * include/sys/stat.h: Likewise.
12174 * include/sys/statfs.h: Likewise.
12175 * include/sys/statvfs.h: Likewise.
12176 * include/sys/syslog.h: Likewise.
12177 * include/sys/time.h: Likewise.
12178 * include/sys/uio.h: Likewise.
12179 * include/time.h: Likewise.
12180 * include/unistd.h: Likewise.
12181 * include/utmp.h: Likewise.
12182 * include/wchar.h: Likewise.
12183 * include/wctype.h: Likewise.
12184 * inet/aliases.h: Likewise.
12185 * inet/arpa/inet.h: Likewise.
12186 * inet/netinet/ether.h: Likewise.
12187 * inet/netinet/in.h: Likewise.
12188 * intl/libintl.h: Likewise.
12189 * io/bits/fcntl2.h: Likewise.
12190 * io/fcntl.h: Likewise.
12191 * io/ftw.h: Likewise.
12192 * io/sys/poll.h: Likewise.
12193 * io/sys/stat.h: Likewise.
12194 * io/sys/statfs.h: Likewise.
12195 * io/sys/statvfs.h: Likewise.
12196 * io/utime.h: Likewise.
12197 * libio/bits/stdio.h: Likewise.
12198 * libio/bits/stdio2.h: Likewise.
12199 * libio/libio.h: Likewise.
12200 * libio/libioP.h: Likewise.
12201 * libio/stdio.h: Likewise.
12202 * locale/lc-ctype.c: Likewise.
12203 * locale/locale.h: Likewise.
12204 * login/utmp.h: Likewise.
12205 * malloc/arena.c: Likewise.
12206 * malloc/malloc.c: Likewise.
12207 * malloc/malloc.h: Likewise.
12208 * malloc/mcheck.c: Likewise.
12209 * malloc/mtrace.c: Likewise.
12210 * math/bits/mathcalls.h: Likewise.
12211 * math/fenv.h: Likewise.
12212 * math/math_private.h: Likewise.
12213 * misc/bits/error.h: Likewise.
12214 * misc/bits/syslog.h: Likewise.
12215 * misc/err.h: Likewise.
12216 * misc/error.h: Likewise.
12217 * misc/fstab.h: Likewise.
12218 * misc/mntent.h: Likewise.
12219 * misc/regexp.h: Likewise.
12220 * misc/search.h: Likewise.
12221 * misc/sgtty.h: Likewise.
12222 * misc/sys/mman.h: Likewise.
12223 * misc/sys/syslog.h: Likewise.
12224 * misc/sys/uio.h: Likewise.
12225 * misc/sys/xattr.h: Likewise.
12226 * misc/ttyent.h: Likewise.
12227 * nis/rpcsvc/ypclnt.h: Likewise.
12228 * nss/nss.h: Likewise.
12229 * posix/bits/unistd.h: Likewise.
12230 * posix/fnmatch.h: Likewise.
12231 * posix/glob.h: Likewise.
12232 * posix/sched.h: Likewise.
12233 * posix/spawn.h: Likewise.
12234 * posix/sys/wait.h: Likewise.
12235 * posix/unistd.h: Likewise.
12236 * posix/wordexp.h: Likewise.
12237 * pwd/pwd.h: Likewise.
12238 * resolv/netdb.h: Likewise.
12239 * resource/sys/resource.h: Likewise.
12240 * rt/aio.h: Likewise.
12241 * rt/bits/mqueue2.h: Likewise.
12242 * rt/mqueue.h: Likewise.
12243 * shadow/shadow.h: Likewise.
12244 * signal/signal.h: Likewise.
12245 * socket/send.c: Likewise.
12246 * socket/sendto.c: Likewise.
12247 * socket/sys/socket.h: Likewise.
12248 * stdio-common/printf.h: Likewise.
12249 * stdlib/bits/stdlib.h: Likewise.
12250 * stdlib/fmtmsg.h: Likewise.
12251 * stdlib/monetary.h: Likewise.
12252 * stdlib/stdlib.h: Likewise.
12253 * stdlib/ucontext.h: Likewise.
12254 * streams/stropts.h: Likewise.
12255 * string/argz.h: Likewise.
12256 * string/bits/string2.h: Likewise.
12257 * string/string.h: Likewise.
12258 * string/strings.h: Likewise.
12259 * sunrpc/rpc/auth.h: Likewise.
12260 * sunrpc/rpc/auth_des.h: Likewise.
12261 * sunrpc/rpc/clnt.h: Likewise.
12262 * sunrpc/rpc/netdb.h: Likewise.
12263 * sunrpc/rpc/pmap_clnt.h: Likewise.
12264 * sunrpc/rpc/xdr.h: Likewise.
12265 * sysdeps/generic/inttypes.h: Likewise.
12266 * sysdeps/generic/net/if.h: Likewise.
12267 * sysdeps/generic/sys/swap.h: Likewise.
12268 * sysdeps/gnu/net/if.h: Likewise.
12269 * sysdeps/gnu/utmpx.h: Likewise.
12270 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12271 * sysdeps/i386/i486/bits/string.h: Likewise.
12272 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12273 * sysdeps/s390/bits/string.h: Likewise.
12274 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12275 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12276 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12277 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12278 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12279 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12280 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12281 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12282 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12283 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12284 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12285 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12286 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12287 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12288 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12289 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12290 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12291 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12292 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12293 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12294 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12295 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12296 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12297 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12298 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12299 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12300 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12301 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12302 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12303 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12304 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12305 * sysvipc/sys/ipc.h: Likewise.
12306 * sysvipc/sys/msg.h: Likewise.
12307 * sysvipc/sys/sem.h: Likewise.
12308 * sysvipc/sys/shm.h: Likewise.
12309 * termios/termios.h: Likewise.
12310 * time/sys/time.h: Likewise.
12311 * time/time.h: Likewise.
12312 * wcsmbs/bits/wchar2.h: Likewise.
12313 * wcsmbs/uchar.h: Likewise.
12314 * wcsmbs/wchar.h: Likewise.
12315 * wctype/wctype.h: Likewise.
12318 * Makeconfig: Remove all but ELF support including AIX support.
12319 * Makerules: Likewise.
12320 * config.h.in: Likewise.
12321 * config.make.in: Likewise.
12322 * configure: Likewise.
12323 * configure.in: Likewise.
12324 * csu/Makefile: Likewise.
12325 * csu/version.c: Likewise.
12326 * debug/Makefile: Likewise.
12327 * dlfcn/Makefile: Likewise.
12328 * elf/Makefile: Likewise.
12329 * extra-lib.mk: Likewise.
12330 * iconv/Makefile: Likewise.
12331 * include/libc-symbols.h: Likewise.
12332 * include/shlib-compat.h: Likewise.
12333 * resolv/Makefile: Likewise.
12334 * resolv/res_libc.c: Likewise.
12335 * rt/Makefile: Likewise.
12336 * sysdeps/i386/asm-syntax.h: Likewise.
12337 * sysdeps/i386/sysdep.h: Likewise.
12338 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12339 * sysdeps/mach/sysdep.h: Likewise.
12340 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12341 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12342 * sysdeps/s390/asm-syntax.h: Likewise.
12343 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12344 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12345 * sysdeps/sh/sysdep.h: Likewise.
12346 * sysdeps/unix/sparc/sysdep.h: Likewise.
12347 * sysdeps/wordsize-32/divdi3.c: Likewise.
12348 * sysdeps/x86_64/sysdep.h: Likewise.
12350 * argp/Versions: Remove _argp_unlock_xxx.
12353 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12354 * abilist/libBrokenLocale.abilist: Likewise.
12355 * abilist/libanl.abilist: Likewise.
12356 * abilist/libc.abilist: Likewise.
12357 * abilist/libcrypt.abilist: Likewise.
12358 * abilist/libdl.abilist: Likewise.
12359 * abilist/libm.abilist: Likewise.
12360 * abilist/libnsl.abilist: Likewise.
12361 * abilist/libpthread.abilist: Likewise.
12362 * abilist/libresolv.abilist: Likewise.
12363 * abilist/librt.abilist: Likewise.
12364 * abilist/libthread_db.abilist: Likewise.
12365 * abilist/libutil.abilist: Likewise.
12366 * abilist/libnss_db.abilist: New file.
12368 * scripts/abilist.awk: Add support for indirect functions.
12370 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12372 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12374 * shlib-versions: Remove entries for ports architectures.
12376 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12378 * elf/stackguard-macros.h: Remove support for IA-64.
12379 * elf/tst-auditmod1.c: Likewise.
12380 * sysdeps/generic/ldsodefs.h: Likewise.
12382 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12383 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12387 * configure.in: Remove --enable-omitfp support.
12389 * config.make.in: Likewise.
12390 * Makeconfig: Likewise.
12391 * manual/install.texi: Likewise.
12393 In case anyone cares, the IA-64 architecture could move to ports.
12394 * sysdeps/ia64/*: Removed.
12395 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12396 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12399 * configure.in: Remove entries for unsupported architectures.
12402 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12403 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12405 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12406 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12407 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12408 fall back to using wcrtomb.
12409 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12410 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12412 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12413 * wcsmbs/tst-c16c32-1.c: New file.
12415 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12418 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12420 * elf/tst-unique3.cc: Add explicit declaration of gets.
12421 * elf/tst-unique3lib.cc: Likewise.
12422 * elf/tst-unique3lib2.cc: Likewise.
12423 * elf/tst-unique4.cc: Likewise.
12425 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12427 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12430 * assert/assert.h (static_assert): Don't define for C++.
12431 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12432 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12434 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12436 * iconv/loop.c (single loop): Fix assertion in storing of
12439 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12441 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12443 * posix/getconf.c: Update copyright year.
12444 * nss/getent.c: Likewise.
12445 * nss/makedb.c: Likewise.
12446 * iconv/iconvconfig.c: Likewise.
12447 * iconv/iconv_prog.c: Likewise.
12448 * elf/ldconfig.c: Likewise.
12449 * elf/pldd.c: Likewise.
12450 * elf/sotruss.ksh: Likewise.
12451 * catgets/gencat.c: Likewise.
12452 * csu/version.c: Likewise.
12453 * elf/ldd.bash.in: Likewise.
12454 * elf/sprof.c (print_version): Likewise.
12455 * locale/programs/locale.c: Likewise.
12456 * locale/programs/localedef.c: Likewise.
12457 * login/programs/pt_chown.c: Likewise.
12458 * nscd/nscd.c (print_version): Likewise.
12459 * debug/xtrace.sh: Likewise.
12460 * malloc/memusage.sh: Likewise.
12461 * malloc/mtrace.pl: Likewise.
12462 * debug/catchsegv.sh: Likewise.
12464 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12466 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12469 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12472 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12473 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12475 * iconv/gconv_int.h: Likewise.
12476 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12477 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12478 from libc for GLIBC_2.16.
12479 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12480 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12481 * wcsmbs/uchar.h: Really define mbstate_t.
12482 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12483 * wcsmbs/c16rtomb.c: New file.
12484 * wcsmbs/mbrtoc16.c: New file.
12485 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12486 for C/POSIX locale.
12487 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12488 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12490 * wcsmbs/wchar.h: Add missing __restrict.
12492 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12495 * time/Makefile (routines): Add timespec_get.
12496 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12497 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12498 timespec for ISO C11.
12499 * time/timespec_get.c: New file.
12500 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12501 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12504 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12505 * stdlib/stdlib.h: Declare aligned_alloc.
12506 * Versions.def: Add GLIBC_2.16 for libc.
12507 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12510 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12513 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12517 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12520 * assert/assert.h (static_assert): Define.
12522 * version.h: Update for 2.16 development version.
12525 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12528 * version.h (RELEASE): Bump for 2.15 release.
12529 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12531 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12532 Patch by Marek Polacek <mpolacek@redhat.com>.
12534 * bits/byteswap.h: Protect long long constants with __extension__.
12535 * sysdeps/i386/bits/byteswap.h: Likewise.
12536 * sysdeps/ia64/bits/byteswap.h: Likewise.
12537 * sysdeps/s390/bits/byteswap.h: Likewise.
12538 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12540 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12543 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12544 destination buffer.
12545 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12547 2011-12-23 Marek Polacek <polacek@redhat.com>
12549 * elf/dl-addr.c (determine_info): Add inline keyword.
12550 * elf/tst-auditmod4b.c (check_avx): Likewise.
12551 * elf/tst-auditmod6b.c (check_avx): Likewise.
12552 * elf/tst-auditmod6c.c (check_avx): Likewise.
12553 * elf/tst-auditmod7b.c (check_avx): Likewise.
12555 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12557 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12560 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12563 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12564 processing for last bytes.
12566 2011-08-06 Bruno Haible <bruno@clisp.org>
12569 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12570 U+0385, not to U+1FEE.
12573 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12574 entry for U+00A5 U+0301.
12576 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12579 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12580 buffer for the output is too small.
12582 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12586 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12587 SSE flags if possible.
12589 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12592 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12593 processing for last bytes.
12595 2011-12-22 Joseph Myers <joseph@codesourcery.com>
12597 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12598 (syscall-list-default-options, syscall-list-default-condition)
12599 (syscall-list-includes): Define.
12600 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12601 list of ABIs and options and #if conditions for each ABI. Do not
12602 handle common syscalls between ABIs specially.
12603 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12605 (syscall-list-variants, syscall-list-32bit-options)
12606 (syscall-list-32bit-condition, syscall-list-64bit-options)
12607 (syscall-list-64bit-condition): Define.
12608 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12609 (syscall-list-variants, syscall-list-32bit-options)
12610 (syscall-list-32bit-condition, syscall-list-64bit-options)
12611 (syscall-list-64bit-condition): Define.
12612 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12614 (syscall-list-variants, syscall-list-32bit-options)
12615 (syscall-list-32bit-condition, syscall-list-64bit-options)
12616 (syscall-list-64bit-condition): Define.
12617 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12619 (syscall-list-variants, syscall-list-32bit-options)
12620 (syscall-list-32bit-condition, syscall-list-64bit-options)
12621 (syscall-list-64bit-condition): Define.
12623 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12625 * locale/iso-639.def: Add brx entry.
12628 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12629 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12631 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12632 __feraiseexcept_renamed.
12634 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12637 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12638 EPOLLET with unsigned values.
12639 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12640 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12642 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12643 to large cancellation.
12644 * math/s_cacoshf.c: Likewise.
12645 * math/s_cacoshl.c: Likewise.
12647 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12651 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12652 * math/s_cacoshf.c: Likewise.
12653 * math/s_cacoshl.c: Likewise.
12655 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12658 * iconv/gconv.h: Define __GCONV_SWAP.
12659 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12660 * iconvdata/utf-16.c: Likewise.
12661 * iconvdata/utf-32.c: Likewise.
12663 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12666 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12667 numerator after shifting it by one limb.
12669 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12671 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12672 under [__USE_EXTERN_INLINES].
12674 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12677 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12679 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12681 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12682 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12684 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12685 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12686 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12687 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12688 for strncasecmp/strncasecmp_l compilation.
12689 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12690 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12692 2011-12-08 Marek Polacek <mpolacek@redhat.com>
12695 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12698 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12701 * time/tzfile.c (__tzfile_read): Check values from file header.
12703 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12705 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12706 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12707 * powerpc/powerpc32/dl-start.S: Likewise.
12708 * powerpc/powerpc32/elf/start.S: Likewise.
12709 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12710 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12711 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12712 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12713 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12714 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12715 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12716 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12717 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12718 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12719 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12720 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12721 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12722 * powerpc/powerpc32/memset.S: Likewise.
12723 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12724 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12725 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12726 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12727 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12728 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12729 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12730 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12731 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12732 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12733 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12734 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12735 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12737 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12739 * math/libm-test.inc: Added more nearbyint tests.
12740 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12741 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12742 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12743 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12745 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12747 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12750 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12752 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12753 Add wcscpy-ssse3 wcscpy-c.
12754 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12755 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12756 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12757 * sysdeps/x86_64/wcschr.S: New file.
12758 * sysdeps/x86_64/wcsrchr.S: New file.
12759 * string/test-strcmp.c: Remove checking of wcscmp function for
12761 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12762 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12763 wcsrchr-sse2 wcsrchr-c.
12764 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12765 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12766 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12767 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12768 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12769 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12770 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12771 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12772 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12773 * wcsmbc/wcschr.c (WCSCHR): New macro.
12775 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12777 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12778 * wcsmbs/test-wcsrchr.c: New file.
12779 * string/test-strrchr.c: Add wcsrchr support.
12781 * wcsmbs/test-wcscpy.c: New file.
12782 * string/test-strcpy.c: Add wcscpy support.
12785 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12787 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12790 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12793 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12795 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12797 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12798 Minor optimizations.
12800 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12801 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12802 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12804 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12806 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12807 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12808 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12809 for gcc to avoid warnings.
12810 * inet/Makefile (tests): Add tst-checks.
12811 * inet/tst-checks.c: New file.
12813 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12816 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12819 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12820 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12822 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12824 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12826 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12829 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12831 2011-11-29 Joseph Myers <joseph@codesourcery.com>
12833 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12834 conditional on GCC version.
12835 (__arch_compare_and_exchange_val_8_acq)
12836 (__arch_compare_and_exchange_val_16_acq)
12837 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12838 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12839 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12841 2011-12-02 Joseph Myers <joseph@codesourcery.com>
12843 * sysdeps/sh/backtrace.c: New file.
12845 2011-12-02 Andreas Schwab <schwab@redhat.com>
12847 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12850 2011-12-01 Andreas Schwab <schwab@redhat.com>
12852 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12853 falling back to utime.
12855 2011-11-30 Andreas Schwab <schwab@redhat.com>
12857 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12858 expectations for float.
12860 2011-11-29 Andreas Schwab <schwab@redhat.com>
12862 * locale/weight.h (findidx): Add parameter len.
12863 * locale/weightwc.h (findidx): Likewise.
12864 * posix/fnmatch_loop.c (FCT): Adjust caller.
12865 * posix/regcomp.c (build_equiv_class): Likewise.
12866 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12867 * posix/regexec.c (check_node_accept_bytes): Likewise.
12868 * string/strcoll_l.c (STRCOLL): Likewise.
12869 * string/strxfrm_l.c (STRXFRM): Likewise.
12871 2011-11-17 Ulrich Drepper <drepper@gmail.com>
12873 * Makefile.in: Remove CVSOPT handling.
12874 * configure.in: Remove use of AC_REVISION.
12875 * iconvdata/Makefile (distribute): No need to filter out CVS.
12876 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12879 2011-11-16 Andreas Schwab <schwab@redhat.com>
12881 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12882 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12883 [USE_AS_STRNCASECMP_L]: Likewise.
12884 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12885 NO_TLS_DIRECT_SEG_REFS.
12886 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12887 Fix argument offsets for non-PIC.
12888 [USE_AS_STRNCASECMP_L]: Likewise.
12889 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12890 NO_TLS_DIRECT_SEG_REFS.
12892 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12894 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12896 * locale/loadlocale.c (_nl_load_locale): Likewise.
12898 2011-11-15 Andreas Schwab <schwab@redhat.com>
12900 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12901 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12902 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12903 (SYSCALL_GETTIME): Set errno on error.
12905 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12906 count references to noai6ai_cached.
12908 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12910 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12912 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12913 FD_CLOEXEC for /proc/self/maps.
12915 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12916 FD_CLOEXEC for /proc/meminfo.
12918 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12921 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12922 FD_CLOEXEC for given file.
12924 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12926 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12927 FD_CLOEXEC for /etc/hosts.
12928 (_gethtent): Likewise.
12930 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12932 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12933 cancellation and set FD_CLOEXEC for /etc/netgroup.
12935 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12936 reading /etc/publickey.
12938 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12939 allow cancellation when reading /etc/group.
12941 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12943 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12945 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12946 when using data file.
12948 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12950 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12951 (write_nis_obj): Use "c" and "e" in fopen.
12953 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12955 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12957 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12959 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12961 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12964 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12966 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12968 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12970 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12971 file parsing and set FD_CLOEXEC.
12973 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12975 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12977 2011-11-14 Andreas Schwab <schwab@redhat.com>
12979 * malloc/arena.c (arena_get2): Don't call reused_arena when
12980 _int_new_arena failed.
12982 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12984 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12985 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12986 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12987 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12988 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12989 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12990 to compile strcasecmp and strncasecmp.
12991 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12992 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12994 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12996 2011-11-13 Ulrich Drepper <drepper@gmail.com>
12998 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12999 locale-defines.sym to gen-as-const-headers.
13000 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13001 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13002 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13003 to compile strcasecmp and strncasecmp.
13004 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13005 strcasecmp_l and strncasecmp_l.
13006 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13007 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13008 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13009 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13010 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13011 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13012 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13013 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13014 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13015 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13016 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13018 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13020 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13021 result of SYSDEP_GETTIME_CPU to retval.
13022 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13023 parameter list to macro. Remove trailing semicolon. Adjust users.
13025 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13028 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13030 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13032 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13033 from unused variable.
13035 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13037 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13040 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13043 * sunrpc/rpc_prot.c (rejected): Fix case value.
13045 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13046 unsigned long long int to avoid warnings in shift.
13048 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13050 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13053 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13054 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13055 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13057 * nis/nis_table.c (nis_list): Use variable of correct type for
13058 result of __follow_path call.
13060 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13062 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13063 of math functions ceil, trunc, floor, round, and sqrt, when
13064 avaliable on the platform.
13065 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13067 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13068 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13069 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13071 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13073 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13074 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13076 2011-11-11 Roland McGrath <roland@hack.frob.com>
13078 * include/unistd.h: Fix __readlink return type.
13079 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13081 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13083 * stdlib/ucontext.h: Undo last change for makecontext.
13085 2011-11-11 Andreas Schwab <schwab@redhat.com>
13087 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13089 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13090 * setjmp/setjmp.h: Mark functions as non-leaf.
13091 * setjmp/bits/setjmp2.h: Likewise.
13092 * stdlib/ucontext.h: Likewise.
13094 2011-11-10 Andreas Schwab <schwab@redhat.com>
13096 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13097 (reused_arena): Don't check arena limit.
13098 (arena_get2): Atomically check arena limit.
13100 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13102 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13103 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13105 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13108 2011-11-07 Andreas Schwab <schwab@redhat.com>
13110 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13111 handler when locking.
13113 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13114 Fix size of allocated buffer.
13116 2011-11-04 Andreas Schwab <schwab@redhat.com>
13119 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13120 declarations for long double functions.
13121 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13123 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13125 2011-11-03 Andreas Schwab <schwab@redhat.com>
13127 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13130 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13133 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13135 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13137 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13139 * include/alloca.h (stackinfo_alloca_round): Define.
13140 (extend_alloca): Use it.
13141 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13142 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13145 * scripts/check-local-headers.sh: Ignore libaudit.h.
13147 * nscd/Makefile (extra-objs): Make recursively expanded.
13149 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13151 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13152 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13154 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13155 * posix/tst-rfc3484-2.c: Likewise.
13156 * posix/tst-rfc3484-3.c: Likewise.
13158 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13160 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13162 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13163 process_vm_writev from libc using GLIBC_2.15 version.
13165 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13167 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13169 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13172 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13175 * nss/getent.c (initgroups_keys): Show error message in case no group
13178 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13179 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13180 __bump_nl_timestamp.
13181 * nscd/connections (nscd_init): When host database is served open
13182 netlink socket and request notification about configuration changes.
13183 (main_loop_poll): Track netlink file descriptor and bump timestamp
13184 in case data becomes available.
13185 (main_loop_epoll): Likewise.
13186 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13187 (database_pers_head): Add extra_data fileds.
13188 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13189 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13190 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13192 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13193 in6ai data, call __free_in6ai.
13194 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13195 Add -DHAVE_NETLINK.
13196 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13197 interface information. Reuse previous data if netlink timestamp
13199 (__bump_nl_timestamp): New function.
13200 (__free_in6ai): New function.
13202 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13204 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13205 close_not_cancel_no_status here.
13206 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13208 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13211 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13214 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13215 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13216 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13218 2011-07-03 Andreas Jaeger <aj@suse.de>
13221 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13222 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13223 * math/libm-test.inc (sin_test): Add test case.
13225 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13228 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13229 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13231 * elf/chroot_canon.c (chroot_canon): Cleanups.
13233 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13236 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13237 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13239 * string/test-strchr.c: Make usable for strchrnul testing.
13240 * string/test-strchrnul.c: New file.
13241 * string/Makefile (strop-tests): Add strchrnul.
13243 * po/it.po: Update from translation team.
13244 * po/es.po: Likewise.
13246 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13248 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13249 the three constants needed as parameters. Drop the others.
13250 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13251 __m128i_strloadu_tolower.
13252 Create and initialize variable zero and use it in all the places
13253 where _mm_setzero_si128 was used.
13255 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13256 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13257 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13258 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13260 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13261 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13262 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13263 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13264 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13265 __mpranred, __mptan.
13266 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13267 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13268 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13269 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13270 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13271 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13272 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13273 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13274 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13276 2011-10-28 Andreas Schwab <schwab@redhat.com>
13278 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13279 redefine if SHARED.
13280 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13282 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13283 wide char related routines to wcsmbs subdir.
13285 2011-10-27 Andreas Schwab <schwab@redhat.com>
13288 * misc/sys/cdefs.h (__THROWNL): Define.
13289 * posix/unistd.h: Use __THREADNL instead of __THREAD
13290 for memory synchronization functions.
13292 2011-10-26 Roland McGrath <roland@hack.frob.com>
13295 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13297 * manual/stdio.texi (Obstack Streams): Node removed.
13299 2011-10-26 Andreas Schwab <schwab@redhat.com>
13301 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13302 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13303 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13305 * math/math_private.h (math_force_eval): Allow non-addressable
13307 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13309 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13311 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13312 file is not needed.
13314 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13315 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13316 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13317 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13318 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13319 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13320 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13321 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13323 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13324 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13325 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13326 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13327 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13328 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13329 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13330 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13331 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13332 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13333 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13334 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13335 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13336 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13337 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13338 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13339 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13340 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13341 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13343 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13344 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13346 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13347 place. Use VEX encoding when compiling for AVX.
13349 2011-10-25 Andreas Schwab <schwab@redhat.com>
13351 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13352 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13354 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13356 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13358 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13359 useless if() expression.
13360 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13361 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13362 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13363 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13364 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13365 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13366 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13367 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13368 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13369 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13370 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13371 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13372 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13373 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13374 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13375 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13376 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13377 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13378 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13380 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13382 2011-10-25 Andreas Schwab <schwab@redhat.com>
13384 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13386 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13388 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13390 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13391 .text section. Avoid duplicate constants.
13392 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13393 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13394 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13395 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13396 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13397 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13398 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13399 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13400 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13401 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13402 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13403 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13404 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13405 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13406 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13407 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13408 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13409 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13410 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13411 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13412 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13413 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13414 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13415 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13416 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13417 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13418 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13419 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13420 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13421 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13422 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13423 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13424 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13425 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13426 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13427 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13428 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13429 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13430 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13431 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13432 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13433 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13434 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13435 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13436 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13438 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13440 * sysdeps/x86_64/dla.h: Move to ...
13441 * sysdeps/x86_64/fpu/dla.h: ...here.
13442 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13443 situations. Use __builtin_fma only for gcc 4.6 and up.
13445 * config.make.in: Add have-mfma4 entry.
13446 * configure.in: Substitute libc_cv_cc_fma4.
13447 * math/Makefile (dbl-only-routines): Add sincostab.
13448 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13449 Use __sincostab not sincos.
13450 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13452 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13453 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13454 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13455 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13457 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13458 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13459 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13460 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13462 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13463 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13465 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13466 define aliases when function name is a macro.
13467 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13468 sysdeps/ieee754/dbl-64/sincos.tbl.
13469 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13470 fma4-enabled routines.
13471 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13472 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13473 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13474 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13475 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13476 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13477 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13478 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13479 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13480 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13481 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13482 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13483 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13484 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13485 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13486 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13487 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13488 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13489 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13490 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13491 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13492 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13493 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13494 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13495 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13496 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13497 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13498 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13499 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13500 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13502 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13504 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13505 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13506 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13507 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13508 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13509 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13510 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13511 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13513 2011-10-24 Andreas Schwab <schwab@redhat.com>
13515 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13517 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13519 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13521 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13523 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13525 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13526 Remove unused variable magic_bits.
13527 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13529 * string/strnlen.c: Define and use STRNLEN macro.
13530 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13531 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13532 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13533 * wcsmbs/wcslen.c: Define and use WCSLEN.
13534 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13535 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13536 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13537 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13538 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13539 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13540 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13542 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13545 strnlen-sse2-no-bsf.
13546 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13547 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13548 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13549 Add strnlen support.
13550 (USE_AS_STRNLEN): New macro.
13551 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13552 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13553 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13554 * sysdeps/x86_64/wcslen.S: New file.
13556 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13558 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13559 XMM-moves are used for copying on small sizes.
13561 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13563 * wcsmbs/Makefile (strop-tests): Add wcschr.
13564 * wcsmbs/test-wcschr.c: New file.
13565 * string/test-strchr.c: Update.
13566 Add wcschr support.
13569 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13571 * wcsmbs/Makefile (strop-tests): Add wcslen.
13572 * wcsmbs/test-wcslen.c: New file.
13573 * string/test-strlen.c: Update.
13574 Add wcslen support.
13577 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13579 * po/it.po: Update from translation team.
13581 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13583 * sysdeps/x86_64/wcscmp.S: Update.
13584 Fix wrong comparison semantics.
13585 wcscmp shall use signed comparison not unsigned.
13586 Don't use substraction to avoid overflow bug.
13587 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13588 * wcsmbc/wcscmp.c: Likewise.
13589 * string/test-strcmp.c: Likewise.
13590 Add new tests to check cases with negative values.
13592 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13594 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13595 * sysdeps/x86_64/dla.h: ...here. New file.
13596 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13597 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13598 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13600 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13601 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13602 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13603 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13604 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13606 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13608 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13609 __ynl_finite aliases.
13611 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13613 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13615 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13617 [DLA_FMA] (EMULV): Use DLA_FMA.
13618 [DLA_FMA] (MUL12): Use EMULV.
13619 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13620 that are not needed.
13621 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13622 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13625 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13626 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13627 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13629 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13631 * math/s_nan.c: Undef __nan.
13632 * math/s_nanf.c: Undef __nanf.
13633 * math/s_nanl.c: Undef __nanl.
13634 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13637 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13639 * math/s_catan.c: Add branch predictions.
13640 * math/s_catanf.c: Likewise.
13641 * math/s_catanh.c: Likewise.
13642 * math/s_catanhf.c: Likewise.
13643 * math/s_catanhl.c: Likewise.
13644 * math/s_catanl.c: Likewise.
13645 * math/s_cexp.c: Likewise.
13646 * math/s_cexpf.c: Likewise.
13647 * math/s_cexpl.c: Likewise.
13648 * math/s_clog.c: Likewise.
13649 * math/s_clog10.c: Likewise.
13650 * math/s_clog10f.c: Likewise.
13651 * math/s_clog10l.c: Likewise.
13652 * math/s_clogf.c: Likewise.
13653 * math/s_clogl.c: Likewise.
13654 * math/s_csqrt.c: Likewise.
13655 * math/s_csqrtf.c: Likewise.
13656 * math/s_csqrtl.c: Likewise.
13657 * math/s_ctanf.c: Likewise.
13658 * math/s_ctanh.c: Likewise.
13659 * math/s_ctanhf.c: Likewise.
13660 * math/s_ctanhl.c: Likewise.
13661 * math/s_ctanl.c: Likewise.
13663 * math/math_private.h: Define __nan, __nanf, __nanl.
13664 * math/s_cacosh.c: Include <math_private.h>.
13665 * math/s_cacoshl.c: Likewise.
13666 * math/s_casinh.c: Likewise.
13667 * math/s_casinhf.c: Likewise.
13668 * math/s_casinhl.c: Likewise.
13669 * math/s_ccos.c: Rely entire on ccosh.
13670 * math/s_ccosf.c: Rely entire on ccoshf.
13671 * math/s_ccosl.c: Rely entirely on ccoshl.
13672 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13673 Remove tests for FE_INVALID.
13674 * math/s_ccoshf.c: Likewise.
13675 * math/s_ccoshl.c: Likewise.
13676 * math/s_csin.c: Likewise.
13677 * math/s_csinf.c: Likewise.
13678 * math/s_csinh.c Likewise.
13679 * math/s_csinhf.c: Likewise.
13680 * math/s_csinhl.c: Likewise.
13681 * math/s_csinl.c: Likewise.
13682 * math/s_ctan.c: Likewise.
13683 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13684 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13685 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13687 2011-10-21 Ulrich Drepper <drepper@gmail.com>
13689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13690 compilation problems.
13692 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13695 2011-10-20 Ulrich Drepper <drepper@gmail.com>
13697 * sysdeps/i386/configure.in: Test for -mfma4 option.
13698 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13699 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13700 COMMON_CPUID_INDEX_80000001.
13701 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13702 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13703 use it if FMA3 is not supported.
13704 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13706 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13707 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13709 2011-10-20 Andreas Schwab <schwab@redhat.com>
13712 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13713 it would create a cycle with a link time dependency.
13715 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13717 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13719 * string/Makefile (strop-tests): Add rawmemchr.
13720 * string/test-rawmemchr.c: New file.
13722 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13723 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13724 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13725 when compiling str{,n}casecmp and when AVX is available. Hook up
13726 new optimized code in initializers.
13728 2011-10-19 Andreas Schwab <schwab@redhat.com>
13730 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13731 __feraiseexcept instead of feraiseexcept.
13733 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13735 * math/math_private.h: Define defaults for libc_fetestexcept and
13737 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13738 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13739 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13740 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13741 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13742 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13743 libc_fetestexcept and libc_feupdateenv.
13745 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13746 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13747 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13748 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13749 libc_feholdexcept_setround.
13751 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13752 Add s_nearbyint-c and s_nearbyintf-c.
13753 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13754 nearbyintf inlines.
13755 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13756 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13757 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13758 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13760 * math/math_private.h: Define defaults for libc_fegetround,
13761 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13762 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13763 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13764 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13765 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13766 standard functions.
13767 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13768 Remove comments and hacks for old compiler versions.
13769 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13770 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13771 libc_feholdexceptl.
13773 2011-10-18 Andreas Schwab <schwab@redhat.com>
13775 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13776 (__feraiseexcept_renamed): Add __NTH.
13777 (feraiseexcept): Add __NTH. Rename local variables to fix
13778 namespace violations.
13780 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13782 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13784 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13786 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13787 recently added interfaces.
13788 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13790 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13791 about macro parameter expansion.
13793 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13794 __NO_MATH_INLINES is defined. Cleanups.
13796 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13797 and __floorf is target has SSE4.1.
13798 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13799 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13800 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13801 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13803 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13805 (floorf): Likewise.
13807 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13809 2011-10-17 Andreas Schwab <schwab@redhat.com>
13811 * misc/sys/cdefs.h: Fix last change.
13813 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13816 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13818 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13820 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13821 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13822 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13823 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13824 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13825 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13826 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13827 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13828 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13829 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13830 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13831 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13832 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13833 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13834 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13835 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13836 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13837 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13838 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13839 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13840 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13841 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13843 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13844 ceil, ceilf, floor, floorf.
13846 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13847 Perform IRELATIVE relocations last.
13849 * elf/do-rel.h: Add another parameter nrelative, replacing the
13850 local variable with the same name. Change name of the function
13851 to end in Rel or Rela (uppercase).
13852 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13853 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13854 elf_dynamic_do_##reloc function.
13856 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13858 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13859 is sufficient, at least on modern CPUs.
13861 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13863 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13864 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13866 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13868 * math/bits/math-finite.h: Add entries for exp.
13869 * math/e_expl.c: Add __*_finite alias.
13870 * sysdeps/i386/fpu/e_exp.S: Likewise.
13871 * sysdeps/i386/fpu/e_expf.S: Likewise.
13872 * sysdeps/i386/fpu/e_expl.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13874 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13875 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13876 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13877 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13878 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13879 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13881 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13882 is sufficient, at least on modern CPUs.
13884 * ctype/ctype-info.c (__ctype_init): Define.
13885 * include/ctype.h (__ctype_init): Declare.
13886 (__ctype_b_loc): The variable is always initialized.
13887 (__ctype_toupper_loc): Likewise.
13888 (__ctype_tolower_loc): Likewise.
13889 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13890 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13892 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13894 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13896 * configure.in: Also look in $cxxmachine/include for C++ system
13899 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13901 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13902 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13903 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13904 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13905 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13906 (USE_AS_WMEMCMP): New macro.
13908 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13909 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13910 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13911 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13913 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13914 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13915 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13916 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13917 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13918 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13919 (USE_AS_WMEMCMP): New macro.
13920 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13921 * sysdeps/string/test-memcmp.c: Update.
13922 Fix simple_wmemcmp.
13924 * wcsmbs/wmemcmp.c: Update.
13925 (WMEMCMP): New macro.
13928 2011-10-12 Andreas Jaeger <aj@suse.de>
13931 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13933 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13935 * libio/iofwide.c (do_length): Avoid warning.
13937 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13939 2011-10-14 Ulrich Drepper <drepper@gmail.com>
13941 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13943 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13944 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13945 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13946 * sysdeps/i386/i686/fpu/e_log.S: New file.
13947 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13948 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13950 * ctype/ctype.h: Add support for inlined isXXX functions when
13951 compiling C++ code.
13953 2011-10-14 Andreas Schwab <schwab@redhat.com>
13955 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13957 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13959 2011-10-13 Roland McGrath <roland@hack.frob.com>
13962 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13964 2011-10-13 Andreas Schwab <schwab@redhat.com>
13966 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13967 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13970 * sysdeps/x86_64/memrchr.S: Check for zero size.
13972 * string/stratcliff.c: Add memrchr tests.
13974 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13977 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13978 rawmemchr-sse2 rawmemchr-sse2-bsf.
13979 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13980 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13981 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13982 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13983 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13984 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13985 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13986 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13987 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13988 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13989 * string/memrchr.c (MEMRCHR): New macro.
13991 2011-10-12 Ulrich Drepper <drepper@gmail.com>
13993 Add integration with gcc's -ffinite-math-only and optimize wrapper
13995 * Versions.def: Define GLIBC_2.15 version for libm.
13996 * math/Makefile (headers): Add bits/math-finite.h.
13997 * math/bits/math-finite.h: New file.
13998 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13999 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14000 * math/e_acoshl.c: Add __*_finite alias.
14001 * math/e_acosl.c: Likewise.
14002 * math/e_asinl.c: Likewise.
14003 * math/e_atan2l.c: Likewise.
14004 * math/e_atanhl.c: Likewise.
14005 * math/e_coshl.c: Likewise.
14006 * math/e_exp10.c: Likewise.
14007 * math/e_exp10f.c: Likewise.
14008 * math/e_exp10l.c: Likewise.
14009 * math/e_exp2l.c: Likewise.
14010 * math/e_fmodl.c: Likewise.
14011 * math/e_gammal_r.c: Likewise.
14012 * math/e_hypotl.c: Likewise.
14013 * math/e_j0l.c: Likewise.
14014 * math/e_j1l.c: Likewise.
14015 * math/e_jnl.c: Likewise.
14016 * math/e_lgammal_r.c: Likewise.
14017 * math/e_log10l.c: Likewise.
14018 * math/e_log2l.c: Likewise.
14019 * math/e_logl.c: Likewise.
14020 * math/e_powl.c: Likewise.
14021 * math/e_sinhl.c: Likewise.
14022 * math/e_sqrtl.c: Likewise.
14023 * math/e_scalb.c: Completely rewritten and optimized.
14024 * math/e_scalbf.c: Likewise.
14025 * math/e_scalbl.c: Likewise.
14026 * math/w_acos.c: Likewise.
14027 * math/w_acosf.c: Likewise.
14028 * math/w_acosl.c: Likewise.
14029 * math/w_acosh.c: Likewise.
14030 * math/w_acoshf.c: Likewise.
14031 * math/w_acoshl.c: Likewise.
14032 * math/w_asin.c: Likewise.
14033 * math/w_asinf.c: Likewise.
14034 * math/w_asinl.c: Likewise.
14035 * math/w_atan2.c: Likewise.
14036 * math/w_atan2f.c: Likewise.
14037 * math/w_atan2l.c: Likewise.
14038 * math/w_atanh.c: Likewise.
14039 * math/w_atanhf.c: Likewise.
14040 * math/w_atanhl.c: Likewise.
14041 * math/w_exp10.c: Likewise.
14042 * math/w_exp10f.c: Likewise.
14043 * math/w_exp10l.c: Likewise.
14044 * math/w_fmod.c: Likewise.
14045 * math/w_fmodf.c: Likewise.
14046 * math/w_fmodl.c: Likewise.
14047 * math/w_j0.c: Likewise.
14048 * math/w_j0f.c: Likewise.
14049 * math/w_j0l.c: Likewise.
14050 * math/w_j1.c: Likewise.
14051 * math/w_j1f.c: Likewise.
14052 * math/w_j1l.c: Likewise.
14053 * math/w_jn.c: Likewise.
14054 * math/w_jnf.c: Likewise.
14055 * math/w_log.c: Likewise.
14056 * math/w_logf.c: Likewise.
14057 * math/w_logl.c: Likewise.
14058 * math/w_log10.c: Likewise.
14059 * math/w_log10f.c: Likewise.
14060 * math/w_log10l.c: Likewise.
14061 * math/w_log2.c: Likewise.
14062 * math/w_log2f.c: Likewise.
14063 * math/w_log2l.c: Likewise.
14064 * math/w_pow.c: Likewise.
14065 * math/w_powf.c: Likewise.
14066 * math/w_powl.c: Likewise.
14067 * math/w_remainder.c: Likewise.
14068 * math/w_remainderf.c: Likewise.
14069 * math/w_remainderl.c: Likewise.
14070 * math/w_scalb.c: Likewise.
14071 * math/w_scalbf.c: Likewise.
14072 * math/w_scalbl.c: Likewise.
14073 * math/w_sqrt.c: Likewise.
14074 * math/w_sqrtf.c: Likewise.
14075 * math/w_sqrtl.c: Likewise.
14076 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14077 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14079 * math/math_private.h: Declare __kernel_standard_f.
14080 * math/w_cosh.c: Remove cruft and optimize a bit.
14081 * math/w_coshf.c: Likewise.
14082 * math/w_coshl.c: Likewise.
14083 * math/w_exp2.c: Likewise.
14084 * math/w_exp2f.c: Likewise.
14085 * math/w_exp2l.c: Likewise.
14086 * math/w_hypot.c: Likewise.
14087 * math/w_hypotf.c: Likewise.
14088 * math/w_hypotl.c: Likewise.
14089 * math/w_lgamma.c: Likewise.
14090 * math/w_lgamma_r.c: Likewise.
14091 * math/w_lgammaf.c: Likewise.
14092 * math/w_lgammaf_r.c: Likewise.
14093 * math/w_lgammal.c: Likewise.
14094 * math/w_lgammal_r.c: Likewise.
14095 * math/w_sinh.c: Likewise.
14096 * math/w_sinhf.c: Likewise.
14097 * math/w_sinhl.c: Likewise.
14098 * math/w_tgamma.c: Likewise.
14099 * math/w_tgammaf.c: Likewise.
14100 * math/w_tgammal.c: Likewise.
14101 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14102 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14103 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14104 Minor optimizations. Pretty printing. Remove cruft.
14105 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14106 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14107 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14108 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14109 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14110 * sysdeps/i386/fpu/e_asin.S: Likewise.
14111 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14112 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14113 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14114 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14115 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14116 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14117 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14118 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14119 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14120 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14121 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14122 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14123 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14124 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14125 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14126 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14127 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14128 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14129 * sysdeps/i386/fpu/e_log.S: Likewise.
14130 * sysdeps/i386/fpu/e_log10.S: Likewise.
14131 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14132 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14133 * sysdeps/i386/fpu/e_log2.S: Likewise.
14134 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14135 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14136 * sysdeps/i386/fpu/e_logf.S: Likewise.
14137 * sysdeps/i386/fpu/e_logl.S: Likewise.
14138 * sysdeps/i386/fpu/e_pow.S: Likewise.
14139 * sysdeps/i386/fpu/e_powf.S: Likewise.
14140 * sysdeps/i386/fpu/e_powl.S: Likewise.
14141 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14142 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14143 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14144 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14145 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14146 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14147 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14148 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14149 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14150 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14151 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14152 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14153 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14154 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14155 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14156 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14157 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14158 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14159 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14162 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14164 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14165 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14166 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14167 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14168 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14169 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14170 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14171 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14172 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14173 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14174 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14175 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14176 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14177 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14178 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14179 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14180 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14181 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14182 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14183 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14184 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14185 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14186 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14187 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14188 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14189 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14190 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14191 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14192 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14193 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14194 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14195 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14196 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14197 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14198 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14199 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14200 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14201 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14202 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14203 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14204 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14205 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14206 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14207 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14208 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14209 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14210 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14211 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14212 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14213 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14214 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14215 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14216 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14217 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14218 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14219 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14220 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14221 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14222 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14223 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14224 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14225 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14226 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14227 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14228 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14229 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14230 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14231 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14232 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14233 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14234 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14235 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14236 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14237 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14238 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14239 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14240 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14241 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14242 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14243 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14244 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14245 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14246 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14247 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14248 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14249 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14250 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14251 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14252 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14253 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14254 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14255 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14256 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14257 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14258 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14259 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14260 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14261 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14262 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14263 (__isnanf): Likewise.
14264 (__isinf_ns): Likewise.
14265 (__isinf_nsf): Likewise.
14266 (__finite): Likewise.
14267 (__finitef): Likewise.
14268 (__ieee754_sqrt): Define as macro.
14269 (__ieee754_sqrtf): Define as macro.
14270 (__ieee754_sqrtl): Define as macro.
14271 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14273 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14274 __FINITE_MATH_ONLY__ consistent.
14275 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14277 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14279 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14282 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14284 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14286 * po/ja.po: Update from translation team.
14288 2011-10-08 Roland McGrath <roland@hack.frob.com>
14290 * locale/programs/locarchive.c (prepare_address_space): New function.
14291 (create_archive, enlarge_archive, open_archive): Use it.
14293 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14294 inside [SHARED], where it is used.
14296 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14298 * nss/getent.c (netgroup_keys): Remove unused variable.
14299 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14301 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14303 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14304 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14305 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14306 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14307 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14308 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14309 * math/Makefile (libm-calls): Add s_isinf_ns.
14310 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14311 * math/multc3.c: Likewise.
14312 * math/s_casin.c: Likewise.
14313 * math/s_casinf.c: Likewise.
14314 * math/s_casinl.c: Likewise.
14315 * math/s_ccos.c: Likewise.
14316 * math/s_ccosf.c: Likewise.
14317 * math/s_ccosl.c: Likewise.
14318 * math/s_ctan.c: Likewise.
14319 * math/s_ctanf.c: Likewise.
14320 * math/s_ctanh.c: Likewise.
14321 * math/s_ctanhf.c: Likewise.
14322 * math/s_ctanhl.c: Likewise.
14323 * math/s_ctanl.c: Likewise.
14324 * math/w_fmod.c: Likewise.
14325 * math/w_fmodf.c: Likewise.
14326 * math/w_fmodl.c: Likewise.
14327 * math/w_remainder.c: Likewise.
14328 * math/w_remainderf.c: Likewise.
14329 * math/w_remainderl.c: Likewise.
14330 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14331 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14332 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14333 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14334 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14335 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14336 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14337 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14339 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14341 * stdio-common/printf_fphex.c: Likewise.
14342 * stdio-common/printf_size.c: Likewise.
14344 * math/e_exp10.c: Include math_private.h using <...> not "...".
14345 * math/e_exp10f.c: Likewise.
14346 * math/e_exp10l.c: Likewise.
14347 * math/e_exp2l.c: Likewise.
14348 * math/e_j0l.c: Likewise.
14349 * math/e_j1l.c: Likewise.
14350 * math/e_jnl.c: Likewise.
14351 * math/e_lgammal_r.c: Likewise.
14352 * math/e_rem_pio2l.c: Likewise.
14353 * math/e_scalb.c: Likewise.
14354 * math/e_scalbf.c: Likewise.
14355 * math/e_scalbl.c: Likewise.
14356 * math/k_cosl.c: Likewise.
14357 * math/k_sinl.c: Likewise.
14358 * math/k_tanl.c: Likewise.
14359 * math/s_cacoshf.c: Likewise.
14360 * math/s_catan.c: Likewise.
14361 * math/s_catanf.c: Likewise.
14362 * math/s_catanh.c: Likewise.
14363 * math/s_catanhf.c: Likewise.
14364 * math/s_catanhl.c: Likewise.
14365 * math/s_catanl.c: Likewise.
14366 * math/s_ccosh.c: Likewise.
14367 * math/s_ccoshf.c: Likewise.
14368 * math/s_ccoshl.c: Likewise.
14369 * math/s_cexp.c: Likewise.
14370 * math/s_cexpf.c: Likewise.
14371 * math/s_cexpl.c: Likewise.
14372 * math/s_clog.c: Likewise.
14373 * math/s_clog10.c: Likewise.
14374 * math/s_clog10f.c: Likewise.
14375 * math/s_clog10l.c: Likewise.
14376 * math/s_clogf.c: Likewise.
14377 * math/s_clogl.c: Likewise.
14378 * math/s_csin.c: Likewise.
14379 * math/s_csinf.c: Likewise.
14380 * math/s_csinh.c: Likewise.
14381 * math/s_csinhf.c: Likewise.
14382 * math/s_csinhl.c: Likewise.
14383 * math/s_csinl.c: Likewise.
14384 * math/s_csqrt.c: Likewise.
14385 * math/s_csqrtf.c: Likewise.
14386 * math/s_csqrtl.c: Likewise.
14387 * math/s_ctan.c: Likewise.
14388 * math/s_ctanf.c: Likewise.
14389 * math/s_ctanh.c: Likewise.
14390 * math/s_ctanhf.c: Likewise.
14391 * math/s_ctanhl.c: Likewise.
14392 * math/s_ctanl.c: Likewise.
14393 * math/s_ldexp.c: Likewise.
14394 * math/s_ldexpf.c: Likewise.
14395 * math/s_ldexpl.c: Likewise.
14396 * math/s_significand.c: Likewise.
14397 * math/s_significandf.c: Likewise.
14398 * math/s_significandl.c: Likewise.
14399 * math/w_acos.c: Likewise.
14400 * math/w_acosf.c: Likewise.
14401 * math/w_acosh.c: Likewise.
14402 * math/w_acoshf.c: Likewise.
14403 * math/w_acoshl.c: Likewise.
14404 * math/w_acosl.c: Likewise.
14405 * math/w_asin.c: Likewise.
14406 * math/w_asinf.c: Likewise.
14407 * math/w_asinl.c: Likewise.
14408 * math/w_atan2.c: Likewise.
14409 * math/w_atan2f.c: Likewise.
14410 * math/w_atan2l.c: Likewise.
14411 * math/w_atanh.c: Likewise.
14412 * math/w_atanhf.c: Likewise.
14413 * math/w_atanhl.c: Likewise.
14414 * math/w_cosh.c: Likewise.
14415 * math/w_coshf.c: Likewise.
14416 * math/w_coshl.c: Likewise.
14417 * math/w_dremf.c: Likewise.
14418 * math/w_exp10.c: Likewise.
14419 * math/w_exp10f.c: Likewise.
14420 * math/w_exp10l.c: Likewise.
14421 * math/w_exp2.c: Likewise.
14422 * math/w_exp2f.c: Likewise.
14423 * math/w_fmod.c: Likewise.
14424 * math/w_fmodf.c: Likewise.
14425 * math/w_fmodl.c: Likewise.
14426 * math/w_hypot.c: Likewise.
14427 * math/w_hypotf.c: Likewise.
14428 * math/w_hypotl.c: Likewise.
14429 * math/w_j0.c: Likewise.
14430 * math/w_j0f.c: Likewise.
14431 * math/w_j0l.c: Likewise.
14432 * math/w_j1.c: Likewise.
14433 * math/w_j1f.c: Likewise.
14434 * math/w_j1l.c: Likewise.
14435 * math/w_jn.c: Likewise.
14436 * math/w_jnf.c: Likewise.
14437 * math/w_jnl.c: Likewise.
14438 * math/w_lgamma.c: Likewise.
14439 * math/w_lgamma_r.c: Likewise.
14440 * math/w_lgammaf.c: Likewise.
14441 * math/w_lgammaf_r.c: Likewise.
14442 * math/w_lgammal.c: Likewise.
14443 * math/w_lgammal_r.c: Likewise.
14444 * math/w_log.c: Likewise.
14445 * math/w_log10.c: Likewise.
14446 * math/w_log10f.c: Likewise.
14447 * math/w_log10l.c: Likewise.
14448 * math/w_log2.c: Likewise.
14449 * math/w_log2f.c: Likewise.
14450 * math/w_log2l.c: Likewise.
14451 * math/w_logf.c: Likewise.
14452 * math/w_logl.c: Likewise.
14453 * math/w_pow.c: Likewise.
14454 * math/w_powf.c: Likewise.
14455 * math/w_powl.c: Likewise.
14456 * math/w_remainder.c: Likewise.
14457 * math/w_remainderf.c: Likewise.
14458 * math/w_remainderl.c: Likewise.
14459 * math/w_scalb.c: Likewise.
14460 * math/w_scalbf.c: Likewise.
14461 * math/w_scalbl.c: Likewise.
14462 * math/w_sinh.c: Likewise.
14463 * math/w_sinhf.c: Likewise.
14464 * math/w_sinhl.c: Likewise.
14465 * math/w_sqrt.c: Likewise.
14466 * math/w_sqrtf.c: Likewise.
14467 * math/w_sqrtl.c: Likewise.
14468 * math/w_tgamma.c: Likewise.
14469 * math/w_tgammaf.c: Likewise.
14470 * math/w_tgammal.c: Likewise.
14472 * po/ja.po: Update from translation team.
14474 2011-09-29 Andreas Jaeger <aj@suse.de>
14477 * sunrpc/netname.c (netname2host): Fix logic.
14481 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14483 * math/w_remainder.c (__remainder): Likewise.
14484 * math/w_remainderf.c (__remainderf): Likewise.
14485 * math/libm-test.inc (remainder_test): Add test cases.
14487 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14489 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14492 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14494 * string/test-memcmp.c: Avoid unncessary #defines.
14495 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14497 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14499 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14500 Use new sse2 version for core i3 - i7 as it's faster
14501 than sse42 version.
14502 (bit_Prefer_PMINUB_for_stringop): New.
14503 * sysdeps/x86_64/rawmemchr.S: Update.
14504 Replace with faster SSE2 version.
14505 * sysdeps/x86_64/memrchr.S: New file.
14506 * sysdeps/x86_64/memchr.S: Update.
14507 Replace with faster SSE2 version.
14509 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14511 * elf/dl-load.c (lose): Add cast to avoid warning.
14513 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14515 * po/ca.po: Update from translation team.
14517 * inet/getnetgrent_r.c: Hook up nscd.
14518 * nscd/Makefile (routines): Add nscd_netgroup.
14519 (nscd-modules): Add netgroupcache.
14520 (CFLAGS-netgroupcache.c): Define.
14521 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14522 (cache_search): Add const to second parameter.
14523 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14525 (dbs): Add netgrdb entry.
14526 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14527 (verify_persistent_db): Handle netgrdb.
14528 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14529 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14531 (netgroup_response_header): Define.
14532 (innetgroup_response_header): Define.
14533 (datahead): Add netgroup_response_header and innetgroup_response_header
14535 * nscd/nscd.conf: Add entries for netgroup cache.
14536 * nscd/nscd.h (dbtype): Add netgrdb.
14537 (_PATH_NSCD_NETGROUP_DB): Define.
14538 (netgroup_iov_disabled): Declare.
14539 (xmalloc, xcalloc, xrealloc): Move declarations here.
14540 (cache_search): Adjust prototype.
14541 Add netgroup-related prototypes.
14542 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14543 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14544 (__nscd_innetgr): Declare.
14545 * nscd/selinux.c (perms): Use access_vector_t as element type and
14546 add netgroup-related initializers.
14547 * nscd/netgroupcache.c: New file.
14548 * nscd/nscd_netgroup.c: New file.
14549 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14550 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14551 For four parameters use innetgr.
14552 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14553 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14554 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14555 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14557 * nscd/connections.c (register_traced_file): Don't register file
14558 for disabled databases.
14560 2011-10-06 Ulrich Drepper <drepper@gmail.com>
14562 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14564 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14565 from tree and freeing node.
14567 2011-09-25 Jiri Olsa <jolsa@redhat.com>
14569 * nss/nsswitch.c (__nss_database_lookup): Handle
14570 nss_parse_service_list out of memory case.
14572 2011-09-15 Jiri Olsa <jolsa@redhat.com>
14574 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14575 out of memory case.
14577 2011-10-04 Andreas Schwab <schwab@redhat.com>
14579 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14580 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14582 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14583 elf_machine_rela, elf_machine_lazy_rel.
14584 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14585 (ELF_DYNAMIC_DO_REL): Likewise.
14586 (ELF_DYNAMIC_DO_RELA): Likewise.
14587 (ELF_DYNAMIC_RELOCATE): Likewise.
14588 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14589 to ELF_DYNAMIC_DO_REL.
14590 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14591 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14592 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14594 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14595 skip_ifunc, don't call ifunc function if non-zero.
14596 (elf_machine_rela): Likewise.
14597 (elf_machine_lazy_rel): Likewise.
14598 (elf_machine_lazy_rela): Likewise.
14599 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14600 (elf_machine_lazy_rel): Likewise.
14601 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14603 (elf_machine_lazy_rel): Likewise.
14604 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14606 (elf_machine_lazy_rel): Likewise.
14607 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14608 (elf_machine_lazy_rel): Likewise.
14609 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14610 (elf_machine_lazy_rel): Likewise.
14611 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14612 (elf_machine_lazy_rel): Likewise.
14613 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14614 (elf_machine_lazy_rel): Likewise.
14615 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14616 (elf_machine_lazy_rel): Likewise.
14617 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14618 (elf_machine_lazy_rel): Likewise.
14620 2011-09-28 Ulrich Drepper <drepper@gmail.com>
14622 * nss/nss_files/files-init.c (_nss_files_init): Use static
14623 initialization for all the *_traced_file variables.
14625 2011-09-28 Andreas Schwab <schwab@redhat.com>
14627 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14629 2011-09-27 Roland McGrath <roland@hack.frob.com>
14632 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14634 2011-09-27 Andreas Schwab <schwab@redhat.com>
14636 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14637 Reread the line before reparsing it.
14639 2011-09-26 Andreas Schwab <schwab@redhat.com>
14641 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14643 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14644 Maxim Kuvyrkov <maxim@codesourcery.com>
14645 Joseph Myers <joseph@codesourcery.com>
14647 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14648 if needed for __stack_chk_guard.
14650 2011-09-19 Roland McGrath <roland@hack.frob.com>
14652 * sysdeps/posix/spawni.c (script_execute): Always define it.
14653 It will be optimized away if unused.
14654 (maybe_script_execute): New function.
14655 (__spawni): Call it.
14657 * Makerules: Don't include tls.make.
14658 (config-tls): Always set to thread.
14659 * tls.make.c: File removed.
14661 2011-09-19 Mike Frysinger <vapier@gentoo.org>
14663 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14664 * config.make.in (CPPFLAGS-config): New substituted variable.
14666 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14668 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14671 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14672 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14674 2011-09-15 Roland McGrath <roland@hack.frob.com>
14676 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14677 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14678 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14679 (CALL_FAIL): Likewise.
14680 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14681 (CALL_FAIL): Macro removed.
14682 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14684 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14686 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14687 for __FINITE_MATH_ONLY__ == 1.
14689 2011-09-15 Andreas Schwab <schwab@redhat.com>
14691 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14692 __ieee754_sqrt instead of sqrt.
14693 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14694 __ieee754_sqrtf instead of sqrtf.
14695 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14696 __floorf instead of floorf.
14697 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14698 __floorf, __truncf instead of floorf, truncf.
14700 2011-09-14 Ulrich Drepper <drepper@gmail.com>
14702 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14704 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14705 __extern_always_inline.
14706 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14709 2011-09-14 Andreas Schwab <schwab@redhat.com>
14711 * elf/rtld.c (dl_main): Also relocate in dependency order when
14712 doing symbol dependency testing.
14714 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14716 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14717 Always define `refsym'.
14719 2011-09-13 Andreas Schwab <schwab@redhat.com>
14721 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14722 (__FD_ELT): Renamed from __FDELT.
14723 * misc/bits/select2.h (__FD_ELT): Likewise.
14724 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14725 __FD_MASK instead of __FDELT, __FDMASK.
14726 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14728 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14731 * elf/Makefile (gen-ldd): Fix pattern.
14733 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14734 (init_tls): Likewise.
14736 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14738 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14740 2011-09-12 Andreas Schwab <schwab@redhat.com>
14742 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14743 `struct cmsghdr *' instead of `void *'.
14744 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14747 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14749 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14751 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14752 ldd_rewrite_script.
14754 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14756 * configure.in: Remove --with-tls option.
14757 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14758 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14759 out in case it is missing.
14760 * sysdeps/ia64/elf/configure.in: Likewise.
14761 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14762 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14763 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14764 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14765 * sysdeps/sh/elf/configure.in: Likewise.
14766 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14767 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14768 * sysdeps/x86_64/elf/configure.in: Likewise.
14769 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14770 * sysdeps/mach/hurd/tls.h: Likewise.
14773 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14776 * configure.in: Fix use of AC_INIT.
14778 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14780 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14782 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14784 * malloc/hooks.c: Likewise.
14787 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14788 variables statically.
14789 (narenas): Initialize.
14790 (list_lock): Initialize.
14791 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14792 initializtion of main_arena and list_lock. Small cleanups.
14793 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14794 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14795 Add initializers to main_arena and mp_.
14796 (malloc_state): Remove pagesize member. Change all users to use
14799 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14800 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14801 is always initialized.
14803 * malloc/malloc.c: Removed unused configurations and dead code.
14804 * malloc/arena.c: Likewise.
14805 * malloc/hooks.c: Likewise.
14806 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14808 * include/tls.h: Removed. USE___THREAD must always be defined.
14809 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14810 * elf/dl-libc.c: Likewise.
14811 * elf/dl-tsd.c: Likewise.
14812 * include/errno.h: Likewise.
14813 * include/netdb.h: Likewise.
14814 * include/resolv.h: Likewise.
14815 * inet/herrno-loc.c: Likewise.
14816 * inet/herrno.c: Likewise.
14817 * malloc/arena.c: Likewise.
14818 * malloc/hooks.c: Likewise.
14819 * malloc/malloc.c: Likewise.
14820 * resolv/res-state.c: Likewise.
14821 * resolv/res_libc.c: Likewise.
14822 * sysdeps/i386/dl-machine.h: Likewise.
14823 * sysdeps/ia64/dl-machine.h: Likewise.
14824 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14825 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14826 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14827 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14828 * sysdeps/sh/dl-machine.h: Likewise.
14829 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14830 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14831 * sysdeps/unix/i386/sysdep.S: Likewise.
14832 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14833 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14834 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14835 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14836 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14837 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14838 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14839 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14840 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14841 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14842 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14843 * sysdeps/x86_64/dl-machine.h: Likewise.
14844 * tls.make.c: Likewise.
14846 * configure.in: Remove --with-__thread option. Make tests for
14847 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14848 tls_model attribute fail if no support is available. Remove
14850 * Makeconfig: Adjust for dropped configure option. All features are
14852 * Makerules: Likewise.
14853 * Versions.def: Likewise.
14854 * argp/argp-fmtstream.c: Likewise.
14855 * argp/argp-fmtstream.h: Likewise.
14856 * argp/argp-help.c: Likewise.
14857 * assert/assert.c: Likewise.
14858 * config.h.in: Likewise.
14859 * config.make.in: Likewise.
14860 * configure: Likewise.
14861 * configure.in: Likewise.
14862 * csu/Versions: Likewise.
14863 * csu/init.c: Likewise.
14864 * elf/tst-audit2.c: Likewise.
14865 * elf/tst-tls10.c: Likewise.
14866 * elf/tst-tls10.h: Likewise.
14867 * elf/tst-tls11.c: Likewise.
14868 * elf/tst-tls12.c: Likewise.
14869 * elf/tst-tls14.c: Likewise.
14870 * elf/tst-tlsmod11.c: Likewise.
14871 * elf/tst-tlsmod12.c: Likewise.
14872 * elf/tst-tlsmod13.c: Likewise.
14873 * elf/tst-tlsmod13a.c: Likewise.
14874 * elf/tst-tlsmod14a.c: Likewise.
14875 * elf/tst-tlsmod15b.c: Likewise.
14876 * elf/tst-tlsmod16a.c: Likewise.
14877 * elf/tst-tlsmod16b.c: Likewise.
14878 * elf/tst-tlsmod7.c: Likewise.
14879 * elf/tst-tlsmod8.c: Likewise.
14880 * elf/tst-tlsmod9.c: Likewise.
14881 * gmon/gmon.c: Likewise.
14882 * grp/fgetgrent_r.c: Likewise.
14883 * grp/putgrent.c: Likewise.
14884 * hurd/fopenport.c: Likewise.
14885 * include/libc-symbols.h: Likewise.
14886 * include/tls.h: Likewise.
14887 * intl/gettextP.h: Likewise.
14888 * intl/loadinfo.h: Likewise.
14889 * locale/global-locale.c: Likewise.
14890 * locale/localeinfo.h: Likewise.
14891 * mach/devstream.c: Likewise.
14892 * malloc/arena.c: Likewise.
14893 * malloc/set-freeres.c: Likewise.
14894 * misc/err.c: Likewise.
14895 * misc/getttyent.c: Likewise.
14896 * misc/mntent_r.c: Likewise.
14897 * posix/getopt.c: Likewise.
14898 * posix/wordexp.c: Likewise.
14899 * pwd/fgetpwent_r.c: Likewise.
14900 * resolv/Versions: Likewise.
14901 * resolv/res_hconf.c: Likewise.
14902 * shadow/fgetspent_r.c: Likewise.
14903 * shadow/putspent.c: Likewise.
14904 * stdio-common/printf_fphex.c: Likewise.
14905 * stdio-common/tmpfile.c: Likewise.
14906 * stdlib/abort.c: Likewise.
14907 * stdlib/fmtmsg.c: Likewise.
14908 * sunrpc/auth_unix.c: Likewise.
14909 * sunrpc/clnt_perr.c: Likewise.
14910 * sunrpc/clnt_tcp.c: Likewise.
14911 * sunrpc/clnt_udp.c: Likewise.
14912 * sunrpc/clnt_unix.c: Likewise.
14913 * sunrpc/openchild.c: Likewise.
14914 * sunrpc/svc_simple.c: Likewise.
14915 * sunrpc/svc_tcp.c: Likewise.
14916 * sunrpc/svc_udp.c: Likewise.
14917 * sunrpc/svc_unix.c: Likewise.
14918 * sunrpc/xdr.c: Likewise.
14919 * sunrpc/xdr_array.c: Likewise.
14920 * sunrpc/xdr_rec.c: Likewise.
14921 * sunrpc/xdr_ref.c: Likewise.
14922 * sunrpc/xdr_stdio.c: Likewise.
14924 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14926 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14928 2011-07-03 Andreas Jaeger <aj@suse.de>
14930 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14931 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14932 regenerate with gen-libm-tests.pl.
14934 2010-05-12 Petr Baudis <pasky@suse.cz>
14937 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14938 around j0() zero points by switching to j1().
14939 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14940 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14941 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14942 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14944 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14946 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14948 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14950 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14951 Patch in part by Pavel Roskin <proski@gnu.org>.
14954 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14956 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14957 Free memory block if necessary.
14960 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14961 be NULL. Don't lock in this case.
14963 2011-09-09 Roland McGrath <roland@hack.frob.com>
14965 * elf/elf.h (ELFOSABI_GNU): New macro.
14966 (ELFOSABI_LINUX): Define to that.
14968 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14970 * string/strncat.c (strncat): Undef the symbol in case it has been
14971 defined in bits/string.h.
14973 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14975 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14977 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14980 2011-08-17 Andreas Jaeger <aj@suse.de>
14982 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14984 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14985 Ian Lance Taylor <iant@google.com>
14987 * math/libm-test.inc (lround_test): New testcase.
14988 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14990 2011-09-08 Ulrich Drepper <drepper@gmail.com>
14992 * Makefile: Remove support for automatic cvs check-ins.
14993 * Makerules: Likewise.
14994 * config.make.in: Likewise.
14995 * configure.in: Likewise.
14996 * intl/Makefile: Likewise.
14997 * locale/Makefile: Likewise.
14998 * po/Makefile: Likewise.
14999 * posix/Makefile: Likewise.
15000 * sysdeps/gnu/Makefile: Likewise.
15001 * sysdeps/mach/hurd/Makefile: Likewise.
15002 * sysdeps/sparc/sparc32/Makefile: Likewise.
15005 * posix/Makefile (bug-regex32-ENV): Define.
15006 Patch by John Stanley <jpsinthemix@verizon.net>.
15008 * misc/Makefile (headers): Add bits/select2.h.
15009 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15010 * misc/bits/select2.h: New file.
15011 * include/bits/select2.h: New file.
15012 * debug/Makefile (routines): Add fdelt_chk.
15013 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15014 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15016 * debug/fdelt_chk.c: New file.
15018 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15019 * wcsmbs/test-wmemcmp.c: Likewise.
15020 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15021 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15023 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15025 * string/Makefile (strop-tests): Add memcmp.
15026 * string/test-wmemcmp.c: New file.
15027 * string/test-memcmp.c: Add wmemcmp support.
15029 2011-09-08 Roland McGrath <roland@hack.frob.com>
15032 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15035 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15036 garbage value in a __mach_port_mod_refs call in the cases of the
15037 task-self and thread-self ports.
15039 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15041 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15043 2011-09-08 Andreas Schwab <schwab@redhat.com>
15045 * elf/dl-load.c (lose): Check for non-null L.
15047 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15049 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15051 * elf/dl-libc.c (dlerror_run): Pass back error code from
15055 * elf/dl-load.c (lose): Free l_origin if it is valid.
15057 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15059 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15060 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15061 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15062 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15063 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15064 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15066 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15068 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15069 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15070 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15071 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15072 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15073 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15074 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15075 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15076 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15077 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15079 2011-08-15 Alan Modra <amodra@gmail.com>
15082 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15083 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15084 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15085 ppc_mcount to static-only-routines.
15086 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15088 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15089 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15091 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15093 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15094 for finite and infinity parameters.
15096 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15098 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15099 and add nop instructions for throughput optimization.
15100 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15102 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15104 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15105 aligned copy for power7 with vector-scalar instructions.
15106 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15108 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15113 2011-09-07 Andreas Schwab <schwab@redhat.com>
15116 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15119 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15121 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15122 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15123 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15124 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15127 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15129 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15130 Forgot to demangle the pointer.
15132 * sysdeps/i386/sysdep.h: Define atom_text_section.
15133 * sysdeps/x86_64/sysdep.h: Likewise.
15134 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15135 section with atom_text_section.
15136 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15137 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15138 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15139 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15140 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15142 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15143 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15144 already be defined. Change to take two parameters and don't assign
15145 result to variable. Adjust all users.
15146 Define INTERNAL_GETTIME if not already defined.
15147 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15150 HAVE_CLOCK_GETTIME_VSYSCALL.
15151 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15153 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15154 gettimeofday vsyscall, just use time.
15156 2011-09-06 Andreas Schwab <schwab@redhat.com>
15158 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15161 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15163 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15165 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15167 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15168 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15169 syscall if possible.
15171 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15173 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15174 e_ident. Don't pass to find_mapsXX.
15175 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15177 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15180 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15181 * sysdeps/x86_64/multiarch/strchr.S: Update.
15182 Check bit_slow_BSF bit.
15183 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15184 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15185 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15187 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15190 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15192 (tryshell): Define.
15193 (__spawni): Change last parameter to be flag. Test
15194 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15195 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15196 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15197 * posix/spawni.c: Likewise.
15198 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15199 * posix/spawnp.c: Likewise. Change normal version to use
15200 SPAWN_XFLAGS_USE_PATH.
15201 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15202 SPAWN_XFLAGS_TRY_SHELL.
15205 * posix/glob.h: Remove gcc 1.x support.
15208 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15210 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15212 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15213 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15215 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15216 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15217 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15218 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15219 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15220 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15222 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15224 * sysdeps/x86_64/wcscmp.S: New file.
15226 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15227 wcscmp-c wcscmp-sse2
15228 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15229 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15230 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15231 * wcsmbs/wcscmp.c: Allow renaming.
15233 2011-09-05 David S. Miller <davem@davemloft.net>
15235 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15236 stack slot, rather than the struct return pointer slot.
15237 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15238 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15240 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15242 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15244 * po/ja.po: Update from translation team.
15247 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15248 kernel in 64-bit binaries.
15250 2011-09-01 David S. Miller <davem@davemloft.net>
15252 * elf/elf.h (HWCAP_SPARC_*): Move to..
15253 * sysdeps/sparc/sysdep.h: this new file and add new values.
15254 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15255 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15256 _DL_HWCAP_COUNT to 24.
15257 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15259 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15260 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15261 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15262 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15263 instead of magic constants.
15264 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15266 2011-08-31 David S. Miller <davem@davemloft.net>
15268 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15269 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15270 Reimplement to do errno handling inline.
15271 (SYSCALL_ERROR_HANDLER): New macro.
15272 (__SYSCALL_STRING): Do not do errno handling in asm.
15273 (__CLONE_SYSCALL_STRING): Delete.
15274 (__INTERNAL_SYSCALL_STRING): Delete.
15275 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15276 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15277 (PSEUDO): Reimplement to do errno handling inline.
15278 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15279 (SYSCALL_ERROR_HANDLER): New macro.
15280 (__SYSCALL_STRING): Do not do errno handling in asm.
15281 (__CLONE_SYSCALL_STRING): Delete.
15282 (__INTERNAL_SYSCALL_STRING): Delete.
15283 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15284 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15286 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15287 (inline_syscall*): Add 'err' argument.
15288 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15289 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15290 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15291 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15293 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15294 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15296 2011-08-30 Andreas Schwab <schwab@redhat.com>
15298 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15300 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15302 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15305 2011-08-24 David S. Miller <davem@davemloft.net>
15307 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15309 2011-08-24 Andreas Schwab <schwab@redhat.com>
15311 * elf/Makefile: Add rules to build and run unload8 test.
15312 * elf/unload8.c: New file.
15313 * elf/unload8mod1.c: New file.
15314 * elf/unload8mod1x.c: New file.
15315 * elf/unload8mod2.c: New file.
15316 * elf/unload8mod3.c: New file.
15318 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15321 2011-08-23 David S. Miller <davem@davemloft.net>
15323 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15324 subtract stack bias.
15325 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15326 %sp not %fp in calculations.
15327 (_JMPBUF_UNWINDS_ADJ): Likewise.
15329 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15330 (aio_suspend): Call it to force an exception region around the
15331 AIO_MISC_WAIT() invocation.
15333 2011-08-23 Andreas Schwab <schwab@redhat.com>
15335 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15338 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15340 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15342 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15343 and <dl-machine.h>.
15344 (Elf64_FuncDesc): Remove.
15346 2011-08-22 David S. Miller <davem@davemloft.net>
15348 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15349 sigaltstack check, add missing cfi directives.
15350 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15351 missing cfi directives, and sigaltstack handling.
15353 2011-08-16 Andreas Schwab <schwab@redhat.com>
15356 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15357 object is seen twice.
15358 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15360 * elf/Makefile (distribute): Add tst-initorder2.c.
15361 (tests): Add tst-initorder2.
15362 (modules-names): Add tst-initorder2a tst-initorder2b
15363 tst-initorder2c tst-initorder2d. Add rules to build them.
15364 ($(objpfx)tst-initorder2.out): New rule.
15365 * elf/tst-initorder2.c: New file.
15366 * elf/tst-initorder2.exp: New file.
15368 2011-08-22 Andreas Schwab <schwab@redhat.com>
15370 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15372 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15373 dependencies back to end of function.
15375 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15376 $(elfobjdir)/ld.so.
15378 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15380 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15381 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15382 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15383 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15384 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15385 of __vdso_gettimeofday.
15386 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15387 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15389 (_libc_vdso_platform_setup): Remove initialization of
15390 __vdso_gettimeofday and __vdso_time.
15392 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15394 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15395 and fgetc_unlocked.
15396 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15399 * elf/dl-open.c (add_to_global): Report additions to the global scope
15400 for LD_DEBUG=scopes.
15401 (dl_open_worker): Also print scope of newly loaded dependencies.
15402 (_dl_show_scope): Indicate if there is no scope.
15405 * stdio-common/Makefile (tests): Add bug24.
15406 * stdio-common/bug24.c: New file.
15408 2011-08-19 Andreas Jaeger <aj@suse.de>
15411 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15412 non-existant file when using close-on-exec mode.
15414 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15416 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15417 the very first instruction.
15419 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15420 the CFI state in the end.
15421 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15422 inclusion of dl-trampoline.h.
15423 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15425 2011-08-19 Andreas Schwab <schwab@redhat.com>
15427 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15428 expectations for long double.
15430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15431 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15433 2011-08-14 David S. Miller <davem@davemloft.net>
15435 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15436 artificual limit depends upon the system page size.
15438 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15440 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15441 * resolv/Makefile: Define CFLAGS-libresolv.
15443 2011-08-17 Andreas Schwab <schwab@redhat.com>
15445 * nss/makedb.c (compute_tables): Make variables used in nested
15448 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15450 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15451 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15452 if buffer was too small.
15454 * elf/pldd.c (main): Attach to all threads in the process.
15455 Rewrite /proc handling to use *at functions.
15457 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15459 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15460 specifies first scope to show.
15461 (dl_open_worker): Update callers. Move printing scope of new
15462 object to before the relocation.
15463 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15464 * sysdeps/generic/ldsodefs.h: Update declaration.
15466 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15467 string for the scope number.
15469 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15471 * nscd/servicescache.c (cache_addserv): Make sure written is always
15474 2011-08-14 Roland McGrath <roland@hack.frob.com>
15476 * sysdeps/i386/i486/bits/atomic.h
15477 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15478 statement expression, so as to suppress "set but not used" warning.
15479 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15481 * string/strncat.c (STRNCAT): Use prototype definition.
15483 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15484 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15486 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15487 (localedef-modules): Add localedef.
15488 (locale-modules): Add locale.
15490 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15491 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15492 to avoid a warning.
15494 2011-08-14 David S. Miller <davem@davemloft.net>
15496 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15497 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15499 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15501 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15502 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15503 * elf/rtld.c (dl_main): Set l_name of vDSO.
15504 Call _dl_show_scope when DL_DEBUG_SCOPES.
15505 (process_dl_debug): Recognize scopes flag and also set it for all.
15506 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15507 Declare _dl_show_scope.
15509 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15510 (do_dlopen): Pass caller_dlopen to dl_open.
15511 (__libc_dlopen_mode): Initialize caller_dlopen.
15513 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15514 of libc. Make tolower call locale-independent. Optimize a bit by
15515 using isdigit instead of isalnum.
15516 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15518 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15520 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15521 was a dependency or dynamically loaded.
15523 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15525 * intl/l10nflist.c: Allow architecture-specific pop function.
15526 * sysdeps/x86_64/l10nflist.c: New file.
15528 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15531 2011-08-10 Andreas Schwab <schwab@redhat.com>
15533 * include/dirent.h: Add libc_hidden_proto for scandirat and
15534 scandirat64. Don't declare __scandirat64.
15535 * dirent/scandirat.c: Add libc_hidden_def.
15536 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15537 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15539 2011-08-10 David S. Miller <davem@davemloft.net>
15541 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15543 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15544 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15545 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15547 2011-08-09 Ulrich Drepper <drepper@gmail.com>
15549 * Versions.def [libc]: Add GLIBC_2.15.
15550 * dirent/Makefile (routines): Add scandirat and scandirat64.
15551 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15553 * dirent/dirent.h: Declare scandirat and scandirat64.
15554 * dirent/scandirat.c: New file.
15555 * dirent/scandirat64.c: New file.
15556 * sysdeps/wordsize-64/scandirat.c: New file.
15557 * sysdeps/wordsize-64/scandirat64.c: New file.
15558 * dirent/opendir.c: Define opendirat.
15559 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15561 * dirent/scandir64.c: Adjust for scandir.c change.
15562 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15563 __scandirat64, and __scandir_cancel_handler.
15564 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15565 additional parameter and use openat instead of open (outside of ld.so).
15566 Add new __opendir as wrapper around __opendirat.
15567 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15568 here without requiring old scandirat implementation.
15570 2011-08-08 Ulrich Drepper <drepper@gmail.com>
15572 * dirent/scandir.c (cancel_handler): Renamed to
15573 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15574 defined. Adjust users.
15575 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15576 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15578 2011-08-04 Ulrich Drepper <drepper@gmail.com>
15580 * string/test-string.h (IMPL): Use __STRING to expand name and then
15583 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15586 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15588 * string/Makefile: Update.
15589 (strop-tests): Append strncat.
15590 * string/test-wcscmp.c: New file.
15591 New comprehensive test for wcscmp.
15592 * string/test-strcmp.c: Update.
15593 (WIDE): New define.
15595 2011-07-22 Andreas Schwab <schwab@redhat.com>
15597 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15600 2011-07-26 Andreas Schwab <schwab@redhat.com>
15602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15603 encoding to ACE if AI_IDN.
15605 2011-08-01 Jakub Jelinek <jakub@redhat.com>
15607 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15608 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15610 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15612 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15613 Fix overflow bug in strncat.
15614 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15616 * string/test-strncat.c: Update.
15617 Add new tests for checking overflow bugs.
15619 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15621 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15622 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15623 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15624 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15625 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15626 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15627 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15628 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15629 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15631 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15632 (USE_AS_STRCAT): Define.
15633 Add strcat and strncat support.
15634 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15636 2011-07-25 Andreas Schwab <schwab@redhat.com>
15638 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15639 __n bigger than INT_MAX+1.
15640 (__strncmp_g): Likewise.
15642 2011-07-23 Ulrich Drepper <drepper@gmail.com>
15644 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15645 * libio/stido.h: Likewise.
15647 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15652 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15653 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15654 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15655 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15656 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15659 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15662 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15664 (_dl_x86_64_save_sse): Likewise.
15666 2011-07-22 Ulrich Drepper <drepper@gmail.com>
15668 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15670 (_dl_x86_64_save_sse): Likewise.
15672 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15674 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15676 2011-07-21 Andreas Schwab <schwab@redhat.com>
15678 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15680 (_dl_x86_64_save_sse): Use correct AVX check.
15682 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15684 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15685 bug in strncpy/strncat.
15686 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15688 2011-07-21 Ulrich Drepper <drepper@gmail.com>
15690 * string/tester.c (test_strcat): Add tests for different alignments
15691 of source and destination.
15692 (test_strncat): Likewise.
15694 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15697 * posix/glob.c (glob): Check passed in values before using them in
15698 expressions to avoid some overflows.
15699 (glob_in_dir): Likewise.
15702 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15703 check for AVX enablement so that we don't crash with old kernels and
15705 * elf/tst-audit4.c: Add same checks here.
15706 * elf/tst-audit6.c: Likewise.
15708 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15710 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15712 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15714 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15716 * po/cs.po: Update from translation team.
15717 * po/bg.po: Likewise.
15719 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15721 * misc/sys/cdefs.h: Add support for const attribute.
15722 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15723 to gnu_dev_{major,minor,makedev} functions.
15725 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15727 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15729 2011-07-20 Andreas Schwab <schwab@redhat.com>
15731 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15734 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15736 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15737 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15738 register in order to avoid conflicts with the soft frame pointer
15739 being held in r11 when necessary.
15740 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15741 (INTERNAL_VSYSCALL_NCS): Likewise.
15743 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15745 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15746 * elf/dl-fini.c (_dl_fini): Adjust caller.
15747 * elf/dl-close.c (_dl_close_worker): Likewise.
15748 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15750 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15752 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15753 "aux_cache->nlibs < 0".
15755 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15756 in the reload-count case.
15758 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15761 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15762 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15763 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15764 * sysdeps/x86_64/multiarch/strcat.S: New file.
15765 * sysdeps/x86_64/multiarch/strncat.S: New file.
15766 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15767 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15768 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15769 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15770 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15771 (USE_AS_STRCAT): Define.
15772 Add strcat and strncat support.
15773 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15774 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15775 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15776 * string/strncat.c: Update.
15777 (USE_AS_STRNCAT): Define.
15778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15779 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15781 * sysdeps/x86_64/multiarch/init-arch.h
15782 (bit_Prefer_PMINUB_for_stringop): New.
15783 (index_Prefer_PMINUB_for_stringop): Likewise.
15784 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15785 bit_Prefer_PMINUB_for_stringop.
15787 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15789 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15791 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15792 of casting of buffer.
15793 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15794 buffer32 and buffer64.
15795 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15796 writes instead of casting of buffer.
15797 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15799 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15802 2011-07-19 Andreas Schwab <schwab@redhat.com>
15804 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15806 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15808 * nscd/nscd.c (termination_handler): Don't do anything for a database
15809 if it has not yet been initialized.
15811 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15813 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15815 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15817 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15819 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15821 * po/nl.po: Update from translation team.
15822 * po/sv.po: Likewise.
15824 2011-07-16 Roland McGrath <roland@hack.frob.com>
15826 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15827 now disallowed by GCC.
15829 * configure.in (use-default-link): Default to yes if a test -shared
15830 link meets our qualifications.
15831 * configure: Regenerated.
15833 * config.make.in (output-format): New variable.
15834 * configure.in: Check for ld --print-output-format support.
15835 * configure: Regenerated.
15836 * Makerules ($(common-objpfx)format.lds)
15837 [$(output-format) != unknown]: Just use $(output-format),
15838 instead of the linker-script munging.
15840 2011-07-14 Roland McGrath <roland@hack.frob.com>
15842 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15843 of $(common-objpfx)shlib.lds.
15844 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15846 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15847 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15849 * configure.in (-z relro check): Adjust test code to add a large
15850 writable data section after it.
15851 * configure: Regenerated.
15853 2011-07-11 Roland McGrath <roland@hack.frob.com>
15855 * configure.in (-z relro check): Fix test code to make the variable
15857 * configure: Regenerated.
15859 2011-07-11 Ulrich Drepper <drepper@gmail.com>
15861 * nscd/nscd.h (struct traced_file): Define.
15862 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15863 elements. Add traced_files.
15864 (inotify_fd): Declare.
15865 (register_traced_file): Declare.
15866 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15867 (inotify_fd): Export.
15868 (resolv_conf_descr): Remove.
15869 (nscd_init): Move inotify descriptor creation to main.
15870 Don't register files for notification here.
15871 (register_traced_file): New function.
15872 (invalidate_cache): Don't use reset_res to determine whether to call
15873 res_init, go through the list of registered files.
15874 (main_loop_poll): The inotify descriptors are now stored in the
15875 structures for the traced files.
15876 (main_loop_epoll): Likewise
15877 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15878 to __nss_disable_nscd.
15879 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15880 for a database anymore. Check the records for all the registered
15882 * nss/Makefile (libnss_files-routines): Add files-init.
15883 (libnss_db-routines): Add db-init.
15884 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15885 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15886 * nss/nss_db/db-init.c: New file.
15887 * nss/nss_files/files-init.c: New file.
15888 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15889 __nss_lookup_function.
15890 (__nss_lookup_function): Call nss_load_library.
15891 (nss_load_all_libraries): New function.
15892 (__nss_disable_nscd): Take parameter with callback function for files
15893 to register. Set is_nscd. Load all the DSOs for the NSS modules
15894 used for the cached services.
15895 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15896 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15897 options for features to all the files in nscd.
15899 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15901 2011-07-10 Roland McGrath <roland@hack.frob.com>
15903 * csu/elf-init.c (__libc_csu_init): Comment typo.
15905 2011-07-09 Ulrich Drepper <drepper@gmail.com>
15907 * po/pl.po: Update from translation team.
15908 * po/ja.po: Likewise.
15909 * po/ru.po: Likewise.
15910 * po/ko.po: Likewise.
15911 * po/fr.po: Likewise.
15913 2011-07-09 Roland McGrath <roland@hack.frob.com>
15915 * configure.in (.ctors/.dtors header and trailer check):
15916 Use an empirical test on a built program.
15917 * configure: Regenerated.
15919 * configure.in (-z relro check): Use an empirical test on a built DSO.
15920 Detect, but do not require, on ia64.
15921 * configure: Regenerated.
15923 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15924 Update tests that use readelf to use $READELF instead.
15925 * configure: Regenerated.
15927 2011-07-08 Ulrich Drepper <drepper@gmail.com>
15929 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15930 if the result is not used.
15932 2011-07-05 Andreas Jaeger <aj@suse.de>
15935 * stdlib/tst-strtod.c: Add testcase.
15937 2011-07-07 Ulrich Drepper <drepper@gmail.com>
15939 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15940 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15941 The latter has a higher limit. Take additional parameter to pass to
15943 (__pathconf): Pass file to __statfs_link_max.
15944 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15946 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15950 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15951 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15953 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15954 (__statfs_filesize_max): Likewise.
15955 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15957 2011-07-05 Andreas Jaeger <aj@suse.de>
15959 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15961 2011-07-06 Marek Polacek <mpolacek@redhat.com>
15963 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15965 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15968 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15970 * Makefile (strop-tests): Add strncat.
15971 * string/test-strncat.c: New file.
15973 2011-06-30 Marek Polacek <mpolacek@redhat.com>
15975 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15977 2011-06-21 Andreas Jaeger <aj@suse.de>
15979 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15980 Copy rule from iconvdata/Makefile.
15982 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15985 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15986 but no long options are defined, just return 'W'.
15988 2011-06-22 Marek Polacek <mpolacek@redhat.com>
15991 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15993 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15995 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15997 (innetgr): Likewise.
15999 2011-07-05 Roland McGrath <roland@hack.frob.com>
16001 * config.make.in (install_root): Default to $(DESTDIR).
16003 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16005 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16007 2011-07-02 Roland McGrath <roland@hack.frob.com>
16009 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16011 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16012 containing directory rather than embedding absolute directory names.
16014 * scripts/check-local-headers.sh: Rewritten using awk.
16015 Match by word, not by line. Print error messages for matches.
16016 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16018 * Makerules [shlib-lds-flags empty]:
16019 ($(common-objpfx)libc_pic.opts): New target.
16020 ($(common-objpfx)libc_pic.os.clean): New target.
16021 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16023 * config.make.in (OBJCOPY): New variable.
16024 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16025 * configure: Regenerated.
16027 * config.make.in (use-default-link): New variable.
16028 * configure.in (use_default_link): Grok --with-default-link to set it.
16029 * configure: Regenerated.
16030 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16031 (shlib-lds, shlib-lds-flags): Define to empty.
16033 * Makerules (shlib-lds): New variable.
16034 (shlib-lds-flags): New variable.
16035 (build-shlib, build-moduile, build-module-asneeded): Use it.
16036 ($(common-objpfx)libc.so): Use $(shlib-lds).
16037 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16038 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16040 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16041 DT_FLAGS/DT_FLAGS_1 with zero flags.
16043 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16044 linker script munging.
16046 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16048 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16050 * crypt/sha512.c (sha512_process_block): Perform total addition using
16051 128-bit if possible.
16052 (__sha512_finish_ctx): Likewise.
16053 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16055 * crypt/sha256.c (SWAP64): Define.
16056 (sha256_process_block): Perform total addition using 64-bit if
16058 (__sha256_finish_ctx): Likewise.
16060 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16062 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16063 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16064 * nscd/hstcache.c (cache_addhst): Likewise.
16065 * nscd/grpcache.c (cache_addgr): Likewise.
16066 * nscd/aicache.c (addhstaiX): Likewise
16067 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16069 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16071 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16072 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16073 * nscd/hstcache.c (cache_addhst): Likewise.
16074 * nscd/grpcache.c (cache_addgr): Likewise.
16075 * nscd/aicache.c (addhstaiX): Likewise
16077 2011-07-01 Andreas Schwab <schwab@redhat.com>
16079 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16080 domain only when needed.
16082 2011-06-30 Andreas Schwab <schwab@redhat.com>
16084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16085 is always restored.
16087 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16089 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16090 are re-adding the entry.
16091 * nscd/servicescache.c (cache_addserv): Likewise.
16093 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16095 * sysdeps/generic/dl-irel.h: fix protection against multiple
16097 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16099 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16102 * malloc/memusage.sh: Fix quoting in message.
16103 * debug/xtrace.sh: Likewise.
16105 * configure.in: Remove support for --experimental-malloc option, make
16107 * config.make.in: Likewise.
16108 * malloc/Makefile: Likewise.
16110 2011-06-27 Andreas Schwab <schwab@redhat.com>
16112 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16113 two-byte characters.
16115 2011-06-27 Roland McGrath <roland@hack.frob.com>
16117 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16118 AC_CACHE_CHECK invocation.
16119 * configure: Regenerated.
16121 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16123 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16126 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16127 bit from old_res_options.
16129 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16131 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16132 value type for setfct.
16134 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16137 __gettimeofday instead of gettimeofday.
16139 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16141 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16143 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16145 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16147 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16150 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16152 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16153 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16154 strcpy-sse2-unaligned strncpy-sse2-unaligned
16155 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16156 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16157 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16158 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16159 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16160 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16161 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16162 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16163 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16164 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16165 (STRCPY): Support SSE2 and SSSE3 versions.
16167 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16170 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16171 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16172 kernels which artificially limit size of requests.
16174 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16177 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16178 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16179 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16180 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16181 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16182 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16183 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16184 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16185 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16186 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16187 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16188 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16189 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16190 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16191 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16192 Enable unaligned load optimization for Intel Core i3, i5 and i7
16194 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16196 (index_Fast_Unaligned_Load): Define.
16197 (HAS_FAST_UNALIGNED_LOAD): Define.
16199 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16201 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16203 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16206 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16207 until it is clear that the information is realy needed.
16208 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16210 2011-06-22 Andreas Schwab <schwab@redhat.com>
16212 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16214 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16216 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16217 /sys/devices/system/cpu/online if it is usable.
16219 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16220 reading the information from the /proc filesystem to once a second.
16222 2011-06-21 Andreas Jaeger <aj@suse.de>
16224 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16225 NULL after inclusion of kernel headers.
16227 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16229 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16230 calls to internal_setent.
16233 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16234 addresses using gethostbyname4_r ignore IPv4 addresses.
16236 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16237 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16239 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16241 2011-06-20 David S. Miller <davem@davemloft.net>
16243 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16245 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16247 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16248 (elf_irel): Use it.
16249 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16250 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16251 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16252 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16253 * sysdeps/x86_64/dl-irel.h: Likewise.
16255 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16256 * elf/dl-sym.c: Likewise.
16258 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16260 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16261 need to dereference resplen2.
16263 2011-06-14 Andreas Schwab <schwab@redhat.com>
16265 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16267 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16269 * Makeconfig: Define vardbdir and inst_vardbdir.
16270 * nss/Makefile: Add rules to install db-Makefile.
16272 * nss/nss_db/db-XXX.c: Cleanup.
16274 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16275 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16277 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16278 * nss/makedb.c: Implement -g option to specify that value strings
16279 are generated and should not be added to table iterated over for
16281 * nss/nss_db/db-initgroups.c: New file.
16283 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16286 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16287 (internal_getgrouplist): Adjust to name change.
16288 Update use_initgroups_entry if this is not the first call.
16289 * nss/databases.def: Add initgroups entry.
16291 * nss/makedb.c (compute_tables): Check result of multiple hash table
16292 sizes to minimize maximum chain length.
16294 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16296 * Versions.def: Add entry for libnss_db.
16297 * shlib-versions: Likewise.
16298 * nss/Makefile: Add rules to build libnss_db.
16299 * nss/Versions: Add libnss_db information. Organize libnss_files
16301 * nss/db-Makefile: Add gshadow support. Change rules for the new
16302 makedb progra. Some minor improvements to generate smaller files.
16303 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16305 * nss/makedb.c: ...here.
16306 Improve database format to be smaller and require less memory at
16308 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16310 * nss/nss_db/db-netgrp.c: Likewise.
16311 * nss/nss_db/db-open.c: Likewise.
16312 * nss/nss_files/flies-XXX.x: Adjust comments.
16313 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16314 * nss/nss_files/files-grp.c: Likewise.
16315 * nss/nss_files/files-hosts.c: Likewise.
16316 * nss/nss_files/files-network.c: Likewise.
16317 * nss/nss_files/files-proto.c: Likewise.
16318 * nss/nss_files/files-pwd.c: Likewise.
16319 * nss/nss_files/files-rpc.c: Likewise.
16320 * nss/nss_files/files-service.c: Likewise.
16321 * nss/nss_files/files-sgrp.c: Likewise.
16322 * nss/nss_files/files-spwd.c: Likewise.
16323 * nss/nss_db/db-alias.c: Removed.
16324 * nss/nss_db/dummy-db.h: Removed.
16326 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16328 * nss/makedb.c: Rewritten to not use database library.
16329 * nss/Makefile: Update to build new makedb program.
16331 2011-06-14 Andreas Jaeger <aj@suse.de>
16333 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16334 memset declaration.
16336 2011-06-10 Andreas Schwab <schwab@redhat.com>
16338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16341 2011-06-10 Roland McGrath <roland@hack.frob.com>
16343 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16344 * elf/Makefile ($(objpfx)ld.so): Likewise.
16346 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16347 Don't list ld.so twice in dependencies.
16349 * posix/bug-regex31.c: Include <stdlib.h>.
16351 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16353 * nis/nss_compat/compat-spwd.c
16354 (getspent_next_nss_netgr): Remove unused variable.
16355 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16357 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16358 nonmembers" output to use the right array.
16360 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16362 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16364 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16365 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16366 * catgets/gencat.c (read_input_file): Likewise.
16367 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16369 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16370 variable definition inside #if's controlling its use.
16372 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16374 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16376 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16378 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16381 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16383 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16384 * configure: Regenerated.
16386 * Makerules: Revert last change.
16387 * elf/Makefile: Likewise.
16389 2011-06-09 Roland McGrath <roland@hack.frob.com>
16391 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16392 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16393 (reloc-link): Likewise.
16395 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16397 * elf/Makefile: Add rules to build pldd.
16398 * elf/pldd.c: New file.
16399 * elf/pldd-xx.c: New file.
16401 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16403 * version.h: Update for 2.15 development version.
16405 2011-06-07 David S. Miller <davem@davemloft.net>
16407 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16409 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16410 elf_machine_lazy_rel): Likewise.
16411 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16412 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16413 elf_machine_lazy_rel): Likewise.
16414 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16415 dl_hwcap via passed in argument.
16416 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16419 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16421 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16423 2011-06-06 Roland McGrath <roland@hack.frob.com>
16426 * manual/fdl-1.1.texi: New file, verbatim from:
16427 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16428 * manual/lgpl-2.1.texi: New file, verbatim from:
16429 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16430 * manual/Makefile (licenses): New variable, list those new file names.
16432 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16434 * manual/fdl.texi: File removed.
16435 * manual/lesser.texi: File removed.
16436 * manual/libc.texinfo (Copying, Documentation License):
16437 Use new @include file names, put @appendix directive before @include.
16439 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16442 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16443 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16444 (mq_open): Add __NTH.
16446 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16449 Assume Intel Core i3/i5/i7 processor if AVX is available.
16451 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16453 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16456 2011-05-31 Andreas Schwab <schwab@redhat.com>
16458 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16459 memory. Use alloca_account. Fix memory leak when retrying.
16461 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16463 * version.h (RELEASE): Bump for 2.14 release.
16464 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16466 * config.make.in (RANLIB): Remove entry.
16468 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16470 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16471 (libc.pot): Work around missing support for .ksh extension in xgettext.
16474 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16475 if both request failed.
16476 (send_dg): In case of server errors clear resplen or *resplen2.
16479 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16480 when there are multiple maps.
16481 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16482 (_dl_fini): Remove test here.
16484 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16486 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16489 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16490 bit from old_res_options.
16491 (gaih_inet): Likewise.
16494 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16497 * resolv/res_init.c (res_setoptions): Make the code more compact.
16500 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16504 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16506 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16509 * malloc/malloc.h: Declare malloc hook variables as volatile.
16511 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16515 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16516 raise in the comment.
16517 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16518 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16519 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16521 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16524 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16525 grow the buffers more if it already has to be sufficient.
16526 (build_wcs_upper_buffer): Likewise.
16527 * posix/regexec.c (check_matching): Likewise.
16528 (clean_state_log_if_needed): Likewise.
16529 (extend_buffers): Don't enlarge buffers beyond size of the input
16531 Patches mostly by Emil Wojak <emil@wojak.eu>.
16532 * posix/bug-regex32.c: New file.
16533 * posix/Makefile (tests): Add bug-regex32.
16535 * locale/findlocale.c (_nl_find_locale): Return right away if
16536 _nl_explode_name failed.
16537 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16539 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16541 * debug/xtrace.sh: Unify messages.
16542 * malloc/memusage.sh: Likewise.
16545 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16546 time symbol from vDSO. Substitute with vsyscall if not available.
16547 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16550 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16551 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16552 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16553 Add sendmmsg and internal_sendmmsg.
16554 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16555 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16556 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16558 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16559 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16560 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16562 2011-05-27 Ulrich Drepper <drepper@gmail.com>
16565 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16566 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16568 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16572 * iconvdata/Makefile (tests): Add bug-iconv9.
16573 * iconvdata/bug-iconv9.c: New file.
16575 2011-05-27 Andreas Schwab <schwab@redhat.com>
16578 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16580 2011-05-25 Jakub Jelinek <jakub@redhat.com>
16582 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16583 (struct user_regs_struct): Change intcs field back to cs.
16585 2011-05-25 Ulrich Drepper <drepper@gmail.com>
16587 * po/ja.po: Update from translation team.
16589 2011-05-23 Ulrich Drepper <drepper@gmail.com>
16592 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16593 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16595 2011-05-20 Andreas Schwab <schwab@redhat.com>
16597 * stdlib/longlong.h: Update from GCC.
16599 2011-05-23 Andreas Schwab <schwab@redhat.com>
16601 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16603 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16604 Add parameter name.
16605 (__sysconf): Pass it down.
16607 2011-05-22 Ulrich Drepper <drepper@gmail.com>
16610 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16612 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16613 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16614 add in in __libc_use_alloca calls. Adjust callers.
16615 (glob): Use malloc in some situations.
16617 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16618 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16621 2011-05-21 Ulrich Drepper <drepper@gmail.com>
16623 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16624 and CLOCK_BOOTTIME_ALARM.
16627 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16630 * string/_strerror.c (__strerror_r): Print negative errors as signed
16634 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16635 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16636 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16638 * configure.in: Fix typo in redirection and correct removal of test
16639 files in two cases.
16642 * locale/setlocale.c (new_composite_name): Fix test to check for
16643 identical name of all categories.
16646 * libio/filedoalloc.c (local_isatty): New function.
16647 (_IO_file_doallocate): Use local_isatty.
16648 * stdio-common/perror.c (perror): In case a new stream is used
16649 forward the stream error.
16650 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16653 2011-05-20 Ulrich Drepper <drepper@gmail.com>
16656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16658 * include/alloca.h (extend_alloca_account): Define.
16661 * posix/regex.h: Fix comments with documentation of user-accessible
16662 fields after compilation and describe correct free'ing of pattern
16663 after re_compile_pattern.
16664 Patch by Reuben Thomas <rrt@sc3d.org>.
16666 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16668 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16669 and -mno-altivec to prevent the compiler from using Altivec and/or
16670 VSX instructions when the corresponding registers are not available.
16672 2011-05-19 Andreas Schwab <schwab@redhat.com>
16674 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16676 2011-05-19 Ulrich Drepper <drepper@gmail.com>
16678 * libio/freopen.c (freopen): Use __dup2, not dup2.
16679 * libio/freopen64.c (freopen64): Likewise.
16681 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16684 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16685 * math/Makefile (tests): Add test-powl.
16686 (CFLAGS-test-powl.c): Define.
16687 * math/test-powl.c: New file.
16689 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16691 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16693 2011-05-17 Ulrich Drepper <drepper@gmail.com>
16696 * iconvdata/gb18030.c: Update to GB18020-2005.
16698 2011-05-16 Ulrich Drepper <drepper@gmail.com>
16700 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16701 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16702 Patch by Aharon Robbins <arnold@skeeve.com>.
16705 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16709 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16710 through underflows.
16713 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16714 point to strings before performing equality test for error_one_per_line
16718 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16721 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16722 (struct user_fpregs_struct): Avoid __uint*_t types.
16725 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16726 symbol info. Use it instead of calling _dl_addr locally.
16727 (lock_and_info): New function.
16728 (tr_freehook): Call lock_and_info and pass symbol info as additional
16729 parameter to tr_where.
16730 (tr_mallochook): Likewise.
16731 (tr_reallochook): Likewise.
16732 (tr_memalignhook): Likewise.
16734 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16735 used and couldn't be at all thread-safe.
16737 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16739 * libio/freopen.c (freopen): Don't close old file descriptor
16740 before the new one is opened. Instead dup the new file descriptor
16741 to the old one after the new stream is created.
16742 * libio/freopen64.c (freopen64): Likewise.
16743 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16744 * libio/fileops.c (_IO_new_file_close_it): Handle new
16745 _IO_FLAGS2_NOCLOSE flag.
16746 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16747 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16748 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16749 _IO_FLAGS2_NOCLOSE flag.
16750 * include/unistd.h: Add hidden_proto for dup3.
16751 Define __have_dup3.
16752 * io/dup3.c: Define hidden symbol.
16753 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16756 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16757 when an incomplete long option is used.
16758 * posix/tst-getopt_long1.c: New file.
16759 * posix/Makefile (tests): Add tst-getopt_long1.
16762 * scripts/config.guess: Update from autoconf-2.68.
16763 * scripts/config.sub: Likewise.
16766 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16768 (has_cpuclock): ...this. New function.
16769 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16770 macro here based on has_cpuclock code.
16773 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16774 First byte (not low byte) is now always NUL.
16775 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16777 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16778 Use non-cancelable interfaces.
16781 * locale/iso-639.def: Add entry for Sorani.
16784 * include/stdlib.h: Move include protection to the right place.
16785 Define abort_msg_s. Declare __abort_msg with it.
16786 * stdlib/abort.c (__abort_msg): Adjust type.
16787 * assert/assert.c (__assert_fail_base): New function. Majority
16788 of code from __assert_fail. Allocate memory for __abort_msg with
16790 (__assert_fail): Now call __assert_fail_base.
16791 * assert/assert-perr.c: Remove bulk of implementation. Use
16792 __assert_fail_base.
16793 * include/assert.hL Declare __assert_fail_base.
16794 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16796 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16798 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16802 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16803 until all modules are registered in the DTV.
16804 * elf/Makefile: Add rules to build and run tst-tls19.
16805 * elf/tst-tls19.c: New file.
16806 * elf/tst-tls19mod1.c: New file.
16807 * elf/tst-tls19mod2.c: New file.
16808 * elf/tst-tls19mod3.c: New file.
16809 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16812 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16816 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16817 two-byte sequence errors.
16818 * iconvdata/Makefile (tests): Add bug-iconv8.
16819 * iconvdata/bug-iconv8.c: New file.
16822 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16825 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16828 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16829 (dummy_getcfa): New function.
16830 (init): Get _Unwind_GetCFA address, use dummy if not found.
16831 (backtrace_helper): In recursion check, also check whether CFA changes.
16832 (__backtrace): Completely initialize arg.
16834 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16835 storing incomplete byte sequence in state object. Avoid testing for
16836 guaranteed too small input if we know there is enough data available.
16838 2011-05-11 Andreas Schwab <schwab@redhat.com>
16840 * Makeconfig (+link-pie): Indent.
16841 * Rules (binaries-pie): Define if $(have-fpie) and
16843 (binaries-shared): Also filter out $(binaries-pie).
16844 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16845 * nscd/Makefile (others-pie): Add nscd.
16846 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16847 ($(objpfx)nscd): Remove command override.
16848 * login/Makefile (others-pie): Add pt_chown.
16849 ($(objpfx)pt_chown): Remove command override.
16850 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16851 remove command overrides.
16853 2011-05-13 Ulrich Drepper <drepper@gmail.com>
16855 * libio/tst_putwc.c: Fix error messages.
16858 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16859 currently writing and seek to current position when not.
16860 * libio/Makefile (tests): Add bug-fclose1.
16861 * libio/bug-fclose1.c: New file.
16863 2011-05-12 Ulrich Drepper <drepper@gmail.com>
16866 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16867 don't set DF_1_NODELETE here.
16868 (do_lookup_x): When entering new entry test for copy relocation
16869 and if necessary set DF_1_NODELETE flag.
16870 * elf/tst-unique4.cc: New file.
16871 * elf/tst-unique4.h: New file.
16872 * elf/tst-unique4lib.cc: New file.
16873 * elf/Makefile: Add rules to build and run tst-unique4.
16874 Patch by Piotr Bury <pbury@goahead.com>.
16876 2011-05-11 Ulrich Drepper <drepper@gmail.com>
16879 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16882 * misc/mntent_r.c (addmntent): Flush the stream after the output
16885 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16886 (is_trusted_path_normalize): Skip initial colon. Append slash
16887 to empty buffer. Duplicate is_trusted_path code but allow
16888 constructed patch to be prefix.
16889 (is_dst): Allow $ORIGIN followed by /.
16890 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16891 Correct testing of result of is_trusted_path_normalize
16892 (decompose_rpath): Fix warning.
16894 2011-05-10 Ulrich Drepper <drepper@gmail.com>
16897 * grp/initgroups.c (internal_getgrouplist): When we found the service
16898 list through the initgroups entry in nsswitch.conf do not always
16899 continue on a successful lookup. Don't always use the
16900 __nss_group_database value if it is set.
16901 * nss/nsswitch.conf (initgroups): Change action for successful db
16902 lookup to continue for compatibility.
16904 2011-05-09 Ulrich Drepper <drepper@gmail.com>
16907 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16909 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16911 * iconvdata/tst-tables.sh: Likewise.
16912 * iconvdata/cp770.c: New file.
16913 * iconvdata/cp771.c: New file.
16914 * iconvdata/cp772.c: New file.
16915 * iconvdata/cp773.c: New file.
16916 * iconvdata/cp774.c: New file.
16917 * iconvdata/testdata/CP770: New file.
16918 * iconvdata/testdata/CP770..UTF8: New file.
16919 * iconvdata/testdata/CP771: New file.
16920 * iconvdata/testdata/CP771..UTF8: New file.
16921 * iconvdata/testdata/CP772: New file.
16922 * iconvdata/testdata/CP772..UTF8: New file.
16923 * iconvdata/testdata/CP773: New file.
16924 * iconvdata/testdata/CP773..UTF8: New file.
16925 * iconvdata/testdata/CP774: New file.
16926 * iconvdata/testdata/CP774..UTF8: New file.
16928 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16930 * iconvdata/gen-8bit-gap.sh: Likewise.
16931 * iconvdata/gen-8bit.sh: Likewise.
16933 * locale/iso-639.def: Add ary entry.
16936 * locale/C-translit.h.in: Add U20A1 transliteration.
16939 * locale/iso-639.def: Add wae entry.
16940 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16943 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16947 * locale/C-translit.h.in: Add entry for U20B9.
16948 Patch by pravin.d.s@gmail.com.
16950 2011-05-08 Ulrich Drepper <drepper@gmail.com>
16953 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16954 ENAMETOOLONG use generic getcwd.
16955 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16956 in rtld. Use *stat64.
16957 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16958 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16959 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16960 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16961 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16962 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16963 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16964 __fstatat64 macros.
16965 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16966 * dirent/rewinddir.c: Add libc_hidden_def.
16967 * sysdeps/mach/hurd/rewinddir.c: Likewise.
16968 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
16970 * include/dirent.h (__alloc_dir): Add flags parameter.
16971 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16972 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16974 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16975 from fdopendir if O_CLOEXEC is already set.
16977 2011-03-15 Alan Modra <amodra@gmail.com>
16979 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16980 l_tls_firstbyte_offset non-zero. Save padding offset in
16981 l_tls_firstbyte_offset for later use.
16982 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16983 freeing static tls block.
16985 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16987 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16988 where #ifdef was intended. The intent is to prevent ARG_MAX from
16989 being defined by the kernel headers.
16991 2011-05-07 Ulrich Drepper <drepper@gmail.com>
16994 * resolv/resolv.h: Define RES_NOTLDQUERY.
16995 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16996 no-tld-query and set RES_NOTLDQUERY.
16997 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16998 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16999 modern BIND to search name as TLD unless forbidden.
17001 2011-05-07 Petr Baudis <pasky@suse.cz>
17002 Ulrich Drepper <drepper@gmail.com>
17005 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17006 (is_trusted_path): ...to here.
17007 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17008 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17009 using is_trusted_path_normalize() in setuid scripts.
17011 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17013 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17014 __BEGIN/__END_DECLS.
17016 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17018 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17019 NSS_STATUS_NOTFOUND if no record was found.
17021 2011-05-05 Andreas Schwab <schwab@redhat.com>
17023 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17024 (headers-not-in-tirpc): Remove rpc/netdb.h
17025 * resolv/netdb.h: Revert last change.
17027 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17029 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17030 circular dependency between libgcc.a and libc.a.
17032 2011-05-05 Andreas Schwab <schwab@redhat.com>
17034 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17035 * nis/Makefile: Don't install rpcsvc/*.
17036 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17037 instead of <rpc/types.h>.
17038 (MAXHOSTNAMELEN): Define.
17040 2011-05-03 Andreas Schwab <schwab@redhat.com>
17042 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17044 2011-04-28 Maciej Babinski <mbabinski@google.com>
17047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17048 gethostbyname4_r when IPv6 results are possible.
17050 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17053 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17054 _PC_PIPE_BUF handling.
17056 2011-04-30 Bruno Haible <bruno@clisp.org>
17059 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17060 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17062 * inet/getnameinfo.c (getnameinfo): Likewise.
17064 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17066 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17067 to groups setting in database lookup.
17068 * nss/nsswitch.conf: Add initgroups entry.
17070 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17073 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17075 Patch by Eric Blake <eblake@redhat.com>.
17077 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17079 * sunrpc/Makefile (need-export-routines): Add svc_run.
17080 (routines): Remove svc_run.
17081 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17082 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17083 * sunrpc/svc_run.c (svc_run): Likewise.
17084 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17086 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17088 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17089 problem in reallocation in last patch.
17091 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17093 * sunrpc/Makefile: Move inclusion of Rules.
17095 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17097 * nss/nss_files/files-initgroups.c: New file.
17098 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17099 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17100 _nss_files_initgroups_dyn.
17102 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17104 * elf/elf.h (R_ARM_IRELATIVE): Define.
17106 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17108 * po/ru.po: Update from translation team.
17110 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17112 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17115 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17118 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17119 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17120 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17121 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17122 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17124 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17126 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17128 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17129 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17130 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17132 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17135 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17137 * stdlib/bug-getcontext.c: New file.
17138 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17140 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17142 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17143 instructions into .machine "z9-109".
17144 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17145 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17147 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17149 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17150 between environment variables and auxiliary vector.
17152 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17154 * Makefile: Add rules to build linkobj/libc.so.
17155 * include/libc-symbols.h: Define libc_hidden_nolink.
17156 * include/rpc/auth.h: Mark functions which are to be hidden.
17157 * include/rpc/auth_des.h: Likewise.
17158 * include/rpc/auth_unix.h: Likewise.
17159 * include/rpc/clnt.h: Likewise.
17160 * include/rpc/des_crypt.h: Likewise.
17161 * include/rpc/key_prot.h: Likewise.
17162 * include/rpc/pmap_clnt.h: Likewise.
17163 * include/rpc/pmap_prot.h: Likewise.
17164 * include/rpc/pmap_rmt.h: Likewise.
17165 * include/rpc/rpc_msg.h: Likewise.
17166 * include/rpc/svc.h: Likewise.
17167 * include/rpc/svc_auth.h: Likewise.
17168 * include/rpc/xdr.h: Likewise.
17169 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17170 * nss/Makefile: Likewise.
17171 * sunrpc/Makefile: Don't install headers. Build library with normal
17172 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17173 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17174 for the compat linking library. Remove use of INTDEF/INTUSE.
17175 * sunrpc/auth_none.c: Likewise.
17176 * sunrpc/auth_unix.c: Likewise.
17177 * sunrpc/authdes_prot.c: Likewise.
17178 * sunrpc/authuxprot.c: Likewise.
17179 * sunrpc/clnt_gen.c: Likewise.
17180 * sunrpc/clnt_perr.c: Likewise.
17181 * sunrpc/clnt_raw.c: Likewise.
17182 * sunrpc/clnt_simp.c: Likewise.
17183 * sunrpc/clnt_tcp.c: Likewise.
17184 * sunrpc/clnt_udp.c: Likewise.
17185 * sunrpc/clnt_unix.c: Likewise.
17186 * sunrpc/des_crypt.c: Likewise.
17187 * sunrpc/des_soft.c: Likewise.
17188 * sunrpc/get_myaddr.c: Likewise.
17189 * sunrpc/key_call.c: Likewise.
17190 * sunrpc/key_prot.c: Likewise.
17191 * sunrpc/netname.c: Likewise.
17192 * sunrpc/pm_getmaps.c: Likewise.
17193 * sunrpc/pm_getport.c: Likewise.
17194 * sunrpc/pmap_clnt.c: Likewise.
17195 * sunrpc/pmap_prot.c: Likewise.
17196 * sunrpc/pmap_prot2.c: Likewise.
17197 * sunrpc/pmap_rmt.c: Likewise.
17198 * sunrpc/publickey.c: Likewise.
17199 * sunrpc/rpc_cmsg.c: Likewise.
17200 * sunrpc/rpc_common.c: Likewise.
17201 * sunrpc/rpc_dtable.c: Likewise.
17202 * sunrpc/rpc_prot.c: Likewise.
17203 * sunrpc/rpc_thread.c: Likewise.
17204 * sunrpc/rtime.c: Likewise.
17205 * sunrpc/svc.c: Likewise.
17206 * sunrpc/svc_auth.c: Likewise.
17207 * sunrpc/svc_authux.c: Likewise.
17208 * sunrpc/svc_raw.c: Likewise.
17209 * sunrpc/svc_run.c: Likewise.
17210 * sunrpc/svc_simple.c: Likewise.
17211 * sunrpc/svc_tcp.c: Likewise.
17212 * sunrpc/svc_udp.c: Likewise.
17213 * sunrpc/svc_unix.c: Likewise.
17214 * sunrpc/svcauth_des.c: Likewise.
17215 * sunrpc/xcrypt.c: Likewise.
17216 * sunrpc/xdr.c: Likewise.
17217 * sunrpc/xdr_array.c: Likewise.
17218 * sunrpc/xdr_float.c: Likewise.
17219 * sunrpc/xdr_intXX_t.c: Likewise.
17220 * sunrpc/xdr_mem.c: Likewise.
17221 * sunrpc/xdr_rec.c: Likewise.
17222 * sunrpc/xdr_ref.c: Likewise.
17223 * sunrpc/xdr_sizeof.c: Likewise.
17224 * sunrpc/xdr_stdio.c: Likewise.
17226 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17229 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17230 * sysdeps/ia64/dl-tls.h: Likewise.
17231 * sysdeps/powerpc/dl-tls.h: Likewise.
17232 * sysdeps/s390/dl-tls.h: Likewise.
17233 * sysdeps/sh/dl-tls.h: Likewise.
17234 * sysdeps/sparc/dl-tls.h: Likewise.
17235 * sysdeps/x86_64/dl-tls.h: Likewise.
17236 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17238 2011-03-14 Andreas Schwab <schwab@redhat.com>
17240 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17241 rpath element also skip the following colon.
17242 (expand_dynamic_string_token): Add is_path parameter and pass
17243 down to DL_DST_REQUIRED and _dl_dst_substitute.
17244 (decompose_rpath): Call expand_dynamic_string_token with
17245 non-zero is_path. Ignore empty rpaths.
17246 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17249 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17254 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17257 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17258 Patch by Filipe David Manana <fdmanana@apache.org>.
17260 2011-04-07 Andreas Schwab <schwab@redhat.com>
17262 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17263 Maintain aligned stack.
17264 (CHECK_RSP): Remove unused macro.
17266 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17268 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17269 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17271 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17273 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17275 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17277 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17280 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17281 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17282 * sysdeps/x86_64/memmove.c: New file.
17283 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17284 (memcpy): Renamed to ...
17285 (__new_memcpy): This.
17286 (memcpy): Provide GLIBC_2_14 memcpy.
17287 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17288 (memcpy): Provide GLIBC_2_2_5 memcpy.
17290 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17293 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17295 2011-03-30 Andreas Schwab <schwab@redhat.com>
17297 * misc/syncfs.c: New file.
17298 * misc/Makefile (routines): Add syncfs.
17299 * posix/unistd.h: Declare syncfs.
17300 * sysdeps/unix/syscalls.list: Add syncfs.
17302 2011-04-01 Andreas Schwab <schwab@redhat.com>
17304 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17306 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17307 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17308 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17309 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17311 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17312 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17314 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17316 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17317 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17318 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17319 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17320 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17321 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17322 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17324 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17325 sync_file_range.c with -fexceptions.
17326 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17327 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17328 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17329 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17330 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17331 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17332 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17333 sync_file_range as cancellation point
17334 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17335 now a wrapper around __call_sync_file_range with cancellation handling.
17336 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17337 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17338 function name to __call_sync_file_range.
17339 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17340 Add call_sync_file_range.
17342 2011-04-01 Andreas Schwab <schwab@redhat.com>
17344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17347 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17349 * iconv/iconv.h: Fix typo in comment.
17350 * io/fcntl.h: Likewise.
17351 * libio/stdio.h: Likewise.
17352 * posix/spawn.h: Likewise.
17353 * posix/unistd.h: Likewise.
17354 * stdlib/stdlib.h: Likewise.
17355 * time/time.h: Likewise.
17356 * wcsmbs/wchar.h: Likewise.
17358 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17359 open_by_handle): Add.
17360 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17361 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17362 Augment a few comments.
17363 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17364 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17365 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17366 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17367 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17368 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17371 * io/fcntl.h (AT_EMPTY_PATH): Define.
17373 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17375 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17376 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17377 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17379 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17380 * Versions.def: Add GLIBC_2.14.
17381 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17384 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17386 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17388 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17390 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17393 * string/test-strncmp.c (do_page_test): New function.
17394 (check2): Likewise.
17395 (test_main): Call check2.
17396 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17398 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17401 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17402 Handle cache information in CPU leaf 4.
17403 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17405 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17408 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17409 character representation.
17410 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17412 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17414 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17415 END(__isnan) to END(__isnanf) to match function entry point/label
17416 EALIGN(__isnanf,...).
17418 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17420 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17422 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17425 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17426 copy from the symbol referenced in the relocation to initialize the
17428 Patch by Piotr Bury <pbury@goahead.com>.
17429 * elf/Makefile: Add rules to build and tst-unique3.
17430 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17431 * elf/tst-unique3.cc: New file.
17432 * elf/tst-unique3.h: New file.
17433 * elf/tst-unique3lib.cc: New file.
17434 * elf/tst-unique3lib2.cc: New file.
17436 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17438 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17440 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17441 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17444 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17446 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17447 to-be-loaded object along a path to loader is ld.so.
17449 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17450 Ulrich Drepper <drepper@gmail.com>
17452 * sysdeps/x86_64/memset.S: After aligning destination, code
17453 branches to different locations depending on the value of
17454 misalignment, when multiarch is enabled. Fix this.
17456 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17458 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17459 Set _x86_64_preferred_memory_instruction for AMD processsors.
17460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17461 Set bit_Prefer_SSE_for_memop for AMD processors.
17463 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17465 * libio/fmemopen.c (fmemopen): Optimize a bit.
17467 2011-03-03 Andreas Schwab <schwab@redhat.com>
17469 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17471 2011-03-03 Roland McGrath <roland@redhat.com>
17473 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17475 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17477 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17478 __bzero_ultra1 instead of __memset_ultra1.
17480 2011-02-23 Andreas Schwab <schwab@redhat.com>
17481 Ulrich Drepper <drepper@gmail.com>
17484 * include/link.h (struct link_map): Add l_orig_initfini.
17485 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17486 returning unsuccessfully.
17487 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17488 close of a file loaded at startup, restore the original l_initfini
17490 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17491 list, store the pointer.
17492 * elf/Makefile ($(objpfx)noload-mem): New rule.
17493 (noload-ENV): Define.
17494 (tests): Add $(objpfx)noload-mem.
17495 * elf/noload.c: Include <memcheck.h>.
17496 (main): Call mtrace. Close all opened handles.
17498 2011-02-17 Andreas Schwab <schwab@redhat.com>
17501 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17502 dependencies are missing.
17504 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17506 Fix __if_freereq crash: Unlike the generic version which uses free,
17508 * sysdeps/mach/hurd/ifreq.h: New file.
17510 2011-01-27 Petr Baudis <pasky@suse.cz>
17511 Ulrich Drepper <drepper@gmail.com>
17514 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17515 to extend_alloca().
17516 * stdio-common/bug23.c: New file.
17517 * stdio-common/Makefile (tests): Add bug23.
17519 2010-09-28 Andreas Schwab <schwab@redhat.com>
17520 Ulrich Drepper <drepper@gmail.com>
17523 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17524 before performing relro protection. At old place add assertion
17525 to make sure nothing changed.
17527 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17528 Glauber de Oliveira Costa <glommer@gmail.com>
17530 * elf/elf.h: Add new ARM TLS relocs.
17532 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17535 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17537 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17539 * sysdeps/wordsize-64/tst-writev.c: New file.
17541 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17543 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17544 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17545 insns in _dl_start to prevent a TOC reference before relocs are
17548 2011-02-15 Ulrich Drepper <drepper@gmail.com>
17551 * Makeconfig: Remove RANLIB definition.
17552 * Makerules: Don't use RANLIB.
17553 * aclocal.m4: Remove ranlib test.
17554 * configure.in: No need to check for ranlib.
17555 * elf/rtld-Rules: Don't use RANLIB.
17557 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17559 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17561 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17562 inclusion protection macro.
17564 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17565 SIGRTMIN and SIGRTMAX and print information in that case only when
17566 SIGRTMIN is defined.
17568 2011-02-11 Jakub Jelinek <jakub@redhat.com>
17570 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17571 arginfo fn returning -1.
17573 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17574 and thousands string is zero terminated.
17576 2011-02-03 Andreas Schwab <schwab@redhat.com>
17578 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17579 sysdeps/unix/sysv/linux/bits/socket.h.
17581 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17583 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17584 (__CPU_COUNT): Remove old macros.
17585 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17586 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17587 (__CPU_ALLOC, __CPU_FREE): Add macros.
17588 (__sched_cpualloc, __sched_cpufree): Add declarations.
17590 2011-02-05 Ulrich Drepper <drepper@gmail.com>
17592 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17593 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17594 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17595 (readdhstai): Return value of addhstaiX call.
17596 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17597 (addgrbyX): Return value returned by cache_addgr.
17598 (readdgrbyname): Return value returned by addgrbyX.
17599 (readdgrbygid): Likewise.
17600 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17601 (addpwbyX): Return value returned by cache_addpw.
17602 (readdpwbyname): Return value returned by addhstbyX.
17603 (readdpwbyuid): Likewise.
17604 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17605 (addservbyX): Return value returned by cache_addserv.
17606 (readdservbyname): Return value returned by addservbyX:
17607 (readdservbyport): Likewise.
17608 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17609 (addhstbyX): Return value returned by cache_addhst.
17610 (readdhstbyname): Return value returned by addhstbyX.
17611 (readdhstbyaddr): Likewise.
17612 (readdhstbynamev6): Likewise.
17613 (readdhstbyaddrv6): Likewise.
17614 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17615 (readdinitgroups): Return value returned by addinitgroupsX.
17616 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17617 (prune_cache): Keep track of timeout value of re-added entries.
17618 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17619 * nscd/nscd.h: Adjust prototypes of readd* functions.
17621 2011-02-04 Roland McGrath <roland@redhat.com>
17623 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17624 (nis_stats): Likewise.
17625 * nis/nis_modify.c (nis_modify): Likewise.
17626 * nis/nis_remove.c (nis_remove): Likewise.
17627 * nis/nis_add.c (nis_add): Likewise.
17629 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17631 * posix/fnmatch_loop.c: Add some consts.
17633 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17635 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17638 * config.make.in (config-cflags-novzeroupper): Define.
17639 * configure.in: Substitute libc_cv_cc_novzeroupper.
17640 * elf/Makefile (AVX-CFLAGS): Define.
17641 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17642 (CFLAGS-tst-auditmod4a.c): Likewise.
17643 (CFLAGS-tst-auditmod4b.c): Likewise.
17644 (CFLAGS-tst-auditmod6b.c): Likewise.
17645 (CFLAGS-tst-auditmod6c.c): Likewise.
17646 (CFLAGS-tst-auditmod7b.c): Likewise.
17647 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17649 2011-02-02 Ulrich Drepper <drepper@gmail.com>
17651 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17652 function to the callback.
17653 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17655 2011-02-02 Andreas Schwab <schwab@redhat.com>
17657 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17660 2011-01-19 Ulrich Drepper <drepper@gmail.com>
17663 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17665 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17667 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17670 * elf/Makefile: Add rules to build and run new test.
17671 * elf/tst-initorder.c: New file.
17672 * elf/tst-initorder.exp: New file.
17673 * elf/tst-initordera1.c: New file.
17674 * elf/tst-initordera2.c: New file.
17675 * elf/tst-initordera3.c: New file.
17676 * elf/tst-initordera4.c: New file.
17677 * elf/tst-initorderb1.c: New file.
17678 * elf/tst-initorderb2.c: New file.
17679 * elf/tst-order-a1.c: New file.
17680 * elf/tst-order-a2.c: New file.
17681 * elf/tst-order-a3.c: New file.
17682 * elf/tst-order-a4.c: New file.
17683 * elf/tst-order-b1.c: New file.
17684 * elf/tst-order-b2.c: New file.
17685 * elf/tst-order-main.c: New file.
17686 New test case by George Gensure <werkt0@gmail.com>.
17688 2010-10-01 Andreas Schwab <schwab@redhat.com>
17690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17691 decoding ACE if AI_CANONIDN.
17693 2011-01-18 Ulrich Drepper <drepper@gmail.com>
17695 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17697 2011-01-17 Ulrich Drepper <drepper@gmail.com>
17699 * version.h (RELEASE): Bump for 2.13 release.
17700 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17702 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17704 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17706 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17707 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17708 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17709 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17710 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17711 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17713 * posix/getconf.c: Update copyright year.
17714 * catgets/gencat.c: Likewise.
17715 * csu/version.c: Likewise.
17716 * debug/catchsegv.sh: Likewise.
17717 * debug/xtrace.sh: Likewise.
17718 * elf/ldconfig.c: Likewise.
17719 * elf/ldd.bash.in: Likewise.
17720 * elf/sprof.c (print_version): Likewise.
17721 * iconv/iconv_prog.c: Likewise.
17722 * iconv/iconvconfig.c: Likewise.
17723 * locale/programs/locale.c: Likewise.
17724 * locale/programs/localedef.c: Likewise.
17725 * malloc/memusage.sh: Likewise.
17726 * malloc/mtrace.pl: Likewise.
17727 * nscd/nscd.c (print_version): Likewise.
17728 * nss/getent.c: Likewise.
17730 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17731 PF_CAIF, and PF_ALG.
17732 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17734 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17736 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17737 (modules-names): Use them.
17738 (ifunc-test-modules, ifunc-pie-tests): Define.
17739 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17740 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17741 (test-extras): Likewise.
17742 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17743 $(compile-command.c).
17744 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17745 (all-built-dso): Define.
17746 (check-textrel.out, check-execstack.out): Depend on it.
17748 * configure.in: Don't override --enable-multi-arch.
17750 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17753 * nscd/hstcache.c (tryagain): Define.
17754 (cache_addhst): Return tryagain not notfound for temporary errors.
17755 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17758 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17761 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17762 to make the syscall.
17763 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17766 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17767 and fall back to matching as normal character if the string ends before
17768 the matching ']' is found. This is what POSIX requires.
17769 * posix/testfnm.c: Adjust test result.
17770 * posix/globtest.sh: Adjust test result. Add new test.
17771 * posix/tst-fnmatch.input: Likewise.
17772 * posix/tst-fnmatch2.c: Add new test.
17774 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17776 * elf/Makefile (check-execstack): Revert last change. Depend on
17778 (check-execstack.h): New target.
17779 (generated): Add check-execstack.h.
17780 * elf/check-execstack.c: Include "check-execstack.h".
17781 (main): Revert last change.
17782 (handle_file): Return zero if GNU_STACK is absent and
17783 DEFAULT_STACK_PERMS doesn't include PF_X.
17785 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17787 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17788 in child fails because the descriptor is already closed.
17789 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17790 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17791 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17794 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17798 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17799 temporary buffer used to handle multi lookups locally.
17800 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17802 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17804 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17807 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17809 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17810 alignment for SSE2.
17812 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17815 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17816 characters. When rounding increased number of integer digits recompute
17818 * stdio-common/tst-grouping.c: New file.
17819 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17821 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17823 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17824 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17826 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17828 * bits/select.h: Likewise.
17830 2011-01-08 Ulrich Drepper <drepper@gmail.com>
17832 * po/ja.po: Update from translation team.
17834 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
17837 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17838 implementation just like for lxstat, fxstatat, et al.
17840 2010-12-27 Jim Meyering <meyering@redhat.com>
17843 * posix/regexec.c (build_trtable): Return failure indication upon
17844 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17846 2010-12-25 Ulrich Drepper <drepper@gmail.com>
17849 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17850 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17851 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17852 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17855 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17858 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17859 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17861 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17863 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17864 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17865 script has SORT_BY_INIT_PRIORITY.
17866 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17867 NO_CTORS_DTORS_SECTIONS is defined.
17868 * elf/soinit.c: Likewise.
17869 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17870 NO_CTORS_DTORS_SECTIONS is defined.
17871 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17872 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17873 * sysdeps/sh/init-first.c: Likewise.
17874 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17876 2010-12-24 Ulrich Drepper <drepper@gmail.com>
17878 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17879 always use the slow path.
17881 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17883 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17884 similar rule which adds the sysdep directories to the header search in
17885 order to pick up the correct platform stackinfo.h.
17886 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17887 perform test if it is, otherwise return successfully without testing.
17888 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17889 DEFAULT_STACK_PERMS define in stackinfo.h.
17890 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17891 defined in stackinfo.h.
17892 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17893 DEFAULT_STACK_PERMS defined in stackinfo.h.
17894 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17895 * sysdeps/ia64/stackinfo.h: Likewise.
17896 * sysdeps/s390/stackinfo.h: Likewise.
17897 * sysdeps/sh/stackinfo.h: Likewise.
17898 * sysdeps/sparc/stackinfo.h: Likewise.
17899 * sysdeps/x86_64/stackinfo.h: Likewise.
17900 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17901 PF_X for powerpc64. Retain PF_X for powerpc32.
17903 2010-12-19 Ulrich Drepper <drepper@gmail.com>
17905 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17907 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17908 GETDENTS_64BIT_ALIGNED.
17910 2010-12-14 Ulrich Drepper <dreper@gmail.com>
17912 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17914 2010-12-10 Andreas Schwab <schwab@redhat.com>
17916 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17919 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17920 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17922 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17923 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17925 2010-12-09 Ulrich Drepper <drepper@gmail.com>
17928 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17931 2010-12-09 Jakub Jelinek <jakub@redhat.com>
17933 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17935 2010-12-03 Ulrich Drepper <drepper@gmail.com>
17937 * po/it.po: Update from translation team.
17939 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17944 2010-11-30 Ulrich Drepper <drepper@gmail.com>
17946 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17948 2010-11-24 Andreas Schwab <schwab@redhat.com>
17950 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17952 (gaih_getanswer_slice): Likewise.
17954 2010-10-20 Jakub Jelinek <jakub@redhat.com>
17956 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17958 2010-05-31 Petr Baudis <pasky@suse.cz>
17961 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17962 silently even in the chroot mode.
17964 2010-11-22 Ulrich Drepper <drepper@gmail.com>
17966 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17967 last patch a bit. Pretty printing
17969 2010-05-31 Petr Baudis <pasky@suse.cz>
17972 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17973 initialization of skip_initgroups_dyn.
17975 2010-11-19 Ulrich Drepper <drepper@gmail.com>
17977 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17978 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17980 2010-11-16 Ulrich Drepper <drepper@gmail.com>
17982 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17984 2010-11-11 Andreas Schwab <schwab@redhat.com>
17986 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17987 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17988 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17989 ($(objpfx)tst-fnmatch-mem): New rule.
17990 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17991 * posix/tst-fnmatch.c (main): Call mtrace.
17993 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17996 Support Intel processor model 6 and model 0x2c.
17998 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18000 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18003 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18006 * string/test-strncasecmp.c (check_result): New function.
18007 (do_one_test): Use it.
18008 (check1): New function.
18009 (test_main): Use it.
18010 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18011 Support strcasecmp and strncasecmp.
18013 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18016 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18017 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18019 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18021 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18023 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18025 * sysdeps/x86_64/multiarch/bzero.S: New file.
18026 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18027 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18028 * sysdeps/x86_64/multiarch/memset.S: New file.
18029 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18031 Set bit_Prefer_SSE_for_memop for Intel processors.
18032 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18034 (index_Prefer_SSE_for_memop): Define.
18035 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18037 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18039 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18040 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18042 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18045 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18046 (__x86_64_raw_data_cache_size_half): Likewise.
18047 (__x86_64_raw_shared_cache_size): Likewise.
18048 (__x86_64_raw_shared_cache_size_half): Likewise.
18050 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18051 (__x86_64_raw_data_cache_size_half): Likewise.
18052 (__x86_64_raw_shared_cache_size): Likewise.
18053 (__x86_64_raw_shared_cache_size_half): Likewise.
18054 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18055 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18056 and __x86_64_raw_shared_cache_size_half. Round
18057 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18058 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18059 to multiple of 256 bytes.
18061 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18064 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18065 of inacessible symlinks. Verify result of symlink before returning it.
18066 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18067 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18069 2010-10-28 Erich Ritz <erichritz@gmail.com>
18071 * math/math.h (isinf): Fix typo in comment.
18073 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18075 * po/da.po: Update from translation team.
18077 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18079 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18080 is added to the list.
18082 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18083 Ulrich Drepper <drepper@gmail.com>
18085 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18086 the global list here. Move code to...
18087 (_dl_add_to_namespace_list): ...here. New function.
18088 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18089 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18090 * elf/dl-load.c (lose): Don't remove the element from the list.
18091 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18092 (_dl_map_object): Likewise.
18094 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18097 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18098 into all bytes of SSE register.
18099 Patch by Richard Li <richardpku@gmail.com>.
18101 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18104 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18107 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18109 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18110 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18111 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18112 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18117 2010-10-22 Andreas Schwab <schwab@redhat.com>
18119 * include/dlfcn.h (__RTLD_SECURE): Define.
18120 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18121 mode & __RTLD_SECURE instead.
18122 (open_path): Rename preloaded parameter to secure.
18123 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18124 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18125 * elf/dl-deps.c (openaux): Likewise.
18126 * elf/rtld.c (struct map_args): Remove is_preloaded.
18127 (map_doit): Don't use it.
18128 (dl_main): Likewise.
18129 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18130 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18132 2010-09-09 Andreas Schwab <schwab@redhat.com>
18134 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18135 (sysd-rules-targets): Remove duplicates.
18136 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18137 rtld-%.$o dependency.
18139 2010-10-18 Andreas Schwab <schwab@redhat.com>
18141 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18142 _dl_map_object do it.
18144 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18146 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18147 fast fma builtins, define the macros in the C99 standard.
18148 (FP_FAST_FMAF): Likewise.
18149 (FP_FAST_FMAL): Likewise.
18150 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18152 * bits/mathdef.h: Update copyright year.
18153 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18155 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18157 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18158 builtins, define the macros in the C99 standard.
18159 (FP_FAST_FMAF): Likewise.
18160 (FP_FAST_FMAL): Likewise.
18161 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18163 (FP_FAST_FMAF): Likewise.
18165 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18168 * math/libm-test.inc (fma_test): Some new testcases.
18169 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18170 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18171 y and infinite z. Do multiplication by C already in long double.
18172 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18174 y and infinite z. Do bitwise or of inexact bit into u.d.
18175 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18176 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18177 * sysdeps/i386/fpu/s_fma.S: Removed.
18178 * sysdeps/i386/fpu/s_fmal.S: Removed.
18180 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18183 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18184 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18185 computation is not scheduled after fetestexcept. Fix value
18186 of minimum denormal long double.
18188 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18191 * math/libm-test.inc (fma_test): Add some more tests.
18192 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18195 2010-10-15 Andreas Schwab <schwab@redhat.com>
18197 * scripts/data/localplt-s390-linux-gnu.data: New file.
18198 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18200 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18203 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18204 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18206 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18208 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18209 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18210 if one of x and y is very large and the other is subnormal.
18211 * sysdeps/s390/fpu/s_fmaf.c: New file.
18212 * sysdeps/s390/fpu/s_fma.c: New file.
18213 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18214 * sysdeps/powerpc/fpu/s_fma.S: New file.
18215 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18216 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18217 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18219 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18222 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18224 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18225 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18226 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18227 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18228 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18229 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18232 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18235 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18236 * posix/bug-regex31.input: Add test case.
18238 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18240 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18241 * posix/bug-regex31.input: New file.
18244 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18245 (parse_sub_exp): Fix last change, use postorder.
18247 * posix/bug-regex31.c: New file.
18248 * posix/Makefile: Add rules to build and run bug-regex31.
18250 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18253 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18256 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18257 to have entries in sys_siglist.
18260 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18263 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18266 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18267 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18268 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18269 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18270 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18271 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18272 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18273 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18274 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18275 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18276 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18277 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18278 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18279 * math/ftestexcept.c (fetestexcept): Likewise.
18280 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18281 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18282 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18283 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18284 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18285 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18286 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18288 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18291 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18294 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18296 * string/bug-strstr1.c: New file.
18297 * string/Makefile: Add rules to build and run bug-strstr1.
18299 2010-10-05 Eric Blake <eblake@redhat.com>
18302 * string/str-two-way.h (two_way_long_needle): Always clear memory
18303 when skipping input due to the shift table.
18305 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18308 * malloc/mcheck.c: Handle large requests.
18311 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18312 for strncmp and strncasecmp.
18313 * string/stratcliff.c: Add tests for strcmp and strncmp.
18314 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18316 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18318 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18321 2010-09-30 Andreas Jaeger <aj@suse.de>
18323 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18324 (CGROUP_SUPER_MAGIC): Define.
18325 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18326 Handle btrfs and cgroup file systems.
18327 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18330 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18332 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18333 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18335 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18338 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18339 trying to locate the ELF header.
18341 2010-09-27 Andreas Schwab <schwab@redhat.com>
18344 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18345 Mask out sign-bit copies when constructing f_fsid.
18347 2010-09-24 Petr Baudis <pasky@suse.cz>
18349 * debug/stack_chk_fail_local.c: Add missing licence exception.
18350 * debug/warning-nop.c: Likewise.
18352 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18354 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18355 implementing getdents64 using getdents syscall, set d_type if
18356 __ASSUME_GETDENTS32_D_TYPE.
18358 2010-09-16 Andreas Schwab <schwab@redhat.com>
18360 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18361 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18363 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18366 * posix/unistd.h: Undo change of feature selection for ftruncate from
18369 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18371 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18374 2010-09-20 Andreas Schwab <schwab@redhat.com>
18376 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18378 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18380 2010-09-14 Andreas Schwab <schwab@redhat.com>
18382 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18383 variables after CHECK_SP call.
18384 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18386 2010-09-13 Andreas Schwab <schwab@redhat.com>
18387 Ulrich Drepper <drepper@redhat.com>
18389 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18390 re-relocationg ld.so.
18391 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18392 _dl_init_paths call.
18393 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18396 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18398 * resolv/res_init.c (__res_vinit): Count the default server we added.
18400 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18401 Ulrich Drepper <drepper@redhat.com>
18404 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18405 (____longjmp_chk): Use %ebx for saving value across system call.
18408 2010-09-06 Andreas Schwab <schwab@redhat.com>
18410 * manual/Makefile: Don't mix pattern rules with normal rules.
18412 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18414 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18416 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18417 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18418 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18419 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18420 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18423 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18426 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18427 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18429 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18431 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18432 * sysdeps/x86_64/addmul_1.S: Likewise.
18433 * sysdeps/x86_64/lshift.S: Likewise.
18434 * sysdeps/x86_64/mul_1.S: Likewise.
18435 * sysdeps/x86_64/rshift.S: Likewise.
18436 * sysdeps/x86_64/sub_n.S: Likewise.
18437 * sysdeps/x86_64/submul_1.S: Likewise.
18439 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18441 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18442 Define __sched_param instead of SCHED_* and sched_param when
18443 <bits/sched.h> is included with __need_schedparam defined.
18444 * bits/sched.h [__need_schedparam]
18445 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18446 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18447 (__defined_schedparam): Define to 1.
18448 (__sched_param): New structure, identical to sched_param.
18449 (__need_schedparam): Undefine.
18451 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18453 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18454 (epoll_create1): Declare.
18456 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18458 2010-08-31 Andreas Schwab <schwab@redhat.com>
18461 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18462 shifting retval into place.
18464 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18466 * nis/rpcsvc/nis.h: Update copyright notice.
18467 * nis/rpcsvc/nis.x: Likewise.
18468 * nis/rpcsvc/nis_callback.h: Likewise.
18469 * nis/rpcsvc/nis_callback.x: Likewise.
18470 * nis/rpcsvc/nis_object.x: Likewise.
18471 * nis/rpcsvc/nis_tags.h: Likewise.
18472 * nis/rpcsvc/yp.h: Likewise.
18473 * nis/rpcsvc/yp.x: Likewise.
18474 * nis/rpcsvc/ypupd.h: Likewise.
18475 * nis/yp_xdr.c: Likewise.
18476 * nis/ypupdate_xdr.c: Likewise.
18478 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18479 mainly the body of pmap_getport. Add parameters to specify timeouts.
18480 (pmap_getport): Use __libc_rpc_getport.
18481 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18482 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18483 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18485 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18490 2010-08-27 Roland McGrath <roland@redhat.com>
18492 * sysdeps/i386/i686/multiarch/Makefile
18493 (CFLAGS-varshift.c): New variable.
18495 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18497 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18498 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18500 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18502 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18504 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18506 * sysdeps/x86_64/strlen.S: Unroll the loop.
18507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18508 strlen-sse2 strlen-sse2-bsf.
18509 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18510 __strlen_no_bsf if bit_Slow_BSF is set.
18511 (__strlen_sse42): Removed.
18512 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18513 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18515 2010-08-25 Roland McGrath <roland@redhat.com>
18517 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18518 * sysdeps/x86_64/multiarch/varshift.c: New file.
18519 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18520 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18521 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18522 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18524 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18526 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18527 strlen-sse2 strlen-sse2-bsf.
18528 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18529 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18530 (__strlen_sse2): Removed.
18531 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18532 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18534 bit_Slow_BSF for Atom.
18535 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18536 (index_Slow_BSF): Define.
18537 (HAS_SLOW_BSF): Define.
18539 2010-08-25 Ulrich Drepper <drepper@redhat.com>
18542 * resolv/res_init.c (__res_vinit): When no server address at all
18543 is given default to loopback.
18545 2010-08-24 Roland McGrath <roland@redhat.com>
18547 * configure.in: Remove config-name.h generation.
18548 * configure: Regenerated.
18549 * config-name.in: File removed.
18550 * scripts/config-uname.sh: New file.
18551 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18552 ($(objdir)config-name.h): New target.
18554 * sunrpc/rpc_parse.h: Avoid nested comment.
18556 2010-08-24 Richard Henderson <rth@redhat.com>
18557 Ulrich Drepper <drepper@redhat.com>
18558 H.J. Lu <hongjiu.lu@intel.com>
18560 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18562 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18563 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18564 _mm_alignr_epi8 with _mm_loadu_si128.
18565 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18566 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18567 (__m128i_shift_right): Removed.
18568 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18569 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18570 * sysdeps/x86_64/multiarch/varshift.h: New file.
18571 * sysdeps/x86_64/multiarch/varshift.S: New file.
18573 2010-08-21 Mike Frysinger <vapier@gentoo.org>
18575 * configure.in: Move assembler checks to before sysdep dir checking.
18577 2010-08-20 Petr Baudis <pasky@suse.cz>
18579 * LICENSES: Sync the sunrpc license.
18581 2010-08-19 Ulrich Drepper <drepper@redhat.com>
18583 * sunrpc/auth_des.c: Update copyright notice once again.
18584 * sunrpc/auth_none.c: Likewise.
18585 * sunrpc/auth_unix.c: Likewise.
18586 * sunrpc/authdes_prot.c: Likewise.
18587 * sunrpc/authuxprot.c: Likewise.
18588 * sunrpc/bindrsvprt.c: Likewise.
18589 * sunrpc/clnt_gen.c: Likewise.
18590 * sunrpc/clnt_perr.c: Likewise.
18591 * sunrpc/clnt_raw.c: Likewise.
18592 * sunrpc/clnt_simp.c: Likewise.
18593 * sunrpc/clnt_tcp.c: Likewise.
18594 * sunrpc/clnt_udp.c: Likewise.
18595 * sunrpc/clnt_unix.c: Likewise.
18596 * sunrpc/des_crypt.c: Likewise.
18597 * sunrpc/des_soft.c: Likewise.
18598 * sunrpc/get_myaddr.c: Likewise.
18599 * sunrpc/getrpcport.c: Likewise.
18600 * sunrpc/key_call.c: Likewise.
18601 * sunrpc/key_prot.c: Likewise.
18602 * sunrpc/openchild.c: Likewise.
18603 * sunrpc/pm_getmaps.c: Likewise.
18604 * sunrpc/pm_getport.c: Likewise.
18605 * sunrpc/pmap_clnt.c: Likewise.
18606 * sunrpc/pmap_prot.c: Likewise.
18607 * sunrpc/pmap_prot2.c: Likewise.
18608 * sunrpc/pmap_rmt.c: Likewise.
18609 * sunrpc/rpc/auth.h: Likewise.
18610 * sunrpc/rpc/auth_unix.h: Likewise.
18611 * sunrpc/rpc/clnt.h: Likewise.
18612 * sunrpc/rpc/des_crypt.h: Likewise.
18613 * sunrpc/rpc/key_prot.h: Likewise.
18614 * sunrpc/rpc/netdb.h: Likewise.
18615 * sunrpc/rpc/pmap_clnt.h: Likewise.
18616 * sunrpc/rpc/pmap_prot.h: Likewise.
18617 * sunrpc/rpc/pmap_rmt.h: Likewise.
18618 * sunrpc/rpc/rpc.h: Likewise.
18619 * sunrpc/rpc/rpc_des.h: Likewise.
18620 * sunrpc/rpc/rpc_msg.h: Likewise.
18621 * sunrpc/rpc/svc.h: Likewise.
18622 * sunrpc/rpc/svc_auth.h: Likewise.
18623 * sunrpc/rpc/types.h: Likewise.
18624 * sunrpc/rpc/xdr.h: Likewise.
18625 * sunrpc/rpc_clntout.c: Likewise.
18626 * sunrpc/rpc_cmsg.c: Likewise.
18627 * sunrpc/rpc_common.c: Likewise.
18628 * sunrpc/rpc_cout.c: Likewise.
18629 * sunrpc/rpc_dtable.c: Likewise.
18630 * sunrpc/rpc_hout.c: Likewise.
18631 * sunrpc/rpc_main.c: Likewise.
18632 * sunrpc/rpc_parse.c: Likewise.
18633 * sunrpc/rpc_parse.h: Likewise.
18634 * sunrpc/rpc_prot.c: Likewise.
18635 * sunrpc/rpc_sample.c: Likewise.
18636 * sunrpc/rpc_scan.c: Likewise.
18637 * sunrpc/rpc_scan.h: Likewise.
18638 * sunrpc/rpc_svcout.c: Likewise.
18639 * sunrpc/rpc_tblout.c: Likewise.
18640 * sunrpc/rpc_util.c: Likewise.
18641 * sunrpc/rpc_util.h: Likewise.
18642 * sunrpc/rpcinfo.c: Likewise.
18643 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18644 * sunrpc/rpcsvc/key_prot.x: Likewise.
18645 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18646 * sunrpc/rpcsvc/mount.x: Likewise.
18647 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18648 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18649 * sunrpc/rpcsvc/rex.x: Likewise.
18650 * sunrpc/rpcsvc/rstat.x: Likewise.
18651 * sunrpc/rpcsvc/rusers.x: Likewise.
18652 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18653 * sunrpc/rpcsvc/spray.x: Likewise.
18654 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18655 * sunrpc/rtime.c: Likewise.
18656 * sunrpc/svc.c: Likewise.
18657 * sunrpc/svc_auth.c: Likewise.
18658 * sunrpc/svc_authux.c: Likewise.
18659 * sunrpc/svc_raw.c: Likewise.
18660 * sunrpc/svc_run.c: Likewise.
18661 * sunrpc/svc_simple.c: Likewise.
18662 * sunrpc/svc_tcp.c: Likewise.
18663 * sunrpc/svc_udp.c: Likewise.
18664 * sunrpc/svc_unix.c: Likewise.
18665 * sunrpc/svcauth_des.c: Likewise.
18666 * sunrpc/xcrypt.c: Likewise.
18667 * sunrpc/xdr.c: Likewise.
18668 * sunrpc/xdr_array.c: Likewise.
18669 * sunrpc/xdr_float.c: Likewise.
18670 * sunrpc/xdr_mem.c: Likewise.
18671 * sunrpc/xdr_rec.c: Likewise.
18672 * sunrpc/xdr_ref.c: Likewise.
18673 * sunrpc/xdr_sizeof.c: Likewise.
18674 * sunrpc/xdr_stdio.c: Likewise.
18676 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18679 2010-08-19 Andreas Schwab <schwab@redhat.com>
18681 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18683 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
18685 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18686 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18687 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18688 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18689 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18690 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18691 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18692 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18693 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18694 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18695 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18696 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18697 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18698 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18700 2010-07-26 Anton Blanchard <anton@samba.org>
18702 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18703 * malloc/arena.c (heap_trim): Likewise.
18705 2010-08-16 Ulrich Drepper <drepper@redhat.com>
18707 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18709 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18710 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18712 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18714 * sysdeps/i386/elf/Makefile: New file.
18716 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18718 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18719 from fanotify_init.
18720 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18721 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18723 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18725 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18727 * sysdeps/multiarch/strcmp.S: Likewise.
18729 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18731 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18732 strncase_l-nonascii.
18733 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18734 Add strncase_l-ssse3.
18735 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18736 * sysdeps/x86_64/strcmp.S: Likewise.
18737 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18738 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18739 * sysdeps/x86_64/strncase.S: New file.
18740 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18741 * sysdeps/x86_64/strncase_l.S: New file.
18742 * string/Makefile (strop-tests): Add strncasecmp.
18743 * string/test-strncasecmp.c: New file.
18745 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18748 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18749 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18751 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18753 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18755 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18757 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18758 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18759 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18761 2010-05-01 Alan Modra <amodra@gmail.com>
18763 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18764 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18765 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18766 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18767 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18768 tidying. Don't tail-call __sigjmp_save for static lib.
18769 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18771 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18772 (CALL_MCOUNT): Add eh info, and nop after bl.
18773 (TAIL_CALL_SYSCALL_ERROR): New macro.
18774 (PSEUDO_RET): Use it.
18775 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18776 Correct save location of integer regs and cr.
18777 (_dl_profile_resolve): Correct cr save location. Delete nops
18778 after bl when SHARED. Reduce cfi size a little by better
18779 placement of cfi directives.
18780 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18781 make a stack frame. Instead use parm save area as a temp.
18782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18783 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18785 Don't make a stack frame for parent, use parm save area.
18786 Increase child stack frame to 112 bytes. Don't save unused reg,
18787 and adjust reg usage. Set up cfi on error recovery and
18788 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18790 (__makecontext): Add dummy nop after jump to exit.
18791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18792 Use correct parm save area and cr save, reduce stack frame.
18793 Correct cfi for possible PSEUDO_RET frame setup.
18794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18795 Branch to local label emitted by PSEUDO_RET rather than
18798 2010-08-12 Andreas Schwab <schwab@redhat.com>
18801 * locale/programs/locale.c (print_assignment): New function.
18802 (show_locale_vars): Use it.
18804 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18806 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18808 (struct statfs64): Likewise.
18809 (_STATFS_F_FLAGS): Define.
18810 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18811 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18812 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18813 (ST_VALID): Define locally.
18814 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18815 __statvfs_getflags, use the provided value.
18816 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18817 __ASSUME_STATFS_F_FLAGS.
18819 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18821 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18822 Add sys/fanotify.h.
18823 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18824 fanotify_mask for GLIBC_2.13.
18825 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18826 fanotify_init and fanotify_mark.
18827 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18828 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18830 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18832 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18833 prlimit64 for GLIBC_2.13.
18834 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18836 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18839 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18840 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18841 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18842 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18844 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18847 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18848 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18850 * nss/Makefile: Add rules to build and run tst-nss-test1.
18851 * shlib-versions: Add entry for libnss_test1.
18852 * nss/nss_test1.c: New file.
18853 * nss/tst-nss-test1.c: New file.
18855 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18856 (__nss_configure_lookup): Set appropriate entry in
18857 __nss_configure_lookup to true.
18858 * nss/nsswitch.h: Define enum with indeces of databases in
18859 databases and __nss_database_custom arrays. Declare
18860 __nss_database_custom.
18861 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18862 to avoid using nscd when custom rules are installed.
18863 * nss/getXXbyYY_r.c: Likewise.
18864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18866 * nss/nss_files/files-parse.c: Whitespace fixes.
18868 2010-08-09 Ulrich Drepper <drepper@redhat.com>
18871 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18872 * posix/fnmatch_loop.c: Likewise.
18874 2010-07-17 Andi Kleen <ak@linux.intel.com>
18876 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18877 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18878 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18879 * Versions.def [GLIBC_2.13]: Add.
18881 2010-08-06 Ulrich Drepper <drepper@redhat.com>
18883 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18884 Also fail if tpwd after pwuid call is NULL.
18886 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18888 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18889 when converting to ms.
18891 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18893 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18894 EOPNOTSUPP errors with ENOTTY.
18895 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18896 EOPNOTSUPP errors with ENOTTY.
18898 2010-07-31 Ulrich Drepper <drepper@redhat.com>
18900 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18901 Add strcasecmp_l-ssse3.
18902 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18904 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18905 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18906 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18908 2010-07-30 Ulrich Drepper <drepper@redhat.com>
18910 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18912 * string/Makefile (strop-tests): Add strcasecmp.
18913 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18914 strcasecmp_l-nonascii.
18915 (gen-as-const-headers): Add locale-defines.sym.
18916 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18917 * sysdeps/x86_64/strcasecmp.S: New file.
18918 * sysdeps/x86_64/strcasecmp_l.S: New file.
18919 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18920 * sysdeps/x86_64/locale-defines.sym: New file.
18921 * string/test-strcasecmp.c: New file.
18923 * string/test-strcasestr.c: Test both ends of the range of characters.
18924 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18926 2010-07-29 Roland McGrath <roland@redhat.com>
18929 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18931 2010-07-27 Ulrich Drepper <drepper@redhat.com>
18933 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18936 2010-07-27 Andreas Schwab <schwab@redhat.com>
18938 * manual/memory.texi (Malloc Tunable Parameters): Document
18941 2010-07-26 Roland McGrath <roland@redhat.com>
18944 * configure.in (-fgnu89-inline check): Set and substitute
18945 gnu89_inline, not libc_cv_gnu89_inline.
18946 * configure: Regenerated.
18947 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18949 2010-07-26 Ulrich Drepper <drepper@redhat.com>
18951 * string/test-strnlen.c: New file.
18952 * string/Makefile (strop-tests): Add strnlen.
18953 * string/tester.c (test_strnlen): Add a few more test cases.
18954 * string/tst-strlen.c: Better error reporting.
18956 * sysdeps/x86_64/strnlen.S: New file.
18958 2010-07-24 Ulrich Drepper <drepper@redhat.com>
18960 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18961 lower-latency instructions.
18963 2010-07-23 Ulrich Drepper <drepper@redhat.com>
18965 * string/test-strcasestr.c: New file.
18966 * string/test-strstr.c: New file.
18967 * string/Makefile (strop-tests): Add strstr and strcasestr.
18968 * string/str-two-way.h: Don't undefine MAX.
18969 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18971 2010-07-21 Andreas Schwab <schwab@redhat.com>
18973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18974 strcasestr-nonascii.
18975 (CFLAGS-strcasestr-nonascii.c): Define.
18976 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18977 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18978 Remove unused attribute.
18980 2010-07-20 Roland McGrath <roland@redhat.com>
18982 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18983 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18984 ld.so.cache was broken. With it, there is no way to disable dsocaps
18985 like LD_HWCAP_MASK can disable hwcaps.
18987 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18989 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18991 2010-07-16 Ulrich Drepper <drepper@redhat.com>
18993 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18994 call in strcasestr.
18995 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18996 __strcasestr_sse42_nonascii.
18997 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18998 strcasestr-nonascii.c.
18999 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19001 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19003 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19004 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19005 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19006 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19008 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19010 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19013 2010-07-06 Andreas Schwab <schwab@redhat.com>
19016 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19019 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19021 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19022 _PC_PIPE_BUF using F_GETPIPE_SZ.
19024 2010-07-05 Roland McGrath <roland@redhat.com>
19026 * manual/arith.texi (Rounding Functions): Fix rint description
19027 implicit in round description.
19029 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19031 * elf/Makefile: Fix linking for a few tests to make recent linker
19034 2010-06-30 Andreas Schwab <schwab@redhat.com>
19036 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19037 $(common-objpfx)libc_nonshared.a.
19039 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19041 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19042 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19043 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19044 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19045 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19046 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19047 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19048 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19063 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19064 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19065 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19066 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19067 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19068 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19069 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19070 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19071 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19072 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19073 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19074 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19090 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19092 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19093 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19094 * string/memmove.c (memmove): Renamed to ...
19095 (MEMMOVE): ...this. Default to memmove.
19096 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19097 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19100 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19101 mempcpy-ssse3-back memmove-ssse3-back.
19102 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19103 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19104 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19105 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19106 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19107 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19108 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19109 * sysdeps/x86_64/multiarch/memmove.c: New file.
19110 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19111 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19112 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19113 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19114 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19115 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19117 (index_Fast_Copy_Backward): Define.
19118 (HAS_ARCH_FEATURE): Define.
19119 (HAS_FAST_REP_STRING): Define.
19120 (HAS_FAST_COPY_BACKWARD): Define.
19122 2010-06-21 Andreas Schwab <schwab@redhat.com>
19124 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19125 Restore proper fallback handling.
19127 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19130 * posix/group_member.c (__group_member): Correct checking loop.
19132 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19133 OOM in getpwuid_r correctly. Return error number when the caller
19134 should return, otherwise -1.
19135 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19136 call returning > 0 value.
19137 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19139 2010-06-07 Andreas Schwab <schwab@redhat.com>
19141 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19142 libc_nonshared.a from targets in modules-names.
19144 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19146 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19149 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19151 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19152 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19153 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19154 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19156 2010-06-02 Andreas Schwab <schwab@redhat.com>
19158 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19160 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19162 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19164 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19165 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19166 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19167 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19168 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19169 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19171 2010-06-14 Roland McGrath <roland@redhat.com>
19173 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19175 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19177 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19178 __REDIRECT followed by __THROW.
19179 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19180 * posix/getopt.h (getopt): Likewise.
19182 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19184 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19185 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19186 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19188 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19189 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19191 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19193 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19195 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19199 Properly check family and model.
19201 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19203 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19205 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19207 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19209 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19211 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19214 2010-05-19 Andreas Schwab <schwab@redhat.com>
19216 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19219 2010-05-21 Andreas Schwab <schwab@redhat.com>
19221 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19222 and internal_recvmmsg.
19223 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19224 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19225 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19226 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19228 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19229 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19230 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19232 2010-05-20 Andreas Schwab <schwab@redhat.com>
19234 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19236 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19238 POWER7 optimizations.
19239 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19240 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19242 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19244 * version.h: Update for 2.13 development version.
19246 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19248 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19249 exceptions. Return 0.
19251 2010-05-07 Roland McGrath <roland@redhat.com>
19253 * elf/ldconfig.c (main): Add a const.
19255 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19257 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19258 (args_options): Add no-idn option.
19259 (ahosts_keys_int): Add idn_flags to ai_flags.
19260 (parse_option): Handle 'i' option to clear idn_flags.
19262 * malloc/malloc.c (_int_free): Possible race in the most recently
19263 added check. Only act on the data if no current modification
19266 See ChangeLog.17 for earlier changes.