1 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3 * libio/Makefile: Include ../Makeconfig before tests.
4 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5 only if $(build-shared) is yes.
7 * iconv/gconv_db.c: Update copyright years.
9 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12 unwind info if defined PIC. Fix special cases description.
13 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
21 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27 (LDLIBS-tst-chk4): This.
28 (LDFLAGS-tst-chk5): Renamed to ...
29 (LDLIBS-tst-chk5): This.
30 (LDFLAGS-tst-chk6): Renamed to ...
31 (LDLIBS-tst-chk6): This.
32 (LDFLAGS-tst-lfschk4): Renamed to ...
33 (LDLIBS-tst-lfschk4): This.
34 (LDFLAGS-tst-lfschk5): Renamed to ...
35 (LDLIBS-tst-lfschk5): This.
36 (LDFLAGS-tst-lfschk6): Renamed to ...
37 (LDLIBS-tst-lfschk6): This.
39 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
40 on $(common-objpfx)soversions.mk.
42 2012-09-07 Joseph Myers <joseph@codesourcery.com>
45 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
48 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
50 * malloc/arena.c (arena_get_retry): New function that gets
51 another arena for the caller to try its request on.
52 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
53 current arena cannot fulfill the request.
54 (__libc_memalign): Likewise.
55 (__libc_memalign): Likewise.
56 (__libc_pvalloc): Likewise.
57 (__libc_calloc): Likewise.
59 2012-09-05 John Tobey <john.tobey@gmail.com>
62 * manual/arith.texi (Operations on Complex): Fix description
65 2012-09-06 Joseph Myers <joseph@codesourcery.com>
68 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
72 * manual/memory.texi (Memory): Make order of menu items match
75 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
78 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
79 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
81 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
83 * csu/libc-tls.c (static_dtv): Renamed to ...
84 (_dl_static_dtv): This. Make it global.
85 (_dl_initial_dtv): Removed.
86 (__libc_setup_tls): Updated.
87 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
88 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
91 2012-09-06 Petr Machata <pmachata@redhat.com>
93 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
94 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
95 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
96 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
98 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
101 * csu/libc-tls.c (_dl_initial_dtv): New variable.
102 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
105 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
108 * Makeconfig (link-static-before-libc): Replace $(+prector)
110 (link-static-after-libc): Replace $(+postctor) with
112 (link-bounded): Replace $(+prector)/$(+postctor) with
113 $(+prectorT)/$(+postctorT).
114 (+prectorT): New macro.
115 (+postctorT): Likewise.
117 2012-09-06 Joseph Myers <joseph@codesourcery.com>
119 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
120 (round_str): Handle values above the maximum for IBM long double
122 * stdlib/tst-strtod-round.c (tests): Regenerated.
124 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
126 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
128 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
129 zarch_nohighgprs around the zarch optimized routines.
130 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
131 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
132 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
135 2012-09-05 David S. Miller <davem@davemloft.net>
137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
139 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
140 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
141 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
142 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
145 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
147 * malloc/arena.c: Fold copyright years.
148 * malloc/mcheck.c, malloc/memusage.c: Likewise.
150 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
152 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
154 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
156 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
158 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
160 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
161 change internal state upon failure.
163 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
165 * malloc/mcheck.c (mcheck_check_all): Fix typo.
166 * malloc/memusage.c (mmap): Likewise.
167 (mmap64, mremap): Likewise. Adjust name in comment.
169 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
171 * libio/fileops.c: Fix typos in comments.
172 * libio/oldfileops.c: Likewise.
173 * libio/wfileops.c: Likewise.
175 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
178 * malloc/Makefile (tests): Add tst-malloc-usable test case.
179 (tst-malloc-usable-ENV): Set environment for test case.
180 * malloc/hooks.c (malloc_check_get_size): New function to get
182 * malloc/malloc.c (musable): Use malloc_check_get_size.
183 * malloc/tst-malloc-usable.c: New test case.
185 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
187 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
189 2012-09-05 Allan McRae <allan@archlinux.org>
192 * configure.in (CXX_SYSINCLUDES): Use compiler output to
193 determine header location.
194 * configure: Regenerated.
196 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
198 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
200 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
201 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
205 2012-09-04 David S. Miller <davem@davemloft.net>
207 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
208 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
209 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
211 2012-09-04 Florian Weimer <fweimer@redhat.com>
213 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
216 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
218 2012-09-04 Joseph Myers <joseph@codesourcery.com>
221 * libio/iogetdelim.c: Include <limits.h>.
222 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
223 + len + 1 would overflow.
225 2012-09-03 Andreas Jaeger <aj@suse.de>
227 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
228 * sysdeps/i386/fpu/libm-test-ulps: Update.
230 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
232 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
233 Add s_sinf-sse2, s_conf-sse2.
235 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
236 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
237 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
238 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
240 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
241 for using routine as __sinf_ia32.
242 Use macro for function declaration and weak_alias.
243 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
244 for using routine as __cosf_ia32.
245 Use macro for function declaration and weak_alias.
247 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
248 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
250 * sysdeps/x86_64/fpu/s_sinf.S: New file.
251 * sysdeps/x86_64/fpu/s_cosf.S: New file.
252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
254 * math/libm-test.inc (cos_test): Add more test cases.
255 (sin_test): Likewise.
256 (sincos_test): Likewise.
258 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
260 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
261 (IFUNC_RESOLVE): Make pointers to the specialized implementations
263 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
265 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
268 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
269 first element of the GOT.
270 (elf_machine_load_address): Return the difference between
271 the runtime address of _DYNAMIC and elf_machine_dynamic ().
273 2012-09-01 Allan McRae <allan@archlinux.org>
276 * configure.in (AWK): Require gawk version 3.0 or later.
277 * configure: Regenerated.
279 2012-09-01 Joseph Myers <joseph@codesourcery.com>
281 * sysdeps/unix/sysv/linux/kernel-features.h
282 (__ASSUME_POSIX_CPU_TIMERS): Remove.
283 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
284 [__NR_clock_getres]: Make code unconditional.
285 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
286 (clock_getcpuclockid): Remove code left unreachable by removal of
288 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
290 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
291 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
292 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
293 Make code unconditional.
294 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
295 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
296 * sysdeps/unix/sysv/linux/clock_settime.c
297 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
299 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
300 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
302 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
305 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
306 scripts/test-installation.pl.
308 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
309 and $ld_so_version if it is set.
311 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
314 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
315 failure if reading from procfs failed.
316 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
318 2012-08-27 Joseph Myers <joseph@codesourcery.com>
320 * sysdeps/unix/sysv/linux/kernel-features.h
321 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
322 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
323 Remove conditional code.
324 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
325 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
326 Remove conditional code.
327 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
328 * sysdeps/unix/sysv/linux/i386/fxstat.c
329 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
330 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
331 * sysdeps/unix/sysv/linux/i386/fxstatat.c
332 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
333 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
334 * sysdeps/unix/sysv/linux/i386/lxstat.c
335 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
336 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
337 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
338 Remove conditional code.
339 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
340 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
341 Remove conditional code.
342 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
343 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
345 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
347 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
348 Remove conditional code.
349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
350 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
353 2012-08-27 Mike Frysinger <vapier@gentoo.org>
356 * NEWS: Add fixed bug number.
358 2012-08-27 Joseph Myers <joseph@codesourcery.com>
361 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
362 underflowing exponent in case of negative sign.
363 * stdlib/tst-strtod-round-data: Add more tests.
364 * stdlib/tst-strtod-round.c (tests): Regenerated.
367 * stdlib/strtod_l.c (NDIG): Remove.
369 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
370 smallest representable value.
371 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
372 lie within an exact representation of 1/2 ulp of the result.
373 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
375 (TENS_P9_IDX): Define unconditionally.
376 (TENS_P9_SIZE): Likewise.
377 (TENS_P10_IDX): Likewise.
378 (TENS_P10_SIZE): Likewise.
379 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
380 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
381 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
382 entries for 10^2^13 and 10^2^14.
383 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
384 (TENS_P13_IDX): Define.
385 (TENS_P13_SIZE): Likewise.
386 (TENS_P14_IDX): Likewise.
387 (TENS_P14_SIZE): Likewise.
388 (_fpioconst_pow10): Change array size to
389 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
391 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
392 1024]: Add entries for 10^2^13 and 10^2^14.
393 [LAST_POW10 > _LAST_POW10]: Remove #error.
394 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
395 (_fpioconst_pow10): Change array size to
396 FPIOCONST_POW10_ARRAY_SIZE.
397 * stdlib/gen-fpioconst.c: New file.
398 * stdlib/gen-tst-strtod-round.c: Likewise.
399 * stdlib/tst-strtod-round-data: Likewise.
400 * stdlib/tst-strtod-round.c: Likewise.
401 * stdlib/Makefile (tests): Add tst-strtod-round.
404 * stdlib/strtod_l.c: Include <stdint.h>.
405 (NDEBUG): Do not define.
406 (round_and_return): Change EXPONENT parameter to type intmax_t.
407 Rearrange calculations to avoid internal overflow possibilities.
408 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
409 Rearrange calculations to avoid internal overflow possibilities.
410 Assert that number fits inside MPNSIZE limbs.
411 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
412 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
413 calculations and add assertions to avoid internal overflow
414 possibilities. Add casts to avoid signed/unsigned operations.
415 * stdlib/tst-strtod-overflow.c: New file.
416 * stdlib/Makefile (tests): Add tst-strtod-overflow.
418 2012-08-25 Marek Polacek <polacek@redhat.com>
420 * time/time.h: Fix some typos in comments.
422 2012-08-23 Roland McGrath <roland@hack.frob.com>
424 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
425 * posix/tst-rfc3484-2.c: Likewise.
426 * posix/tst-rfc3484-3.c: Likewise.
428 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
430 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
431 (EF_ARM_ABI_FLOAT_HARD): Likewise.
433 2012-08-23 Joseph Myers <joseph@codesourcery.com>
435 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
436 #include of fxstatat64.c.
438 2012-08-22 Roland McGrath <roland@hack.frob.com>
440 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
441 * shadow/getspent_r.c: Likewise.
442 * shadow/getspnam.c: Likewise.
443 * shadow/getspnam_r.c: Likewise.
444 * gshadow/getsgent.c: Likewise.
445 * gshadow/getsgent_r.c: Likewise.
446 * gshadow/getsgnam.c: Likewise.
447 * gshadow/getsgnam_r.c: Likewise.
448 * inet/getnetbyad.c: Likewise.
449 * inet/getnetbyad_r.c: Likewise.
450 * inet/getnetbynm.c: Likewise.
451 * inet/getnetbynm_r.c: Likewise.
452 * inet/getnetent.c: Likewise.
453 * inet/getnetent_r.c: Likewise.
454 * inet/getproto.c: Likewise.
455 * inet/getproto_r.c: Likewise.
456 * inet/getprtent.c: Likewise.
457 * inet/getprtent_r.c: Likewise.
458 * inet/getprtname.c: Likewise.
459 * inet/getprtname_r.c: Likewise.
460 * inet/getrpcbyname.c: Likewise.
461 * inet/getrpcbyname_r.c: Likewise.
462 * inet/getrpcbynumber.c: Likewise.
463 * inet/getrpcbynumber_r.c: Likewise.
464 * inet/getrpcent.c: Likewise.
465 * inet/getrpcent_r.c: Likewise.
466 * inet/getaliasent.c: Likewise.
467 * inet/getaliasent_r.c: Likewise.
468 * inet/getaliasname.c: Likewise.
469 * inet/getaliasname_r.c: Likewise.
470 * nscd/getgrgid_r.c: Likewise.
471 * nscd/getgrnam_r.c: Likewise.
472 * nscd/gethstbyad_r.c: Likewise.
473 * nscd/gethstbynm3_r.c: Likewise.
474 * nscd/getpwnam_r.c: Likewise.
475 * nscd/getpwuid_r.c: Likewise.
476 * nscd/getsrvbynm_r.c: Likewise.
477 * nscd/getsrvbypt_r.c: Likewise.
478 * nscd/gai.c: Likewise.
480 * configure.in (build_nscd): New substituted variable, set
481 by --disable-build-nscd and defaults to $use_nscd.
482 * configure: Regenerated.
483 * config.make.in (build-nscd): New substituted variable.
484 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
485 Change conditional to require [$(build-nscd) = yes] as well.
486 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
489 * configure.in (use_nscd): New substituted variable, set by
490 --disable-nscd. If enabled, define USE_NSCD.
491 * configure: Regenerated.
492 * config.h.in: Add USE_NSCD.
493 * config.make.in (use-nscd): New substituted variable.
494 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
495 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
496 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
497 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
498 (CFLAGS-getgrnam_r.c): Likewise.
499 (CFLAGS-initgroups.c): Likewise.
500 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
501 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
503 * inet/getnetgrent_r.c
504 (nscd_setnetgrent): New function, broken out of ...
505 (setnetgrent): ... here. Call it.
506 (innetgr): Conditionalize nscd bits on [USE_NSCD].
507 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
508 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
509 * nscd/Makefile (routines, aux): Move definitions after include of
510 Makeconfig. Conditionalize on [$(use-nscd) != no].
511 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
512 Conditionalize on [USE_NSCD].
513 (is_nscd, nscd_init_cb): Likewise.
514 (nss_load_library): Conditionalize init callback on [USE_NSCD].
515 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
516 * nss/nss_db/db-init.c: Likewise.
517 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
519 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
520 (make_request): Use it.
521 (cache_valid_p): New function.
522 (__check_pf): Use it.
523 * NEWS: Add item for --disable-nscd.
525 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
527 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
528 to support sed >= 4.2.1-20-ga9bf076.
529 * configure: Regenerated.
531 2012-08-22 Roland McGrath <roland@hack.frob.com>
533 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
534 Conditionalize whole body on [IREL].
536 2012-08-22 Jeff Law <law@redhat.com>
539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
540 if the family is PF_UNSPEC.
542 2012-08-22 Mike Frysinger <vapier@gentoo.org>
544 * Makerules (lib-version): Rename from V.
545 (install-lib-nosubdir): Change V to lib-version.
547 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
550 * powerpc32/power6/wcschr.c: New file.
551 * powerpc32/power6/wcscpy.c: New file.
552 * powerpc32/power6/wcsrchr.c: New file.
553 * powerpc64/power6/wcschr.c: New file.
554 * powerpc64/power6/wcscpy.c: New file.
555 * powerpc64/power6/wcsrchr.c: New file.
557 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
559 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
560 (two_way_short_needle): Use it.
561 * string/strstr.c (AVAILABLE1_USES_J): Define.
562 * string/strcasestr.c: Likewise.
564 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
566 * string/strcasestr.c (TOLOWER): Make side-effect safe.
569 * NEWS: Add an entry.
570 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
571 define their defaults.
572 (two_way_short_needle): Detect end-of-string on-the-fly.
573 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
574 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
575 * string/bug-strcasestr1.c: New test.
576 * string/Makefile: Run it.
578 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
581 * string/str-two-way.h (two_way_short_needle): Optimize matching of
584 2012-08-21 Roland McGrath <roland@hack.frob.com>
586 * csu/elf-init.c (__libc_csu_irel): Function removed.
587 * csu/libc-start.c (apply_irel): New function.
588 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
590 2012-08-21 Joseph Myers <joseph@codesourcery.com>
592 * sysdeps/unix/sysv/linux/kernel-features.h
593 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
594 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
596 [__NR_fadvise64_64]: Make code unconditional.
597 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
598 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
599 !__NR_fadvise64_64)]: Likewise.
600 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
601 !__NR_fadvise64_64))]: Likewise.
602 [__NR_fadvise64]: Make code unconditional.
603 [!__NR_fadvise64]: Remove conditional code.
604 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
606 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
608 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
611 not include <kernel-features.h>.
612 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
614 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
616 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
617 include <kernel-features.h>.
618 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
620 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
623 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
625 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
626 slight instruction rearrangements per scrollpipe analysis.
627 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
629 2012-08-20 Roland McGrath <roland@hack.frob.com>
631 * manual/syslog.texi (syslog; vsyslog, closelog):
632 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
633 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
635 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
636 DSOCAPS to match condition on defining it.
638 2012-08-20 Joseph Myers <joseph@codesourcery.com>
640 * sysdeps/unix/sysv/linux/kernel-features.h
641 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
643 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
644 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
646 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
647 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
649 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
650 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
652 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
653 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
655 * sysdeps/unix/sysv/linux/kernel-features.h
656 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
657 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
659 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
660 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
661 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
662 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
663 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
664 Make code unconditional.
665 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
666 (__mmap64) [!__NR_mmap2]: Likewise.
667 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
668 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
669 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
670 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
671 [__NR_mmap2]: Make code unconditional.
672 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
673 (__mmap64) [!__NR_mmap2]: Likewise.
675 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
677 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
679 2012-08-18 Andreas Jaeger <aj@suse.de>
681 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
683 2012-08-18 Mike Frysinger <vapier@gentoo.org>
685 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
686 * include/unistd.h (__have_sock_cloexec): Likewise.
687 (__have_pipe2): Likewise.
688 (__have_dup3): Likewise.
690 2012-08-18 Mike Frysinger <vapier@gentoo.org>
693 * include/unistd.h (__have_pipe2): Change define into an extern int.
694 (__have_dup3): Likewise.
695 * socket/have_sock_cloexec.c: Include fcntl.h.
696 (__have_pipe2): New variable.
697 (__have_dup3): Likewise.
699 2012-08-17 Mike Frysinger <vapier@gentoo.org>
701 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
703 2012-08-17 Marek Polacek <polacek@redhat.com>
705 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
706 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
708 2012-08-17 Roland McGrath <roland@hack.frob.com>
710 * configure.in: Add AC_SUBST for sysheaders.
711 * configure: Regenerated.
712 * config.make.in (sysheaders): New substituted variable.
714 * sysdeps/unix/mkfifo.c: Moved ...
715 * sysdeps/posix/mkfifo.c: ... here.
716 * sysdeps/unix/mkfifoat.c: Moved ...
717 * sysdeps/posix/mkfifoat.c: ... here.
719 * sysdeps/unix/utime.c: Moved ...
720 * sysdeps/posix/utime.c: ... here.
722 * sysdeps/unix/time.c: Moved ...
723 * sysdeps/posix/time.c: ... here.
724 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
725 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
727 * sysdeps/unix/nice.c: Moved ...
728 * sysdeps/posix/nice.c: ... here.
730 * sysdeps/unix/alarm.c: Moved ...
731 * sysdeps/posix/alarm.c: ... here.
733 * intl/Makefile ($(codeset_mo)): Depend on the input file.
735 2012-08-17 Jeff Law <law@redhat.com>
737 * intl/Makefile (codeset_mo): New variable.
738 ($(codeset_mo)): New target.
739 (tst-codeset.out): Depend on that. Remove explicit rule.
740 (tst-gettext3.out, tst-gettext5.out): Likewise.
741 (LOCPATH-ENV, tst-codeset-ENV): New variables.
742 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
743 * intl/tst-codeset.sh: Remove.
744 * intl/tst-gettext3.sh: Likewise.
745 * intl/tst-gettext5.sh: Likewise.
747 2012-08-17 Roland McGrath <roland@hack.frob.com>
749 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
750 * sysdeps/unix/syscalls.list: ... here.
752 * sysdeps/posix/getaddrinfo.c
753 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
754 (gaiconf_init, gaiconf_reload): Use them.
756 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
757 Define using time_t rather than struct timespec.
759 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
760 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
762 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
764 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
765 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
768 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
769 __libc_cleanup_push argument.
771 * bits/param.h: New file.
772 * misc/sys/param.h: New file.
773 * include/sys/param.h: New file.
774 * misc/Makefile (headers): Add bits/param.h.
775 * sysdeps/generic/sys/param.h: File removed.
776 * sysdeps/unix/sysv/linux/bits/param.h: New file.
777 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
778 * sysdeps/mach/hurd/bits/param.h: New file.
779 * sysdeps/mach/hurd/sys/param.h: New file.
781 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
784 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
786 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
787 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
790 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
791 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
792 rather than -D_IO_MTSAFE_IO conditionally.
793 * stdio-common/Makefile (CPPFLAGS): Likewise.
794 * wcsmbs/Makefile (CPPFLAGS): Likewise.
795 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
797 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
799 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
800 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
801 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
802 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
803 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
804 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
805 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
806 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
807 (CFLAGS-fread_u_chk.c): Likewise.
808 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
809 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
810 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
811 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
812 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
813 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
814 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
815 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
816 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
818 * libio/Makefile: Test [$(libc-reentrant) = yes]
819 instead of [$(filter %REENTRANT, $(defines)) nonempty].
822 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
823 * sysdeps/pthread/configure: File removed.
824 * sysdeps/pthread/Makeconfig: New file.
825 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
826 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
828 2012-08-16 Gary Benson <gbenson@redhat.com>
830 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
831 unmapping the first object in a namespace.
833 2012-08-16 Roland McGrath <roland@hack.frob.com>
835 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
836 (__internal_setnetgrent): ... this. Add internal_function to
837 definition. Add libc_hidden_def.
838 (setnetgrent): Update caller.
839 (internal_endnetgrent): Renamed to ...
840 (__internal_endnetgrent): ... this. Add internal_function to
841 definition. Add libc_hidden_def.
842 (endnetgrent): Update caller.
843 (internal_getnetgrent_r): Renamed to ...
844 (__internal_getnetgrent_r): ... this. Add internal_function to
845 definition. Add libc_hidden_def.
846 (__getnetgrent_r): Update caller.
847 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
849 2012-08-16 Joseph Myers <joseph@codesourcery.com>
851 * stdlib/longlong.h: Update from GCC.
853 2012-08-16 Roland McGrath <roland@hack.frob.com>
855 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
856 on _QL, which is set by umul_ppmm but never used.
857 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
858 variables, which are set by GMP macros but never used.
859 * stdio-common/_itowa.c (_itowa): Likewise.
860 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
861 * stdlib/mod_1.c (mpn_mod_1): Likewise.
863 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
865 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
866 struct La_sh_regs is not constant.
867 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
868 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
869 and struct La_sparc64_regs are not constant.
871 2012-08-16 Joseph Myers <joseph@codesourcery.com>
873 * sysdeps/unix/sysv/linux/kernel-features.h
874 (__ASSUME_POSIX_TIMERS): Remove.
875 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
876 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
877 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
878 Make code unconditional.
879 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
880 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
881 Make code unconditional.
882 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
883 * sysdeps/unix/sysv/linux/clock_nanosleep.c
884 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
885 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
886 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
887 Make code unconditional.
888 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
889 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
890 (__libc_missing_posix_timers): Remove.
892 2012-08-15 Roland McGrath <roland@hack.frob.com>
894 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
895 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
897 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
899 * elf/dl-sym.c: Include <stdlib.h>.
901 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
902 constants, which avoids warnings in 32-bit builds.
904 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
905 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
907 * misc/lseek.c: File moved to ...
908 * io/lseek.c: ... here.
910 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
912 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
913 shifting LEN more than 31 bits at once.
915 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
918 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
919 segmentation fault for a case of two empty input strings.
920 * string/test-strncasecmp.c (check1): Renamed to...
922 (bz14195): Add new testcase for two empty input strings and N > 0.
923 (test_main): Call new testcase, adapt for renamed function.
925 2012-08-15 Andreas Jaeger <aj@suse.de>
928 * crypt/md5test2.c: New test, based on test supplied by Serge
929 Belyshev <belyshev@depni.sinp.msu.ru>.
930 * crypt/Makefile (xtests): Add md5test-giant..
931 * crypt/Makefile ($(objpfx)md5test-giant): Add.
933 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
936 * crypt/md5.c (md5_process_block): Don't assume the buffer
937 length is less than 2**32.
938 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
939 length is less than 2**64.
941 2012-08-15 Roland McGrath <roland@hack.frob.com>
943 * string/str-two-way.h: Include <sys/param.h>.
944 (MAX): Macro removed.
946 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
947 Move #define and #undef of memmove to just before and after
948 including <string.h>.
950 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
951 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
952 and after including <string.h>. Move declarations of
953 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
954 to before #include "string/memmove.c".
956 * include/dirent.h: Declare __getdirentries.
958 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
959 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
961 2012-08-14 Mike Frysinger <vapier@gentoo.org>
963 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
964 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
965 * sysdeps/i386/configure: Regenerated.
966 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
967 STABS_CURRENT_FILE, and STABS_FUN.
968 (END): Remove call to STABS_FUN_END.
969 (STABS_CURRENT_FILE1): Delete.
970 (STABS_CURRENT_FILE): Likewise.
971 (STABS_FUN): Likewise.
972 (STABS_FUN_END): Likewise.
973 (STABS_FUN2): Likewise.
974 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
975 * sysdeps/x86_64/configure: Regenerated.
977 2012-08-14 Roland McGrath <roland@hack.frob.com>
979 * elf/dl-open.c: Include <atomic.h>.
980 * elf/dl-lookup.c: Likewise.
982 2012-08-14 Joseph Myers <joseph@codesourcery.com>
984 * sysdeps/unix/sysv/linux/kernel-features.h
985 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
986 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
988 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
990 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
991 condition on __ASSUME_CLONE_THREAD_FLAGS.
993 2012-08-14 Andreas Jaeger <aj@suse.de>
995 * sysdeps/i386/fpu/libm-test-ulps: Update.
997 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
999 * include/atomic.h (atomic_exchange_and_add): Split into ...
1000 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1003 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1007 2012-08-13 Jeff Law <law@redhat.com>
1009 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1010 null byte in the output string.
1012 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1014 * sysdeps/unix/sysv/linux/kernel-features.h
1015 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1016 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1017 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1018 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1019 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1020 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1021 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1023 2012-08-09 Jeff Law <law@redhat.com>
1026 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1027 When avoid_arena is set, don't retry in the that arena. Pick the
1028 next one, whatever it might be.
1029 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1030 (arena_lock): Pass in new parameter to arena_get2.
1031 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1033 (__libc_malloc): Unify retrying after main arena failure with
1034 __libc_memalign version.
1035 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1037 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1040 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1041 to __redirect_strstr.
1042 (__strstr_sse42): Use typeof __redirect_strstr.
1043 (__strstr_ia32): Likewise.
1044 (__libc_strstr): New prototype.
1045 (strstr): Renamed to ...
1046 (__libc_strstr): This.
1047 (strstr): New strong alias of __libc_strstr.
1048 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1049 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1052 (__libc_time): New prototype.
1053 (time_ifunc): Replace time with __libc_time.
1054 (time): New strong alias and hidden definition of __libc_time.
1055 (__GI_time): Remove strong alias.
1056 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1058 (memmove): Redefined to __redirect_memmove.
1059 (__memmove_sse2): Use typeof __redirect_memmove.
1060 (__memmove_ssse3): Likewise.
1061 (__memmove_ssse3_back): Likewise.
1062 (__libc_memmove): New prototype.
1063 (memmove): Renamed to ...
1064 (__libc_memmove): This.
1065 (memmove): New strong alias of __libc_memmove.
1067 2012-08-08 Mark Salter <msalter@redhat.com>
1070 (R_MN10300_TLS_GD): Define.
1071 (R_MN10300_TLS_LD): Likewise.
1072 (R_MN10300_TLS_LDO): Likewise.
1073 (R_MN10300_TLS_GOTIE): Likewise.
1074 (R_MN10300_TLS_IE): Likewise.
1075 (R_MN10300_TLS_LE): Likewise.
1076 (R_MN10300_TLS_DTPMOD): Likewise.
1077 (R_MN10300_TLS_DTPOFF): Likewise.
1078 (R_MN10300_TLS_TPOFF): Likewise.
1079 (R_MN10300_SYM_DIFF): Likewise.
1080 (R_MN10300_ALIGN): Likewise.
1081 (R_MN10300_NUM): Update.
1083 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1085 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1088 2012-08-08 Roland McGrath <roland@hack.frob.com>
1090 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1092 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1093 sysdeps/unix -> sysdeps/posix move.
1094 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1096 2012-08-07 Allan McRae <allan@archlinux.org>
1099 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1100 (SUNOS_CPP): Likewise.
1101 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1103 (open_input): Call CPP using execvp.
1105 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1107 * sysdeps/unix/sysv/linux/kernel-features.h
1108 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1109 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1110 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1111 (__ASSUME_WAITID_SYSCALL): Likewise.
1112 * sysdeps/unix/sysv/linux/dl-execstack.c
1113 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1115 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1117 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1118 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1119 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1121 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1123 [__ASSUME_WAITID_SYSCALL]: Likewise.
1124 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1126 2012-08-07 Roland McGrath <roland@hack.frob.com>
1128 * sysdeps/unix/closedir.c: Renamed to ...
1129 * sysdeps/posix/closedir.c: ... here.
1130 * sysdeps/unix/dirfd.c: Renamed to ...
1131 * sysdeps/posix/dirfd.c: ... here.
1132 * sysdeps/unix/dirstream.h: Renamed to ...
1133 * sysdeps/posix/dirstream.h: ... here.
1134 * sysdeps/unix/fdopendir.c: Renamed to ...
1135 * sysdeps/posix/fdopendir.c: ... here.
1136 * sysdeps/unix/opendir.c: Renamed to ...
1137 * sysdeps/posix/opendir.c: ... here.
1138 * sysdeps/unix/readdir.c: Renamed to ...
1139 * sysdeps/posix/readdir.c: ... here.
1140 * sysdeps/unix/readdir_r.c: Renamed to ...
1141 * sysdeps/posix/readdir_r.c: ... here.
1142 * sysdeps/unix/rewinddir.c: Renamed to ...
1143 * sysdeps/posix/rewinddir.c: ... here.
1144 * sysdeps/unix/seekdir.c: Renamed to ...
1145 * sysdeps/posix/seekdir.c: ... here.
1146 * sysdeps/unix/telldir.c: Renamed to ...
1147 * sysdeps/posix/telldir.c: ... here.
1148 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1149 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1150 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1151 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1153 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1154 * bits/fcntl.h: ... here.
1156 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1158 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1159 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1160 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1161 (struct flock): Move l_start, l_len to the beginning.
1162 Use __pid_t for l_pid.
1163 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1164 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1165 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1166 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1167 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1168 [__USE_LARGEFILE64] (struct flock64): New type.
1169 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1171 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1172 * bits/dirent.h: ... here.
1174 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1175 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1177 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1179 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1180 Change from 2.6.0 to 2.6.16.
1181 * sysdeps/unix/sysv/linux/configure: Regenerated.
1182 * sysdeps/unix/sysv/linux/kernel-features.h
1183 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1184 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1186 (__ASSUME_UTIMES): Likewise.
1187 (__ASSUME_CLONE_STOPPED): Remove.
1188 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1189 architectures, not kernel version.
1190 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1191 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1192 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1193 (__ASSUME_WAITID_SYSCALL): Likewise.
1194 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1195 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1196 * README: State 2.6.16 as minimum Linux kernel version. Do not
1197 refer to older versions.
1199 2012-08-06 Roland McGrath <roland@hack.frob.com>
1201 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1202 Define alphasort64 as an alias.
1203 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1204 Define versionsort64 as an alias.
1205 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1206 Define scandir64 as an alias.
1207 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1208 Define scandirat64 as an alias.
1209 * dirent/alphasort64.c (alphasort64):
1210 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1211 * dirent/versionsort64.c: Likewise.
1212 * dirent/scandir64.c: Likewise.
1213 * dirent/scandirat64.c: Likewise.
1214 * sysdeps/wordsize-64/alphasort.c: File removed.
1215 * sysdeps/wordsize-64/alphasort64.c: File removed.
1216 * sysdeps/wordsize-64/scandir.c: File removed.
1217 * sysdeps/wordsize-64/scandir64.c: File removed.
1218 * sysdeps/wordsize-64/scandirat.c: File removed.
1219 * sysdeps/wordsize-64/scandirat64.c: File removed.
1220 * sysdeps/wordsize-64/versionsort.c: File removed.
1221 * sysdeps/wordsize-64/versionsort64.c: File removed.
1222 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1223 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1224 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1225 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1226 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1227 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1228 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1229 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1231 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1232 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1233 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1234 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1235 [defined __arch64__ || defined __sparcv9]
1236 (__INO_T_MATCHES_INO64_T): New macro.
1237 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1238 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1239 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1240 * sysdeps/unix/sysv/linux/bits/dirent.h
1241 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1242 (_DIRENT_MATCHES_DIRENT64): New macro.
1244 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1245 Define lockf64 as an alias.
1246 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1247 Define fseeko64 as an alias.
1248 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1249 Define ftello64 as an alias.
1250 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1251 Define _IO_fgetpos64 and fgetpos64 as aliases.
1252 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1253 Define _IO_fsetpos64 and fsetpos64 as aliases.
1254 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1255 Conditionalize body on this.
1256 * libio/fseeko64.c: Likewise.
1257 * libio/ftello64.c: Likewise.
1258 * libio/iofgetpos64.c: Likewise.
1259 * libio/iofsetpos64.c: Likewise.
1260 * sysdeps/wordsize-64/lockf.c: File removed.
1261 * sysdeps/wordsize-64/lockf64.c: File removed.
1262 * sysdeps/wordsize-64/fseeko.c: File removed.
1263 * sysdeps/wordsize-64/fseeko64.c: File removed.
1264 * sysdeps/wordsize-64/ftello.c: File removed.
1265 * sysdeps/wordsize-64/ftello64.c: File removed.
1266 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1267 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1268 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1269 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1270 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1271 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1272 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1273 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1274 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1275 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1276 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1277 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1278 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1279 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1281 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1282 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1283 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1284 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1285 [defined __arch64__ || defined __sparcv9]
1286 (__OFF_T_MATCHES_OFF64_T): New macro.
1287 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1288 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1289 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1290 (__OFF_T_MATCHES_OFF64_T): New macro.
1292 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1294 * stdlib/secure-getenv.c (__secure_getenv): Replace
1295 GLIBC_2_16 with GLIBC_2_17.
1297 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1299 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1300 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1302 2012-08-03 David S. Miller <davem@davemloft.net>
1304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1306 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1308 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1310 (__ASSUME_CORRECT_SI_PID): Likewise.
1311 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1312 (__ASSUME_TMPFS_NAME): Likewise.
1313 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1314 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1315 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1316 (HAVE_AUX_SECURE): Make definition unconditional.
1317 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1318 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1320 2012-08-03 Roland McGrath <roland@hack.frob.com>
1322 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1323 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1324 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1325 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1326 __eloop_threshold instead of SYMLOOP_MAX.
1328 * sysdeps/generic/eloop-threshold.h: New file.
1329 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1331 * elf/chroot_canon.c (chroot_canon): Likewise.
1333 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1336 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1337 Change to 2.6.0 everywhere.
1338 * sysdeps/unix/sysv/linux/configure: Regenerated.
1339 * sysdeps/unix/sysv/linux/kernel-features.h
1340 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1341 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1343 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1344 (__ASSUME_FUTEX_REQUEUE): Remove.
1345 (__ASSUME_STATFS64): Define unconditionally.
1346 (__ASSUME_AT_SECURE): Likewise.
1347 (__ASSUME_CORRECT_SI_PID): Likewise.
1348 (__ASSUME_TGKILL): Define without depending on kernel version for
1350 (__ASSUME_UTIMES): Likewise.
1351 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1353 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1354 (__ASSUME_TMPFS_NAME): Likewise.
1355 * README: Update reference to Linux kernel versions.
1357 2012-08-02 Marek Polacek <polacek@redhat.com>
1360 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1361 libc_cv_asm_type_prefix with %.
1362 * configure: Regenerated.
1363 * include/libc-symbols.h: Remove comment about
1364 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1365 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1366 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1367 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1368 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1369 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1370 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1371 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1372 * elf/tst-unique2mod1.c: Likewise.
1373 * elf/tst-unique1mod2.c: Likewise.
1374 * elf/tst-unique1mod1.c: Likewise.
1375 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1376 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1377 Replace ASM_TYPE_DIRECTIVE with .type.
1378 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1379 * sysdeps/i386/sysdep.h: Likewise.
1380 * sysdeps/x86_64/sysdep.h: Likewise.
1381 * sysdeps/sh/sysdep.h: Likewise.
1382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1383 Do not define ASM_TYPE_DIRECTIVE.
1384 * sysdeps/powerpc/sysdep.h: Likewise.
1385 * sysdeps/powerpc/powerpc32/sysdep.h:
1386 Replace ASM_TYPE_DIRECTIVE with .type.
1387 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1388 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1389 * sysdeps/i386/fpu/e_powf.S: Likewise.
1390 * sysdeps/i386/fpu/e_expl.S: Likewise.
1391 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1392 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1393 * sysdeps/i386/fpu/e_pow.S: Likewise.
1394 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1395 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1396 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1397 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1398 * sysdeps/i386/fpu/e_log2.S: Likewise.
1399 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1400 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1401 * sysdeps/i386/fpu/e_powl.S: Likewise.
1402 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1403 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1404 * sysdeps/i386/fpu/e_logl.S: Likewise.
1405 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1406 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1407 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1408 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1409 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1410 * sysdeps/i386/fpu/e_log.S: Likewise.
1411 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1412 * sysdeps/i386/fpu/e_logf.S: Likewise.
1413 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1414 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1415 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1416 * sysdeps/i386/fpu/e_log10.S: Likewise.
1417 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1418 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1419 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1420 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1421 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1422 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1423 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1424 * sysdeps/i386/i686/strtok.S: Likewise.
1425 * sysdeps/i386/i386-mcount.S: Likewise.
1426 * sysdeps/i386/strtok.S: Likewise.
1427 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1428 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1429 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1430 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1431 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1432 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1433 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1434 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1435 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1436 * sysdeps/x86_64/_mcount.S: Likewise.
1437 * sysdeps/x86_64/strtok.S: Likewise.
1438 * sysdeps/sh/_mcount.S: Likewise.
1440 2012-08-01 Roland McGrath <roland@hack.frob.com>
1442 * libio/iofopen.c: Include <fcntl.h>.
1443 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1444 (_IO_fopen64, fopen64): Define as aliases.
1445 * libio/iofopen64.c: Include <fcntl.h>.
1446 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1447 Conditionalize body on this.
1448 * sysdeps/wordsize-64/iofopen.c: File removed.
1449 * sysdeps/wordsize-64/iofopen64.c: File removed.
1451 2012-08-01 Marek Polacek <polacek@redhat.com>
1453 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1454 Use dlfcn directly instead of a variable.
1455 (binfmt-subdir): Do not define.
1458 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1460 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1461 Remove all definitions.
1462 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1463 <kernel-features.h>.
1464 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1465 (miss_F_GETOWN_EX): Remove all definitions.
1466 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1468 [!__ASSUME_FCNTL64]: Remove conditional code.
1469 [__ASSUME_FCNTL64]: Make code unconditional.
1470 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1471 <kernel-features.h>.
1472 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1473 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1474 (lockf64) [__NR_fcntl64]: Make code unconditional.
1475 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1477 * sysdeps/unix/sysv/linux/kernel-features.h
1478 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1479 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1480 Make code unconditional.
1481 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1482 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1484 [__NR_vfork]: Make code unconditional.
1485 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1486 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1488 [__NR_vfork]: Make code unconditional.
1489 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1490 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1492 2012-08-01 Roland McGrath <roland@hack.frob.com>
1494 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1495 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1497 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1498 Define mkstemp64 as an alias.
1499 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1500 Define mkstemps64 as an alias.
1501 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1502 Define mkostemp64 as an alias.
1503 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1504 Define mkostemps64 as an alias.
1505 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1506 Conditionalize body on this.
1507 * misc/mkostemp64.c: Likewise.
1508 * misc/mkostemps64.c: Likewise.
1509 * misc/mkstemps64.c: Likewise.
1510 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1511 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1512 * sysdeps/wordsize-64/mkostemp.c: File removed.
1513 * sysdeps/wordsize-64/mkstemp.c: File removed.
1514 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1515 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1516 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1517 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1520 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1521 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1522 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1523 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1525 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1526 compat_symbol macros from <shlib-compat.h> rather than the underlying
1527 default_symbol_version and symbol_version macros, so that DEFAULT
1528 lines in shlib-versions are respected.
1529 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1531 2012-08-01 Florian Weimer <fweimer@redhat.com>
1533 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1534 Declare with warn_unused_result.
1535 (setgid, setregid, setegid, setresgid): Likewise.
1536 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1538 * WUR-REPORT: Remove set*id functions.
1540 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1542 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1544 2012-07-31 Roland McGrath <roland@hack.frob.com>
1546 * include/sys/socket.h (__libc_accept, __libc_accept4):
1547 Add attribute_hidden.
1548 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1550 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1552 * inet/getnetgrent_r.c (setup): Likewise.
1554 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1556 2012-07-31 David S. Miller <davem@davemloft.net>
1558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1560 2012-07-31 Joseph Myers <joseph@codesourcery.com>
1563 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1564 value between 1.0 and 2.0 and smaller part has absolute value less
1566 * math/s_clog10.c (__clog10): Likewise.
1567 * math/s_clog10f.c (__clog10f): Likewise.
1568 * math/s_clog10l.c (__clog10l): Likewise.
1569 * math/s_clogf.c (__clogf): Likewise.
1570 * math/s_clogl.c (__clogl): Likewise.
1571 * math/libm-test.inc (clog_test): Add more tests.
1572 (clog10_test): Likewise.
1573 * sysdeps/i386/fpu/libm-test-ulps: Update.
1574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1576 2012-07-31 Florian Weimer <fweimer@redhat.com>
1578 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1579 Exit with zero in case no suitable GID is found, and write a
1580 message to standard error.
1582 2012-07-30 Roland McGrath <roland@hack.frob.com>
1584 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1586 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1587 (MAXPATHLEN): Removed.
1588 (NOGROUP, NODEV): New macros.
1589 (setbit, clrbit, isset, isclr): New macros.
1590 (howmany, roundup, powerof2): New macros.
1591 (DEV_BSIZE): New macro.
1593 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1594 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1596 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1597 definition on [!__NO_LONG_DOUBLE_MATH].
1599 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1600 PTR_MANGLE and PTR_DEMANGLE.
1602 * socket/accept4.c (accept4): Rename to __libc_accept4.
1603 Define accept4 as a weak alias.
1605 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1606 on [_DIRENT_HAVE_D_TYPE].
1607 * io/ftw.c (ftw_dir): Likewise.
1609 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1611 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1613 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1614 Use the BSD numbers rather than the arbitrary ones we had.
1615 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1616 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1617 (SIGXCPU, SIGXFSZ): New macros.
1620 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1621 initializer on [_LIBC_REENTRANT].
1623 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1624 definitions inside [_POSIX_MAPPED_FILES].
1626 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1628 * dirent/opendir.c: Include <fcntl.h>.
1630 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1631 (__libc_getspecific): Likewise.
1632 (__libc_key_create): Likewise.
1634 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1635 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1636 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1637 (tmpfile64): Define as alias.
1638 * sysdeps/wordsize-64/tmpfile.c: File removed.
1639 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1640 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1641 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1643 * stdio-common/vfscanf.c: Include <stdbool.h>.
1644 * nss/makedb.c: Likewise.
1645 * stdio-common/_i18n_number.h: Likewise.
1646 * argp/argp-help.c: Likewise.
1647 * posix/wordexp.c: Likewise.
1648 * sysdeps/posix/spawni.c: Likewise.
1649 * nss/nss_files/files-initgroups.c: Likewise.
1650 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1651 * nss/nss_files/files-initgroups.c: Likewise.
1652 * nss/nss_db/db-netgrp.c: Likewise.
1653 * nss/nss_db/db-initgroups.c: Likewise.
1654 * io/fchmodat.c: Include <sys/stat.h>.
1656 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1657 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1659 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1662 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1663 Add multiple inclusion protection.
1665 2012-07-27 David S. Miller <davem@davemloft.net>
1667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1669 2012-07-27 Gary Benson <gbenson@redhat.com>
1672 * elf/rtld.c: Include <stap-probe.h>.
1673 (dl_main): Added static probes "init_start" and "init_complete".
1674 * elf/dl-load.c: Include <stap-probe.h>.
1675 (lose): Take new parameter "nsid".
1676 Added static probe "map_failed".
1677 (_dl_map_object_from_fd): Pass namespace id to lose.
1678 Added static probe "map_start".
1679 (open_verify): Pass namespace id to lose.
1680 * elf/dl-open.c: Include <stap-probe.h>.
1681 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1682 and "reloc_complete".
1683 * elf/dl-close.c: Include <stap-probe.h>.
1684 (_dl_close_worker): Added static probes "unmap_start" and
1686 * elf/rtld-debugger-interface.txt: New file documenting the above.
1688 2012-07-26 Roland McGrath <roland@hack.frob.com>
1690 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1691 rather than a string variable.
1692 * sunrpc/rpc_main.c (h_output): Likewise.
1693 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1695 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1697 * inet/check_native.c: New file.
1699 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1702 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1703 if larger part has absolute value 1.0.
1704 * math/s_clog10.c (__clog10): Likewise.
1705 * math/s_clog10f.c (__clog10f): Likewise.
1706 * math/s_clog10l.c (__clog10l): Likewise.
1707 * math/s_clogf.c (__clogf): Likewise.
1708 * math/s_clogl.c (__clogl): Likewise.
1709 * math/libm-test.inc (clog_test): Add more tests.
1710 (clog10_test): Likewise.
1711 * sysdeps/i386/fpu/libm-test-ulps: Update.
1712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1714 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1715 (pltexit): Likewise.
1716 (La_regs): Likewise.
1717 (La_retval): Likewise.
1718 (int_retval): Likewise.
1719 Update #error for removed macros to refer only to definitions in
1721 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1723 (pltexit): Likewise.
1724 (La_regs): Likewise.
1725 (La_retval): Likewise.
1726 (int_retval): Likewise.
1727 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1729 (pltexit): Likewise.
1730 (La_regs): Likewise.
1731 (La_retval): Likewise.
1732 (int_retval): Likewise.
1733 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1735 (pltexit): Likewise.
1736 (La_regs): Likewise.
1737 (La_retval): Likewise.
1738 (int_retval): Likewise.
1739 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1741 (pltexit): Likewise.
1742 (La_regs): Likewise.
1743 (La_retval): Likewise.
1744 (int_retval): Likewise.
1745 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1747 (pltexit): Likewise.
1748 (La_regs): Likewise.
1749 (La_retval): Likewise.
1750 (int_retval): Likewise.
1751 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1753 (pltexit): Likewise.
1754 (La_regs): Likewise.
1755 (La_retval): Likewise.
1756 (int_retval): Likewise.
1757 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1758 macro definitions in tst-audit.h.
1759 * sysdeps/i386/tst-audit.h: New file.
1760 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1761 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1762 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1763 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1764 * sysdeps/sh/tst-audit.h: Likewise.
1765 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1766 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1767 * sysdeps/x86_64/tst-audit.h: Likewise.
1769 2012-07-26 Andreas Jaeger <aj@suse.de>
1771 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1774 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1775 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1776 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1778 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1779 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1780 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1782 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1785 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1787 (si_call_addr, si_syscall, si_arch): Define new macro.
1788 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1790 (si_call_addr, si_syscall, si_arch): Define new marcro.
1791 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1793 (si_call_addr, si_syscall, si_arch): Define new macro.
1794 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1796 (si_call_addr, si_syscall, si_arch): Define new macro.
1798 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1801 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1802 Change to 2.4.21 where previously 2.4.1.
1803 * sysdeps/unix/sysv/linux/configure: Regenerated.
1804 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1805 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1806 Linux kernel version.
1807 (__ASSUME_STD_AUXV): Remove.
1808 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1810 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1811 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1812 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1813 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1814 (__ASSUME_NETLINK_SUPPORT): Likewise.
1815 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1816 (__no_netlink_support): Remove conditional definition.
1817 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1819 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1820 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1821 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1822 (if_nameindex_ioctl): Remove.
1823 (if_nameindex_netlink): Do not handle __no_netlink_support.
1824 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1826 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1827 Remove conditional code.
1828 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1830 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1832 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1833 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1834 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1836 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1837 [!__ASSUME_STD_AUXV]: Remove conditional code.
1838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1839 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1840 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1842 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1843 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1845 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1847 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1848 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1850 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1852 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1855 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1858 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1860 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1862 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1864 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1867 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1869 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1872 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1874 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1876 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1878 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1881 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1883 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1885 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1887 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1890 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1892 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1893 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1894 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1895 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1896 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1897 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1898 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1899 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1900 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1901 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1902 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1903 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1904 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1905 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1906 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1907 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1908 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1909 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1910 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1911 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1912 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1913 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1914 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1916 2012-07-25 Florian Weimer <fweimer@redhat.com>
1918 * Versions.def: Add GLIBC_2.17.
1919 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1920 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1921 Introduce __libc_secure_getenv.
1922 * stdlib/Versions (2.17): Add secure_getenv
1923 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1924 * stdlib/secure-getenv.c: Rename __secure_getenv to
1925 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1926 symbol __secure_getenv for GLIBC_2.0.
1927 * stdlib/tst-secure-getenv.c: New.
1928 * stdlib/Makefile (tests): Add testcase.
1929 * manual/startup.texi (Environment Access): Document
1931 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1932 __libc_secure_getenv.
1933 * inet/ruserpass.c (ruserpass): Likewise.
1934 * malloc/mtrace.c (mtrace): Likewise.
1935 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1936 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1937 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1938 * sysdeps/posix/tempname.c: Likewise. Evaluate
1940 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1941 __secure_getenv to __libc_secure_getenv.
1942 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1949 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1955 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1957 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1958 (struct La_i86_retval): Likewise.
1959 (struct La_x86_64_regs): Likewise.
1960 (struct La_x86_64_retval): Likewise.
1961 (struct La_x32_regs): Likewise.
1962 (struct La_x32_retval): Likewise.
1963 (struct La_ppc32_regs): Likewise.
1964 (struct La_ppc32_retval): Likewise.
1965 (struct La_ppc64_regs): Likewise.
1966 (struct La_ppc64_retval): Likewise.
1967 (struct La_sh_regs): Likewise.
1968 (struct La_sh_retval): Likewise.
1969 (struct La_s390_32_regs): Likewise.
1970 (struct La_s390_32_retval): Likewise.
1971 (struct La_s390_64_regs): Likewise.
1972 (struct La_s390_64_retval): Likewise.
1973 (struct La_sparc32_regs): Likewise.
1974 (struct La_sparc32_retval): Likewise.
1975 (struct La_sparc64_regs): Likewise.
1976 (struct La_sparc64_retval): Likewise.
1977 (struct audit_ifaces): Remove architecture-specific pltenter and
1979 * sysdeps/i386/ldsodefs.h: New file.
1980 * sysdeps/powerpc/ldsodefs.h: Likewise.
1981 * sysdeps/s390/ldsodefs.h: Likewise.
1982 * sysdeps/sh/ldsodefs.h: Likewise.
1983 * sysdeps/sparc/ldsodefs.h: Likewise.
1984 * sysdeps/x86_64/ldsodefs.h: Likewise.
1986 2012-07-25 Marek Polacek <polacek@redhat.com>
1989 * math/libm-test.inc (yn_test): Add another test.
1990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1991 to ERANGE when the result is +-Inf.
1992 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1993 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1994 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1995 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1997 2012-07-24 Joseph Myers <joseph@codesourcery.com>
1999 * conform/data/time.h-data (NULL): Use macro-constant. Require
2001 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2003 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2005 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2007 * configure.in <sysdeps resolving>: Correct printing
2009 * configure: Regenerate.
2011 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2013 * math/w_ilogb.c: Include <limits.h>.
2014 * math/w_ilogbl.c: Likewise.
2016 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2018 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2019 va_copy. Document allowing for unavailable va_copy only as
2020 pre-C99 compatibility.
2021 * manual/string.texi (Copying and Concatenation): Use va_copy
2022 instead of __va_copy in concat example.
2024 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2026 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2027 (__sendto): Use create_address_port. Initialize APORT and deallocate
2030 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2031 with O_NOLINK passed to __file_name_lookup.
2033 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2034 with O_NOLINK passed to __file_name_lookup.
2036 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2037 negative N or less than NGIDS.
2039 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2040 type to string_t. Set ERANGE as errno and return it if NAME is not big
2041 enough. Use memcpy instead of strncpy.
2043 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2045 * elf/Makefile (check-data): Remove.
2046 (localplt.data): New vpath directive.
2047 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2048 instead of $(check-data).
2049 * scripts/data/localplt-generic.data: Move to ...
2050 * sysdeps/generic/localplt.data: ... here.
2051 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2052 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2053 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2056 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2059 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2062 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2065 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2068 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2072 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2074 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2075 PPC32 and PPC64 files.
2076 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2077 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2079 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2081 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2082 __makecontext_ret to ...
2083 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2084 ... here and call exit if uc_link is NULL. New file.
2085 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2086 __makecontext_ret.S.
2087 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2088 __makecontext_ret to ...
2089 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2090 ... here and call exit if uc_link is NULL. New file.
2091 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2092 __makecontext_ret.S.
2094 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2096 * elf/elf.h (R_390_IRELATIVE): New definition.
2097 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2098 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2099 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2100 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2101 (elf_machine_lazy_rel): Likewise.
2102 * sysdeps/s390/dl-irel.h: New file.
2103 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2104 * sysdeps/s390/s390-64/memset.S: New asm code.
2105 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2106 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2107 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2108 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2109 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2110 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2111 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2112 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2113 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2114 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2115 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2116 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2117 * sysdeps/s390/s390-32/memset.S: New asm code.
2118 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2120 2012-07-17 Marek Polacek <polacek@redhat.com>
2123 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2124 * sysdeps/s390/s390-64/configure.in: Likewise.
2125 * sysdeps/sparc/configure.in: Likewise.
2126 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2127 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2128 * sysdeps/i386/configure.in: Likewise.
2129 * sysdeps/x86_64/configure.in: Likewise.
2130 * sysdeps/sh/configure.in: Likewise.
2131 * sysdeps/s390/s390-32/configure: Regenerated.
2132 * sysdeps/s390/s390-64/configure: Likewise.
2133 * sysdeps/x86_64/configure: Likewise.
2134 * sysdeps/sh/configure: Likewise.
2135 * sysdeps/powerpc/powerpc64/configure: Likewise.
2136 * sysdeps/powerpc/powerpc32/configure: Likewise.
2137 * sysdeps/sparc/configure: Likwise.
2138 * sysdeps/i386/configure: Likewise.
2140 * elf/dl-open.c: Comment fixes.
2142 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2144 * Makefile [CXX] (check-data): Remove.
2145 [CXX] (c++-types.data): New vpath directive.
2146 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2147 vpath. Do not allow for C++ type data being missing.
2148 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2149 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2150 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2151 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2152 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2153 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2154 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2157 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2160 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2163 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2166 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2169 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2172 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2175 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2178 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2179 definitions to architecture-specific files.
2183 * sysdeps/i386/tls-macros.h: New file.
2184 * sysdeps/powerpc/tls-macros.h: Likewise.
2185 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2186 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2187 * sysdeps/sh/tls-macros.h: Likewise.
2188 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2189 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2190 * sysdeps/x86_64/tls-macros.h: Likewise.
2192 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2194 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2195 zero value for regular exit case.
2197 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2198 (__start_context): Preserve zero value for regular exit case.
2200 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2201 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2203 * manual/setjmp.texi (setcontext): Clarify normal process
2204 termination when uc_link is the null pointer.
2205 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2208 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2210 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2211 preprocessor. Test for each exception mask separately.
2213 2012-07-16 Andreas Jaeger <aj@suse.de>
2215 * po/ru.po: Update from translation team.
2217 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2219 * conform/data/string.h-data (NULL): Use macro-constant. Require
2221 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2222 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2223 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2224 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2225 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2227 2012-07-13 Andreas Jaeger <aj@suse.de>
2229 * po/fr.po: Update from translation team.
2231 2012-07-12 Marek Polacek <polacek@redhat.com>
2234 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2235 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2238 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2241 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2242 Change to 2.4.1 where previously 2.4.0.
2243 * sysdeps/unix/sysv/linux/configure: Regenerated.
2244 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2245 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2247 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2248 (__ASSUME_AT_CLKTCK): Remove.
2249 (__ASSUME_AT_PAGESIZE): Likewise.
2250 (__ASSUME_AT_XID): Likewise.
2251 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2252 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2253 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2255 (HAVE_AUX_PAGESIZE): Likewise.
2256 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2257 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2258 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2260 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2264 the temporary buffer used to invoke __gethostbyname2_r,
2265 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2266 host_data / struct gaih_addrtuple.
2267 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2268 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2269 header file nss/nsswitch.h.
2270 * nss/nsswitch.h (global scope): Add definition of implementation
2271 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2272 resolv/nss_dns/dns-host.c).
2274 2012-07-11 Andreas Jaeger <aj@suse.de>
2276 * po/fr.po: Update from translation team.
2278 * po/sv.po: Update from translation team
2279 * po/fr.po: Another update from translation team.
2281 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2283 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2284 for subnormals or multiply small sinh result by itself.
2285 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2288 2012-07-11 David S. Miller <davem@davemloft.net>
2290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2292 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2295 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2296 (INTERNAL_MARK): Shift it here.
2298 2012-07-10 Marek Polacek <polacek@redhat.com>
2301 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2302 libc_cv_asm_global_directive with .globl.
2303 * configure: Regenerated.
2304 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2306 * sysdeps/i386/configure: Regenerated.
2307 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2309 * sysdeps/x86_64/configure: Regenerated.
2310 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2311 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2312 * elf/tst-unique2mod2.c: Likewise.
2313 * elf/tst-unique2mod1.c: Likewise.
2314 * elf/tst-unique1mod2.c: Likewise.
2315 * elf/tst-unique1mod1.c: Likewise.
2316 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2317 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2318 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2319 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2320 * sysdeps/mach/sysdep.h: Likewise.
2321 * sysdeps/i386/sysdep.h: Likewise.
2322 * sysdeps/i386/i386-mcount.S: Likewise.
2323 * sysdeps/x86_64/_mcount.S: Likewise.
2324 * sysdeps/x86_64/sysdep.h: Likewise.
2325 * sysdeps/sh/_mcount.S: Likewise.
2326 * sysdeps/sh/sysdep.h: Likewise.
2327 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2328 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2329 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2330 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2331 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2332 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2333 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2334 * locale/localeinfo.h: Likewise.
2335 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2336 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2338 2012-07-09 Roland McGrath <roland@hack.frob.com>
2341 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2343 * manual/message.texi (The Uniforum approach): Likewise.
2344 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2345 (glibc iconv Implementation): Likewise.
2347 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2350 * math/s_clog.c (__clog): Avoid scaling a value down where that
2351 could result in underflow.
2352 * math/s_clog10.c (__clog10): Likewise.
2353 * math/s_clog10f.c (__clog10f): Likewise.
2354 * math/s_clog10l.c (__clog10l): Likewise.
2355 * math/s_clogf.c (__clogf): Likewise.
2356 * math/s_clogl.c (__clogl): Likewise.
2357 * math/libm-test.inc (clog_test): Add more tests.
2358 (clog10_test): Likewise.
2359 * sysdeps/i386/fpu/libm-test-ulps: Update.
2360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2362 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2365 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2366 by 7 not 8 to examine high bit of fractional part.
2369 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2370 for call to __mcount_internal.
2371 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2372 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2373 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2375 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2378 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2379 approximation for values within 0x1p-13f of an odd multiple of
2381 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2382 exception. Add more tests.
2383 * sysdeps/i386/fpu/libm-test-ulps: Update.
2386 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2387 inputs and return -1 for them. Do not check for +Inf in case not
2389 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2390 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2391 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2392 and return -1 for them. Do not check for +Inf in case not
2394 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2396 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2397 and return -1 for them. Do not check for +Inf in case not
2399 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2401 * sysdeps/i386/fpu/libm-test-ulps: Update.
2402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2404 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2406 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2408 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2412 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2413 could result in spurious underflow. Scale down values above
2414 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2415 * math/s_csqrtf.c (__csqrtf): Likewise.
2416 * math/s_csqrtl.c (__csqrtl): Likewise.
2417 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2419 * sysdeps/i386/fpu/libm-test-ulps: Update.
2420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2422 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2424 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2426 * catgets/xopen-msg.awk: New file.
2427 * catgets/xopen-msg.sed: Removed.
2429 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2431 * intl/po2test.awk: New file.
2432 * intl/po2test.sed: Removed.
2434 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2437 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2438 or multiply small sinh result by itself.
2439 * math/s_ctanf.c (__ctanf): Likewise.
2440 * math/s_ctanh.c (__ctanh): Likewise.
2441 * math/s_ctanhf.c (__ctanhf): Likewise.
2442 * math/s_ctanhl.c (__ctanhl): Likewise.
2443 * math/s_ctanl.c (__ctanl): Likewise.
2444 * math/libm-test.inc (ctan_test_tonearest): New function.
2445 (ctan_test_towardzero): Likewise.
2446 (ctan_test_downward): Likewise.
2447 (ctan_test_upward): Likewise.
2448 (ctanh_test_tonearest): Likewise.
2449 (ctanh_test_towardzero): Likewise.
2450 (ctanh_test_downward): Likewise.
2451 (ctanh_test_upward): Likewise.
2452 (main): Call these new functions.
2453 * sysdeps/i386/fpu/libm-test-ulps: Update.
2454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2456 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2458 * .gitignore: Delete /ports entry.
2460 2012-07-03 Andreas Jaeger <aj@suse.de>
2462 * po/bg.po: Update from translation team.
2463 * po/cs.po: Likewise.
2464 * po/de.po: Likewise.
2465 * po/hr.po: Likewise.
2466 * po/nl.pl: Likewise.
2467 * po/pl.po: Likewise.
2468 * po/vi.po: Likewise.
2470 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2472 * Makeconfig [!+link] (+link-before-libc): New variable.
2473 [!+link] (+link-after-libc): Likewise.
2474 [!+link] (+link-tests): Likewise.
2475 [!+link] (+link): Define in terms of $(+link-before-libc) and
2476 $(+link-after-libc).
2477 [!+link-static] (+link-static-before-libc): New variable.
2478 [!+link-static] (+link-static-after-libc): Likewise.
2479 [!+link-static] (+link-static-tests): Likewise.
2480 [!+link-static] (+link-static): Define in terms of
2481 $(+link-static-before-libc) and $(+link-static-after-libc).
2482 [build-shared] (link-libc-before-gnulib): New variable.
2483 [build-shared] (link-libc-tests): Likewise.
2484 [build-shared] (link-libc): Define in terms of
2485 $(link-libc-before-gnulib).
2486 [!build-shared] (link-libc-tests): New variable.
2487 (link-libc-static-tests): New variable.
2488 [!gnulib] (gnulib-arch): New variable.
2489 [!gnulib] (gnulib-tests): Likewise.
2490 [!gnulib] (static-gnulib-arch): Likewise.
2491 [!gnulib] (static-gnulib-tests): Likewise.
2492 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2493 Define with "=" instead of ":=".
2494 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2495 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2496 * Rules (binaries-all-notests): New variable.
2497 (binaries-all-tests): Likewise.
2498 (binaries-static-notests): Likewise.
2499 (binaries-static-tests): Likewise.
2500 (binaries-all): Define using $(binaries-all-notests) and
2501 $(binaries-all-tests).
2502 (binaries-static): Define using $(binaries-static-notests) and
2503 $(binaries-static-tests).
2504 (binaries-shared-tests): New variable.
2505 (binaries-shared-notests): Likewise.
2506 (binaries-shared): Remove variable.
2507 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2508 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2509 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2510 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2511 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2512 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2513 * elf/Makefile (sln-modules): New variable.
2514 (extra-objs): Add $(sln-modules:=.o).
2515 (ldconfig-modules): Add static-stubs.
2516 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2517 * elf/static-stubs.c: New file.
2520 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2521 by 7 not 8 to examine high bit of fractional part. Use volatile
2522 variables when splitting into final array of floats if
2523 __FLT_EVAL_METHOD__ != 0.
2524 * math/libm-test.inc (cos_test): Add another test.
2525 (sin_test): Likewise.
2526 * sysdeps/i386/fpu/libm-test-ulps: Update.
2529 * math/libm-test.inc (cosh_test): Add more tests.
2531 * version.h (RELEASE): Set to "development".
2532 (VERSION): Set to "2.16.90".
2534 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2536 * NEWS: Update copyright. Remove last-updated date.
2537 Mention math library bug fixes and timezone data changes.
2538 * README: Mention GNU/Hurd, x32, and HPPA support status.
2540 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2542 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2544 2012-06-27 Andreas Jaeger <aj@suse.de>
2546 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2548 2012-06-25 Andreas Jaeger <aj@suse.de>
2550 * sysdeps/s390/fpu/libm-test-ulps: Update.
2552 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2553 Thomas Schwinge <thomas@codesourcery.com>
2555 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2556 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2560 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2562 * sysdeps/mach/start.c: Remove file.
2563 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2564 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2565 * sysdeps/sh/init-first.c: Likewise.
2567 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2568 registers for frame unwinding purposes, add CFI directives.
2569 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2570 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2571 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2574 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2575 __fortify_fail returning.
2576 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2578 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2579 sysdeps/sh/____longjmp_chk.S.
2580 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2581 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2582 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2583 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2585 * sysdeps/sh/abort-instr.h: New file.
2586 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2587 process in case exit returns.
2589 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2590 initialize the GOT register before use.
2592 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2593 calculation of ARGC > 4.
2595 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2596 meaningful names to some local labels.
2598 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2599 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2601 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2602 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2603 (__arch_compare_and_exchange_val_16_acq): Likewise.
2604 (__arch_compare_and_exchange_val_32_acq): Likewise.
2605 (atomic_exchange_and_add): Fix gUSA sequence.
2606 (atomic_add): Likewise.
2607 (atomic_add_negative): Likewise.
2608 (atomic_add_zero): Likewise.
2609 (atomic_bit_test_set): Likewise.
2611 2012-06-22 Andreas Schwab <schwab@redhat.com>
2614 * include/link.h (struct link_map): Add l_free_initfini.
2615 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2617 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2618 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2619 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2622 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2624 * configure.in: Use AC_LANG_SOURCE.
2625 * configure: Regenerate.
2627 2012-06-22 Roland McGrath <roland@hack.frob.com>
2629 * configure.in (libc_cv_localstatedir): New substituted variable.
2630 * configure: Regenerated.
2631 * config.make.in (localstatedir): New variable, substituted from
2632 libc_cv_localstatedir.
2633 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2634 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2635 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2636 * sysdeps/gnu/configure: Regenerated.
2638 2012-06-21 Jeff Law <law@redhat.com>
2641 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2642 free. Simplify list management for _LIBC case.
2644 2012-06-21 Joseph Myers <joseph@codesourcery.com>
2647 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2648 Clear sign bit of 64-bit integer value before comparing against
2651 * sysdeps/mach/configure: Regenerated.
2653 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2656 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2658 2012-06-21 Jeff Law <law@redhat.com>
2661 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2662 uint16_t for elements in the "seen" array to avoid char overflows.
2663 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2664 * elf/dl-open.c (dl_open_worker): Likewise.
2666 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2668 * scripts/list-sources.sh: Scan PORTS for translations.
2669 * po/libc.pot: Regenerated.
2671 2012-06-21 Andreas Jaeger <aj@suse.de>
2674 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2676 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2677 * bits/byteswap-16.h (__bswap_16): Likewise.
2678 * bits/byteswap.h (__bswap_constant_16): Likewise.
2680 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2683 * sysdeps/i386/fpu_control.h: Removed.
2684 * sysdeps/x86_64/fpu_control.h: Moved to ...
2685 * sysdeps/x86/fpu_control.h: Here.
2687 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2688 (_FPU_SETCW): Likewise.
2690 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2693 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2694 * sysdeps/x86/fpu/bits/mathinline.h: This.
2695 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2699 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2700 functions if __x86_64__ is defined.
2702 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2704 * string/endian.h: Add !__ASSEMBLER__ condition for including
2705 conversion interfaces.
2707 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2710 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2711 of ABS(x) in calculating zero to negative powers other than odd
2713 * math/libm-test.inc (pow_test): Add more tests.
2715 2012-06-15 Andreas Jaeger <aj@suse.de>
2717 * manual/contrib.texi (Contributors): Update entry of Liubov
2718 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2721 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2723 * string/string.h: Add __wur to GNU version of strerror_r.
2725 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2728 * string/Makefile (tests): Add tst-strtok_r.
2729 * string/tst-strtok_r.c: New file.
2730 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2731 RAX_LP/RDX_LP on SAVE_PTR.
2733 2012-06-14 Roland McGrath <roland@hack.frob.com>
2735 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2737 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2739 * libm_test.inc (csqrt_test): Allow more spurious underflow
2741 (j0_test): Likewise.
2742 (j1_test): Likewise.
2743 (y0_test): Likewise.
2744 (y1_test): Likewise.
2746 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2748 * po/Makefile (libc.pot): Use UTF-8 charset.
2750 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2753 Suppress sign-conversion warning from FD_SET.
2754 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2755 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2756 not unsigned long int.
2757 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2759 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2763 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2764 __extern_always_inline instead of __extern_inline.
2765 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2766 (__signbit): Likewise.
2767 (__signbitl): Support C++ namespace.
2768 (lrintf): New inline function.
2770 (llrintf): Likewise.
2782 (nearbyint): Likewise.
2783 (nearbyintf): Likewise.
2785 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2787 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2788 non-default versions.
2790 2012-06-11 Roland McGrath <roland@hack.frob.com>
2793 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2795 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2797 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2798 (FE_UPWARD, FE_DOWNWARD): Don't define.
2799 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2800 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2802 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2804 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2805 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2807 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2809 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2810 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2811 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2812 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2814 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2817 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2818 * sysdeps/i386/fpu/Implies: New file.
2819 * sysdeps/x86_64/fpu/Implies: Likewise.
2820 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2821 * sysdeps/x86/fpu/bits/fenv.h: This.
2823 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2826 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2829 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2830 character 0xffff that matches the last element of the
2833 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2835 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2838 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2840 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2841 values higher than 25.6283.
2843 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2845 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2846 subnormal exponent extraction and add some __builtin_expect.
2847 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2848 Fix for subnormal mantissa calculation.
2850 2012-06-04 Mike Frysinger <vapier@gentoo.org>
2852 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2853 cpu2 is -1 and errno is not ENOSYS.
2855 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2858 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2859 * sysdeps/x86/bits/string.h: This.
2860 * sysdeps/x86_64/bits/string.h: Removed.
2862 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2863 if not compiling for x86-64, but compiling for >= i486.
2865 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2866 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2868 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2869 New macro from Linux kernel 3.4.0.
2870 (FP_XSTATE_MAGIC2): Likewise.
2871 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2872 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2873 (struct _fpx_sw_bytes): New struct.
2874 (struct _xsave_hdr): Likewise.
2875 (struct _ymmh_state): Likewise.
2876 (struct _xstate): Likewise.
2878 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2879 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2880 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2881 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2882 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2883 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2885 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2886 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2887 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2888 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2889 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2890 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2892 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2895 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2896 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2897 (sysdep_headers): Include sys/platform/ppc.h.
2898 * sysdeps/powerpc/test-gettimebase.c: Test for
2899 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2900 * manual/Makefile (appendices): Include platform.texi.
2901 * manual/contrib.texi (Contributors): Update @node pointers.
2902 * manual/maint.texi (Maintenance): Likewise.
2903 (Platform): New node.
2904 * manual/platform.texi: New file. Document the new features.
2906 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2907 Jakub Jelinek <jakub@redhat.com>
2910 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2911 where __builtin_expect is unavailable.
2913 2012-06-03 David S. Miller <davem@davemloft.net>
2915 * stdlib/longlong.h: Updated from GCC.
2917 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2920 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2921 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2924 (GLIBC_2.16): Likewise.
2926 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2928 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2930 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2933 (default-abi): New variable.
2934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2935 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2937 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2939 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2941 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2944 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2945 definition. Document in comment.
2947 2012-06-01 David S. Miller <davem@davemloft.net>
2949 * stdlib/longlong.h: Updated from GCC.
2951 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2954 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2955 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2956 sys/debugreg.h sys/io.h here.
2957 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2958 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2960 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2961 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2962 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2963 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2964 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2965 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2967 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2968 Define only if __x86_64__ is defined.
2970 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2973 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2974 Use int64_t for variable i.
2975 * math/libm-test.inc (fmod_test): Add more tests.
2977 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2978 z computation is not scheduled after fetestexcept.
2979 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2980 Use math_force_eval instead of asm to ensure calculation scheduled
2981 before exception test.
2982 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2983 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2985 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2988 computation is not scheduled after fetestexcept.
2990 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2993 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2994 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2996 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2998 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2999 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3001 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3004 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3006 (__WCHAR_MIN): Support __WORDSIZE == 64.
3007 (__WCHAR_MAX): Likewise.
3009 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3010 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3013 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3014 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3017 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3018 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3020 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3021 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3023 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3024 Defined to 1 if __x86_64__ isn't defined.
3025 (_STAT_VER_LINUX_OLD): New.
3026 (st_atime): Remove duplicate.
3027 (st_mtime): Likewise.
3028 (st_ctime): Likewise.
3030 2012-05-31 David S. Miller <davem@davemloft.net>
3032 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3035 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3037 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3041 * elf/dl-reloc.c: Include <_itoa.h>.
3042 (_dl_reloc_bad_type): Remove use of INTUSE.
3043 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3044 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3045 * stdio-common/psiginfo.c (psiginfo): Likewise.
3046 * stdio-common/psignal.c (psignal): Likewise.
3047 * string/strsignal.c (strsignal): Likewise.
3048 * include/signal.h (_sys_siglist): Declare hidden proto.
3049 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3050 INTVARDEF with libc_hidden_data_def.
3051 * stdio-common/itoa-udigits.c: Likewise.
3052 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3053 (_itoa_lower_digits_internal): Remove declaration.
3054 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3055 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3056 (_sys_sigabbrev_internal): Remove aliases.
3057 (_sys_siglist): Define hidden alias.
3059 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3064 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3067 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3068 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3070 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3071 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3072 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3073 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3074 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3075 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3077 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3078 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3079 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3081 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3089 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3090 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3091 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3093 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3094 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3095 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3096 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3097 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3098 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3100 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3101 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3103 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3104 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3106 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3107 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3108 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3110 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3111 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3113 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3115 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3116 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3117 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3119 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3121 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3123 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3125 * math/math.h (M_El): Use two more decimal places.
3126 (M_LOG2El): Likewise.
3127 (M_LOG10El): Likewise.
3129 (M_LN10l): Likewise.
3131 (M_PI_2l): Likewise.
3132 (M_PI_4l): Likewise.
3133 (M_1_PIl): Likewise.
3134 (M_2_PIl): Likewise.
3135 (M_2_SQRTPIl): Likewise.
3136 (M_SQRT2l): Likewise.
3137 (M_SQRT1_2l): Likewise.
3139 2012-05-31 David S. Miller <davem@davemloft.net>
3141 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3142 values between float registers.
3143 * sysdeps/sparc/sparc64/memset.S: Likewise.
3144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3146 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3148 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3149 -D_FORTIFY_SOURCE=1.
3150 (CPPFLAGS-tst-longjmp_chk.c): Define.
3151 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3152 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3153 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3154 CFLAGS-tst-wchar-h.c.
3156 2012-05-31 Marek Polacek <polacek@redhat.com>
3159 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3160 __endmntent_internal): Remove declaration.
3161 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3162 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3163 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3165 2012-05-30 David S. Miller <davem@davemloft.net>
3167 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3168 (___Q_simulate_exceptions): Use real FP ops rather than writing
3170 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3173 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3176 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3177 * sysdeps/x86/bits/xtitypes.h: This.
3179 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3180 * sysdeps/x86/bits/wordsize.h: This.
3182 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3183 * sysdeps/x86/bits/huge_vall.h: This.
3185 * sysdeps/i386/bits/select.h: Removed.
3186 * sysdeps/x86_64/bits/select.h: Renamed to ...
3187 * sysdeps/x86/bits/select.h: This.
3189 * sysdeps/i386/bits/setjmp.h: Removed.
3190 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3191 * sysdeps/x86/bits/setjmp.h: This.
3193 * sysdeps/i386/bits/mathdef.h: Removed.
3194 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3195 * sysdeps/x86/bits/mathdef.h: This.
3197 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3200 * include/sys/socket.h (__connect_internal)
3201 (__libc_sa_len_internal): Remove declaration.
3202 (__connect, __libc_sa_len): Declare hidden_proto.
3203 (SA_LEN): Remove use of INTUSE.
3204 * socket/connect.c: Add libc_hidden_def.
3205 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3206 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3207 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3209 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3210 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3211 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3212 of adding _internal alias.
3214 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3217 * sysdeps/i386/bits/link.h: Removed.
3218 * sysdeps/i386/bits/linkmap.h: Likewise.
3219 * sysdeps/x86_64/bits/link.h: Renamed to ...
3220 * sysdeps/x86/bits/link.h: This.
3221 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3222 * sysdeps/x86/bits/linkmap.h: This.
3224 * sysdeps/i386/bits/endian.h: Removed.
3225 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3226 * sysdeps/x86/bits/endian.h: This.
3228 * sysdeps/i386/bits/byteswap.h: Removed.
3229 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3230 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3231 * sysdeps/x86/bits/byteswap.h: This.
3232 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3233 * sysdeps/x86/bits/byteswap-16.h: This.
3234 * sysdeps/i386/Implies: Add x86.
3235 * sysdeps/x86_64/Implies: Likewise.
3237 2012-05-30 David S. Miller <davem@davemloft.net>
3239 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3240 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3241 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3242 (FP_TRAPPING_EXCEPTIONS): Define.
3243 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3244 (FP_TRAPPING_EXCEPTIONS): Define.
3245 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3246 subnormals only when inexact has been signalled or underflow
3247 exceptions are enabled.
3248 (_FP_PACK_CANONICAL): Likewise.
3250 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3253 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3254 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3256 2012-05-30 Richard Henderson <rth@twiddle.net>
3258 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3259 with #ifndef NOT_IN_libc.
3261 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3262 marked to avoid plt entry.
3264 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3267 * Makeconfig (default-abi): New macro.
3268 (abi-includes): Likewise.
3269 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3270 $(abi-$(default-abi)-lib-soname) for soname if defined.
3271 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3273 * Makefile (installed-stubs): Likewise.
3274 * include/stubs-biarch.h: Removed.
3275 * scripts/lib-names.awk: Only handle one library at a time.
3276 * scripts/soversions.awk: Remove WORDSIZE support.
3277 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3279 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3281 (syscall-list-default-condition): Likewise.
3282 (syscall-list-default-condition): Likewise.
3283 (syscall-list-includes): Likewise.
3284 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3285 syscall-list-* with abi-*. Handle undefined abi-variants.
3286 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3287 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3288 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3289 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3290 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3291 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3293 (syscall-list-32-options): Likewise.
3294 (syscall-list-32-condition): Likewise.
3295 (syscall-list-64-options): Likewise.
3296 (syscall-list-64-condition): Likewise.
3297 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3299 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3302 (abi-64-ld-soname): New macro.
3303 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3304 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3307 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3308 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3310 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3312 * sysdeps/unix/sysv/linux/kernel-features.h
3313 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3314 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3315 include <kernel-features.h>.
3316 [!__NR_ftruncate64]: Remove conditional code.
3317 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3318 [__NR_ftruncate64]: Make code unconditional.
3319 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3320 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3321 include <kernel-features.h>.
3322 [!__NR_ftruncate64]: Remove conditional code.
3323 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3324 [__NR_ftruncate64]: Make code unconditional.
3325 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3327 include <kernel-features.h>.
3328 [!__NR_ftruncate64]: Remove conditional code.
3329 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3330 [__NR_ftruncate64]: Make code unconditional.
3331 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3333 include <kernel-features.h>.
3334 [!__NR_ftruncate64]: Remove conditional code.
3335 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3336 [__NR_ftruncate64]: Make code unconditional.
3337 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3339 * configure.in (libc_cv_fpie): Weaken to a compile test using
3341 * configure: Regenerated.
3343 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3358 2012-05-27 David S. Miller <davem@davemloft.net>
3360 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3362 (__Q_simulate_exceptions): Return void. Change to simulate
3363 exceptions by writing into the %fsr.
3364 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3365 (__Qp_handle_exceptions): Likewise.
3367 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3368 __Qp_handle_exceptions.
3369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3370 __Qp_handle_exceptions.
3371 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3372 as unused and give dummy FP_RND_NEAREST initializer.
3373 (FP_INHIBIT_RESULTS): Define.
3374 (___Q_simulate_exceptions): Update declaration.
3375 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3377 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3378 as unused and give dummy FP_RND_NEAREST initializer.
3379 (__Qp_handle_exceptions): Update declaration.
3380 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3383 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3385 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3386 the temporary FPU control word.
3387 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3388 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3389 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3390 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3391 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3392 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3393 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3394 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3395 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3396 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3397 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3399 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3401 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3404 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3406 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3407 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3408 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3409 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3411 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3412 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3415 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3417 * po/h.po: Update from translation team.
3419 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3421 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3423 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3424 handling of denormals.
3425 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3426 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3427 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3428 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3429 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3430 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3431 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3434 2012-05-26 Marek Polacek <polacek@redhat.com>
3437 * math/libm-test.inc (fma_test): Don't always expect underflow
3440 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3443 * elf/tst-execstack.c: Include stackinfo.h.
3444 (do_test): Adjust test case to ensure that pthread_getattr_np
3445 behaviour remains the same after marking stack executable.
3447 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3449 * sysdeps/unix/sysv/linux/kernel-features.h
3450 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3451 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3453 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3454 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3455 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3457 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3458 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3460 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3462 * configure.in: Define the default includes to being none.
3463 * configure: Regenerated.
3465 2012-05-25 Roland McGrath <roland@hack.frob.com>
3467 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3468 * sysdeps/x86_64/setjmp.S: Likewise.
3469 * sysdeps/i386/bsd-setjmp.S: Likewise.
3470 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3471 * sysdeps/i386/setjmp.S: Likewise.
3472 * sysdeps/i386/__longjmp.S: Likewise.
3473 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3474 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3476 * include/stap-probe.h: New file.
3477 * configure.in: Handle --enable-systemtap.
3478 * configure: Regenerated.
3479 * config.h.in (USE_STAP_PROBE): New #undef.
3480 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3481 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3482 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3484 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3487 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3488 to 2.4.0 where earlier.
3489 * sysdeps/unix/sysv/linux/configure: Regenerated.
3490 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3491 <kernel-features.h>.
3492 [__ASSUME_32BITUIDS]: Make code unconditional.
3493 [!__ASSUME_32BITUIDS]: Remove conditional code.
3494 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3495 <kernel-features.h>.
3496 [__ASSUME_32BITUIDS]: Make code unconditional.
3497 [!__ASSUME_32BITUIDS]: Remove conditional code.
3498 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3499 [__ASSUME_32BITUIDS]: Make code unconditional.
3500 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3501 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3502 <kernel-features.h>.
3503 [__ASSUME_32BITUIDS]: Make code unconditional.
3504 [!__ASSUME_32BITUIDS]: Remove conditional code.
3505 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3506 <kernel-features.h>.
3507 [__ASSUME_32BITUIDS]: Make code unconditional.
3508 [!__ASSUME_32BITUIDS]: Remove conditional code.
3509 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3510 <kernel-features.h>.
3511 [__ASSUME_32BITUIDS]: Make code unconditional.
3512 [!__ASSUME_32BITUIDS]: Remove conditional code.
3513 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3514 <kernel-features.h>.
3515 [__ASSUME_32BITUIDS]: Make code unconditional.
3516 [!__ASSUME_32BITUIDS]: Remove conditional code.
3517 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3518 <kernel-features.h>.
3519 [__ASSUME_32BITUIDS]: Make code unconditional.
3520 [!__ASSUME_32BITUIDS]: Remove conditional code.
3521 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3522 <kernel-features.h>.
3523 [__ASSUME_32BITUIDS]: Make code unconditional.
3524 [!__ASSUME_32BITUIDS]: Remove conditional code.
3525 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3526 <kernel-features.h>.
3527 [__ASSUME_32BITUIDS]: Make code unconditional.
3528 [!__ASSUME_32BITUIDS]: Remove conditional code.
3529 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3530 <kernel-features.h>.
3531 [__ASSUME_32BITUIDS]: Make code unconditional.
3532 [!__ASSUME_32BITUIDS]: Remove conditional code.
3533 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3534 <kernel-features.h>.
3535 [__ASSUME_32BITUIDS]: Make code unconditional.
3536 [!__ASSUME_32BITUIDS]: Remove conditional code.
3537 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3538 <kernel-features.h>.
3539 [__ASSUME_32BITUIDS]: Make code unconditional.
3540 [!__ASSUME_32BITUIDS]: Remove conditional code.
3541 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3542 <kernel-features.h>.
3543 [__NR_setresgid] (__setresgid): Do not declare.
3544 [__ASSUME_32BITUIDS]: Make code unconditional.
3545 [!__ASSUME_32BITUIDS]: Remove conditional code.
3546 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3547 <kernel-features.h>.
3548 [__NR_setresuid] (__setresuid): Do not declare.
3549 [__ASSUME_32BITUIDS]: Make code unconditional.
3550 [!__ASSUME_32BITUIDS]: Remove conditional code.
3551 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3552 <kernel-features.h>.
3553 [__ASSUME_32BITUIDS]: Make code unconditional.
3554 [!__ASSUME_32BITUIDS]: Remove conditional code.
3555 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3556 <kernel-features.h>.
3557 [__ASSUME_32BITUIDS]: Make code unconditional.
3558 [!__ASSUME_32BITUIDS]: Remove conditional code.
3559 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3560 <kernel-features.h>.
3561 [__ASSUME_32BITUIDS]: Make code unconditional.
3562 [!__ASSUME_32BITUIDS]: Remove conditional code.
3563 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3564 <kernel-features.h>.
3565 [__ASSUME_32BITUIDS]: Make code unconditional.
3566 [!__ASSUME_32BITUIDS]: Remove conditional code.
3567 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3568 <kernel-features.h>.
3569 [__ASSUME_32BITUIDS]: Make code unconditional.
3570 [!__ASSUME_32BITUIDS]: Remove conditional code.
3571 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3572 <kernel-features.h>.
3573 [__ASSUME_32BITUIDS]: Make code unconditional.
3574 [!__ASSUME_32BITUIDS]: Remove conditional code.
3575 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3576 <kernel-features.h>.
3577 [__ASSUME_32BITUIDS]: Make code unconditional.
3578 [!__ASSUME_32BITUIDS]: Remove conditional code.
3579 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3580 <kernel-features.h>.
3581 [__ASSUME_32BITUIDS]: Make code unconditional.
3582 [!__ASSUME_32BITUIDS]: Remove conditional code.
3583 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3584 <kernel-features.h>.
3585 [__ASSUME_32BITUIDS]: Make code unconditional.
3586 [!__ASSUME_32BITUIDS]: Remove conditional code.
3587 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3588 <kernel-features.h>.
3589 [__ASSUME_32BITUIDS]: Make code unconditional.
3590 [!__ASSUME_32BITUIDS]: Remove conditional code.
3591 * sysdeps/unix/sysv/linux/kernel-features.h
3592 (__ASSUME_SETRESUID_SYSCALL): Remove.
3593 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3594 (__ASSUME_32BITUIDS): Likewise.
3595 (__ASSUME_LDT_WORKS): Likewise.
3596 (__ASSUME_O_DIRECTORY): Likewise.
3597 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3598 architecture but not kernel version.
3599 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3600 (__ASSUME_MMAP2_SYSCALL): Likewise.
3601 (__ASSUME_STAT64_SYSCALL): Likewise.
3602 (__ASSUME_IPC64): Likewise.
3603 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3604 <kernel-features.h>.
3605 [__ASSUME_32BITUIDS]: Make code unconditional.
3606 [!__ASSUME_32BITUIDS]: Remove conditional code.
3607 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3608 <kernel-features.h>.
3609 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3610 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3611 132096]: Remove conditional code.
3612 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3613 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3614 <kernel-features.h>.
3615 [__ASSUME_32BITUIDS]: Make code unconditional.
3616 [!__ASSUME_32BITUIDS]: Remove conditional code.
3617 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3618 <kernel-features.h>.
3619 [__ASSUME_32BITUIDS]: Make code unconditional.
3620 [!__ASSUME_32BITUIDS]: Remove conditional code.
3621 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3622 <kernel-features.h>.
3623 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3625 (__setresgid): Do not declare.
3626 [__ASSUME_32BITUIDS]: Make code unconditional.
3627 [!__ASSUME_32BITUIDS]: Remove conditional code.
3628 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3629 <kernel-features.h>.
3630 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3632 (__setresuid): Do not declare.
3633 [__ASSUME_32BITUIDS]: Make code unconditional.
3634 [!__ASSUME_32BITUIDS]: Remove conditional code.
3635 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3636 <kernel-features.h>.
3637 [__ASSUME_32BITUIDS]: Make code unconditional.
3638 [!__ASSUME_32BITUIDS]: Remove conditional code.
3639 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3640 <kernel-features.h>.
3641 [__ASSUME_32BITUIDS]: Make code unconditional.
3642 [!__ASSUME_32BITUIDS]: Remove conditional code.
3644 2012-05-25 Richard Henderson <rth@twiddle.net>
3646 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3647 dl_hwcap to ifunc resolver.
3648 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3650 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3651 dl_hwcap to ifunc resolver.
3652 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3654 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3657 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3658 for |x| <= 2**-26, not 2**-57.
3659 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3662 2012-05-24 Jeff Law <law@redhat.com>
3664 * stdio-common/Makefile (tests): Add bug25.
3665 * stdio-common/bug25.c: New test.
3667 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3670 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3671 multiple of MALLOC_ALIGNMENT in size.
3672 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3674 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3676 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3678 (FILENAME_MAX): Use macro-int-constant.
3679 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3680 (_IOFBF): Use macro-int-constant.
3683 (SEEK_CUR): Likewise.
3684 (SEEK_END): Likewise.
3685 (SEEK_SET): Likewise.
3686 (TMP_MAX): Likewise.
3687 (EOF): Use macro-int-constant. Require < 0.
3688 (NULL): Use macro-constant. Require == 0.
3689 (stdin): Require type to be FILE *.
3692 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3694 (EXIT_SUCCESS): Likewise.
3695 (NULL): Use macro-constant. Require == 0.
3696 (RAND_MAX): Use macro-int-constant.
3697 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3698 [C99-based standards] (strtof): Require function.
3699 [C99-based standards] (strtold): Likewise.
3700 [C99-based standards] (strtoll): Likewise.
3701 [C99-based standards] (strtoull): Likewise.
3702 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3703 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3704 [ISO || ISO99 || ISO11] (math.h): Likewise.
3705 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3706 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3707 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3709 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3712 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3713 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3714 * intl/dgettext.c (DCGETTEXT): Likewise.
3715 * intl/gettext.c (DCGETTEXT): Likewise.
3716 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3717 * posix/regex_internal.h (gettext): Likewise.
3718 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3720 * include/argz.h (__argz_count_internal)
3721 (__argz_stringify_internal): Remove declaration.
3722 (__argz_count, __argz_stringify): Declare hidden proto.
3723 * intl/dcgettext.c: Remove use of INTDEF.
3724 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3725 * string/argz-stringify.c: Likewise.
3726 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3727 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3728 Declare hidden proto.
3729 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3730 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3731 Declare hidden proto.
3732 * include/stdio.h (__asprintf_internal): Don't declare.
3733 (__asprintf): Don't define as macro. Declare hidden proto.
3734 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3735 (__fsetlocking): Declare hidden proto.
3736 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3737 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3739 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3740 (_IO_setlinebuf): Remove use of INTUSE.
3741 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3742 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3743 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3745 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3746 (_IO_do_flush): Remove use of INTUSE.
3747 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3748 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3749 (_IO_adjust_column, _IO_least_wmarker)
3750 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3751 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3752 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3753 (_IO_default_doallocate, _IO_wdefault_doallocate)
3754 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3755 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3756 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3757 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3758 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3759 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3760 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3761 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3762 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3763 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3764 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3765 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3766 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3768 (_IO_flush_all_internal, _IO_adjust_column_internal)
3769 (_IO_default_uflow_internal, _IO_default_finish_internal)
3770 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3771 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3772 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3773 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3774 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3775 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3776 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3777 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3778 (_IO_file_close_internal, _IO_file_close_it_internal)
3779 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3780 (_IO_file_init_internal, _IO_file_attach_internal)
3781 (_IO_file_fopen_internal, _IO_file_read_internal)
3782 (_IO_file_sync_internal, _IO_file_seek_internal)
3783 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3784 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3785 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3786 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3787 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3788 (_IO_list_all_internal, _IO_link_in_internal)
3789 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3790 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3791 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3792 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3793 (_IO_do_write_internal, _IO_padn_internal)
3794 (_IO_getline_info_internal, _IO_getline_internal)
3795 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3796 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3797 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3798 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3799 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3800 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3801 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3802 with libc_hidden_ver, remove use of INTUSE.
3803 * libio/genops.c: Likewise.
3804 * libio/freopen.c: Likewise.
3805 * libio/freopen64.c: Likewise.
3806 * libio/iofclose.c: Likewise.
3807 * libio/iofdopen.c: Likewise.
3808 * libio/iofflush.c: Likewise.
3809 * libio/iofflush_u.c: Likewise.
3810 * libio/iofgets.c: Likewise.
3811 * libio/iofgets_u.c: Likewise.
3812 * libio/iofopen.c: Likewise.
3813 * libio/iofopncook.c: Likewise.
3814 * libio/iofread.c: Likewise.
3815 * libio/iofread_u.c: Likewise.
3816 * libio/ioftell.c: Likewise.
3817 * libio/iofwrite.c: Likewise.
3818 * libio/iogetline.c: Likewise.
3819 * libio/iogets.c: Likewise.
3820 * libio/iogetwline.c: Likewise.
3821 * libio/iopadn.c: Likewise.
3822 * libio/iopopen.c: Likewise.
3823 * libio/ioseekoff.c: Likewise.
3824 * libio/ioseekpos.c: Likewise.
3825 * libio/iosetbuffer.c: Likewise.
3826 * libio/iosetvbuf.c: Likewise.
3827 * libio/ioungetc.c: Likewise.
3828 * libio/ioungetwc.c: Likewise.
3829 * libio/iovdprintf.c: Likewise.
3830 * libio/iovsprintf.c: Likewise.
3831 * libio/iovsscanf.c: Likewise.
3832 * libio/memstream.c: Likewise.
3833 * libio/obprintf.c: Likewise.
3834 * libio/oldfileops.c: Likewise.
3835 * libio/oldiofclose.c: Likewise.
3836 * libio/oldiofdopen.c: Likewise.
3837 * libio/oldiofopen.c: Likewise.
3838 * libio/oldiopopen.c: Likewise.
3839 * libio/oldstdfiles.c: Likewise.
3840 * libio/putc.c: Likewise.
3841 * libio/setbuf.c: Likewise.
3842 * libio/setlinebuf.c: Likewise.
3843 * libio/stdfiles.c: Likewise.
3844 * libio/strops.c: Likewise.
3845 * libio/vasprintf.c: Likewise.
3846 * libio/vscanf.c: Likewise.
3847 * libio/vsnprintf.c: Likewise.
3848 * libio/vswprintf.c: Likewise.
3849 * libio/wfiledoalloc.c: Likewise.
3850 * libio/wfileops.c: Likewise.
3851 * libio/wgenops.c: Likewise.
3852 * libio/wmemstream.c: Likewise.
3853 * libio/wstrops.c: Likewise.
3854 * libio/__fpurge.c: Likewise.
3855 * libio/__fsetlocking.c: Likewise.
3856 * assert/assert.c: Likewise.
3857 * debug/fgets_chk.c: Likewise.
3858 * debug/fgets_u_chk.c: Likewise.
3859 * debug/fread_chk.c: Likewise.
3860 * debug/fread_u_chk.c: Likewise.
3861 * debug/gets_chk.c: Likewise.
3862 * debug/obprintf_chk.c: Likewise.
3863 * debug/vasprintf_chk.c: Likewise.
3864 * debug/vdprintf_chk.c: Likewise.
3865 * debug/vsnprintf_chk.c: Likewise.
3866 * debug/vsprintf_chk.c: Likewise.
3867 * malloc/mtrace.c: Likewise.
3868 * misc/error.c: Likewise.
3869 * misc/syslog.c: Likewise.
3870 * stdio-common/asprintf.c: Likewise.
3871 * stdio-common/fxprintf.c: Likewise.
3872 * stdio-common/getw.c: Likewise.
3873 * stdio-common/isoc99_fscanf.c: Likewise.
3874 * stdio-common/isoc99_scanf.c: Likewise.
3875 * stdio-common/isoc99_vfscanf.c: Likewise.
3876 * stdio-common/isoc99_vscanf.c: Likewise.
3877 * stdio-common/isoc99_vsscanf.c: Likewise.
3878 * stdio-common/printf-prs.c: Likewise.
3879 * stdio-common/printf_fp.c: Likewise.
3880 * stdio-common/printf_fphex.c: Likewise.
3881 * stdio-common/printf_size.c: Likewise.
3882 * stdio-common/putw.c: Likewise.
3883 * stdio-common/scanf.c: Likewise.
3884 * stdio-common/sprintf.c: Likewise.
3885 * stdio-common/tmpfile.c: Likewise.
3886 * stdio-common/vfprintf.c: Likewise.
3887 * stdio-common/vfscanf.c: Likewise.
3888 * stdlib/strfmon_l.c: Likewise.
3889 * sunrpc/openchild.c: Likewise.
3890 * sunrpc/xdr_stdio.c: Likewise.
3891 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3892 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3894 2012-05-24 Roland McGrath <roland@hack.frob.com>
3896 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3898 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3899 in the third column, to generate for the shared library an IFUNC
3900 that uses _dl_vdso_vsym.
3901 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3902 * Makeconfig (object-suffixes-noshared): New variable.
3904 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3905 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3906 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3907 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3910 * include/sys/time.h (__gettimeofday): Remove macro.
3911 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3912 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3914 (__gettimeofday): Add libc_hidden_def.
3915 (gettimeofday): Add libc_hidden_weak.
3916 * sysdeps/mach/gettimeofday.c: Likewise.
3917 * sysdeps/posix/gettimeofday.c: Likewise.
3918 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3919 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3920 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3921 (__gettimeofday_internal): Remove strong_alias.
3922 (__gettimeofday): Add libc_hidden_def.
3923 (gettimeofday): Add libc_hidden_weak.
3924 * sysdeps/unix/syscalls.list (gettimeofday):
3925 Remove __gettimeofday_internal alias.
3927 2012-05-24 Daniel Jacobowitz <drow@false.org>
3928 H.J. Lu <hongjiu.lu@intel.com>
3931 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3932 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3933 (largebin_index_32_big): New.
3934 (largebin_index): Use it for 16-byte alignment.
3935 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3936 correction with front_misalign.
3938 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3966 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3967 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3969 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3973 * math/libm-test.inc (exp_test): Add test from bug 14036.
3974 (pow_test): Add test from bug 10846.
3976 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3978 (special_function): Do not include flags in test name.
3979 (parse_args): Likewise.
3980 * sysdeps/i386/fpu/libm-test-ulps: Update.
3981 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3982 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3983 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3986 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3988 * math/libm-test.inc ("Philosophy"): Update comment about
3990 (UNDERFLOW_EXCEPTION): New macro.
3991 (UNDERFLOW_EXCEPTION_OK): Likewise.
3992 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3993 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3994 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3995 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3996 (INVALID_EXCEPTION_OK): Update value.
3997 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3998 (OVERFLOW_EXCEPTION_OK): Likewise.
3999 (IGNORE_ZERO_INF_SIGN): Likewise.
4000 (test_exceptions): Handle underflow exceptions.
4001 (acos_test): Update for underflow exception expectations.
4002 (cexp_test): Likewise.
4003 (clog_test): Likewise.
4004 (clog10_test): Likewise.
4005 (csqrt_test): Likewise.
4006 (ctan_test): Likewise.
4007 (ctanh_test): Likewise.
4008 (exp_test): Likewise.
4009 (exp10_test): Likewise.
4010 (exp2_test): Likewise.
4011 (expm1_test): Likewise.
4012 (fma_test): Likewise.
4013 (j0_test): Likewise.
4014 (jn_test): Likewise.
4015 (nexttoward_test): Likewise.
4016 (pow_test): Likewise.
4017 (scalbn_test): Likewise.
4018 (scalbln_test): Likewise.
4019 (tan_test): Likewise.
4020 (y1_test): Likewise.
4021 * sysdeps/i386/fpu/libm-test-ulps: Update.
4022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4024 2012-05-23 David S. Miller <davem@davemloft.net>
4026 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4027 (__libc_sigaction): Remove unused local variables.
4029 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4031 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4033 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4035 mktime: avoid signed integer overflow
4036 * time/mktime.c (__mktime_internal): Do not mishandle the case
4037 where diff == INT_MIN.
4039 mktime: simplify computation of average
4040 * time/mktime.c (ranged_convert): Use new time_t_avg function
4041 instead of rolling our own (probably-slower) code.
4043 mktime: do not assume signed right shift propagates sign bit
4044 * time/mktime.c (isdst_differ): New static function.
4045 (__mktime_internal): No need to normalize tm_isdst now.
4046 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4049 mktime: merge another wrapv change from gnulib
4050 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4051 from some compilers.
4053 mktime: remove incorrect attempt at unusual arithmetics
4054 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4055 The code didn't really work on such machines anyway.
4056 (TYPE_MINIMUM): Assume two's complement.
4057 (twos_complement_arithmetic): Verify that long_int and time_t
4058 are two's complement (or unsigned, in the latter case).
4060 mktime: check signed shifts on long_int and time_t, too
4061 * time/mktime.c (SHR): Check that shifts work as desired
4062 on the types long_int and time_t too, as SHR is used on
4065 mktime: do not assume 'long' is wide enough
4066 * time/mktime.c (verify): Move decl up.
4067 (long_int): New type.
4068 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4069 to remove assumption in the code that 'long' is wide enough to
4070 store year values. This assumption is not true on x32 and on
4071 some non-glibc platforms.
4073 mktime: merge wrapv change from gnulib
4074 * time/mktime.c (WRAPV): New macro.
4075 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4076 (guess_time_tm, __mktime_internal): Do not assume that signed
4077 integer overflow wraps around; modern compilers generate code
4078 where this assumption is no longer valid.
4080 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4082 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4083 Replace "jmp L(pseudo_end)" with "ret".
4084 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4087 2012-05-23 Andreas Jaeger <aj@suse.de>
4089 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4090 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4092 2012-05-23 Andreas Jaeger <aj@suse.de>
4093 Maximilian Attems <max@stro.at>
4095 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4098 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4100 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4101 code so that pseudo_end is just ret and the stack pointer is
4102 correct also for static library in error case.
4104 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4106 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4107 move to syscalls.list.
4108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4113 * manual/install.texi (Running make install): Do not mention Linux
4114 kernel version for which pt_chown is not needed.
4115 (Linux): Do not mention problems with nscd with 2.0 kernels.
4116 * INSTALL: Regenerated.
4118 2012-05-23 Andreas Jaeger <aj@suse.de>
4120 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4121 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4123 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4124 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4125 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4126 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4127 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4128 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4129 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4130 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4131 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4133 * sysdeps/unix/sysv/linux/bits/in.h
4134 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4136 2012-05-22 Roland McGrath <roland@hack.frob.com>
4138 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4139 (PREPARE_VERSION): Just use assert instead, it will be elided
4140 under [NDEBUG] anyway.
4142 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4144 * sysdeps/unix/sysv/linux/Makefile: Include
4145 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4146 (sysdep_routines): Remove sysctl.
4147 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4148 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4149 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4150 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4151 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4153 2012-05-22 Andreas Jaeger <aj@suse.de>
4155 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4156 that pseudo_end is just ret and the stack pointer is correct also
4157 for static library in error case.
4159 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4162 * nss/nsswitch.c (defconfig_entries): New variable.
4163 (__nss_database_lookup): Don't leak defconfig entries.
4164 (nss_parse_service_list): Don't leak on error paths.
4165 (free_database_entries): New function.
4166 (free_defconfig): New function.
4167 (free_mem): Move common code to free_database_entries.
4169 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4171 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4173 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4175 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4176 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4179 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4180 (INTERNAL_SYSCALL_TYPES): Likewise.
4181 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4182 (LOAD_REGS_TYPES_[1-6]): Likewise.
4183 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4184 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4186 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4188 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4189 copysignl for GLIBC_2_0.
4190 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4191 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4193 logbl for GLIBC_2_0.
4194 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4195 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4197 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4199 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4200 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4202 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4205 * time/mktime.c: Update copyright years.
4207 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4209 mktime: merge comment-quoting-style change from gnulib
4210 * time/mktime.c: Quote 'like this' in comments.
4211 The GNU coding standards suggest that we no longer quote `like this',
4212 as "`" and "'" are typically rendered asymmetrically nowadays.
4213 The typical gnulib style is to quote 'like this' when quoting
4214 code, and "like this" when quoting English.
4216 * time/mktime.c (compile-command): Add "-I.".
4218 mktime: merge mktime-internal.h change from gnulib
4219 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4221 mktime: merge time_r change from gnulib
4222 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4224 mktime: merge DEBUG change from gnulib
4225 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4226 case system <time.h> has a #define.
4228 mktime: merge <sys/types.h> change from gnulib
4229 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4230 since <time.t> is now guaranteed to define time_t.
4232 mktime: merge HAVE_CONFIG_H change from gnulib
4233 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4235 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4237 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4240 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4242 (struct rusage): Use anonymous union to pad each field to
4245 2012-05-21 David S. Miller <davem@davemloft.net>
4247 * Makefules (o-iterator): Remove .s cases.
4248 (compile-command.s): Delete.
4249 (COMPILE.s): Delete.
4250 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4252 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4254 * configure.in (libc_cv_predef_stack_protector): Only consider
4255 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4256 * configure: Regenerated.
4258 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4260 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4261 New macro. Use R*LP on int and pointer.
4262 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4263 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4264 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4265 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4267 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4268 [__WORDSIZE_TIME64_COMPAT32] instead of
4269 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4270 (struct utmp): Likewise.
4271 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4272 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4274 (__WORDSIZE_TIME64_COMPAT32): This.
4275 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4276 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4277 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4278 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4279 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4280 (__WORDSIZE_TIME64_COMPAT32): New macro.
4282 2012-05-21 Andreas Jaeger <aj@suse.de>
4284 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4285 only if [SHARED]. Add prototype for __wcschr_ia32.
4287 2012-05-21 Roland McGrath <roland@hack.frob.com>
4289 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4290 of %rbp unmolested in the jmp_buf while mangling the low bits.
4291 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4292 unmolested high bits of %rbp while demangling the low bits.
4293 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4295 2012-05-21 Andreas Jaeger <aj@suse.de>
4297 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4298 * sunrpc/svc_simple.c: Use it for registerrpc.
4299 * sunrpc/xcrypt.c: Use it for passwd2des.
4301 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4303 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4305 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4306 Don't define if [__SYSCALL_WORDSIZE != 32].
4307 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4310 2012-05-21 Bruno Haible <bruno@clisp.org>
4311 Andreas Jaeger <aj@suse.de>
4313 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4314 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4315 inptr and inend for must_buffer_ch.
4316 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4317 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4318 * stdio-common/Makefile (tests): Remove bug15.
4319 (bug15-ENV): Remove macro.
4320 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4323 2012-05-19 Andreas Jaeger <aj@suse.de>
4324 Roland McGrath <roland@hack.frob.com>
4326 * manual/contrib.texi: Completely rewritten. It contains now an
4327 alphabetical list of contributors and their contributions.
4329 2012-05-21 Richard Henderson <rth@twiddle.net>
4331 * misc/getauxval.c (__getauxval): Use unsigned long int.
4332 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4333 (getauxval): Use unsigned long int.
4335 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4337 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4339 2012-05-21 Roland McGrath <roland@hack.frob.com>
4341 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4342 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4343 __alignof__ (long double).
4345 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4349 2012-05-20 Richard Henderson <rth@twiddle.net>
4351 * misc/getauxval.c: New file.
4352 * misc/sys/auxv.h: New file.
4353 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4354 (routines): Add getauxval.
4355 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4356 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4357 * elf/dl-sysdep.c (_dl_auxv): Remove.
4358 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4359 * elf/dl-support.c (_dl_auxv): New variable.
4360 (_dl_aux_init): Initialize it.
4361 * manual/startup.texi (Auxiliary Vector): New node.
4362 * sysdeps/generic/bits/hwcap.h: New file.
4363 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4364 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4365 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4366 * sysdeps/sparc/sysdep.h: ... here. Include it.
4367 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4368 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4380 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4384 2012-05-19 David S. Miller <davem@davemloft.net>
4386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4388 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4391 * math/s_ccosh.c: Include <float.h>
4392 (__ccosh): Avoid internal overflow calculating sinh and cosh
4393 values before multiplying by sin and cos values.
4394 * math/s_ccoshf.c: Likewise.
4395 * math/s_ccoshl.c: Likewise.
4396 * math/s_csin.c: Likewise.
4397 * math/s_csinf.c: Likewise.
4398 * math/s_csinl.c: Likewise.
4399 * math/s_csinh.c: Likewise.
4400 * math/s_csinhf.c: Likewise.
4401 * math/s_csinhl.c: Likewise.
4402 * math/libm-test.inc (ccos_test): Add more tests.
4403 (ccosh_test): Likewise.
4404 (csin_test): Likewise.
4405 (csinh_test): Likewise.
4406 * sysdeps/i386/fpu/libm-test-ulps: Update.
4407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4409 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4411 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4412 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4414 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4416 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4418 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4419 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4420 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4421 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4422 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4423 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4424 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4425 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4426 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4427 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4428 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4429 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4430 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4431 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4432 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4433 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4434 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4435 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4436 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4437 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4438 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4439 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4440 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4441 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4442 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4443 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4444 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4445 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4446 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4447 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4448 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4450 2012-05-18 Andreas Jaeger <aj@suse.de>
4452 * csu/.gitignore: Delete.
4454 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4456 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4457 (timex): Use __syscall_slong_t.
4459 2012-05-18 Andreas Jaeger <aj@suse.de>
4460 Carlos O'Donell <carlos_odonell@mentor.com>
4462 * manual/install.texi (Configuring and compiling): Update
4463 description about files modified in the source directory.
4464 * INSTALL: Regenerated.
4466 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4468 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4469 value. Use "or" to set return value to -1.
4470 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4471 negate return value.
4473 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4475 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4476 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4477 failure if the compiler has Graphite support disabled.
4478 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4480 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4481 CFLAGS-memmove.c): Likewise.
4482 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4485 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4487 * sysdeps/x86_64/x32/_itoa.h: New file.
4489 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4490 getdents system call only if kernel and user dirents have the
4491 same d_ino and d_off.
4493 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4494 LLONG_MAX != LONG_MAX.
4495 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4496 (_fitoa_word): Likewise.
4498 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4500 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4501 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4502 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4504 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4505 include <bits/wordsize.h>. Check __x86_64__ instead of
4507 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4508 if __x86_64__ is defined. Use anonymous union on fpstate.
4510 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4513 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4515 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4516 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4517 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4518 Refer to _rtld_local_ro instead of _rtld_global_ro.
4519 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4521 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4523 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4525 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4526 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4527 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4529 * sysdeps/powerpc/powerpc32/dl-machine.c
4530 (__elf_machine_runtime_setup) [PROF]: Don't reference
4533 2012-05-18 Andreas Jaeger <aj@suse.de>
4535 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4536 function only available for GCCs before 3.4 since GCC 3.4
4537 introduced a builtin.
4539 (llrintf): Likewise.
4547 (nearbyint): Likewise.
4548 (nearbyintf): Likewise.
4554 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4556 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4557 on both fields and cast pointer to __syscall_ulong_t.
4559 * bits/types.h (__fsword_t): New type.
4560 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4561 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4562 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4563 (__FSWORD_T_TYPE): Likewise.
4564 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4565 (__FSWORD_T_TYPE): Likewise.
4566 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4567 (__FSWORD_T_TYPE): Likewise.
4568 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4569 (__FSWORD_T_TYPE): Likewise.
4570 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4571 __SWORD_TYPE with __fsword_t.
4572 (statfs64): Likewise.
4574 2012-05-17 David S. Miller <davem@davemloft.net>
4576 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4578 2012-05-17 Andreas Jaeger <aj@suse.de>
4580 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4583 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4585 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4587 2012-05-17 Andreas Jaeger <aj@suse.de>
4589 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4592 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4594 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4596 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4598 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4599 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4601 2012-05-17 Andreas Jaeger <aj@suse.de>
4602 Carlos O'Donell <carlos_odonell@mentor.com>
4605 * sysdeps/x86_64/multiarch/init-arch.h
4606 (bit_YMM_Usable): Rename to...
4607 (bit_AVX_Usable): ... this.
4608 (bit_FMA4_Usable): New macro.
4609 (bit_XMM_state): New macro.
4610 (bit_YMM_state): New macro.
4611 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4612 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4613 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4614 (CPUID_OSXSAVE): New macro.
4615 (CPUID_AVX): New macro.
4616 (CPUID_FMA4): New macro.
4617 (index_YMM_Usable): Rename to...
4618 (index_AVX_Usable): ... this.
4619 (HAS_AVX): Use HAS_ARCH_FEATURE.
4620 (HAS_FMA4): Likewise.
4621 (HAS_YMM_USABLE): Remove.
4622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4623 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4625 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4626 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4627 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4628 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4629 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4631 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4633 * math/libm-test.c: Support platforms without multiple rounding modes.
4634 * math/bug-nextafter.c: Support platforms without FP exceptions.
4635 * math/bug-nexttoward.c: Likewise.
4636 * math/test-fenv.c: Likewise.
4637 * math/test-misc.c: Likewise.
4638 * stdlib/bug-getcontext.c: Likewise.
4640 2012-05-17 Andreas Jaeger <aj@suse.de>
4642 * manual/examples/search.c (critter_cmp): Change signature to
4644 * manual/string.texi (Collation Functions): Likewise.
4646 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4648 * bits/types.h: Fold copyright years.
4649 * bits/typesizes.h: Likewise.
4650 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4651 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4653 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4654 * time/time.h: Likewise.
4656 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4659 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4660 in instead of returning them. Return void.
4661 (__libc_mallinfo): Accumulate over all arenas.
4662 (__malloc_stats): Adjust for change in int_mallinfo interface.
4664 2012-05-16 Roland McGrath <roland@hack.frob.com>
4667 * configure.in (NM): Add AC_CHECK_TOOL for it.
4668 (libc_extra_cflags): New substituted variable.
4669 Check for -fstack-protector being used implicitly.
4670 * configure: Regenerated.
4671 * config.make.in (config-extra-cflags): New variable,
4672 gets @libc_extra_cflags@.
4673 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4676 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4677 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4678 * configure: Regenerated.
4679 * config.make.in (CPPUNDEFS): New substituted variable.
4680 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4681 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4682 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4684 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4686 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4687 (mq_attr): Use __syscall_slong_t.
4689 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4691 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4692 Check __x86_64__ instead of __WORDSIZE.
4693 (_STAT_VER_LINUX): Likewise.
4694 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4695 __syscall_ulong_t and __syscall_slong_t.
4698 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4700 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4702 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4704 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4706 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4708 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4711 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4712 include <bits/wordsize.h>. Check __x86_64__ instead of
4714 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4716 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4718 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4719 include <bits/wordsize.h>. Check __x86_64__ instead of
4721 (user_regs_struct): Use "__extension__ unsigned long long"
4722 instead of "unsigned long" if __x86_64__ is defined.
4723 (user): Likewise. Pad after pointer field if __ILP32__ is
4726 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4728 * configure.in (makeinfo): Require version 4.5 or later. Allow
4730 * configure: Regenerated.
4731 * manual/install.texi (texinfo): Increase version requirement to
4733 * INSTALL: Regenerated.
4735 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4737 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4739 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4741 * sysdeps/x86_64/x32/ffs.c: New file.
4743 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4745 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4746 defined. Use __syscall_ulong_t.
4747 (shminfo): Use __syscall_ulong_t.
4748 (shm_info): Likewise.
4750 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4753 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4755 (msgqnum_t): Use __syscall_ulong_t.
4756 (msglen_t): Likewise.
4757 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4760 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4761 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4763 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4765 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4766 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4768 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4771 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4772 include <bits/wordsize.h>. Check __x86_64__ instead of
4775 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4776 "unsigned long long int" if __x86_64__ is defined.
4777 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4779 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4780 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4781 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4783 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4785 (GET_PC): Cast to uintptr_t first.
4786 (GET_FRAME): Likewise.
4787 (GET_STACK): Likewise.
4789 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4790 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4791 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4792 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4793 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4794 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4795 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4796 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4797 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4798 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4799 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4800 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4801 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4802 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4803 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4804 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4805 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4806 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4807 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4808 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4809 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4810 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4811 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4812 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4813 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4814 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4815 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4816 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4817 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4819 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4821 * Makerules (+depfiles): Also collect depfiles from .oS in
4823 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4824 .oS, $(libnldbl-routines)).
4826 * Makerules (native-compile-mkdep-flags): Define.
4827 * sunrpc/Makefile (extra-objs): Add $(addprefix
4828 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4829 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4830 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4831 calling $(make-target-directory).
4833 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4835 * bits/types.h (__snseconds_t): Removed.
4836 * time/time.h (struct timespec): Replace __snseconds_t with
4838 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4839 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4841 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4842 (__SNSECONDS_T_TYPE): Likewise.
4843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4844 (__SNSECONDS_T_TYPE): Likewise.
4845 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4846 (__SNSECONDS_T_TYPE): Likewise.
4848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4850 * sysdeps/mach/hurd/bits/typesizes.h
4851 (__SYSCALL_SLONG_TYPE): New macro.
4852 (__SYSCALL_ULONG_TYPE): Likewise.
4854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4856 * bits/types.h (__syscall_slong_t): New type.
4857 (__syscall_ulong_t): Likewise.
4859 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4860 (__SYSCALL_ULONG_TYPE): Likewise.
4861 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4862 (__SYSCALL_SLONG_TYPE): Likewise.
4863 (__SYSCALL_ULONG_TYPE): Likewise.
4864 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4865 (__SYSCALL_SLONG_TYPE): Likewise.
4866 (__SYSCALL_ULONG_TYPE): Likewise.
4867 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4868 (__SYSCALL_SLONG_TYPE): Likewise.
4869 (__SYSCALL_ULONG_TYPE): Likewise.
4871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4873 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4874 Add sigaltstack-offsets.sym.
4875 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4876 <sigaltstack-offsets.h>.
4877 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4878 longjmp_msg pointer.
4879 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4880 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4882 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4884 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4886 * elf/stackguard-macros.h: Remove file.
4887 * sysdeps/generic/stackguard-macros.h: New file.
4888 * sysdeps/i386/stackguard-macros.h: Likewise.
4889 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4890 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4891 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4892 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4893 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4894 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4895 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4896 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4897 <elf/stackguard-macros.h>.
4900 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4901 __aligned__ in attribute.
4902 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4903 (gregset_t): Likewise.
4905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4907 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4908 * sysdeps/x86_64/64/Implies-after: Here. New file.
4909 * sysdeps/x86_64/x32/Implies-after: New file.
4911 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4913 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4914 and access return value for _dl_profile_fixup. Use R10_LP to
4917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4919 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4923 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4924 * sysdeps/x86_64/x32/sysdep.h: New file.
4926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4928 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4929 * sysdeps/x86_64/setjmp.S: Likewise.
4931 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4933 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4934 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4935 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4936 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4937 remove unused global constant.
4939 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4941 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4942 include of <not-cancel.h>.
4944 2012-05-15 Roland McGrath <roland@hack.frob.com>
4946 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4948 2012-05-15 Jeff Law <law@redhat.com>
4949 Andreas Jaeger <aj@suse.de>
4952 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4954 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4955 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4956 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4957 code changing __hst_map_handle.map.
4959 2012-05-15 Roland McGrath <roland@hack.frob.com>
4961 * configure.in (sysnames): Look for Implies-before and Implies-after
4963 * configure: Regenerated.
4965 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4967 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4968 8-byte data alignment with LP_SIZE alignment.
4970 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4972 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4975 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4977 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4979 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4981 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4982 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4983 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4985 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4989 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4990 (stackinfo_sub_sp): Likewise.
4992 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4994 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4997 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4999 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5002 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5004 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5007 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5009 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5013 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5014 into R11_LP and load __x86_64_shared_cache_size_half into
5017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5019 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5022 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5024 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5026 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5030 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5031 powerpc32/power7/fpu/s_logb.c via #include.
5032 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5033 powerpc32/power7/fpu/s_logbf.c via #include.
5034 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5035 powerpc32/power7/fpu/s_logbl.c via #include.
5037 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5039 * README.libm: Remove file.
5041 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5043 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5044 count for x32. Use R*_LP and omit operand-size suffix.
5046 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5048 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5049 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5050 * sysdeps/x86_64/x32/shlib-versions: New file.
5052 2012-05-14 Roland McGrath <roland@hack.frob.com>
5054 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5055 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5056 Use _dl_fatal_printf instead.
5058 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5060 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5061 set if not set by the user. Do not allow for being unset.
5062 * sysdeps/unix/sysv/linux/configure: Regenerated.
5064 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5066 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5067 the `q' suffix from lea and replace .quad with ASM_ADDR.
5069 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5071 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5072 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5074 (PTR_DEMANGLE): Likewise.
5076 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5078 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5080 (ASM_ADDR): Likewise.
5098 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5100 * sysdeps/x86_64/x32/dl-machine.h: New file.
5102 2012-05-14 Andreas Jaeger <aj@suse.de>
5104 * manual/Makefile (subdir): Remove export of subdir.
5105 (all): Remove target.
5106 (.PHONY): Remove all from list.
5107 (mkinstalldirs): Remove.
5108 (.PHONY): Remove installdirs from list.
5109 ($(inst_infodir)/libc.info): Use make-target-directory.
5110 (installdirs): Remove.
5112 (glibc-targets): Remove.
5115 ($(objpfx)stubs ../po/manual.pot): Remove.
5116 ($(objpfx)stamp%): Remove.
5117 (make-target-directory): Remove.
5118 (subdir_install): Remove.
5126 * manual/.gitignore: Remove, it's not needed anymore.
5127 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5129 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5131 (texis): Renamed to $(objpfx)texis.
5132 (texis-path): New, contains path to generated files.
5133 (chapters.%): Use texis-path for complete path, add extra argument
5135 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5136 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5137 (summary,texi, stamp-summary): Use complete path of
5138 files. Generate files in build dir.
5139 (dir-add.texi): Build in build dir.
5140 (libm-err.texi,stamp-libm-err): Likewise.
5141 (version.texi, stamp-version): Likewise.
5142 (.%c.texi): Likewise.
5143 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5144 (mostlyclean): Remove target.
5145 (realclean): Remove target.
5146 (generated): Add new variable with contents from mostlyclean and
5147 realclean, remove entries duplicated in common-mostlyclean, add
5148 stamp-libm-err and stamp-version.
5149 (generated-dirs): Add libc directory.
5150 ($(inst_infodir)/libc.info): Install files from build dir.
5152 * manual/install.texi (Configuring and compiling): Adjust since
5153 the info files are not part of the tar ball anymore.
5155 2012-05-14 Andreas Jaeger <aj@suse.de>
5157 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5160 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5163 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5164 to 2.2.0 where earlier.
5165 * sysdeps/unix/sysv/linux/configure: Regenerated.
5166 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5167 Remove conditional code.
5168 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5169 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5170 Remove conditional code.
5171 [!__NR_lchown]: Likewise.
5172 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5173 [__NR_lchown]: Likewise.
5174 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5175 comment referencing __ASSUME_LCHOWN_SYSCALL.
5176 * sysdeps/unix/sysv/linux/i386/sigaction.c
5177 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5178 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5179 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5180 Remove conditional code.
5181 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5182 (__protocol_available): Remove #if 0 code.
5183 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5185 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5186 * sysdeps/unix/sysv/linux/kernel-features.h
5187 (__ASSUME_GETCWD_SYSCALL): Don't define.
5188 (__ASSUME_REALTIME_SIGNALS): Likewise.
5189 (__ASSUME_PREAD_SYSCALL): Likewise.
5190 (__ASSUME_PWRITE_SYSCALL): Likewise.
5191 (__ASSUME_POLL_SYSCALL): Likewise.
5192 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5193 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5195 (__ASSUME_SIOCGIFNAME): Don't define.
5196 (__ASSUME_MSG_NOSIGNAL): Likewise.
5197 (__ASSUME_SENDFILE): Define unconditionally.
5198 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5199 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5201 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5202 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5203 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5204 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5205 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5206 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5207 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5209 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5210 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5212 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5215 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5216 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5218 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5219 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5221 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5222 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5224 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5225 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5227 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5228 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5230 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5231 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5232 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5233 Remove conditional code.
5234 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5235 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5236 Remove conditional code.
5237 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5238 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5239 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5240 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5241 Remove conditional code.
5242 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5243 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5244 Remove conditional code.
5245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5246 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5247 Remove conditional code.
5248 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5249 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5250 Remove conditional code.
5251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5252 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5253 Remove conditional code.
5254 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5255 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5256 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5258 * sysdeps/unix/sysv/linux/sigaction.c
5259 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5260 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5261 * sysdeps/unix/sysv/linux/sigpending.c
5262 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5263 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5264 * sysdeps/unix/sysv/linux/sigprocmask.c
5265 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5266 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5267 * sysdeps/unix/sysv/linux/sigsuspend.c
5268 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5269 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5270 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5271 (__libc_missing_rt_sigs): Remove.
5272 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5273 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5274 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5275 Remove conditional code.
5276 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5277 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5279 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5280 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5281 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5282 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5284 2012-05-14 Andreas Jaeger <aj@suse.de>
5286 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5287 it's not used in glibc.
5288 (__coshm1): Likewise.
5289 (__acosh1p): Likewise.
5292 * manual/string.texi (Copying and Concatenation): Add missing
5293 variable in concat example.
5294 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5296 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5299 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5300 __builtin_clzl with __builtin_clzll.
5302 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5305 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5308 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5310 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5311 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5312 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5313 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5315 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5317 * NEWS: Update ia64 info.
5319 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5321 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5324 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5326 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5327 * sysdeps/unix/syscalls.list (dup3): Likewise.
5328 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5329 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5331 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5333 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5334 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5336 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5338 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5340 (TLS_IE): Use mov/add instead of movq/addq to load thread
5342 (TLS_GD_PREFIX): New.
5345 2012-05-11 David S. Miller <davem@davemloft.net>
5347 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5348 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5349 (_FPU_SETCW): Likewise.
5351 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5353 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5356 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5359 * iconvdata/gb18030.c: Update tables.
5360 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5361 characters specially.
5362 (BODY for TO_LOOP): Add encoding of missing ranges.
5364 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5367 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5368 * sysdeps/mach/hurd/dup3.c: Likewise.
5369 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5370 * sysdeps/powerpc/memmove.c:: Likewise.
5372 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5374 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5375 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5377 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5379 * elf/elf.h (R_X86_64_RELATIVE64): New.
5380 (R_X86_64_NUM): Updated.
5381 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5382 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5383 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5384 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5385 tst-quad1pie tst-quad2pie
5386 (modules-names): Add tst-quadmod1 tst-quadmod2.
5387 ($(objpfx)tst-quad1): New dependency.
5388 ($(objpfx)tst-quad2): Likewise.
5389 ($(objpfx)tst-quad1pie): Likewise.
5390 ($(objpfx)tst-quad2pie): Likewise.
5391 * sysdeps/x86_64/tst-quad1.c: New file.
5392 * sysdeps/x86_64/tst-quad1pie.c: New file.
5393 * sysdeps/x86_64/tst-quad2.c: Likewise.
5394 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5395 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5396 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5397 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5398 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5400 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5402 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5403 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5404 * streams/stropts.h (t_scalar_t): Define type.
5406 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5407 (_PATH_PRESERVE): Set to "/var/lib".
5408 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5410 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5413 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5414 if __dir_mkfile succeeded.
5416 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5417 checking for _hurd_dtablesize. Unlock it right after having
5418 finished _hurd_dtable allocation.
5420 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5422 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5423 * sysdeps/mach/hurd/configure: Regenerated.
5424 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5425 special-casing to...
5426 * sysdeps/gnu/configure.in: ... this new file.
5427 * sysdeps/unix/sysv/linux/configure: Regenerated.
5428 * sysdeps/gnu/configure: New generated file.
5430 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5431 for Linux: use nsec instead of usec, as well as:
5432 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5433 members of type struct timespec.
5434 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5436 (struct stat64): Likewise.
5437 (_STATBUF_ST_NSEC): New macro.
5438 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5440 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5441 __strtoul_internal rather than strtoul.
5443 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5445 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5448 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5450 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5451 which preserves existing values.
5452 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5454 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5456 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5457 TIMEOUT values. Return EINVAL for NFDS values either negative or
5458 greater than FD_SETSIZE.
5460 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5462 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5463 allocated, call __vm_protect to finish enabling the existing space, and
5464 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5465 allocate the remainder.
5467 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5469 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5470 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5472 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5474 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5475 sysdeps/mach/hurd/readlink.c.
5477 * posix/tst-sysconf.c (posix_options): Only use
5478 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5479 _POSIX_SYNCHRONIZED_IO when they are defined
5480 * sysdeps/mach/hurd/bits/posix_opt.h:
5481 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5482 (_XOPEN_REALTIME): Undefine macro.
5483 (_XOPEN_REALTIME_THREADS): Undefine macro.
5484 (_XOPEN_SHM): Undefine macro.
5485 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5487 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5489 (_POSIX_ASYNC_IO): Undefine macro.
5490 (_POSIX_PRIORITIZED_IO): Undefine macro.
5491 (_POSIX_SPIN_LOCKS): Define macro to -1.
5493 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5494 SA_NODEFER, SA_RESETHAND.
5495 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5496 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5499 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5501 * elf/Makefile (pldd-modules): Define unconditionally.
5503 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5505 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5507 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5509 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5510 Return ENOENT when name is empty.
5511 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5513 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5515 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5517 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5519 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5521 Fix mlock in all cases except non-readable pages.
5522 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5523 instead of VM_PROT_ALL as parameter to __vm_wire function.
5525 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5526 (__mkdir): When path is `/', just fail with EEXIST.
5527 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5529 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5531 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5532 <sys/uio.h> (for writev).
5533 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5534 and <sys/param.h> (for MIN).
5536 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5538 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5539 REQUESTED_TIME. Properly set the remaining time and return EINTR
5542 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5544 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5545 Depend on against $(link-rpcuserlibs).
5547 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5549 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5550 (__libc_stack_end): Do not use attribute_relro.
5551 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5552 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5553 to libthread-provided value.
5554 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5557 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5560 * bits/libc-lock.h (__libc_once_get): New macro.
5561 * sysdeps/mach/bits/libc-lock.h: Likewise.
5562 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5563 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5564 instead of using implementation details.
5566 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5567 * libio/freopen.c: Likewise.
5568 * libio/freopen64.c: Likewise.
5569 * misc/syslog.c: Likewise.
5570 * nscd/connections.c: Likewise.
5571 * nscd/netgroupcache.c: Likewise.
5572 * sysdeps/posix/getcwd.c: Likewise.
5574 2012-05-10 Roland McGrath <roland@hack.frob.com>
5576 * math/w_ilogbf.c: Add #include <limits.h>.
5578 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5580 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5581 path instead of returning without unlocking.
5583 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5584 immediate-write ioctls.
5585 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5587 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5589 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5590 __builtin_frame_address instead of making assumptions about the
5591 location of the return address relative to DATA. Force early load of
5593 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5594 __builtin_frame_address.
5597 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5598 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5599 implement dup3 and do some further code clean-ups.
5600 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5601 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5603 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5605 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5607 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5608 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5609 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5610 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5611 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5614 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5615 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5616 when handler == SIG_ERR, not when handler != SIG_ERR.
5618 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5620 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5621 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5624 accept4 for GNU Hurd.
5625 * include/sys/socket.h (__libc_accept4): New prototype.
5626 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5627 to implement __libc_accept4.
5628 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5630 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5632 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5633 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5634 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5637 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5639 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5641 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5643 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5644 assertion on O_CLOEXEC flag.
5645 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5646 * hurd/intern-fd.c: Likewise.
5647 * hurd/port2fd.c: Likewise.
5649 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5652 * bits/in.h (IPV6_PKTINFO): Define new macro.
5653 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5655 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5660 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5661 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5662 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5663 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5664 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5665 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5666 * math/libm-test.inc (logb_test) : Additional logb tests.
5668 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5669 Andreas Jaeger <aj@suse.de>
5671 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5672 * configure: Regenerated.
5673 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5674 * config.make.in (link-obsolete-rpc): New substituted variable.
5675 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5676 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5677 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5678 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5679 so that libc.a contains the symbols.
5680 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5681 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5682 * sunrpc/auth_none.c: Likewise.
5683 * sunrpc/auth_unix.c: Likewise.
5684 * sunrpc/authdes_prot.c: Likewise.
5685 * sunrpc/authuxprot.c: Likewise.
5686 * sunrpc/clnt_gen.c: Likewise.
5687 * sunrpc/clnt_perr.c: Likewise.
5688 * sunrpc/clnt_raw.c: Likewise.
5689 * sunrpc/clnt_simp.c: Likewise.
5690 * sunrpc/clnt_tcp.c: Likewise.
5691 * sunrpc/clnt_udp.c: Likewise.
5692 * sunrpc/clnt_unix.c: Likewise.
5693 * sunrpc/des_crypt.c: Likewise.
5694 * sunrpc/des_soft.c: Likewise.
5695 * sunrpc/get_myaddr.c: Likewise.
5696 * sunrpc/key_call.c: Likewise.
5697 * sunrpc/key_prot.c: Likewise.
5698 * sunrpc/netname.c: Likewise.
5699 * sunrpc/pm_getmaps.c: Likewise.
5700 * sunrpc/pm_getport.c: Likewise.
5701 * sunrpc/pmap_clnt.c: Likewise.
5702 * sunrpc/pmap_prot.c: Likewise.
5703 * sunrpc/pmap_prot2.c: Likewise.
5704 * sunrpc/pmap_rmt.c: Likewise.
5705 * sunrpc/publickey.c: Likewise.
5706 * sunrpc/rpc_cmsg.c: Likewise.
5707 * sunrpc/rpc_common.c: Likewise.
5708 * sunrpc/rpc_dtable.c: Likewise.
5709 * sunrpc/rpc_prot.c: Likewise.
5710 * sunrpc/rpc_thread.c: Likewise.
5711 * sunrpc/rtime.c: Likewise.
5712 * sunrpc/svc.c: Likewise.
5713 * sunrpc/svc_auth.c: Likewise.
5714 * sunrpc/svc_raw.c: Likewise.
5715 * sunrpc/svc_run.c: Likewise.
5716 * sunrpc/svc_tcp.c: Likewise.
5717 * sunrpc/svc_udp.c: Likewise.
5718 * sunrpc/svc_unix.c: Likewise.
5719 * sunrpc/svcauth_des.c: Likewise.
5720 * sunrpc/xcrypt.c: Likewise.
5721 * sunrpc/xdr.c: Likewise.
5722 * sunrpc/xdr_array.c: Likewise.
5723 * sunrpc/xdr_float.c: Likewise.
5724 * sunrpc/xdr_intXX_t.c: Likewise.
5725 * sunrpc/xdr_mem.c: Likewise.
5726 * sunrpc/xdr_rec.c: Likewise.
5727 * sunrpc/xdr_ref.c: Likewise.
5728 * sunrpc/xdr_sizeof.c: Likewise.
5729 * sunrpc/xdr_stdio.c: Likewise.
5731 2012-05-10 Roland McGrath <roland@hack.frob.com>
5733 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5734 change. Update copyright years.
5736 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5738 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5740 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5741 Joseph Myers <joseph@codesourcery.com>
5742 Paul Pluzhnikov <ppluzhnikov@google.com>
5745 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5747 [cross-compiling] (extra-libs): Likewise.
5748 [cross-compiling] (extra-libs-others): Likewise.
5749 [cross-compiling] (librpcsvc-routines): Likewise.
5750 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5751 [cross-compiling] (omit-deps): Likewise.
5752 (sunrpc-CPPFLAGS): New variable.
5753 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5754 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5755 (cross-rpcgen-objs): New variable.
5756 (extra-objs): Append $(cross-rpcgen-objs).
5757 ($(cross-rpcgen-objs)): New rule.
5758 ($(objpfx)cross-rpcgen): Likewise.
5759 (rpcgen-cmd): Define to use $(built-program-file). Expand
5761 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5762 ($(objpfx)x%.stmp): Likewise.
5763 * sunrpc/proto.h [IS_IN_build] (_): Define.
5764 [IS_IN_build] (_libc_intl_domainname): Likewise.
5766 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5768 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5769 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5770 and R_X86_64_TPOFF64.
5772 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5774 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5775 sysdeps/unix/sysv/syscalls.list.
5778 * sysdeps/unix/sysv/syscalls.list: Remove file.
5780 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5783 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5784 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5785 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5786 (__LC_IDENTIFICATION): Make these macros useful in #if
5787 expressions, as required by C99.
5789 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5791 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5792 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5795 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5797 * stdlib/longlong.h: Updated from GCC.
5799 2012-05-09 Andreas Jaeger <aj@suse.de>
5801 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5802 default is first entry.
5803 (run_mode): Set type.
5804 (main): Remove informal message about syslog.
5805 (options): Fix typo.
5808 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5811 (llrintf): Likewise.
5815 (nearbyint): Likewise.
5816 (nearbyintf): Likewise.
5818 2012-05-09 Andreas Jaeger <aj@suse.de>
5819 Pedro Alves <palves@redhat.com>
5821 * nscd/nscd.c (run_mode): Use enum.
5822 (main): Cleanup coding style issue.
5824 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
5825 Andreas Jaeger <aj@suse.de>
5827 * nscd/nscd.c (go_background): Replaced with...
5828 (run_mode): ... this.
5829 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5830 (options): Add -F --foreground.
5831 (main): Implement it.
5832 (parse_opt): Parse it.
5834 2012-05-09 Andreas Jaeger <aj@suse.de>
5837 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5838 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5839 -Wconversion warning.
5840 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5843 2012-05-09 Joseph Myers <joseph@codesourcery.com>
5845 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5847 (LC_ALL): Use macro-int-constant.
5848 (LC_COLLATE): Likewise.
5849 (LC_CTYPE): Likewise.
5850 (LC_MESSAGES): Likewise.
5851 (LC_MONETARY): Likewise.
5852 (LC_NUMERIC): Likewise.
5853 (LC_TIME): Likewise.
5854 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5855 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5856 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5857 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5859 [C99-based standards] (float_t): Expect type.
5860 [C99-based standards] (double_t): Expect type.
5861 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5863 [C99-based standards] (HUGE_VALL): Likewise.
5864 [C99-based standards] (INFINITY): Likewise.
5865 [C99-based standards] (NAN): Likewise.
5866 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5867 [C99-based standards] (FP_NAN): Likewise.
5868 [C99-based standards] (FP_NORMAL): Likewise.
5869 [C99-based standards] (FP_SUBNORMAL): Likewise.
5870 [C99-based standards] (FP_ZERO): Likewise.
5871 [C99-based standards] (FP_FAST_FMA): Use
5872 optional-macro-int-constant. Specify type. Require == 1.
5873 [C99-based standards] (FP_FAST_FMAF): Likewise.
5874 [C99-based standards] (FP_FAST_FMAL): Likewise.
5875 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5876 [C99-based standards] (FP_ILOGBNAN): Likewise.
5877 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5879 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5880 [C99-based standards] (math_errhandling): Specify type.
5881 [ISO99 || ISO11] (signgam): Do not allow.
5882 [non-C99-based standards] (copysignf): Do not allow.
5883 [non-C99-based standards] (exp2f): Likewise.
5884 [non-C99-based standards] (log2f): Likewise.
5885 [non-C99-based standards] (modff): Allow.
5886 [non-C99-based standards] (erff): Do not allow.
5887 [non-C99-based standards] (erfcf): Likewise.
5888 [non-C99-based standards] (gammaf): Likewise.
5889 [non-C99-based standards] (hypotf): Likewise.
5890 [non-C99-based standards] (j0f): Likewise.
5891 [non-C99-based standards] (j1f): Likewise.
5892 [non-C99-based standards] (jnf): Likewise.
5893 [non-C99-based standards] (lgammaf): Likewise.
5894 [non-C99-based standards] (tgammaf): Likewise.
5895 [non-C99-based standards] (y0f): Likewise.
5896 [non-C99-based standards] (y1f): Likewise.
5897 [non-C99-based standards] (ynf): Likewise.
5898 [non-C99-based standards] (isnanf): Likewise.
5899 [non-C99-based standards] (acoshf): Likewise.
5900 [non-C99-based standards] (asinhf): Likewise.
5901 [non-C99-based standards] (atanhf): Likewise.
5902 [non-C99-based standards] (cbrtf): Likewise.
5903 [non-C99-based standards] (expm1f): Likewise.
5904 [non-C99-based standards] (ilogbf): Likewise.
5905 [non-C99-based standards] (log1pf): Likewise.
5906 [non-C99-based standards] (logbf): Likewise.
5907 [non-C99-based standards] (nextafterf): Likewise.
5908 [non-C99-based standards] (remainderf): Likewise.
5909 [non-C99-based standards] (rintf): Likewise.
5910 [non-C99-based standards] (scalbf): Likewise.
5911 [non-C99-based standards] (copysignl): Likewise.
5912 [non-C99-based standards] (exp2l): Likewise.
5913 [non-C99-based standards] (log2l): Likewise.
5914 [non-C99-based standards] (modfl): Allow.
5915 [non-C99-based standards] (erfl): Do not allow.
5916 [non-C99-based standards] (erfcl): Likewise.
5917 [non-C99-based standards] (gammal): Likewise.
5918 [non-C99-based standards] (hypotl): Likewise.
5919 [non-C99-based standards] (j0l): Likewise.
5920 [non-C99-based standards] (j1l): Likewise.
5921 [non-C99-based standards] (jnl): Likewise.
5922 [non-C99-based standards] (lgammal): Likewise.
5923 [non-C99-based standards] (tgammal): Likewise.
5924 [non-C99-based standards] (y0l): Likewise.
5925 [non-C99-based standards] (y1l): Likewise.
5926 [non-C99-based standards] (ynl): Likewise.
5927 [non-C99-based standards] (isnanl): Likewise.
5928 [non-C99-based standards] (acoshl): Likewise.
5929 [non-C99-based standards] (asinhl): Likewise.
5930 [non-C99-based standards] (atanhl): Likewise.
5931 [non-C99-based standards] (cbrtl): Likewise.
5932 [non-C99-based standards] (expm1l): Likewise.
5933 [non-C99-based standards] (ilogbl): Likewise.
5934 [non-C99-based standards] (log1pl): Likewise.
5935 [non-C99-based standards] (logbl): Likewise.
5936 [non-C99-based standards] (nextafterl): Likewise.
5937 [non-C99-based standards] (remainderl): Likewise.
5938 [non-C99-based standards] (rintl): Likewise.
5939 [non-C99-based standards] (scalbl): Likewise.
5940 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5941 [non-C99-based standards] (FP_*): Do not allow.
5942 [C99-based standards] (FP_*): Change to
5943 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5944 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5946 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5947 (SIG_ERR): Likewise.
5948 [X/Open-based standards] (SIG_HOLD): Likewise.
5949 (SIG_IGN): Likewise.
5950 (SIGABRT): Use macro-int-constant. Specify type. Require
5955 (SIGSEGV): Likewise.
5957 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5958 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5959 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5960 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5961 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5962 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5963 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5964 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5965 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5966 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5967 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5968 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5969 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5970 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5971 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5972 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5973 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5974 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5975 [X/Open-based standards] (SIGTRAP): Likewise.
5976 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5977 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5978 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5979 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5980 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5983 2012-05-08 Ian Wienand <ianw@vmware.com>
5986 * time/tzset.c (__tzset_parse_tz): Update default rules for
5987 daylight time changes in the Energy Policy Act of 2005.
5989 2012-05-09 Andreas Jaeger <aj@suse.de>
5992 * elf/ldconfig.c (parse_conf): Change string to make clear that
5993 ldconfig only issued a warning if ld.so.conf does not exist.
5995 2012-05-08 David S. Miller <davem@davemloft.net>
5997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5998 movxtod instead of popping the value on the stack.
6000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6002 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6004 * config.h.in: Add HAVE_ARM_PCS_VFP.
6006 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6009 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6010 checking but the checks are disabled for any reason.
6012 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6014 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6015 and ELF64_R_TYPE with ELFW(R_TYPE).
6017 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6019 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6022 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6023 (settimeofday): Likewise.
6025 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6027 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6028 a struct th_u2 inside the union, and move tu_block/tu_code into
6029 a new th_u3 union of tu_block/tu_code inside of that. Move
6030 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6031 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6032 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6033 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6034 (th_stuff): Change to th_u1.tu_stuff.
6036 (th_msg): Change to th_u1.th_u2.tu_data.
6038 2012-05-07 David S. Miller <davem@davemloft.net>
6040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6043 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6044 (SETUP_PIC_REG): Use it.
6045 (SETUP_PIC_REG_LEAF): Use it.
6047 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6051 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6053 (EXPL_FINITE): Likewise.
6055 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6056 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6058 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6060 (EXPL_FINITE): Likewise.
6062 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6063 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6065 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6066 test of -max_value argument for long double.
6067 * sysdeps/i386/fpu/libm-test-ulps: Update.
6068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6070 2012-05-06 David S. Miller <davem@davemloft.net>
6072 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6073 quad soft-float symbols whose references which are compiler
6075 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6077 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6081 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6083 (EXPL_FINITE): Likewise.
6087 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6088 Adjust comments for base varying.
6089 (__expl_finite): Change alias to EXPL_FINITE.
6090 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6092 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6093 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6094 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6095 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6096 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6098 (EXPL_FINITE): Likewise.
6102 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6103 Adjust comments for base varying.
6104 (__expl_finite): Change alias to EXPL_FINITE.
6105 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6110 * math/libm-test.inc (check_float_internal): Correct ulp
6111 calculation for subnormal expected results.
6113 2012-05-06 Andreas Jaeger <aj@suse.de>
6115 * Makeconfig (+math-flags): New, set to -frounding-math.
6116 (+cflags): Add +math-flags so that all of glibc gets compiled with
6119 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6121 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6123 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6129 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6130 (__ieee754_expl): Allow for and saturate large arguments.
6131 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6132 (u_threshold): Likewise.
6133 (__exp): Call __ieee754_exp before checking for overflow and
6135 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6136 (u_threshold): Likewise.
6137 (__expf): Call __ieee754_expf before checking for overflow and
6139 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6140 (u_threshold): Likewise.
6141 (__expl): Call __ieee754_expl before checking for overflow and
6143 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6144 (__ieee754_expl): Allow for and saturate large arguments.
6145 * math/libm-test.inc (exp_test): Add another test. Do not allow
6146 missing overflow exception on overflow.
6147 (expm1_test): Do not allow missing overflow exception on overflow.
6149 * sysdeps/i386/fpu/e_expl.c: Move to ...
6150 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6151 rather than using inline asm.
6152 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6153 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6154 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6156 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6163 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6165 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6166 sysdeps/unix/common/syscalls.list.
6169 (ftruncate): Likewise.
6170 (getrusage): Likewise.
6171 (gettimeofday): Likewise.
6172 (setpgid): Likewise.
6173 (setregid): Likewise.
6174 (setreuid): Likewise.
6175 (sigaction): Likewise.
6176 (truncate): Likewise.
6177 (vhangup): Likewise.
6178 * sysdeps/unix/common/syscalls.list: Remove file.
6179 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6180 * sysdeps/unix/sysv/linux/Implies: Likewise.
6182 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6184 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6186 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6190 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6193 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6196 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6199 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6202 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6205 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6208 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6212 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6216 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6219 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6223 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6227 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6229 * sysdeps/unix/common/bits/dirent.h: Remove file.
6230 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6232 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6233 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6234 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6235 * sysdeps/unix/bsd/isatty.c: Likewise.
6236 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6237 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6238 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6240 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6243 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6244 long double comparison inaccuracies.
6245 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6248 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6250 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6251 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6253 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6256 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6257 nonzero digits before rounding a hex value.
6258 * stdlib/tst-strtod.c (tests): Add another test.
6260 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6262 * sysdeps/s390/fpu/libm-test-ulps: Update.
6264 2012-05-03 Andreas Jaeger <aj@suse.de>
6266 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6267 does not get optimized out.
6268 (malloc_opt_barrier): New.
6270 2012-05-03 Andreas Jaeger <aj@suse.de>
6271 Roland McGrath <roland@hack.frob.com>
6273 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6274 intermediate file deletion.
6275 (generated): Add .symlist files.
6277 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6280 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6281 Redirect under this condition.
6282 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6283 [__USE_GNU] (__dprintf_chk): Not under this condition.
6284 [__USE_GNU] (__vdprintf_chk): Likewise.
6285 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6286 under this condition.
6287 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6288 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6289 [__USE_XOPEN2K8] (vdprintf): Likewise.
6290 [__USE_GNU] (__dprintf_chk): Not under this condition.
6291 [__USE_GNU] (__vdprintf_chk): Likewise.
6292 [__USE_GNU] (dprintf): Likewise.
6293 [__USE_GNU] (vdprintf): Likewise.
6295 2012-05-03 Roland McGrath <roland@hack.frob.com>
6297 * elf/Makefile (common-generated): Set this instead of generated for
6298 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6299 $(all-built-dso)-derived lists.
6301 2012-05-03 Andreas Jaeger <aj@suse.de>
6303 * sysdeps/i386/fpu/libm-test-ulps: Update.
6307 * scripts/gen-FAQ.pl: Likewise.
6308 * manual/install.texi (Installation): Point to online location of
6310 * Makefile (files-for-dist): Remove FAQ.
6313 2012-05-02 Allan McRae <allan@archlinux.org>
6315 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6316 (LDFLAGS-reldepmod5.so): Likewise.
6317 (LDFLAGS-reldep6mod1.so): Likewise.
6318 (LDFLAGS-reldep6mod4.so): Likewise.
6319 (LDFLAGS-reldep8mod3.so): Likewise.
6320 (LDFLAGS-unload4mod1.so): Likewise.
6321 (LDFLAGS-unload4mod2.so): Likewise.
6322 (LDFLAGS-tst-initorder): Likewise.
6323 (LDFLAGS-tst-initordera2.so): Likewise.
6324 (LDFLAGS-tst-initordera3.so): Likewise.
6325 (LDFLAGS-tst-initordera4.so): Likewise.
6326 (LDFLAGS-tst-initorderb2.so): Likewise.
6327 (LDFLAGS-noload): Likewise.
6328 (LDFLAGS-next): Likewise.
6329 (LDFLAGS-order2mod1.so): Likewise.
6330 (LDFLAGS-order2mod2.so): Likewise.
6331 (LDFLAGS-tst-initorder2): Likewise.
6332 (LDFLAGS-tst-initorder2a.so): Likewise.
6333 (LDFLAGS-tst-initorder2b.so): Likewise.
6334 (LDFLAGS-tst-initorder2c.so): Likewise.
6335 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6337 2012-05-02 David S. Miller <davem@davemloft.net>
6339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6341 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6344 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6346 2012-05-02 Andreas Jaeger <aj@suse.de>
6348 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6349 since we manipulate rounding mode.
6350 (CPPFLAGS-test-idouble.c): Likewise.
6351 (CPPFLAGS-test-ifloat.c): Likewise.
6352 (CFLAGS-test-ldouble.c): Likewise.
6353 (CFLAGS-test-double.c): Likewise.
6354 (CFLAGS-test-float.c): Likewise.
6355 (CFLAGS-test-misc.c): Likewise.
6356 (CFLAGS-test-test-fenv.c): Likewise.
6358 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6362 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6363 comparisons to determine direction to adjust input.
6365 2012-05-01 Roland McGrath <roland@hack.frob.com>
6367 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6368 output to the target.
6370 * scripts/localplt.awk: New file.
6371 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6372 (check-localplt-CFLAGS): Variable removed.
6373 ($(all-built-dso:=.jmprel)): New static pattern rule.
6374 (generated): Add those targets.
6375 (localplt-built-dso): New variable.
6376 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6378 * elf/check-localplt.c: File removed.
6380 * scripts/check-execstack.awk: New file.
6381 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6382 (check-execstack-CFLAGS): Variable removed.
6383 ($(objpfx)check-execstack.h): Target removed.
6384 ($(objpfx)execstack-default): New target.
6385 (generated): Add that instead of check-execstack.h.
6386 ($(all-built-dso:=.phdr)): New static pattern rule.
6387 (generated): Add those targets.
6388 * elf/check-execstack.c: File removed.
6390 * scripts/check-textrel.awk: New file.
6391 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6392 (check-textrel-CFLAGS): Variable removed.
6393 (all-built-dso): Use := to define.o
6394 ($(all-built-dso:=.dyn)): New static pattern rule.
6395 (generated): Add those targets.
6396 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6397 * config.make.in (READELF): New substituted variable.
6398 * elf/check-textrel.c: File removed.
6400 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6402 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6404 * conform/data/ctype.h-data [C99-based standards] (isblank):
6406 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6407 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6408 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6409 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6410 Specify type. Require positive value.
6413 [ISO || POSIX] (EILSEQ): Do not expect.
6414 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6415 Specify type. Require positive value.
6416 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6417 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6418 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6419 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6420 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6421 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6422 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6423 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6424 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6425 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6426 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6427 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6428 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6429 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6430 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6431 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6432 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6433 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6434 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6435 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6436 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6437 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6438 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6439 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6440 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6441 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6442 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6443 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6444 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6445 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6446 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6447 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6448 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6449 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6450 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6451 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6452 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6453 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6454 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6455 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6456 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6457 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6458 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6459 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6460 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6461 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6462 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6463 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6464 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6465 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6466 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6467 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6468 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6469 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6470 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6471 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6472 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6473 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6474 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6475 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6476 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6477 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6478 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6479 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6480 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6481 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6482 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6483 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6484 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6485 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6486 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6487 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6488 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6489 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6490 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6491 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6492 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6494 (FLT_ROUNDS): Expect as macro, not constant.
6495 (FLT_MANT_DIG): Use macro-int-constant.
6496 (DBL_MANT_DIG): Likewise.
6497 (LDBL_MANT_DIG): Likewise.
6498 (FLT_DIG): Likewise.
6499 (DBL_DIG): Likewise.
6500 (LDBL_DIG): Likewise.
6501 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6502 (DBL_MIN_EXP): Likewise.
6503 (LDBL_MIN_EXP): Likewise.
6504 (FLT_MAX_EXP): Use macro-int-constant.
6505 (DBL_MAX_EXP): Likewise.
6506 (LDBL_MAX_EXP): Likewise.
6507 (FLT_MAX_10_EXP): Likewise.
6508 (DBL_MAX_10_EXP): Likewise.
6509 (LDBL_MAX_10_EXP): Likewise.
6510 (FLT_MAX): Use macro-constant.
6511 (DBL_MAX): Likewise.
6512 (LDBL_MAX): Likewise.
6513 (FLT_EPSILON): Use macro-constant. Give upper bound.
6514 (DBL_EPSILON): Likewise.
6515 (LDBL_EPSILON): Likewise.
6516 (FLT_MIN): Likewise.
6517 (DBL_MIN): Likewise.
6518 (LDBL_MIN): Likewise.
6519 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6520 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6521 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6522 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6523 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6524 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6525 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6526 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6527 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6528 [ISO11] (FLT_TRUE_MIN): Likewise.
6529 [ISO11] (LDBL_TRUE_MIN): Likewise.
6530 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6531 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6532 (SCHAR_MIN): Use macro-int-constant. Specify type.
6533 (SCHAR_MAX): Likewise.
6534 (UCHAR_MAX): Likewise.
6535 (CHAR_MIN): Likewise.
6536 (CHAR_MAX): Likewise.
6537 (MB_LEN_MAX): Use macro-int-constant.
6538 (SHRT_MIN): Use macro-int-constant. Specify type.
6539 (SHRT_MAX): Likewise.
6540 (USHRT_MAX): Likewise.
6541 (INT_MAX): Likewise.
6542 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6544 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6546 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6548 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6549 bound negative. Suffix upper bound with "L".
6550 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6552 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6554 [C99-based standards] (LLONG_MAX): Likewise.
6555 [C99-based standards] (ULLONG_MAX): Likewise.
6556 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6558 [ISO11] (max_align_t): Require type.
6559 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6561 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6562 from $CFLAGS, without defining away __attribute__ calls.
6563 (checknamespace): Use $CFLAGS_namespace.
6565 * conform/conformtest.pl (@keywords): Only include C99 keywords
6566 for standards based on C99 or C11.
6568 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6570 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6573 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6574 usability of symbols in #if.
6576 * conform/conformtest.pl: If macro or constant types start
6577 "promoted:", expect the symbol to be of the following type
6578 promoted by the integer promotions.
6580 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6581 in one place. Also handle "macro-constant".
6583 * conform/conformtest.pl: Only accept expected macro values with
6584 "==". Parse all "macro" lines in one place.
6585 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6587 * conform/conformtest.pl: Handle braced types on "constant" lines
6588 instead of handling "typed-constant".
6589 * conform/data/signal.h-data: Use "constant" instead of
6592 * conform/conformtest.pl: Handle "optional-" at start of lines in
6593 one place rather than duplicating several cases. Handle each
6594 format of "macro" line with initial "optional-".
6596 * conform/conformtest.pl: Only accept expected constant or
6597 optional-constant values with "==". Parse all "constant" lines in
6598 one place. Parse all "optional-constant" lines in one place.
6599 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6600 * conform/data/fmtmsg.h-data: Likewise.
6601 * conform/data/netinet/in.h-data: Likewise.
6602 * conform/data/tar.h-data: Likewise.
6603 * conform/data/limits.h-data: Use "==" form on "constant" and
6604 "optional-constant" lines.
6606 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6607 Use -std=c99 for XOPEN2K.
6608 (@knownproblems): Remove.
6609 (newtoken): Don't check %isknown.
6611 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6612 Do not expect macro.
6613 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6614 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6615 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6616 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6617 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6618 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6619 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6620 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6621 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6622 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6623 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6624 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6625 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6626 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6627 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6628 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6629 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6630 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6631 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6632 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6633 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6634 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6635 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6636 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6637 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6638 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6639 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6640 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6641 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6642 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6643 [XPG3] (acosh): Likewise.
6644 [XPG3] (asinh): Likewise.
6645 [XPG3] (atanh): Likewise.
6646 [XPG3] (cbrt): Likewise.
6647 [XPG3] (expm1): Likewise.
6648 [XPG3] (ilogb): Likewise.
6649 [XPG3] (log1p): Likewise.
6650 [XPG3] (logb): Likewise.
6651 [XPG3] (nextafter): Likewise.
6652 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6653 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6654 [XPG3] (remainder): Likewise.
6655 [XPG3] (rint): Likewise.
6656 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6657 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6658 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6659 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6660 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6661 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6662 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6663 [UNIX98 || XOPEN2K] (scalb): Expect.
6664 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6665 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6666 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6667 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6668 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6669 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6670 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6671 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6672 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6673 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6674 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6675 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6676 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6677 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6678 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6679 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6680 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6681 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6682 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6683 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6684 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6685 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6686 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6687 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6688 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6689 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6690 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6691 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6692 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6693 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6694 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6695 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6696 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6697 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6698 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6699 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6700 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6701 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6702 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6703 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6704 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6705 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6706 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6707 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6708 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6709 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6710 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6711 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6712 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6713 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6714 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6715 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6716 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6717 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6718 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6719 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6720 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6721 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6722 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6723 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6724 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6725 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6726 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6727 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6728 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6729 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6730 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6731 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6732 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6733 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6734 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6735 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6736 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6737 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6738 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6739 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6740 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6741 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6742 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6743 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6744 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6745 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6746 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6747 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6748 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6749 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6750 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6751 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6752 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6753 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6754 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6755 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6756 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6757 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6758 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6759 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6760 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6761 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6762 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6763 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6764 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6765 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6766 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6767 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6768 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6769 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6770 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6771 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6772 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6773 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6774 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6775 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6776 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6777 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6778 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6779 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6780 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6781 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6782 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6783 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6784 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6785 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6786 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6787 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6788 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6789 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6790 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6791 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6792 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6793 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6794 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6795 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6796 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6797 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6798 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6799 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6800 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6802 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6803 _XOPEN_SOURCE_EXTENDED for XPG4.
6805 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6807 * Makeconfig (localtime): Remove variable.
6808 (inst_localtime-file): Likewise.
6810 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6831 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6835 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6836 comparisons to determine direction to adjust input.
6837 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6838 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6839 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6841 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6843 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6845 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6846 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6848 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6850 * math/libm-test.inc (nexttoward_test): Add more tests.
6852 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6855 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6856 in version GLIBC_2.1, not GLIBC_2.0.
6857 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6860 2012-04-30 Joseph Myers <joseph@codesourcery.com>
6863 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6865 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6866 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6867 * math/libm-test.inc (acos_test): Add more tests.
6868 (asin_test): Likewise.
6869 * sysdeps/i386/fpu/libm-test-ulps: Update.
6870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6873 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6875 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6876 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6877 * math/libm-test.inc (acos_test_tonearest): New function.
6878 (acos_test_towardzero): Likewise.
6879 (acos_test_downward): Likewise.
6880 (acos_test_upward): Likewise.
6881 (asin_test_tonearest): Likewise.
6882 (asin_test_towardzero): Likewise.
6883 (asin_test_downward): Likewise.
6884 (asin_test_upward): Likewise.
6885 (main): Call the new functions.
6886 * sysdeps/i386/fpu/libm-test-ulps: Update.
6887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6891 * math/e_exp10.c: Include <float.h>.
6892 (__ieee754_exp10): Handle underflow here rather than multiplying
6893 large negative argument by M_LN10.
6894 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6896 * math/e_exp10l.c: Include <float.h>.
6897 (__ieee754_exp10l): Handle underflow here rather than multiplying
6898 large negative argument by M_LN10l.
6899 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6900 spurious overflow exception on underflow.
6902 2012-04-29 Marek Polacek <polacek@redhat.com>
6904 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6905 (__fortify_function): New macro.
6906 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6907 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6908 __extern_always_inline.
6909 * libio/bits/stdio2.h: Likewise.
6910 * libio/bits/stdio.h: Likewise.
6911 * string/string.h: Likewise.
6912 * string/bits/string3.h: Likewise.
6913 * include/stdio.h: Likewise.
6914 * stdlib/bits/stdlib.h: Likewise.
6915 * stdlib/stdlib.h: Likewise.
6916 * rt/bits/mqueue2.h: Likewise.
6917 * rt/mqueue.h: Likewise.
6918 * posix/bits/unistd.h: Likewise.
6919 * posix/unistd.h: Likewise.
6920 * io/bits/poll2.h: Likewise.
6921 * io/bits/fcntl2.h: Likewise.
6922 * io/fcntl.h: Likewise.
6923 * io/sys/poll.h: Likewise.
6924 * misc/bits/syslog.h: Likewise.
6925 * misc/bits/syslog-ldbl.h: Likewise.
6926 * misc/sys/syslog.h: Likewise.
6927 * socket/bits/socket2.h: Likewise.
6928 * socket/sys/socket.h: Likewise.
6929 * debug/tst-chk1.c: Likewise.
6930 * wcsmbs/bits/wchar2.h: Likewise.
6931 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6932 * wcsmbs/wchar.h: Likewise.
6934 2012-04-29 Andreas Jaeger <aj@suse.de>
6936 * Makerules (tests): Remove enable-check-abi protection.
6937 (check-abi-warn): Remove.
6938 (check-abi-%): Remove check-abi-warn usage.
6940 * configure.in: Remove check-abi configure option.
6941 * configure: Regenerated.
6942 * config.make.in (enable-check-abi): Remove.
6944 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6947 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6948 double functions to double *_finite functions.
6951 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6952 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6954 * stdio-common/Makefile (tests): Add tst-sprintf3.
6955 * stdio-common/tst-sprintf3.c: New file.
6957 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6958 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6960 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6962 * conform/conformtest.pl: Remove duplicate typed-constant
6965 2012-04-28 David S. Miller <davem@davemloft.net>
6967 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6968 (check-abi-%): Remove AWK script prerequisite and explicit
6970 (check-abi): Rewrite to just diff the symlist with the abilist.
6971 (config-tls, config-abi-config): Delete, no longer used.
6972 (update-abi-%): Remove AWK script and explicit abilist directory.
6973 (update-abi): Rewrite to simply compare and conditionally copy the
6974 symlist and the sysdep abilist file. Remove update-abi-config
6976 * abilist/ld.abilist: Remove.
6977 * abilist/libBrokenLocale.abilist: Remove.
6978 * abilist/libanl.abilist: Remove.
6979 * abilist/libcrypt.abilist: Remove.
6980 * abilist/libdl.abilist: Remove.
6981 * abilist/librt.abilist: Remove.
6982 * abilist/libthread_db.abilist: Remove.
6983 * abilist/libutil.abilist: Remove.
6984 * scripts/extract-abilist.awk: Remove.
6985 * scripts/merge-abilist.awk: Remove.
6986 * sysdeps/generic/libcidn.abilist: New file.
6987 * sysdeps/generic/libnss_compat.abilist: New file.
6988 * sysdeps/generic/libnss_db.abilist: New file.
6989 * sysdeps/generic/libnss_dns.abilist: New file.
6990 * sysdeps/generic/libnss_files.abilist: New file.
6991 * sysdeps/generic/libnss_hesiod.abilist: New file.
6992 * sysdeps/generic/libnss_nis.abilist: New file.
6993 * sysdeps/generic/libnss_nisplus.abilist: New file.
6994 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6995 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6996 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6998 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6999 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7000 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7001 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7002 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7003 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7004 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7005 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7006 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7008 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7009 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7010 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7011 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7013 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7014 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7015 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7016 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7017 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7018 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7020 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7021 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7022 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7024 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7025 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7027 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7127 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7128 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7129 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7131 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7132 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7133 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7134 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7135 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7136 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7137 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7138 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7139 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7140 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7192 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7194 * conform/conformtest.pl: Fix typo in handling typed-constant from
7197 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7199 * README: Cut down references to pre-2.6 Linux kernels and
7200 Linuxthreads. Update lists of configurations in libc and ports
7201 and sort alphabetically. Say "or newer" with Linux kernel version
7204 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7206 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7209 * math/libm-test.inc (logb_test_downward): New test to expose
7210 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7213 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7216 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7218 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7219 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7221 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7223 * sysdeps/unix/i386/brk.S: Remove file.
7224 * sysdeps/unix/i386/dl-brk.S: Likewise.
7225 * sysdeps/unix/i386/pipe.S: Likewise.
7226 * sysdeps/unix/i386/sigreturn.S: Likewise.
7227 * sysdeps/unix/i386/syscall.S: Likewise.
7228 * sysdeps/unix/i386/vfork.S: Likewise.
7229 * sysdeps/unix/i386/wait.S: Likewise.
7231 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7232 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7234 * configure.in (arm*-none*): Do not allow without
7235 --enable-hacker-mode.
7236 (netbsd*): Remove case setting base_os.
7237 (386bsd*): Likewise.
7238 (freebsd*): Likewise.
7242 (ultrix*): Likewise.
7243 (newsos*): Likewise.
7253 (solaris[2-9]*): Likewise.
7255 * configure: Regenerated.
7257 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7260 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7261 overflow or cancellation in calculating denominator.
7262 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7263 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7264 down expression to avoid unexpected rounding in newer GCCs.
7265 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7267 2012-04-26 David S. Miller <davem@davemloft.net>
7269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7270 long-double compat symbols.
7271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7285 2012-04-25 David S. Miller <davem@davemloft.net>
7287 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7288 HWCAP_* values only after the memory barriers have been defined.
7289 (atomic_full_barrier): Define.
7290 (atomic_read_barrier): Define.
7291 (atomic_write_barrier): Define.
7293 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7295 * shlib-versions: Add libgcc_s version information.
7296 * sysdeps/generic/libgcc_s.h: Remove.
7297 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7299 * sysdeps/gnu/unwind-resume.c: Likewise.
7300 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7302 2012-04-25 David S. Miller <davem@davemloft.net>
7304 * sysdeps/unix/sparc/brk.S: Delete.
7305 * sysdeps/unix/sparc/dl-brk.S: Delete.
7306 * sysdeps/unix/sparc/pipe.S: Delete.
7307 * sysdeps/unix/sparc/sysdep.S: Delete.
7308 * sysdeps/unix/sparc/sysdep.h: Delete.
7309 * sysdeps/unix/sparc/vfork.S: Delete.
7310 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7311 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7312 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7313 ret_ERRVAL, r0, r1, MOVE): Define.
7314 (JUMPTARGET): Remove.
7315 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7316 sysdeps/unix/sparc/sysdep.h
7317 (ENTRY, END): Remove.
7318 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7320 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7322 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7323 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7326 * timezone/README: Update upstream location and email address for
7328 * timezone/zdump.c: Update from tzcode 2012b.
7329 * timezone/zic.c: Likewise.
7331 * configure.in (libc_cv_as_needed): Remove test.
7332 * configure: Regenerated.
7333 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7334 conditional definition.
7335 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7336 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7337 * config.make.in (have-as-needed): Remove variable.
7339 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7340 Paul Pluzhnikov <ppluzhnikov@google.com>
7342 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7345 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7347 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7348 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7349 * sysdeps/sh/strlen.S: Likewise.
7351 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7353 * sysdeps/unix/fork.S: Remove file.
7354 * sysdeps/unix/i386/fork.S: Likewise.
7355 * sysdeps/unix/sparc/fork.S: Likewise.
7357 * sysdeps/unix/system.c: Remove file.
7358 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7360 * sysdeps/unix/getegid.S: Remove file.
7361 * sysdeps/unix/geteuid.S: Likewise.
7363 2012-04-24 Roland McGrath <roland@hack.frob.com>
7365 * scripts/check-localplt.awk: New file.
7366 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7368 * scripts/data/localplt-generic.data: Add a comment.
7370 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7371 NODE when __dir_mkfile failed.
7372 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7373 Reported by Ludovic Courtès <ludo@gnu.org>.
7375 2012-04-24 Andreas Jaeger <aj@suse.de>
7377 * Makerules (common-clean): Also remove gen-as-const-headers
7380 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7382 * Makerules (native-compile): Do not change working directory for
7383 build. Use $(OUTPUT_OPTION) in command.
7384 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7386 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7389 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7390 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7391 * math/libm-test.inc (floor_test): Add more tests.
7392 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7394 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7396 * sysdeps/unix/getdents.c: Remove file.
7397 * sysdeps/unix/sysv/getdents.c: Likewise.
7398 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7400 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7401 sysdeps/unix/mman/syscalls.list.
7403 (mprotect): Likewise.
7406 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7407 * sysdeps/unix/mman/syscalls.list: Remove.
7408 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7410 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7411 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7412 * configure: Regenerated.
7413 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7415 * config.make.in (libgcc_s_suffix): Remove variable.
7417 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7419 * sysdeps/unix/sysv/gethostname.c: Move to ...
7420 * sysdeps/posix/gethostname.c: ... here.
7422 * sysdeps/unix/execve.S: Remove file.
7424 * sysdeps/unix/_exit.S: Remove file.
7426 2012-04-23 Andreas Jaeger <aj@suse.de>
7429 * manual/Makefile: Remove make dist support, there's no
7430 need for a stand-alone documentation tar ball.
7431 (TEXI2DVI): Define always, it's not in Makeconfig.
7435 (glibc-doc-$(edition).tar): Removed
7439 (ETAGS): Remove, it's in Makeconfig.
7440 (move-if-change): Remove, it's in Makeconfig.
7442 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7445 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7446 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7447 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7448 (strtod_l, strtof_l, strtold_l): Remove __wur.
7449 It is not necessarily an error to ignore strtol's return value.
7450 One can reliably look at the stored endptr to decide whether
7451 the number had valid syntax.
7453 2012-04-21 Andreas Jaeger <aj@suse.de>
7456 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7458 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7460 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7461 * sysdeps/unix/sysv/Versions: Remove file.
7463 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7468 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7471 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7472 version from __vm86.
7474 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7476 * sysdeps/unix/common/lxstat.c: Remove file.
7477 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7479 * sysdeps/unix/sysv/Makefile: Remove file.
7481 * sysdeps/unix/sysv/direct.h: Remove file.
7483 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7484 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7485 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7486 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7487 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7488 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7489 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7491 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7493 * sysdeps/unix/xmknod.c: Remove file.
7494 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7496 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7498 * sysdeps/unix/sysv/i386/time.S: Remove file.
7500 * sysdeps/unix/fxstat.c: Remove file.
7501 * sysdeps/unix/xstat.c: Likewise.
7502 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7504 * sysdeps/unix/sysv/sigaction.c: Remove file.
7506 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7507 (sysdep_headers): Remove variable.
7508 [termio.h not in sysdep_headers] (generated): Likewise.
7509 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7510 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7511 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7512 * sysdeps/unix/sysv/tcflow.c: Likewise.
7513 * sysdeps/unix/sysv/tcflush.c: Likewise.
7514 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7515 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7516 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7517 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7518 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7520 * sysdeps/unix/siglist.c: Remove file.
7522 * sysdeps/unix/getppid.S: Remove file.
7524 * sysdeps/unix/mkdir.c: Remove file.
7525 * sysdeps/unix/rmdir.c: Likewise.
7527 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7529 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7531 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7532 errlist-compat value.
7534 2012-04-18 David S. Miller <davem@davemloft.net>
7536 * sysdeps/generic/memcopy.h (reg_char): Delete.
7537 * debug/strcat_chk.c: Use char, not reg_char.
7538 * debug/strcpy_chk.c: Likewise.
7539 * debug/strncat_chk.c: Likewise.
7540 * debug/strncpy_chk.c: Likewise.
7541 * string/memchr.c: Likewise.
7542 * string/memrchr.c: Likewise.
7543 * string/rawmemchr.c: Likewise.
7544 * string/strcat.c: Likewise.
7545 * string/strchr.c: Likewise.
7546 * string/strchrnul.c: Likewise.
7547 * string/strcmp.c: Likewise.
7548 * string/strcpy.c: Likewise.
7549 * string/strncat.c: Likewise.
7550 * string/strncmp.c: Likewise.
7551 * string/strncpy.c: Likewise.
7553 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7555 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7556 __builtin_memcopy is called when src and dest ranges are known to not
7559 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7561 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7562 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7563 fwd_align_merge macro call.
7564 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7565 bwd_align_merge macro call.
7566 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7568 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7570 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7571 bwd_align_merge macros.
7572 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7573 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7574 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7576 2012-04-18 David S. Miller <davem@davemloft.net>
7578 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7580 2012-04-18 Andreas Jaeger <aj@suse.de>
7583 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7584 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7585 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7587 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7588 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7589 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7591 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7592 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7593 Adjust for changed ldbl-128 files.
7595 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7596 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7597 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7599 2012-04-17 David S. Miller <davem@davemloft.net>
7601 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7603 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7605 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7606 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7607 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7608 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7609 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7610 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7612 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7615 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7616 * math/libm-test.inc: Add ilogb errno and exception tests.
7617 * math/w_ilogb.c: New file: ilogb wrapper.
7618 * math/w_ilogbf.c: New file: ilogbf wrapper.
7619 * math/w_ilogbl.c: New file: ilogbl wrapper.
7620 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7621 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7622 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7623 exception being thrown with 0.0 as argument.
7624 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7625 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7626 exception being thrown with 0.0 as argument.
7627 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7628 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7629 exception being thrown with 0.0 as argument.
7630 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7631 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7632 exception being thrown with 0.0 as argument.
7633 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7634 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7635 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7636 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7637 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7638 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7639 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7640 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7641 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7643 2012-04-17 Petr Baudis <pasky@ucw.cz>
7645 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7648 2012-04-16 Marek Polacek <polacek@redhat.com>
7650 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7652 2012-04-16 Marek Polacek <polacek@redhat.com>
7654 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7655 operands of fdivp instruction.
7657 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7659 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7660 * elf/tst-auditmod3b.c: Likewise.
7661 * elf/tst-auditmod4b.c: Likewise.
7662 * elf/tst-auditmod5b.c: Likewise.
7663 * elf/tst-auditmod6b.c: Likewise.
7664 * elf/tst-auditmod6c.c: Likewise.
7665 * elf/tst-auditmod7b.c: Likewise.
7666 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7667 * sysdeps/x86_64/preconfigure.in: Likewise.
7668 * sysdeps/x86_64/preconfigure: Regenerated.
7670 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7672 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7675 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
7677 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7678 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7680 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7683 * locale/iso-639.def: Fix gl language name. Spotted by
7686 2012-04-12 Roland McGrath <roland@hack.frob.com>
7689 * libio/libio.h (__io_write_fn): Update comment.
7691 2012-04-12 Petr Baudis <pasky@ucw.cz>
7694 * stdio.texi (Hook Functions): The user provided writer function
7695 is not allowed to return -1.
7697 2012-04-11 David S. Miller <davem@davemloft.net>
7699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7701 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7703 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7704 Add a leading slash to rtkaio.
7706 2012-04-11 Jim Meyering <meyering@redhat.com>
7709 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7710 It is not necessarily an error to ignore fwrite's return
7711 value. One can reliably use ferror to test for errors after
7714 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7716 * bits/types.h (__snseconds_t): New type.
7717 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7719 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7720 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7721 (__SNSECONDS_T_TYPE): Likewise.
7722 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7723 (__SNSECONDS_T_TYPE): Likewise.
7724 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7725 (__SNSECONDS_T_TYPE): Likewise.
7727 2012-04-10 Andreas Jaeger <aj@suse.de>
7730 * manual/time.texi (Processor Time): Return type of times is
7731 elapsed real time since an arbitrary point in the past.
7732 (CPU Time): Move CLK_TCK from here...
7733 (Processor Time): ...to here. Correct description.
7734 * manual/conf.texi (Constants for Sysconf): Correct description of
7737 2012-04-10 David S. Miller <davem@davemloft.net>
7740 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7741 where the is a gap between DT_REL(A) and DT_JMPREL.
7743 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7745 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7746 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7747 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7749 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7751 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7752 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7753 (dl_main): Handle --inhibit-cache.
7754 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7756 * elf/dl-load.c (_dl_map_object): Use it.
7757 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7759 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7762 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7763 (__ieee754_powl): Saturate large exponents rather than testing for
7764 overflow of y*log2(x).
7765 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7766 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7770 * math/s_ctan.c: Include <float.h>.
7771 (__ctan): Avoid internal overflow or cancellation in calculating
7773 * math/s_ctanf.c: Likewise.
7774 * math/s_ctanl.c: Likewise.
7775 * math/s_ctanh.c: Likewise.
7776 * math/s_ctanhf.c: Likewise.
7777 * math/s_ctanhl.c: Likewise.
7778 * math/libm-test.inc (ctan_test): Add more tests.
7779 (ctanh_test): Likewise.
7780 * sysdeps/i386/fpu/libm-test-ulps: Update.
7781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7783 2012-04-09 Andreas Jaeger <aj@suse.de>
7786 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7787 is an optional BSD extension.
7790 * manual/stdio.texi (Opening Streams): Document additional fopen
7793 2012-04-09 Roland McGrath <roland@hack.frob.com>
7795 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7796 %eax without telling the compiler.
7798 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7801 * manual/install.texi: Use sourceware.org.
7803 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7806 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7807 (__ieee754_pow): Generate overflow and underflow using huge*huge
7808 and tiny*tiny rather than just returning constant infinity or zero
7809 for large exponents.
7810 * math/libm-test.inc (pow_test): Require overflow exceptions for
7811 applicable cases of large exponents.
7814 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7815 (__ieee754_pow): Use iterative multiplication algorithm only for
7816 integer exponents with absolute value below 1024. Check for odd
7817 integer exponents when using algorithm for real exponents.
7818 * math/libm-test.inc (pow_test): Add more tests.
7819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7821 2012-04-08 Joseph Myers <joseph@codesourcery.com>
7824 * math/libm-test.inc (exp_test): Do not allow overflow exception
7827 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7830 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7831 instead of __kernel_standard_f.
7833 2012-04-08 Mike Frysinger <vapier@gentoo.org>
7835 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7836 * sysdeps/x86_64/memset_chk.S: Likewise.
7838 2012-04-08 Andreas Jaeger <aj@suse.de>
7841 * manual/startup.texi (Environment Access): Describe return value
7842 for putenv and setenv.
7845 * manual/filesys.texi (Directory Entries): Add description for
7849 * manual/filesys.texi (Directory Entries): Clarify that it's file
7850 system not operating system in the description of DT_UNKNOWN.
7853 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7855 2012-04-08 Stephen Compall <s11@member.fsf.org>
7858 * manual/llio.texi (Opening and Closing Files): Add cross
7859 reference to explain mode argument.
7861 2012-04-07 Mike Frysinger <vapier@gentoo.org>
7863 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7864 * sysdeps/x86_64/memset_chk.S: Likewise.
7866 2012-04-07 David S. Miller <davem@davemloft.net>
7868 * elf/elf.h (R_SPARC_WDISP10): Define.
7869 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7871 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7872 R_SPARC_SIZE64 and R_SPARC_H34.
7874 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7876 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7877 conditions and remove no longer applicable assertion.
7879 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7881 * bits/byteswap.h: Include <features.h>.
7882 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7883 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7885 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7887 * bits/byteswap.h (__bswap_16): Removed.
7888 Include <bits/byteswap-16.h> to get __bswap_16.
7889 * sysdeps/i386/bits/byteswap.h: Likewise.
7890 * sysdeps/s390/bits/byteswap.h: Likewise.
7891 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7892 * bits/byteswap-16.h: New file.
7893 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7894 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7895 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7896 * string/Makefile (headers): Add bits/byteswap-16.h.
7898 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7901 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7903 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7904 * nss/tst-nss-static.c: New.
7906 2012-04-06 Robert Millan <rmh@gnu.org>
7909 * manual/llio.texi (File Position Primitive): lseek
7910 refers to WHENCE when it really means OFFSET.
7912 2012-04-06 Andreas Jaeger <aj@suse.de>
7914 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7915 strncmp declarations.
7917 * abilist/libc.abilist: Add __poll and __ppoll.
7919 2012-04-05 David S. Miller <davem@davemloft.net>
7921 * scripts/check-local-headers.sh: Accept a host triplet in the
7922 path matched by the exclude regexp.
7924 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7926 * sysdeps/powerpc/powerpc32/dl-machine.h
7927 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7928 * sysdeps/s390/s390-32/dl-machine.h
7929 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7930 * sysdeps/sparc/sparc32/dl-machine.h
7931 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7932 * sysdeps/sparc/sparc64/dl-machine.h
7933 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7935 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7937 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7938 undefined symbol errors.
7940 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7943 2012-04-05 Michael Matz <matz@suse.de>
7946 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7948 2012-04-05 Andreas Jaeger <aj@suse.de>
7951 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7954 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7956 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7957 which ROUND is no valid rounding mode.
7959 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7961 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7963 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7965 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7967 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7968 an exception using FPU order intentionally.
7970 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7972 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7973 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7974 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7975 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7977 2012-04-05 Simon Josefsson <simon@josefsson.org>
7980 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7981 EINVAL when BUFLEN is too smal.
7983 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7986 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7987 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7989 2012-04-03 Andreas Jaeger <aj@suse.de>
7992 * manual/setjmp.texi (System V contexts): Fix sentence.
7995 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7996 New macro for this case.
7997 [!__GNUC__] (__bswap_64): New inline function for this case.
7998 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7999 * bits/byteswap.h: Likewise.
8000 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8001 ull, guard with __GLIBC_HAVE_LONG_LONG.
8003 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8004 __GLIBC_HAVE_LONG_LONG.
8006 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8007 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8009 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8012 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8013 inptr and inend, rather than using last_ch.
8015 2012-04-02 David S. Miller <davem@davemloft.net>
8017 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8018 * stdio-common/printf-parse.h (read_int): Change return type to
8019 'int', return -1 on INT_MAX overflow.
8020 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8021 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8022 overflows INT_MAX. Check for overflow of in-format-string precision
8023 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8024 SIZE_MAX not INT_MAX for integer overflow test.
8025 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8026 skip the construct in the format string but do not record anything.
8027 * stdio-common/bug22.c: Adjust to test both width/prevision
8028 INT_MAX overflow as well as total length INT_MAX overflow. Check
8029 explicitly for proper errno values.
8031 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8033 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8035 * string/test-strcmp.c [! WIDE]: Likewise.
8036 * time/tst-mktime2.c: Likewise for INT_MAX.
8037 * string/test-string.h: #include <sys/param.h> for MIN.
8039 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8040 * sysdeps/i386/init-first.c (init): Likewise.
8041 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8042 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8043 * sysdeps/sh/init-first.c (init): Likewise.
8045 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8047 * po/ru.po: Update from translation team.
8048 * po/vi.po: Likewise.
8050 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8052 * resolv/nss_dns/dns-host.c: Merge copyright years.
8054 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8056 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8057 Optimize memcpy with prefetch if
8058 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8059 src, dst pointers have unequal 16 byte alignments.
8061 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8064 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8065 from a CNAME entry and return the minimum ttl for the query.
8066 (gaih_getanswer_slice): Likewise.
8068 2012-03-30 Jeff Law <law@redhat.com>
8070 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8072 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8073 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8075 * resolv/nss_dns/dns-host.c: Update copyright year.
8077 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8079 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8080 requests to save a system call. Fix check that all bytes are sent.
8082 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8083 comments for sendmmsg.
8085 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8088 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8089 with only 1 character between 0x0041 and 0x01b0.
8090 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8091 * wcsmbs/tst-mbsnrtowcs.c: New file.
8093 2012-03-29 David S. Miller <davem@davemloft.net>
8095 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8096 small copies by hand.
8098 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8101 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8102 _nss_compat_initgroups_dyn): Fall back to malloc/free
8103 for large group memberships.
8105 2012-03-28 David S. Miller <davem@davemloft.net>
8107 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8108 that branches into memcpy.
8109 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8110 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8111 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8112 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8113 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8115 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8117 * sysdeps/sparc/mempcpy.S: New file.
8119 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8120 the IFUNC routine in the libc case.
8121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8123 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8124 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8125 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8126 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8127 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8128 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8129 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8130 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8132 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8133 loop to 256 bytes instead of 64 bytes and fix test signedness.
8135 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8136 * sysdeps/sparc/sparc32/Makefile: rather than here...
8137 * sysdeps/sparc/sparc64/Makefile: and here.
8139 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8141 * malloc/mallocbug.c: Avoid warnings about unused variables.
8143 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8146 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8147 in the right place. Discard and retry query if response is
8148 larger than input buffer size.
8150 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8155 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8156 x for large integer exponent.
8157 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8158 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8159 sign of result as needed afterwards.
8160 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8161 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8162 result for underflowing pow the same as for overflow.
8163 (__kernel_standard_l): Handle powl overflow and underflow here
8164 rather than calling __kernel_standard.
8165 * math/libm-test.inc (pow_test): Add more tests.
8180 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8181 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8182 (__kernel_standard_l): New function.
8183 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8185 * math/w_acosl.c (__acosl): Likewise.
8186 * math/w_asinl.c (__asinl): Likewise.
8187 * math/w_atan2l.c (__atan2l): Likewise.
8188 * math/w_atanhl.c (__atanhl): Likewise.
8189 * math/w_coshl.c (__coshl): Likewise.
8190 * math/w_exp10l.c (__exp10l): Likewise.
8191 * math/w_exp2l.c (__exp2l): Likewise.
8192 * math/w_fmodl.c (__fmodl): Likewise.
8193 * math/w_hypotl.c (__hypotl): Likewise.
8194 * math/w_j0l.c (__j0l, __y0l): Likewise.
8195 * math/w_j1l.c (__j1l, __y1l): Likewise.
8196 * math/w_jnl.c (__jnl, __ynl): Likewise.
8197 * math/w_lgammal.c (__lgammal): Likewise.
8198 * math/w_log10l.c (__log10l): Likewise.
8199 * math/w_log2l.c (__log2l): Likewise.
8200 * math/w_logl.c (__logl): Likewise.
8201 * math/w_powl.c (__powl): Likewise.
8202 * math/w_remainderl.c (__remainderl): Likewise.
8203 * math/w_scalbl.c (sysv_scalbl): Likewise.
8204 * math/w_sinhl.c (__sinhl): Likewise.
8205 * math/w_sqrtl.c (__sqrtl): Likewise.
8206 * math/w_tgammal.c (__tgammal): Likewise.
8207 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8208 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8209 * math/libm-test.inc (acos_test): Add more tests.
8210 (acosh_test): Likewise.
8211 (asin_test): Likewise.
8212 (atanh_test): Likewise.
8213 (exp_test): Likewise.
8214 (exp10_test): Likewise.
8215 (exp2_test): Likewise.
8216 (expm1_test): Likewise.
8217 (lgamma_test): Likewise.
8218 (log_test): Likewise.
8219 (log10_test): Likewise.
8220 (log1p_test): Likewise.
8221 (log2_test): Likewise.
8222 (pow_test): Do not allow some spurious overflow exceptions.
8223 (sqrt_test): Add more tests.
8224 (tgamma_test): Likewise.
8225 (y0_test): Likewise.
8226 (y1_test): Likewise.
8227 (yn_test): Likewise.
8229 2012-03-27 Anton Blanchard <anton@samba.org>
8231 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8233 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8234 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8235 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8237 2012-03-27 David S. Miller <davem@davemloft.net>
8239 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8241 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8244 2012-03-27 Andreas Jaeger <aj@suse.de>
8246 * sysdeps/x86_64/elf/configure.in: Moved to ...
8247 * sysdeps/x86_64/configure.in: ... here.
8248 * sysdeps/x86_64/elf/start.S: Moved to ...
8249 * sysdeps/x86_64/start.S: ... here.
8250 * sysdeps/x86_64/elf/configure: Delete.
8252 * sysdeps/x86_64/configure.in: Merge contents from
8253 sysdeps/i386/configure.in (without i686 check).
8255 * sysdeps/i386/elf/Versions: Merge into ...
8256 * sysdeps/i386/Versions: ... this.
8257 * sysdeps/i386/elf/Versions: Delete file.
8258 * sysdeps/i386/elf/start.S: Moved to ...
8259 * sysdeps/i386/start.S: ...here.
8260 * sysdeps/i386/elf/configure.in: Merge into...
8261 * sysdeps/i386/configure.in: ...here.
8262 * sysdeps/i386/elf/configure.in: Delete file.
8263 * sysdeps/i386/elf/configure: Delete file.
8265 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8266 * debug/backtracesyms.c: ... here.
8267 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8268 * debug/backtracesymsfd.c: ... here.
8269 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8270 * sysdeps/generic/ifunc-sel.h: ... here.
8272 * sysdeps/unix/i386/start.c: Delete file.
8273 * sysdeps/unix/sparc/start.c: Delete file.
8274 * sysdeps/unix/start.c: Delete file.
8276 * sysdeps/sh/elf/configure.in: Moved to ...
8277 * sysdeps/sh/configure.in: ... here.
8278 * sysdeps/sh/elf/start.S: Moved to ...
8279 * sysdeps/sh/start.S: ... here.
8280 * sysdeps/sh/elf/configure: Delete file.
8282 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8283 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8284 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8285 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8286 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8287 * sysdeps/powerpc/powerpc64/start.S: here.
8288 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8289 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8290 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8291 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8292 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8294 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8295 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8296 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8297 * sysdeps/powerpc/powerpc32/start.S: ... here.
8298 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8299 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8300 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8302 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8303 * sysdeps/powerpc/ifunc-sel.h: ... here.
8304 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8305 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8307 * sysdeps/sparc/elf/configure.in: Moved to ...
8308 * sysdeps/sparc/configure.in: ... here.
8309 * sysdeps/sparc/elf/configure: Delete file.
8310 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8311 * sysdeps/sparc/sparc32/start.S: ... here.
8312 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8313 * sysdeps/sparc/sparc64/start.S: ... here.
8314 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8315 * sysdeps/sparc/sparc32/Makefile: ... this.
8316 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8317 * sysdeps/sparc/sparc64/Makefile: ... this.
8319 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8320 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8321 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8322 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8323 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8324 * sysdeps/s390/s390-32/setjmp.S: ... here.
8325 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8326 * sysdeps/s390/s390-32/configure.in: ... here.
8327 * sysdeps/s390/s390-32/elf/configure: Delete file.
8328 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8329 * sysdeps/s390/s390-32/start.S: ... here.
8331 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8332 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8333 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8334 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8335 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8336 * sysdeps/s390/s390-64/setjmp.S: ... here.
8337 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8338 * sysdeps/s390/s390-64/configure.in: ... here
8339 * sysdeps/s390/s390-64/elf/configure: Delete file.
8340 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8341 * sysdeps/s390/s390-64/start.S: ... here.
8342 * sysdeps/s390/s390-64/elf/configure: Delete.
8344 * configure.in: Remove support for elf directories in sysdeps.
8346 * configure: Regenerated.
8347 * sysdeps/i386/configure: Regenerated.
8348 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8349 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8350 * sysdeps/s390/s390-32/configure: Regenerated.
8351 * sysdeps/s390/s390-64/configure: Regenerated.
8352 * sysdeps/sh/configure: Regenerated.
8353 * sysdeps/sparc/configure: Regenerated.
8354 * sysdeps/x86_64/configure: Regenerated.
8356 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8360 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8361 denormal result into account.
8363 2012-03-25 Roland McGrath <roland@hack.frob.com>
8365 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8366 Reported by Allan McRae <allan@archlinux.org>.
8368 2012-03-23 Jeff Law <law@redhat.com>
8370 * nss/getnssent.c (__nss_getent): Fix typo.
8372 2012-03-23 David S. Miller <davem@davemloft.net>
8374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8376 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8378 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8379 to pad to uint64_t for each field.
8380 (dl_tls_index): Replace unsigned long with uint64_t.
8382 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8383 Paul Pluzhnikov <ppluzhnikov@google.com>
8386 * grp/Makefile (otherlibs): Don't set it.
8387 * inet/Makefile (otherlibs): Likewise.
8388 * login/Makefile (otherlibs): Likewise.
8389 * nscd/Makefile (otherlibs): Likewise.
8390 * posix/Makefile (otherlibs): Likewise.
8391 * pwd/Makefile (otherlibs): Likewise.
8392 * rt/Makefile (otherlibs): Likewise.
8393 * sunrpc/Makefile (otherlibs): Likewise.
8394 * nss/Makefile (otherlibs): Likewise.
8395 Add libnss_files to routines and static-only-routines.
8396 ($(objpfx)getent): Remove rule.
8397 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8398 static-only-routines.
8400 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8403 * math/s_cexp.c: Include <float.h>.
8404 (__cexp): Handle exp result overflowing not necessarily
8405 overflowing both real and imaginary parts of result.
8406 * math/s_cexpf.c: Likewise.
8407 * math/s_cexpl.c: Likewise.
8408 * math/libm-test.inc (cexp_test): Add more tests.
8409 * sysdeps/i386/fpu/libm-test-ulps: Update.
8410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8412 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8414 * include/link.h (ELFW): New macro.
8415 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8416 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8418 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8420 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8423 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8425 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8427 (struct La_x32_retval): Likewise.
8429 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8431 * sysdeps/x86_64/preconfigure.in: New file.
8432 * sysdeps/x86_64/preconfigure: New generated file.
8434 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8437 * math/e_exp2l.c: Include <float.h>.
8438 (__ieee754_exp2l): Handle overflow and underflow cases
8439 separately. Only pass fractional part of argument to
8441 * math/libm-test.inc (exp2_test): Add more tests.
8443 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8444 negating x to take absolute value.
8445 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8447 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8448 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8450 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8451 computing low part if x was negated.
8452 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8454 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8456 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8458 (pltexit): Cast int_retval to ptrdiff_t.
8459 * elf/tst-auditmod3b.c: Likewise.
8460 * elf/tst-auditmod4b.c: Likewise.
8461 * elf/tst-auditmod5b.c: Likewise.
8462 * elf/tst-auditmod6b.c: Likewise.
8463 * elf/tst-auditmod6c.c: Likewise.
8464 * elf/tst-auditmod7b.c: Likewise.
8466 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8467 and x32_gnu_pltexit.
8469 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8471 (La_x32_regs): New macro.
8472 (La_x32_retval): Likewise.
8473 (la_x32_gnu_pltenter): New function prototype.
8474 (la_x32_gnu_pltexit): Likewise.
8476 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8478 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8483 * configure.in (libc_cv_cc_nofma): Check for option to disable
8484 generation of FMA instructions.
8485 * configure: Regenerate.
8486 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8487 * sysdeps/ieee754/dbl-64/Makefile: New file.
8488 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8489 Remove brandred-fma4.
8490 (CFLAGS-brandred-fma4.c): Remove.
8491 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8492 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8494 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8497 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8499 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8500 LLONG_MAX != LONG_MAX.
8501 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8502 (_fitoa_word): Likewise.
8503 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8504 LLONG_MAX != LONG_MAX.
8505 * stdio-common/_itowa.h: Include <_itoa.h>.
8506 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8507 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8508 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8509 only if not defined.
8510 (_ITOA_WORD_TYPE): Likewise.
8511 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8512 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8514 2012-03-21 David S. Miller <davem@davemloft.net>
8516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8518 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8520 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8521 of x86_64 when setting libc_cv_slibdir, libdir and
8523 * sysdeps/unix/sysv/linux/configure: Regenerated.
8525 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8527 * manual/lang.texi (Old Varargs): Remove section.
8528 (How Variadic): Update menu.
8529 (va_start): Do not mention varargs.h.
8531 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8532 Joseph Myers <joseph@codesourcery.com>
8534 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8536 * configure: Regenerated.
8538 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8540 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8541 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8544 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8547 * Makefile (files-for-dist): Remove NOTES.
8548 (NOTES): Remove rule.
8549 * README: Don't refer to NOTES.
8550 * manual/creature.texi: Don't include macros.texi.
8551 * manual/intro.texi (creature.texi): Remove comment referring to
8554 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8555 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8556 * configure: Regenerated.
8557 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8559 (libc_cv_as_i686): Likewise.
8560 (libc_cv_cc_avx): Likewise.
8561 (libc_cv_cc_sse2avx): Likewise.
8562 (libc_cv_cc_fma4): Likewise.
8563 (libc_cv_cc_novzeroupper): Likewise.
8564 * sysdeps/i386/configure: Regenerated.
8567 * sysdeps/i386/fpu/s_cexp.S: Remove.
8568 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8569 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8570 * math/libm-test.inc (cexp_test): Add more tests.
8571 * sysdeps/i386/fpu/libm-test-ulps: Update.
8572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8574 2012-03-21 Allan McRae <allan@archlinux.org>
8576 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8578 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8581 * math/w_exp2.c: Do not include <float.h>.
8582 (o_threshold, u_threshold): Remove.
8583 (__exp2): Calculate result before checking finiteness and calling
8585 * math/w_exp2f.c: Likewise.
8586 * math/w_exp2l.c: Likewise.
8587 * math/libm-test.inc (exp2_test): Require overflow exception for
8591 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8592 range of signed 64-bit integers before using fistpll. Remove
8593 checks for whether integers fit in mantissa bits.
8594 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8595 the range of signed 32-bit integers before using fistpl. Remove
8596 checks for whether integers fit in mantissa bits.
8597 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8598 (__ieee754_powl): Test for y outside the range of signed 64-bit
8599 integers before using fistpll. Reduce 64-bit values to 63-bit
8601 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8602 divide-by-zero is raised for zero to large negative powers.
8603 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8604 (__ieee754_powl): Test for y outside the range of signed 64-bit
8605 integers before using fistpll. Reduce 64-bit values to 63-bit
8607 * math/libm-test.inc (pow_test): Add more tests.
8609 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8611 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8612 <stdio-common/_itoa.h>.
8613 * debug/segfault.c: Likewise.
8614 * elf/dl-cache.c: Likewise.
8615 * elf/dl-minimal.c: Likewise.
8616 * elf/dl-misc.c: Likewise.
8617 * elf/dl-sysdep.c: Likewise.
8618 * elf/dl-version.c: Likewise.
8619 * elf/rtld.c: Likewise.
8620 * hurd/hurdsock.c: Likewise.
8621 * hurd/lookup-retry.c: Likewise.
8622 * malloc/malloc.c: Likewise.
8623 * malloc/mtrace.c: Likewise.
8624 * nscd/nscd_getgr_r.c: Likewise.
8625 * nscd/nscd_getpw_r.c: Likewise.
8626 * nscd/nscd_getserv_r.c: Likewise.
8627 * posix/getopt_init.c: Likewise.
8628 * posix/wordexp.c: Likewise.
8629 * stdio-common/_itoa.c: Likewise.
8630 * stdio-common/printf_fphex.c: Likewise.
8631 * stdio-common/vfprintf.c: Likewise.
8632 * string/_strerror.c: Likewise.
8633 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8634 * sysdeps/i386/i686/hp-timing.h: Likewise.
8635 * sysdeps/mach/_strerror.c: Likewise.
8636 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8637 * sysdeps/mach/hurd/sethostid.c: Likewise.
8638 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8639 * sysdeps/mach/xpg-strerror.c: Likewise.
8640 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8641 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8642 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8643 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8644 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8645 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8646 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8647 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8648 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8649 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8650 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8651 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8652 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8653 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8654 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8655 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8656 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8657 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8658 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8659 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8660 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8662 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8664 * stdio-common/_itoa.h: Moved to ...
8665 * sysdeps/generic/_itoa.h: Here.
8667 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8669 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8670 instead of "_itoa.h" and "_itowa.h".
8671 * stdio-common/vfprintf.: Likewise.
8673 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8675 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8677 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8678 (__signbit): Likwise.
8682 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8684 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8687 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8689 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8690 OVERFLOW_EXCEPTION_OK.
8691 * math/libm-test.inc ("Philosophy"): Update comment about
8693 (OVERFLOW_EXCEPTION): Define.
8694 (OVERFLOW_EXCEPTION_OK): Likewise.
8695 (INVALID_EXCEPTION_OK): Renumber.
8696 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8697 (IGNORE_ZERO_INF_SIGN): Likewise.
8698 (test_exceptions): Handle FE_OVERFLOW.
8699 (exp10_test): Expect overflow exceptions.
8700 (exp2_test): Likewise.
8701 (expm1_test): Likewise.
8702 (nextafter_test): Likewise.
8703 (pow_test): Likewise.
8704 (scalbn_test): Likewise.
8705 (scalbln_test): Likewise.
8707 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8709 * sysdeps/x86_64/bits/atomic.h
8710 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8712 (atomic_exchange_acq): Likewise.
8713 (__arch_exchange_and_add_body): Likewise.
8714 (__arch_add_body): Likewise.
8715 (atomic_add_negative): Likewise.
8716 (atomic_add_zero): Likewise.
8718 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8720 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8721 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8723 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8725 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8726 Check __x86_64__ instead of __WORDSIZE.
8728 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8730 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8732 2012-03-19 David S. Miller <davem@davemloft.net>
8734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8736 * sysdeps/sparc/fpu/fenv_private.h: New file.
8737 * sysdeps/sparc/fpu/math_private.h: Use it.
8738 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8740 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8741 (libc_feholdexcept_setroundl): Remove.
8742 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8744 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8745 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8747 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8749 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8750 int64_t instead of long int.
8751 (INSERT_WORDS64): Likwise.
8753 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8755 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8756 _Unwind_GetCFA return to _Unwind_Ptr first.
8758 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8761 * math/s_clog.c: Include <float.h>.
8762 (__clog): Scale large or subnormal inputs.
8763 * math/s_clogf.c: Likewise.
8764 * math/s_clogl.c: Likewise.
8765 * math/s_clog10.c: Include <float.h>.
8766 (M_LOG10_2): Define.
8767 (__clog10): Scale large or subnormal inputs.
8768 * math/s_clog10f.c: Likewise.
8769 * math/s_clog10l.c: Likewise.
8770 * math/libm-test.inc (clog_test): Add more tests.
8771 (clog10_test): Likewise.
8772 * sysdeps/i386/fpu/libm-test-ulps: Update.
8773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8776 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8778 * math/libm-test.inc (atan2_test): Add another test.
8780 * Makerules (common-objdir-compile): Remove.
8781 * sysdeps/unix/Makefile (config-generated): Do not add
8782 $(unix-generated) to variable.
8783 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8784 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8786 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8788 [generic bits/local_lim.h] (before-compile): Do not append to
8790 [generic bits/local_lim.h] (common-generated): Likewise.
8791 [generic sys/param.h] (before-compile): Do not append to variable.
8792 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8793 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8794 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8795 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8797 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8798 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8799 [generic sys/param.h] ($(addprefix
8800 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8801 [generic sys/param.h] (common-generated): Do not append to
8803 [generic sys/param.h] (sysdep_headers): Likewise.
8804 [generic bits/errno.h] (before-compile): Do not append to
8806 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8808 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8809 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8810 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8811 [generic bits/errno.h] (common-generated): Do not append to
8813 [generic bits/ioctls.h] (before-compile): Do not append to
8815 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8817 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8818 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8819 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8821 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8822 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8823 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8824 [generic bits/ioctls.h] (common-generated): Do not append to
8826 [generic sys/syscall.h] (syscall.h): Remove variable.
8827 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8829 [generic sys/syscall.h] (before-compile): Do not append to
8831 [generic sys/syscall.h] (common-generated): Likewise.
8832 * sysdeps/unix/errnos-tmpl.c: Remove file.
8833 * sysdeps/unix/errnos.awk: Likewise.
8834 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8835 * sysdeps/unix/ioctls.awk: Likewise.
8836 * sysdeps/unix/mk-local_lim.c: Likewise.
8837 * sysdeps/unix/snarf-ioctls: Likewise.
8839 2012-03-19 Richard Henderson <rth@twiddle.net>
8841 * sysdeps/i386/fpu/fenv_private.h: New file.
8842 * sysdeps/i386/fpu/math_private.h: Use it.
8843 (math_opt_barrier, math_force_eval): Remove.
8844 (libc_feholdexcept_setround_53bit): Remove.
8845 (libc_feupdateenv_53bit): Remove.
8846 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8847 (math_opt_barrier, math_force_eval): Remove.
8848 (libc_feholdexcept): Remove.
8849 (libc_feholdexcept_setround): Remove.
8850 (libc_fetestexcept, libc_fesetenv): Remove.
8851 (libc_feupdateenv_test): Remove.
8852 (libc_feupdateenv, libc_feholdsetround): Remove.
8853 (libc_feresetround): Remove.
8855 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8856 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8858 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8859 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8860 (libc_feupdateenv_testl): New.
8861 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8862 (libc_feupdateenv_testf): New.
8863 (libc_feupdateenv): Use libc_feupdateenv_test.
8864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8865 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8867 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8868 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8869 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8870 (libc_feresetround_noex): New.
8871 (libc_feresetround_noexf): New.
8872 (libc_feresetround_noexl): New.
8873 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8874 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8875 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8876 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8878 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8879 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8881 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8882 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8883 SET_RESTORE_ROUND_NOEX.
8884 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8885 SET_RESTORE_ROUND_NOEXF.
8886 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8887 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8888 (libc_feholdsetroundf): New.
8889 (libc_feresetround, libc_feresetroundf): New.
8891 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8892 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8893 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8895 * sysdeps/generic/math_private.h: Include <fenv.h>.
8896 (default_libc_feholdexcept): New.
8897 (default_libc_feholdexcept_setround): New.
8898 (default_libc_fesetenv, default_libc_feupdateenv): New.
8899 (libc_feholdexcept): Only define if undefined.
8900 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8901 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8902 (libc_feholdexcept_setroundl): Likewise.
8903 (libc_feholdexcept_setround_53bit): Likewise.
8904 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8905 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8906 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8907 (libc_feupdateenv_53bit): Likewise.
8908 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8909 (libc_feholdexcept): Convert from macro to inline function.
8910 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8911 (libc_fesetenv, libc_feupdateenv): Likewise.
8913 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8914 not previously defined.
8915 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8916 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8917 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8918 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8919 * sysdeps/ieee754/flt-32/math_private.h: New file.
8920 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8921 math_private.h below SET_FLOAT_WORD.
8922 (__isnan, __isinf_ns, __finite): Remove.
8923 (__isnanf, __isinf_nsf, __finitef): Remove.
8925 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8929 2012-03-17 David S. Miller <davem@davemloft.net>
8932 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8935 2012-03-16 David S. Miller <davem@davemloft.net>
8937 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8941 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8943 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8944 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8945 sysdep_routines when subdir is sysvipc.
8946 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8949 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8951 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8953 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8956 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8958 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8959 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8960 (__lround): Renamed to ...
8961 (__llround): This. Replace long int with long long int.
8962 Define lround functions as aliases of llround functions.
8963 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8965 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8967 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8968 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8969 adresses to uintptr_t. Replace "long int" and "unsigned long
8970 int" with "greg_t" on va_arg.
8972 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8974 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8975 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8977 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8978 Move e_machine check before EI_CLASS check. Handle x32
8979 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8980 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8981 SKIP_EM_IA_64 and include
8982 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8984 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8985 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8986 (add_system_dir): New macro.
8988 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8989 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8991 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9002 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9004 * math/w_j0f.c (j0f): Likewise.
9006 * math/w_j0l.c (__j0l): Likewise.
9008 * math/w_j1.c (j1): Likewise.
9010 * math/w_j1f.c (j1f): Likewise.
9012 * math/w_j1l.c (__j1l): Likewise.
9014 * math/w_jn.c (jn): Likewise.
9016 * math/w_jnf.c (jnf): Likewise.
9018 * math/w_jnl.c (__jnl): Likewise.
9020 * math/libm-test.inc (j0_test): Add more tests.
9021 (j1_test): Likewise.
9022 (jn_test): Likewise. Add trailing semicolon to existing test.
9023 (y0_test): Likewise.
9024 (y1_test): Likewise.
9025 * sysdeps/i386/fpu/libm-test-ulps: Update.
9026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9030 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9031 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9032 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9033 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9034 (__tanl): Set errno for infinite argument.
9035 * sysdeps/i386/fpu/mptan.c: Remove.
9036 * sysdeps/i386/fpu/s_tan.S: Likewise.
9037 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9038 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9039 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9040 * math/libm-test.inc (tan_test): Add more tests and enable more
9041 tests for double and long double.
9042 * sysdeps/i386/fpu/libm-test-ulps: Update.
9043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9045 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9047 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9048 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9050 2012-03-16 Roland McGrath <roland@hack.frob.com>
9052 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9053 * configure.in: Use it for both main tree and add-ons.
9054 * configure: Regenerated.
9056 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9058 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9060 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9062 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9066 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9067 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9068 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9069 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9072 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9073 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9075 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9076 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9077 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9078 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9079 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9080 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9081 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9082 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9083 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9084 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9085 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9086 * math/libm-test.inc (cos_test): Add more tests and enable more
9087 tests for long double.
9088 (sin_test): Likewise.
9089 (sincos_test): Likewise.
9090 * sysdeps/i386/fpu/libm-test-ulps: Update.
9091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9093 2012-03-16 David S. Miller <davem@davemloft.net>
9095 * sysdeps/sparc/fpu/math_private.h: New file.
9097 2012-03-15 David S. Miller <davem@davemloft.net>
9099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9109 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9113 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9114 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9116 * sysdeps/sparc/sparc-ifunc.h: New file.
9117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9142 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9144 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9155 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9156 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9159 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9160 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9162 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9164 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9168 2012-03-15 Andreas Jaeger <aj@suse.de>
9171 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9172 ieee754/flt-32 implementation for sin, cos and sincos.
9173 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9174 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9175 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9176 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9177 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9178 ieee754/flt-32 implementation for tan.
9180 * math/libm-test.inc (cos_test): Enable some large input tests for
9182 (sin_test): Likewise.
9183 (sincos_test): Likewise.
9184 (tan_test): Add tests for large input.
9186 * sysdeps/i386/fpu/libm-test-ulps: Update.
9188 2012-03-15 Andreas Jaeger <aj@suse.de>
9191 * math/libm-test.inc (cos_test): Add more test cases.
9192 (sin_test): Likewise.
9193 (sincos_test): Likewise.
9195 2012-03-15 Andreas Jaeger <aj@suse.de>
9198 * math/libm-test.inc (cos_test): Add a test case for large input
9200 (sin_test): Likewise.
9201 (sincos_test): Likewise.
9203 2012-03-15 Andreas Jaeger <aj@suse.de>,
9204 Joseph Myers <joseph@codesourcery.com>
9207 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9208 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9209 * sysdeps/i386/fpu/branred.c: Likewise.
9210 * sysdeps/i386/fpu/dosincos.c: Likewise.
9211 * sysdeps/i386/fpu/mpa.c: Likewise.
9212 * sysdeps/i386/fpu/s_cos.S: Likewise.
9213 * sysdeps/i386/fpu/s_sin.S: Likewise.
9214 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9215 * sysdeps/i386/fpu/sincos32.c: Likewise.
9217 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9219 (libc_feupdateenv_53bit): Define.
9220 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9222 (libc_feupdateenv_53bit): Define.
9224 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9225 53 bit (without extend i386 double precision).
9227 * math/libm-test.inc (sincos_test): Add tests for large input.
9231 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9233 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9237 2012-03-15 David S. Miller <davem@davemloft.net>
9239 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9240 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9241 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9242 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9266 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9267 fmin/fmax sysdep routines.
9268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9270 2012-03-14 David S. Miller <davem@davemloft.net>
9272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9276 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9277 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9278 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9279 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9280 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9286 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9292 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9293 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9294 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9295 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9296 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9297 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9298 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9299 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9300 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9344 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9349 * sysdeps/sparc/configure.in: New file.
9350 * sysdeps/sparc/configure: Generate.
9351 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9352 * configure: Regenerate.
9353 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9354 * config.make.in (have-as-vis3): New.
9355 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9356 available use -Av9d instead of -Av9a.
9357 * sysdeps/sparc/sparc64/Makefile: Likewise.
9358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9367 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9368 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9369 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9370 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9371 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9373 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9374 fzeros/fnegs to load 0x80000000 into a float register instead of
9376 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9378 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9382 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9383 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9384 ($(inst_includedir)/bits/syscall.h): Remove rule.
9385 ($(objpfx)bits/syscall.d): Include instead of
9386 $(objpfx)syscall-list.d.
9387 (generated): Change syscall-list.h and syscall-list.d to
9388 bits/syscall.h and bits/syscall.d.
9390 2012-03-14 Roland McGrath <roland@hack.frob.com>
9393 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9395 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9398 * math/s_csqrt.c: Include <float.h>.
9399 (__csqrt): Scale large or subnormal inputs.
9400 * math/s_csqrtf.c: Likewise.
9401 * math/s_csqrtl.c: Likewise.
9402 * math/libm-test.inc (csqrt_test): Add more tests.
9403 * sysdeps/i386/fpu/libm-test-ulps: Update.
9404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9407 * math/libm-test.inc (hypot_test): Add more tests.
9409 2012-03-13 David S. Miller <davem@davemloft.net>
9412 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9413 double-precision for the calculation instead of scaling.
9415 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9417 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9418 manipulate bits before adding and subtracting TWO52[sx].
9419 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9420 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9422 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9424 2012-03-13 David S. Miller <davem@davemloft.net>
9426 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9427 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9428 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9429 rtld-global-offsets.h
9430 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9432 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9435 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9437 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9438 'err' in the ifdef scope in which it is actually used.
9440 * nss/nss_db/db-init.c: Include string.h
9442 2012-03-12 David S. Miller <davem@davemloft.net>
9444 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9445 masking out of the most significant byte of random value used.
9446 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9447 Fix coding style in previous change.
9449 * sysdeps/unix/sysv/linux/kernel-features.h
9450 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9451 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9453 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9456 2012-03-11 David S. Miller <davem@davemloft.net>
9458 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9459 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9460 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9461 for 'resultvar' otherwise things get truncated on 64-bit.
9463 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9464 Fix masking out of the most significant byte of random value used.
9466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9468 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9472 2012-03-09 David S. Miller <davem@davemloft.net>
9474 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9475 variables with appropriate CPP guards.
9476 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9477 frame pointer, not the stack pointer. Correct layout comments. Fix test
9478 on resulting framesize and the management of the outregs buffer for pltexit.
9479 Preserve floating point return values across _dl_call_pltexit call.
9480 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9481 framesize and the management of the outregs buffer for pltexit.
9482 Preserve floating point return values across _dl_call_pltexit
9484 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9485 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9486 (print_exit): Fix format string for return register value.
9488 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9490 * sunrpc/Makefile (others): Add rpcgen.
9491 ($(objpfx)rpcgen): Remove special build rule and dependency on
9493 * sunrpc/rpcgen.c: New file.
9495 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9498 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9499 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9500 * sysdeps/i386/crti.S: Likewise.
9501 * sysdeps/i386/crtn.S: Likewise.
9502 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9503 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9504 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9505 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9506 * sysdeps/sh/crti.S: Likewise.
9507 * sysdeps/sh/crtn.S: Likewise.
9508 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9511 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9513 * locale/programs/locfile-kw.gperf: Likewise.
9514 * locale/programs/charmap-kw.h: Regenerated.
9515 * locale/programs/locfile-kw.h: Likewise.
9518 * intl/plural.y: Replace FSF snail mail address with URL.
9519 * intl/plural.c: Regenerated.
9521 2012-03-09 Richard Henderson <rth@twiddle.net>
9523 * include/math_private.h: Remove file.
9524 * math/math_private.h: Move file ...
9525 * sysdeps/generic/math_private.h: ... here.
9527 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9528 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9529 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9531 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9532 and <math_private.h>.
9533 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9534 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9535 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9536 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9537 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9538 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9539 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9540 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9541 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9542 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9543 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9544 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9545 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9546 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9547 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9548 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9549 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9550 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9551 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9552 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9554 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9555 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9556 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9557 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9558 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9559 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9560 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9561 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9562 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9563 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9564 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9565 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9566 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9567 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9568 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9569 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9570 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9571 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9572 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9573 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9574 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9575 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9576 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9577 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9578 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9579 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9580 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9581 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9582 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9583 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9584 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9585 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9586 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9587 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9588 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9589 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9590 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9591 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9592 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9593 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9594 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9595 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9596 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9597 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9598 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9599 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9600 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9601 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9602 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9603 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9604 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9605 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9606 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9607 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9608 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9609 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9610 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9611 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9612 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9613 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9614 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9615 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9616 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9617 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9618 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9619 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9620 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9621 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9622 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9623 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9624 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9625 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9626 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9627 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9628 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9629 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9630 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9631 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9632 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9633 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9634 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9635 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9636 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9637 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9638 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9639 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9640 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9641 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9642 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9643 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9644 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9645 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9646 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9647 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9648 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9649 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9650 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9651 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9652 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9653 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9654 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9655 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9656 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9657 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9658 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9659 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9660 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9661 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9662 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9663 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9664 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9665 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9666 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9667 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9668 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9669 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9670 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9671 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9672 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9673 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9674 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9675 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9676 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9677 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9678 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9679 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9680 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9681 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9682 * sysdeps/ieee754/k_standard.c: Likewise.
9683 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9684 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9685 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9687 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9688 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9689 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9690 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9691 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9692 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9693 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9694 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9695 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9696 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9697 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9698 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9699 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9700 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9701 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9702 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9703 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9704 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9705 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9706 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9707 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9708 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9709 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9710 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9711 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9712 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9713 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9714 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9715 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9716 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9717 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9718 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9719 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9720 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9721 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9722 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9723 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9724 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9725 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9726 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9727 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9728 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9729 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9730 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9732 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9733 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9734 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9735 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9736 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9737 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9738 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9739 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9740 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9741 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9742 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9743 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9744 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9745 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9746 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9747 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9748 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9749 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9750 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9751 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9752 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9753 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9754 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9755 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9756 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9757 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9758 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9759 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9760 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9761 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9762 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9763 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9764 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9765 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9766 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9767 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9768 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9769 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9770 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9771 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9772 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9773 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9774 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9775 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9776 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9777 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9778 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9779 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9780 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9781 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9782 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9783 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9784 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9785 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9786 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9787 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9788 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9789 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9790 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9791 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9792 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9793 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9794 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9795 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9796 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9797 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9798 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9799 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9800 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9801 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9802 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9803 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9804 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9805 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9806 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9807 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9808 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9809 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9810 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9811 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9812 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9813 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9814 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9815 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9816 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9817 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9818 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9819 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9820 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9821 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9822 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9823 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9824 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9825 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9826 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9827 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9828 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9829 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9830 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9831 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9832 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9833 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9834 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9835 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9836 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9837 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9838 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9839 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9840 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9841 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9842 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9843 * sysdeps/ieee754/s_lib_version.c: Likewise.
9844 * sysdeps/ieee754/s_matherr.c: Likewise.
9845 * sysdeps/ieee754/s_signgam.c: Likewise.
9846 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9847 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9848 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9849 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9850 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9851 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9852 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9853 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9854 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9855 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9856 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9857 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9858 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9859 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9860 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9861 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9862 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9863 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9864 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9865 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9866 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9868 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9870 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9871 * sunrpc/rpc_main.c: Likewise.
9872 * sunrpc/rpc_svcout.c: Likewise.
9874 2012-03-09 David S. Miller <davem@davemloft.net>
9876 * include/math_private.h: New file.
9878 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9880 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9881 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9882 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9883 from <bits/socket_type.h>.
9884 (enum __socket_type): Don't define here.
9885 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9890 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9893 * Makerules ($(inst_includedir)/%.h): New rule.
9894 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9895 (install-others): Remove variable setting.
9896 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9898 2012-03-08 Richard Henderson <rth@twiddle.net>
9900 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9901 from macro to inline function; merge with the
9902 !__LIBC_INTERNAL_MATH_INLINES version.
9903 (__ieee754_sqrtf): Likewise.
9905 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9907 (__rintf, __floor, __floorf): Likewise.
9909 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9910 macro to inline function.
9911 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9913 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9914 not <math/math_private.h>.
9916 2012-03-08 David S. Miller <davem@davemloft.net>
9918 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9920 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9922 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9924 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9926 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9927 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9929 2012-03-08 Ulrich Drepper <drepper@gmail.com>
9931 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9932 be defined individually, they must be defined as a block. Define
9933 S for printing a string instead of hidint the different by using a
9934 macro for adding the 'l'.
9935 * stdio-common/tst-fphex-wide.c: Adjust.
9937 2012-03-07 Marek Polacek <polacek@redhat.com>
9939 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9941 2012-03-08 Marek Polacek <polacek@redhat.com>
9944 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9945 * stdio-common/tst-fphex.c: Define a few macros to make the
9946 test reusable. Use them.
9947 * stdio-common/tst-fphex-wide.c: New file.
9949 2012-03-08 Joseph Myers <joseph@codesourcery.com>
9952 * manual/macros.texi (gnusystems): New macro.
9953 (nongnusystems): Likewise.
9954 (gnulinuxhurdsystems): Likewise.
9955 (gnuhurdsystems): Likewise..
9956 (gnulinuxsystems): Likewise.
9957 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9958 variants of the GNU system, not "GNU system".
9959 * manual/conf.texi: Likewise.
9960 * manual/errno.texi: Likewise. Update example of errno macro
9962 * manual/filesys.texi: Likewise.
9963 (getumask): Document as specific to GNU/Hurd.
9964 * manual/install.texi: Likewise. Reword some references to
9966 * manual/intro.texi: Likewise.
9967 * manual/io.texi: Likewise.
9968 (File Name Portability): Detail which constraints are inapplicable
9969 to all GNU systems and which are only inapplicable to GNU/Hurd.
9970 * manual/job.texi: Likewise.
9971 * manual/llio.texi: Likewise.
9972 (O_NOCTTY): Document as present on GNU/Linux.
9973 * manual/maint.texi: Likewise.
9974 * manual/memory.texi: Likewise.
9975 * manual/pattern.texi: Likewise.
9976 * manual/pipe.texi: Likewise.
9977 * manual/process.texi: Likewise.
9978 * manual/resource.texi: Likewise.
9979 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9981 * manual/setjmp.texi: Likewise.
9982 * manual/signal.texi: Likewise.
9983 * manual/startup.texi: Likewise.
9984 * manual/stdio.texi: Likewise.
9985 * manual/terminal.texi: Likewise.
9986 (ONLCR): Document as POSIX.
9987 (OXTABS): Document availability on GNU/Linux as XTABS.
9988 (ONOEOT): Document availability separately from other bits.
9989 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9990 * manual/time.texi: Likewise.
9991 * manual/users.texi: Likewise.
9992 * INSTALL: Regenerated.
9993 * sysdeps/gnu/errlist.c: Regenerated.
9995 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9996 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9997 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9999 * configure: Regenerated.
10001 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10003 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10004 default includes instead of AC_HEADER_CHECK.
10005 * sysdeps/i386/configure: Regenerated.
10008 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10009 * math/s_cacoshf.c (__cacoshf): Likewise.
10010 * math/s_cacoshl.c (__cacoshl): Likewise.
10011 * math/s_casinh.c (__casinh): Set signs of result from argument.
10012 * math/s_casinhf.c (__casinhf): Likewise.
10013 * math/s_casinhl.c (__casinhl): Likewise.
10014 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10015 (casinh_test): Add more tests.
10016 * sysdeps/i386/fpu/libm-test-ulps: Update.
10017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10019 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10021 * po/zh_TW.po: Update from translation team.
10023 * login/Makefile (distribute): Remove variable.
10024 * catgets/Makefile: Likewise.
10025 * mach/Makefile: Likewise.
10026 * malloc/Makefile: Likewise.
10027 * misc/Makefile: Likewise.
10028 * iconv/Makefile: Likewise.
10029 * nscd/Makefile: Likewise.
10030 * hurd/Makefile: Likewise.
10031 * manual/Makefile: Likewise.
10032 * locale/Makefile: Likewise.
10033 * intl/Makefile: Likewise.
10034 * conform/Makefile: Likewise.
10035 * nss/Makefile: Likewise.
10036 * time/Makefile: Likewise.
10037 * soft-fp/Makefile: Likewise.
10038 * dirent/Makefile: Likewise.
10039 * gmon/Makefile: Likewise.
10040 * po/Makefile: Likewise.
10041 * rt/Makefile: Likewise.
10042 * socket/Makefile: Likewise.
10043 * math/Makefile: Likewise.
10044 * signal/Makefile: Likewise.
10045 * debug/Makefile: Likewise.
10046 * elf/Makefile: Likewise.
10047 * timezone/Makefile: Likewise.
10048 * stdlib/Makefile: Likewise.
10049 * iconvdata/Makefile: Likewise.
10050 * sunrpc/Makefile: Likewise.
10051 * io/Makefile: Likewise.
10052 * argp/Makefile: Likewise.
10053 * inet/Makefile: Likewise.
10054 * hesiod/Makefile: Likewise.
10055 * grp/Makefile: Likewise.
10056 * csu/Makefile: Likewise.
10057 * wctype/Makefile: Likewise.
10058 * crypt/Makefile: Likewise.
10059 * libio/Makefile: Likewise.
10060 * string/Makefile: Likewise.
10061 * nis/Makefile: Likewise.
10062 * resolv/Makefile: Likewise.
10063 * stdio-common/Makefile: Likewise.
10064 * wcsmbs/Makefile: Likewise.
10065 * dlfcn/Makefile: Likewise.
10066 * posix/Makefile: Likewise.
10069 * timezone/Makefile: Don't install timezone files, just the programs
10072 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10074 * nss/databases.def: Add missing gshadow entry.
10076 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10078 2012-03-06 Marek Polacek <polacek@redhat.com>
10081 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10082 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10083 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10084 * stdio-common/tst-long-dbl-fphex.c: New file.
10086 2012-03-06 David S. Miller <davem@davemloft.net>
10088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10089 (set_obp_int): New function.
10090 (get_obp_int): New function.
10091 (__get_clockfreq_via_dev_openprom): Likewise.
10092 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10093 Avoid unused variable warnings on 'val' and use builtin_expect.
10094 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10096 (INLINE_CLONE_SYSCALL): Likewise.
10098 2012-03-05 David S. Miller <davem@davemloft.net>
10100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10102 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10106 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10107 only for |x| >= 40.
10108 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10110 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10113 Replace gettimeofday with __vdso_gettimeofday.
10115 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10116 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10117 __vdso_clock_gettime and __vdso_getcpu.
10119 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10120 time with __vdso_time.
10122 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10124 * manual/lang.texi (size_t): Note types to which size_t may be
10125 equivalent with the GNU C Library, but do not describe when
10126 differences between them are significant.
10128 2012-03-05 Andreas Jaeger <aj@suse.de>
10130 * sysdeps/i386/fpu/libm-test-ulps: Update.
10132 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10135 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10136 (__ieee754_pow): Save and restore rounding mode and use
10137 round-to-nearest for main computations.
10138 * math/libm-test.inc (pow_test_tonearest): New function.
10139 (pow_test_towardzero): Likewise.
10140 (pow_test_downward): Likewise.
10141 (pow_test_upward): Likewise.
10142 (main): Call the new functions.
10143 * sysdeps/i386/fpu/libm-test-ulps: Update.
10144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10147 * math/libm-test.inc (cosh_test_tonearest): New function.
10148 (cosh_test_towardzero): Likewise.
10149 (cosh_test_downward): Likewise.
10150 (cosh_test_upward): Likewise.
10151 (sinh_test_tonearest): Likewise.
10152 (sinh_test_towardzero): Likewise.
10153 (sinh_test_downward): Likewise.
10154 (sinh_test_upward): Likewise.
10155 (main): Call the new functions.
10156 * sysdeps/i386/fpu/libm-test-ulps: Update.
10157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10159 2012-03-05 Tom de Vries <tom@codesourcery.com>
10161 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10162 default stack guard is set in last bytes.
10163 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10165 2012-03-05 Kees Cook <keescook@chromium.org>
10167 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10170 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10171 possibly allocate from heap instead of stack.
10172 * stdio-common/bug-vfprintf-nargs.c: New file.
10173 * stdio-common/Makefile (tests): Add nargs overflow test.
10175 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10179 2012-03-03 Marek Polacek <polacek@redhat.com>
10181 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10182 * math/math_private.h: Likewise.
10183 * stdlib/tst-strtod.c: Likewise.
10184 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10185 * sysdeps/x86_64/bits/atomic.h: Likewise.
10187 2012-03-02 David S. Miller <davem@davemloft.net>
10189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10193 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10194 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10195 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10196 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10198 2012-03-02 Roland McGrath <roland@hack.frob.com>
10201 * manual/examples/README: New file, says the example source files
10202 can be used under GPL>=2.
10203 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10204 line containing just "*/".
10205 * manual/examples/add.c: Add copyright header (GPL>=2).
10206 * manual/examples/argp-ex1.c: Likewise.
10207 * manual/examples/argp-ex2.c: Likewise.
10208 * manual/examples/argp-ex3.c: Likewise.
10209 * manual/examples/argp-ex4.c: Likewise.
10210 * manual/examples/atexit.c: Likewise.
10211 * manual/examples/db.c: Likewise.
10212 * manual/examples/dir.c: Likewise.
10213 * manual/examples/dir2.c: Likewise.
10214 * manual/examples/execinfo.c: Likewise.
10215 * manual/examples/filecli.c: Likewise.
10216 * manual/examples/filesrv.c: Likewise.
10217 * manual/examples/fmtmsgexpl.c: Likewise.
10218 * manual/examples/genpass.c: Likewise.
10219 * manual/examples/inetcli.c: Likewise.
10220 * manual/examples/inetsrv.c: Likewise.
10221 * manual/examples/isockad.c: Likewise.
10222 * manual/examples/longopt.c: Likewise.
10223 * manual/examples/memopen.c: Likewise.
10224 * manual/examples/memstrm.c: Likewise.
10225 * manual/examples/mkfsock.c: Likewise.
10226 * manual/examples/mkisock.c: Likewise.
10227 * manual/examples/mygetpass.c: Likewise.
10228 * manual/examples/pipe.c: Likewise.
10229 * manual/examples/popen.c: Likewise.
10230 * manual/examples/rprintf.c: Likewise.
10231 * manual/examples/search.c: Likewise.
10232 * manual/examples/select.c: Likewise.
10233 * manual/examples/setjmp.c: Likewise.
10234 * manual/examples/sigh1.c: Likewise.
10235 * manual/examples/sigusr.c: Likewise.
10236 * manual/examples/stpcpy.c: Likewise.
10237 * manual/examples/strdupa.c: Likewise.
10238 * manual/examples/strftim.c: Likewise.
10239 * manual/examples/strncat.c: Likewise.
10240 * manual/examples/subopt.c: Likewise.
10241 * manual/examples/swapcontext.c: Likewise.
10242 * manual/examples/termios.c: Likewise.
10243 * manual/examples/testopt.c: Likewise.
10244 * manual/examples/testpass.c: Likewise.
10245 * manual/examples/timeval_subtract.c: Likewise.
10248 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10250 * manual/timeval_subtract.c.texi: ... here, new file.
10252 2012-03-02 David S. Miller <davem@davemloft.net>
10254 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10256 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10259 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10260 (__sin): Save and restore rounding mode and use round-to-nearest
10261 for all computations.
10262 (__cos): Save and restore rounding mode and use round-to-nearest
10263 for all computations.
10264 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10266 (tan): Save and restore rounding mode and use round-to-nearest for
10268 * math/libm-test.inc (cos_test_tonearest): New function.
10269 (cos_test_towardzero): Likewise.
10270 (cos_test_downward): Likewise.
10271 (cos_test_upward): Likewise.
10272 (sin_test_tonearest): Likewise.
10273 (sin_test_towardzero): Likewise.
10274 (sin_test_downward): Likewise.
10275 (sin_test_upward): Likewise.
10276 (tan_test_tonearest): Likewise.
10277 (tan_test_towardzero): Likewise.
10278 (tan_test_downward): Likewise.
10279 (tan_test_upward): Likewise.
10280 (main): Call the new functions.
10281 * sysdeps/i386/fpu/libm-test-ulps: Update.
10282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10285 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10286 small n, then large n, before computing and testing k+n.
10287 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10288 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10290 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10292 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10293 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10294 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10295 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10296 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10297 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10298 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10299 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10300 * math/libm-test.inc (scalbn_test): Add more tests.
10301 (scalbln_test): Likewise.
10303 * manual/filesys.texi (mode_t): Describe constraints on size and
10304 signedness, not exact equivalence to a particular type.
10306 (ino64_t): Likewise.
10308 (nlink_t): Likewise.
10309 (blkcnt_t): Likewise.
10310 (blkcnt64_t): Likewise.
10311 * manual/llio.texi (off_t): Likewise.
10314 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10315 (__ieee754_exp): Save and restore rounding mode and use
10316 round-to-nearest for all computations.
10317 * math/libm-test.inc (exp_test_tonearest): New function.
10318 (exp_test_towardzero): Likewise.
10319 (exp_test_downward): Likewise.
10320 (exp_test_upward): Likewise.
10321 (main): Call the new functions.
10322 * sysdeps/i386/fpu/libm-test-ulps: Update.
10323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10325 2012-03-01 Chris Demetriou <cgd@google.com>
10327 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10328 have predictable order.
10330 2012-03-01 David S. Miller <davem@davemloft.net>
10332 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10334 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10335 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10336 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10337 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10339 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10340 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10341 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10343 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10344 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10345 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10346 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10347 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10351 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10352 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10353 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10355 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10356 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10357 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10358 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10359 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10360 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10361 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10362 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10363 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10364 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10365 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10366 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10367 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10368 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10369 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10370 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10371 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10372 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10373 * sysdeps/sparc/elf/configure: Regenerated.
10375 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10377 * configure.in (AS, LD): Require binutils 2.20 or later.
10378 * configure: Regenerated.
10379 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10380 as required minimum version.
10381 * INSTALL: Regenerated.
10385 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10386 before squaring exponent.
10387 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10388 bottom long double and 27 bits of top long double before squaring
10390 * math/libm-test.inc (erfc_test): Add more tests.
10391 * sysdeps/i386/fpu/libm-test-ulps: Update.
10392 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10395 2012-03-01 Kai Tietz <ktietz@redhat.com>
10397 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10398 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10399 containing bit-fields.
10400 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10401 * soft-fp/single.h (_FP_UNION_S): Likewise.
10402 * soft-fp/double.h (_FP_UNION_D): Likewise.
10404 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10407 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10408 not include ../strcmp.S.
10409 [USE_AS_STRNCASECMP_L]: Likewise.
10410 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10411 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10412 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10413 (__strncasecmp_l_ia32): Define as alias to
10414 __strncasecmp_l_nonascii.
10417 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10418 * sysdeps/i386/fpu/libm-test-ulps: Update.
10419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10421 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10424 2012-02-29 Jeff Law <law@redhat.com>
10426 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10427 out of bounds read.
10429 2012-02-29 Marek Polacek <polacek@redhat.com>
10432 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10433 * elf/Makefile: Add rules to run tst-unused-dep.out.
10435 2012-02-28 David S. Miller <davem@davemloft.net>
10437 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10438 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10439 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10440 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10441 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10442 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10444 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10446 * math/libm-test.inc (llround_test): Move one test from
10447 lround_test. Use TEST_f_L in moved test.
10448 (lround_test): Move misplaced test to llround_test. Add testcase
10451 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10453 * sysdeps/x86_64/fpu/e_expf.S: New file.
10454 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10456 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10459 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10460 of remain_len that may cause incomplete multi-byte character and
10462 * posix/bug-regex33.c: New file.
10463 * posix/Makefile (tests): Add bug-regex33.
10465 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10467 * manual/macros.texi: New file.
10468 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10469 * manual/libc.texinfo: Include macros.texi.
10470 * manual/creatute.texi: Likewise.
10471 * manual/install.texi: Likewise.
10472 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10473 @glibcadj{} in references to the GNU C Library.
10474 * manual/charset.texi: Likewise.
10475 * manual/conf.texi: Likewise.
10476 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10477 when not using those macros.
10478 * manual/creature.texi: Likewise.
10479 * manual/crypt.texi: Likewise.
10480 * manual/errno.texi: Likewise.
10481 * manual/filesys.texi: Likewise.
10482 * manual/header.texi: Likewise.
10483 * manual/install.texi: Likewise.
10484 * manual/intro.texi: Likewise.
10485 * manual/io.texi: Likewise.
10486 * manual/job.texi: Likewise.
10487 * manual/lang.texi: Likewise.
10488 * manual/libc.texiinfo: Likewise.
10489 * manual/llio.texi: Likewise.
10490 * manual/locale.texi: Likewise.
10491 * manual/maint.texi: Likewise.
10492 * manual/math.texi: Likewise.
10493 * manual/memory.texi: Likewise.
10494 * manual/message.texi: Likewise.
10495 * manual/nss.texi: Likewise.
10496 * manual/pattern.texi: Likewise.
10497 * manual/process.texi: Likewise.
10498 * manual/resource.texi: Likewise.
10499 * manual/search.texi: Likewise.
10500 * manual/setjmp.texi: Likewise.
10501 * manual/signal.texi: Likewise.
10502 * manual/socket.texi: Likewise.
10503 * manual/startup.texi: Likewise.
10504 * manual/stdio.texi: Likewise.
10505 * manual/string.texi: Likewise.
10506 * manual/sysinfo.texi: Likewise.
10507 * manual/syslog.texi: Likewise.
10508 * manual/terminal.texi: Likewise.
10509 * manual/time.texi: Likewise.
10510 * manual/users.texi: Likewise.
10511 * INSTALL: Regenerated.
10512 * NOTES: Regenerated.
10513 * sysdeps/gnu/errlist.c: Regenerated.
10515 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10517 * include/dirent.h: Include <dirstream.h> before
10520 2012-02-28 David S. Miller <davem@davemloft.net>
10522 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10523 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10524 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10525 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10527 2012-02-27 David S. Miller <davem@davemloft.net>
10529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10531 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10532 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10535 frame pointer instead of stack pointer relative arg slot.
10536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10537 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10538 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10540 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10543 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10545 2012-02-27 David S. Miller <davem@davemloft.net>
10547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10551 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10552 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10553 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10554 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10556 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10558 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10559 later. Allow versions 5-9.
10560 * configure: Regenerated.
10561 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10562 required minimum version and 4.6 as recommended version. Do not
10563 mention bugs in GCC 2.7 and 2.8.
10564 * INSTALL: Regenerated.
10566 2012-02-27 David S. Miller <davem@davemloft.net>
10568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10572 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10573 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10574 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10575 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10577 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10578 manipulate bits before adding and subtracting TWO112[sx].
10579 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10581 2012-02-27 Roland McGrath <roland@hack.frob.com>
10584 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10585 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10586 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10587 being in POSIX, because they are in 1003.1-2008.
10589 * rt/tst-aio.c: Include <fcntl.h>.
10590 * rt/tst-aio7.c: Likewise.
10591 * rt/tst-aio64.c: Likewise.
10593 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10595 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10597 * manual/install.texi (--with-headers): Describe headers as
10598 interface headers, not private headers.
10599 (Specific advice for GNU/Linux systems): Describe use of headers
10600 from "make headers_install", not private headers from older
10602 * INSTALL: Regenerated.
10603 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10605 * sysdeps/unix/sysv/linux/configure: Regenerated.
10607 * manual/llio.texi (fclean): Remove documentation.
10609 * manual/Makefile (libc-texi-generated): New variable. Include
10611 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10612 $(libc-texi-generated), not duplicated list of files.
10613 (version.texi, stamp-version): New rules.
10614 (realclean): Remove $(libc-texi-generated), not individual files
10615 from that list. Do not remove dir-add.texinfo.
10616 * manual/libc.texinfo: Comment out uses of edition numbers and
10617 references to printed manual. Remove last-updated dates.
10618 (EDITION): Comment out.
10620 (VERSION, UPDATED): Remove.
10621 (version.texi): Include.
10623 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10625 * sysdeps/posix/spawni.c: Include <signal.h>.
10626 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10627 * sysdeps/pthread/aio_fsync.c: Likewise.
10629 2012-02-26 Ulrich Drepper <drepper@gmail.com>
10631 * conform/Makefile (tests): Run only when not cross-compiling and
10632 when fast-check is not defined.
10634 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10635 * conform/data/limits.h-data: Fixes for POSIX2008.
10636 * conform/run-conformtest.sh: Run all tests.
10637 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10639 * include/bits/dlfcn.h: Likewise.
10640 * include/langinfo.h: Likewise.
10641 * include/monetary.h: Likewise.
10642 * include/sys/poll.h: Likewise.
10644 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10646 * posix/spawn.h: Define __need_sigset_t.
10647 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10648 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10649 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10650 to get sigevent_t only.
10651 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10652 only for __USE_GNU.
10653 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10654 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10655 process_vm_writev only for __USE_GNU.
10656 * termios/termios.h: Declare tcgetsid also for POSIX2008.
10658 * conform/Makefile: For now ignore errors from run-conformtest.
10659 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10660 POSIX to avoid namespace pollution. Don't prepend headers.
10661 * conform/data/aio.h-data: Fixes for POSIX testing.
10662 * conform/data/fcntl.h-data: Likewise.
10663 * conform/data/glob.h-data: Likewise.
10664 * conform/data/grp.h-data: Likewise.
10665 * conform/data/pthread.h-data: Likewise.
10666 * conform/data/pwd.h-data: Likewise.
10667 * conform/data/signal.h-data: Likewise.
10668 * conform/data/spawn.h-data: Likewise.
10669 * conform/data/stdio.h-data: Likewise.
10670 * conform/data/stdlib.h-data: Likewise.
10671 * conform/data/stropts.h-data: Likewise.
10672 * conform/data/sys/mman.h-data: Likewise.
10673 * conform/data/sys/stat.h-data: Likewise.
10674 * conform/data/sys/types.h-data: Likewise.
10675 * conform/data/sys/wait.h-data: Likewise.
10676 * conform/data/time.h-data: Likewise.
10677 * conform/data/unistd.h-data: Likewise.
10678 * conform/data/utime.h-data: Likewise.
10680 * io/sys/stat.h: fchmod was always in POSIX.
10681 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10682 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10683 * rt/aio.h: Define __need_timespec before including <time.h>.
10684 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10685 struct. Add forward declaration of pthread_attr_t and use it in
10687 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10688 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10689 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10690 always remove CLK_TCK definition.
10692 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10694 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10696 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10698 * conform/run-conformtest.sh: New file.
10699 * conform/Makefile: Run run-conformtest for tests.
10700 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10703 * conform/data/uchar.h-data: New file.
10704 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10705 * conform/data/arpa/inet.h-data: Likewise.
10706 * conform/data/assert.h-data: Likewise.
10707 * conform/data/complex.h-data: Likewise.
10708 * conform/data/cpio.h-data: Likewise.
10709 * conform/data/ctype.h-data: Likewise.
10710 * conform/data/dirent.h-data: Likewise.
10711 * conform/data/dlfcn.h-data: Likewise.
10712 * conform/data/errno.h-data: Likewise.
10713 * conform/data/fcntl.h-data: Likewise.
10714 * conform/data/float.h-data: Likewise.
10715 * conform/data/fmtmsg.h-data: Likewise.
10716 * conform/data/fnmatch.h-data: Likewise.
10717 * conform/data/ftw.h-data: Likewise.
10718 * conform/data/glob.h-data: Likewise.
10719 * conform/data/grp.h-data: Likewise.
10720 * conform/data/iconv.h-data: Likewise.
10721 * conform/data/inttypes.h-data: Likewise.
10722 * conform/data/langinfo.h-data: Likewise.
10723 * conform/data/libgen.h-data: Likewise.
10724 * conform/data/limits.h-data: Likewise.
10725 * conform/data/locale.h-data: Likewise.
10726 * conform/data/math.h-data: Likewise.
10727 * conform/data/monetary.h-data: Likewise.
10728 * conform/data/mqueue.h-data: Likewise.
10729 * conform/data/ndbm.h-data: Likewise.
10730 * conform/data/net/if.h-data: Likewise.
10731 * conform/data/netdb.h-data: Likewise.
10732 * conform/data/netinet/in.h-data: Likewise.
10733 * conform/data/nl_types.h-data: Likewise.
10734 * conform/data/poll.h-data: Likewise.
10735 * conform/data/pthread.h-data: Likewise.
10736 * conform/data/pwd.h-data: Likewise.
10737 * conform/data/regex.h-data: Likewise.
10738 * conform/data/sched.h-data: Likewise.
10739 * conform/data/search.h-data: Likewise.
10740 * conform/data/semaphore.h-data: Likewise.
10741 * conform/data/setjmp.h-data: Likewise.
10742 * conform/data/signal.h-data: Likewise.
10743 * conform/data/spawn.h-data: Likewise.
10744 * conform/data/stdarg.h-data: Likewise.
10745 * conform/data/stdio.h-data: Likewise.
10746 * conform/data/stdlib.h-data: Likewise.
10747 * conform/data/string.h-data: Likewise.
10748 * conform/data/strings.h-data: Likewise.
10749 * conform/data/stropts.h-data: Likewise.
10750 * conform/data/sys/ipc.h-data: Likewise.
10751 * conform/data/sys/mman.h-data: Likewise.
10752 * conform/data/sys/msg.h-data: Likewise.
10753 * conform/data/sys/resource.h-data: Likewise.
10754 * conform/data/sys/select.h-data: Likewise.
10755 * conform/data/sys/sem.h-data: Likewise.
10756 * conform/data/sys/shm.h-data: Likewise.
10757 * conform/data/sys/socket.h-data: Likewise.
10758 * conform/data/sys/stat.h-data: Likewise.
10759 * conform/data/sys/statvfs.h-data: Likewise.
10760 * conform/data/sys/time.h-data: Likewise.
10761 * conform/data/sys/timeb.h-data: Likewise.
10762 * conform/data/sys/times.h-data: Likewise.
10763 * conform/data/sys/types.h-data: Likewise.
10764 * conform/data/sys/uio.h-data: Likewise.
10765 * conform/data/sys/un.h-data: Likewise.
10766 * conform/data/sys/utsname.h-data: Likewise.
10767 * conform/data/sys/wait.h-data: Likewise.
10768 * conform/data/syslog.h-data: Likewise.
10769 * conform/data/tar.h-data: Likewise.
10770 * conform/data/termios.h-data: Likewise.
10771 * conform/data/utime.h-data: Likewise.
10772 * conform/data/utmpx.h-data: Likewise.
10773 * conform/data/varargs.h-data: Likewise.
10774 * conform/data/wchar.h-data: Likewise.
10775 * conform/data/wctype.h-data: Likewise.
10776 * conform/data/wordexp.h-data: Likewise.
10778 * include/stropts.h: New file.
10779 * include/uchar.h: New file.
10780 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10781 * include/assert.h: Likewise.
10782 * include/ctype.h: Likewise.
10783 * include/dirent.h: Likewise.
10784 * include/dlfcn.h: Likewise.
10785 * include/fcntl.h: Likewise.
10786 * include/fnmatch.h: Likewise.
10787 * include/glob.h: Likewise.
10788 * include/grp.h: Likewise.
10789 * include/libio.h: Likewise.
10790 * include/locale.h: Likewise.
10791 * include/math.h: Likewise.
10792 * include/net/if.h: Likewise.
10793 * include/netdb.h: Likewise.
10794 * include/netinet/in.h: Likewise.
10795 * include/pthread.h: Likewise.
10796 * include/pwd.h: Likewise.
10797 * include/regex.h: Likewise.
10798 * include/sched.h: Likewise.
10799 * include/search.h: Likewise.
10800 * include/setjmp.h: Likewise.
10801 * include/signal.h: Likewise.
10802 * include/stdio.h: Likewise.
10803 * include/stdlib.h: Likewise.
10804 * include/string.h: Likewise.
10805 * include/sys/cdefs.h: Likewise.
10806 * include/sys/mman.h: Likewise.
10807 * include/sys/msg.h: Likewise.
10808 * include/sys/resource.h: Likewise.
10809 * include/sys/select.h: Likewise.
10810 * include/sys/socket.h: Likewise.
10811 * include/sys/stat.h: Likewise.
10812 * include/sys/statvfs.h: Likewise.
10813 * include/sys/time.h: Likewise.
10814 * include/sys/times.h: Likewise.
10815 * include/sys/uio.h: Likewise.
10816 * include/sys/utsname.h: Likewise.
10817 * include/sys/wait.h: Likewise.
10818 * include/termios.h: Likewise.
10819 * include/time.h: Likewise.
10820 * include/ulimit.h: Likewise.
10821 * include/unistd.h: Likewise.
10822 * include/utime.h: Likewise.
10823 * include/wchar.h: Likewise.
10824 * include/wctype.h: Likewise.
10825 * include/wordexp.h: Likewise.
10827 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10829 * time/time.h: TIME_UTC must be a macro.
10830 Make timespec_get available for ISO C11 only as well.
10832 2012-02-24 Ulrich Drepper <drepper@gmail.com>
10834 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10835 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10837 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10839 * configure.in: Use -o not -a in test for unsupported multi-arch.
10841 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10843 * manual/texinfo.tex: Update to version 2012-01-19.16.
10845 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10847 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10849 2012-02-24 Roland McGrath <roland@hack.frob.com>
10852 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10853 * manual/fdl-1.3.texi: New file.
10854 * manual/fdl-1.1.texi: File removed.
10857 * manual/libc.texinfo (FDL_VERSION): New @set.
10858 Use it for mention of FDL in cover text.
10859 (Documentation License): Use it in @include file name.
10861 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10862 Roland McGrath <roland@hack.frob.com>
10865 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10866 not LONG_LONG_MAX and LONG_LONG_MIN.
10867 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10868 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10870 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10872 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10876 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10877 manipulate bits before adding and subtracting TWO23[sx].
10878 * math/libm-test.inc (nearbyint_test): Add more tests.
10880 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10883 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10884 bits before adding and subtracting TWO23[sx].
10885 * math/libm-test.inc (rint_test): Add more tests.
10886 (rint_test_tonearest): Likewise.
10887 (rint_test_towardzero): Likewise.
10888 (rint_test_downward): Likewise.
10889 (rint_test_upward: Likewise.
10891 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10894 * include/stdc-predef.h: New file. Extracted from features.h.
10895 * include/features.h: Include stdc-predef.h.
10896 * Makefile (headers): Add stdc-predef.h.
10897 * CONFORMANCE (Compiler limitations): Update.
10899 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10901 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10903 2012-02-21 David S. Miller <davem@davemloft.net>
10905 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10906 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10908 2012-02-20 David S. Miller <davem@davemloft.net>
10910 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10911 using a normal save/restore sequence, rather than allocating a
10912 dummy stack frame just to store a frame pointer and restore.
10913 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10915 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10917 * manual/install.texi: Fix stray word in line-wrapped comment.
10919 2012-02-20 David S. Miller <davem@davemloft.net>
10921 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10922 both binutils and gcc support GOTDATA.
10924 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10925 "rd %pc" in the PIC register setup sequences.
10927 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10928 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10929 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10930 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10931 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10932 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10933 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10934 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10935 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10936 (SYSCALL_ERROR_HANDLER): Likewise.
10937 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10938 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10939 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10940 (SYSCALL_ERROR_HANDLER): Likewise.
10942 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10943 (HAVE_GCC_GOTDATA): New.
10944 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10945 relocation support in both binutils and gcc.
10946 * sysdeps/sparc/elf/configure: Regenerate.
10948 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10949 * sysdeps/sparc/sparc32/elf/configure: Delete.
10950 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10951 * sysdeps/sparc/sparc64/elf/configure: Delete.
10952 * sysdeps/sparc/elf/configure.in: New file.
10953 * sysdeps/sparc/elf/configure: Generate.
10955 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10956 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10957 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10958 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10959 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10961 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10963 * manual/install.texi: Do not mention specific glibc version
10965 * manual/libc.texinfo (VERSION, UPDATED): Update.
10966 (@copying): Use @copyright{} and range of years.
10968 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10971 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10972 [crti.S not in sysdirs] (generated): Do not append.
10973 [crti.S not in sysdirs] (omit-deps): Likewise.
10974 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10975 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10976 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10977 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10978 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10980 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10981 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10982 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10983 * csu/defs.awk: Remove file.
10984 * sysdeps/generic/initfini.c: Likewise.
10985 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10987 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10990 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10992 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10993 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10994 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10995 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10996 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10997 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10999 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11000 (__EPOLL_PACKED): Define to empty if not defined by
11002 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11006 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11008 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11009 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11010 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11011 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11013 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11014 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11017 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11019 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11021 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11022 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11023 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11026 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11028 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11029 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11031 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11033 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11034 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11036 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11038 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11041 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11043 * math/w_acos.c: Use non-signaling floating-point comparisons.
11044 * math/w_acosf.c: Likewise.
11045 * math/w_acosh.c: Likewise.
11046 * math/w_acoshf.c: Likewise.
11047 * math/w_acoshl.c: Likewise.
11048 * math/w_acosl.c: Likewise.
11049 * math/w_asin.c: Likewise.
11050 * math/w_asinf.c: Likewise.
11051 * math/w_asinl.c: Likewise.
11052 * math/w_atanh.c: Likewise.
11053 * math/w_atanhf.c: Likewise.
11054 * math/w_atanhl.c: Likewise.
11055 * math/w_exp2.c: Likewise.
11056 * math/w_exp2f.c: Likewise.
11057 * math/w_exp2l.c: Likewise.
11058 * math/w_j0.c: Likewise.
11059 * math/w_j0f.c: Likewise.
11060 * math/w_j0l.c: Likewise.
11061 * math/w_j1.c: Likewise.
11062 * math/w_j1f.c: Likewise.
11063 * math/w_j1l.c: Likewise.
11064 * math/w_jn.c: Likewise.
11065 * math/w_jnf.c: Likewise.
11066 * math/w_log.c: Likewise.
11067 * math/w_log10.c: Likewise.
11068 * math/w_log10f.c: Likewise.
11069 * math/w_log10l.c: Likewise.
11070 * math/w_log2.c: Likewise.
11071 * math/w_log2f.c: Likewise.
11072 * math/w_log2l.c: Likewise.
11073 * math/w_logf.c: Likewise.
11074 * math/w_logl.c: Likewise.
11075 * math/w_sqrt.c: Likewise.
11076 * math/w_sqrtf.c: Likewise.
11077 * math/w_sqrtl.c: Likewise.
11078 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11079 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11080 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11081 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11082 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11084 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11087 * manual/string.texi (strnlen): Use correct parameter name in
11088 equivalent expression.
11090 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11093 * manual/users.texi (seteuid): Consistently use neweuid for
11096 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11099 * manual/nss.texi (Services in the NSS configuration): Correct
11100 list of services in example configuration file.
11102 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11105 * manual/arith.texi: Remove statements about negative zero
11106 behaving identically to zero.
11108 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11111 * manual/install.texi: Do not document upgrading from libc5.
11113 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11116 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11118 2012-02-18 David S. Miller <davem@davemloft.net>
11120 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11121 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11122 %o7 across the call.
11123 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11125 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11126 SETUP_PIC_REG_LEAF.
11127 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11128 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11129 * sysdeps/sparc/crtn.S: Likewise.
11131 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11133 * aout/Makefile: Remove.
11135 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11138 * manual/examples/argp-ex1.c (main): Format definition in GNU
11140 * manual/examples/argp-ex2.c (main): Likewise.
11141 * manual/examples/argp-ex3.c (main): Likewise.
11142 * manual/examples/argp-ex4.c (main): Likewise.
11143 * manual/examples/longopt.c (main): Use new-style prototype
11145 * manual/examples/strncat.c (main): Specify return type and use
11146 (void) for arguments.
11147 * manual/examples/subopt.c (main): Use char **argv argument.
11149 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11152 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11155 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11158 * manual/string.texi (strchr): Change when strchrnul is
11161 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11164 * manual/locale.texi (setlocale): Document LOCPATH.
11166 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11169 * manual/process.texi (execle): Move @dots{} before last argument.
11171 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11174 * manual/charset.texi (Generic Charset Conversion): Fix typo
11175 (LC_TYPE -> LC_CTYPE).
11177 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11180 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11181 (scalbnf): Likewise.
11182 (scalbnl): Likewise.
11183 (scalbln): Likewise.
11184 (scalblnf): Likewise.
11185 (scalblnl): Likewise.
11186 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11187 (vwarnx): Likewise.
11190 * manual/filesys.texi (telldir): Use braces around return type.
11191 * manual/llio.texi (mmap): Add space after comma.
11192 (mmap64): Likewise.
11193 * manual/math.texi (jn): Use @var{} on parameter names.
11199 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11201 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11203 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11204 (sched_get_priority_max): Likewise.
11205 * manual/signal.texi (sigvec): Add space after comma.
11206 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11208 (if_indextoname): Likewise.
11209 (if_freenameindex): Likewise.
11210 (sendto): Use ',' instead of '.' in prototype.
11211 * manual/startup.texi (syscall): Use @dots{} instead of literal
11213 * manual/stdio.texi (__fpending): Separate initial words of
11214 paragraph from @deftypefun line.
11215 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11217 (vsyslog): Use @var{} on parameter names.
11218 * manual/terminal.texi (stty): Use @var{} on parameter names.
11219 * manual/users.texi (getutmp): Use @var{} on parameter names.
11220 (getutmpx): Likewise.
11222 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11225 * manual/stdio.texi (fopen): Fix typos in description of
11228 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11231 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11232 get clock_id definition.
11234 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11237 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11238 (madvise): Cast every argument to void on its own.
11240 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11243 * manual/startup.texi (Exit Status): Fix typo.
11245 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11248 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11249 * manual/examples/argp-ex2.c: Likewise.
11250 * manual/examples/argp-ex3.c: Likewise.
11252 2012-02-16 Richard Henderson <rth@redhat.com>
11254 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11255 * sysdeps/s390/s390-32/initfini.c: Remove.
11256 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11257 * sysdeps/s390/s390-64/initfini.c: Remove.
11259 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11261 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11262 compiler output for sysdeps/generic/initfini.c.
11263 * sysdeps/sh/elf/initfini.c: Remove file.
11265 2012-02-16 David S. Miller <davem@davemloft.net>
11268 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11270 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11271 * sysdeps/sparc/crti.S: New file.
11272 * sysdeps/sparc/crtn.S: New file.
11273 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11274 * sysdeps/sparc/sparc64/Makefile: Likewise.
11276 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11279 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11281 2012-02-15 Roland McGrath <roland@hack.frob.com>
11284 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11286 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11287 (write, read, close): Likewise.
11288 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11290 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11292 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11293 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11294 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11295 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11297 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11301 2012-02-14 Marek Polacek <polacek@redhat.com>
11303 * sysdeps/x86_64/crti.S: New file.
11304 * sysdeps/x86_64/crtn.S: New file.
11305 * sysdeps/x86_64/elf/initfini.c: Remove file.
11307 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11309 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11310 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11311 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11312 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11314 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11318 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11320 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11321 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11322 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11323 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11325 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11326 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11329 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11331 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11332 __feraiseexcept instead of feraiseexcept.
11334 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11335 nanosleep invocations.
11336 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11337 strings, and add error checking for a nanosleep invocations.
11339 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11341 Replace FSF snail mail address with URLs, as per GNU coding standards.
11342 Most of the snail mail addresses were wrong anyway, and omitting
11343 them makes the source code easier to maintain. Almost all of the
11344 changes are to license notices and to locale LC_IDENTIFICATION
11345 addresses, except for this one:
11346 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11347 not its snail mail address.
11349 2012-02-09 Richard Henderson <rth@twiddle.net>
11351 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11352 of kernel-features.h.
11354 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11356 2012-02-08 Marek Polacek <polacek@redhat.com>
11358 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11359 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11360 * sysdeps/gnu/_G_config.h: Likewise.
11361 * sysdeps/generic/_G_config.h: Likewise.
11363 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11365 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11369 * sysdeps/powerpc/powerpc32/crti.S: New file.
11370 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11371 * sysdeps/powerpc/powerpc64/crti.S: New file.
11372 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11374 * Makeconfig (have-initfini): Don't set.
11375 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11376 * configure.in (nopic_initfini): Don't substitute.
11377 * config.h.in (HAVE_INITFINI): Don't #undef.
11378 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11379 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11381 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11383 Support crti.S and crtn.S provided directly by architectures.
11384 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11385 [crti.S in sysdirs] (omit-deps): Likewise.
11386 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11387 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11388 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11389 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11390 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11391 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11392 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11393 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11394 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11395 compiler output for sysdeps/generic/initfini.c.
11396 * sysdeps/i386/elf/Makefile: Remove file.
11397 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11399 2012-02-07 Marek Polacek <polacek@redhat.com>
11401 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11402 * sysdeps/gnu/_G_config.h: Likewise.
11403 * sysdeps/mach/hurd/_G_config.h: Likewise.
11405 2012-02-07 Marek Polacek <polacek@redhat.com>
11407 * math/Makefile (tests): Add tst-CMPLX2.
11408 * math/tst-CMPLX2.c: New file.
11410 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11412 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11414 * math/libm-test.inc (jn_test): Add missing L suffix.
11416 2012-02-06 Marek Polacek <polacek@redhat.com>
11418 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11419 * sysdeps/i386/fpu/e_powf.S: Likewise.
11420 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11421 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11422 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11423 * sysdeps/i386/fpu/e_pow.S: Likewise.
11424 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11425 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11426 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11427 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11428 * sysdeps/i386/fpu/e_log2.S: Likewise.
11429 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11430 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11431 * sysdeps/i386/fpu/e_powl.S: Likewise.
11432 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11433 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11434 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11435 * sysdeps/i386/fpu/e_logl.S: Likewise.
11436 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11437 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11438 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11439 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11440 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11441 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11442 * sysdeps/i386/fpu/e_log.S: Likewise.
11443 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11444 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11445 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11446 * sysdeps/i386/fpu/e_logf.S: Likewise.
11447 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11448 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11449 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11450 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11451 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11452 * sysdeps/i386/fpu/e_log10.S: Likewise.
11453 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11454 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11455 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11456 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11457 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11458 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11459 * sysdeps/i386/asm-syntax.h: Likewise.
11460 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11461 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11462 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11463 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11464 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11465 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11466 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11467 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11468 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11469 * sysdeps/powerpc/sysdep.h: Likewise.
11470 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11471 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11473 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11476 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11478 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11480 * sysdeps/i386/sysdep.h: Include <features.h>.
11481 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11484 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11486 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11488 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11491 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11493 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11494 (SETUP_PIC_REG): Use GET_PC_THUNK.
11495 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11498 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11500 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11501 for non-PIC compilation.
11502 (SETUP_PIC_REG): Add .p2align directive.
11503 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11504 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11505 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11506 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11507 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11508 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11509 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11510 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11511 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11512 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11513 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11514 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11515 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11516 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11517 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11518 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11519 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11520 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11521 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11522 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11523 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11524 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11525 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11526 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11527 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11528 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11529 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11530 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11531 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11532 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11533 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11534 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11535 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11536 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11537 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11538 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11539 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11540 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11541 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11542 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11543 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11545 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11547 * math/tst-CMPLX.c: Include <stdio.h>.
11549 2012-01-31 Joseph Myers <joseph@codesourcery.com>
11551 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11553 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11554 * sysdeps/sparc/bits/mathdef.h: Likewise.
11556 2012-01-31 Marek Polacek <polacek@redhat.com>
11558 * libio/libio.h: Don't define _PARAMS.
11559 * locale/programs/config.h: Don't define PARAMS.
11560 * stdlib/strtol_l.c: Likewise.
11561 (__strtol_l): Remove PARAMS from the prototype.
11563 2012-01-31 Ulrich Drepper <drepper@gmail.com>
11565 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11566 names. Just use the correct names. Remove unnecessary wrapper
11568 * malloc/arena.c: Likewise.
11569 * malloc/hooks.c: Likewise.
11571 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11572 ARENA_TEST says not to. Simplify test for creation of a new arena.
11573 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11575 2012-01-30 Ulrich Drepper <drepper@gmail.com>
11577 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11579 (update_get_addr): New function.
11580 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11581 GET_ADDR_MODULE parameter.
11583 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11585 * crypt/cert.c: Remove __STDC__ conditionals.
11586 * crypt/crypt-entry.c: Likewise.
11587 * crypt/crypt_util.c: Likewise.
11588 * libio/filedoalloc.c: Likewise.
11589 * libio/fileops.c: Likewise.
11590 * libio/genops.c: Likewise.
11591 * libio/iofclose.c: Likewise.
11592 * libio/iofdopen.c: Likewise.
11593 * libio/iofopen.c: Likewise.
11594 * libio/iofopen64.c: Likewise.
11595 * libio/iogetdelim.c: Likewise.
11596 * libio/iopopen.c: Likewise.
11597 * libio/obprintf.c: Likewise.
11598 * libio/oldfileops.c: Likewise.
11599 * libio/oldiofclose.c: Likewise.
11600 * libio/oldiofdopen.c: Likewise.
11601 * libio/oldiofopen.c: Likewise.
11602 * libio/oldiopopen.c: Likewise.
11603 * libio/wfiledoalloc.c: Likewise.
11604 * libio/wgenops.c: Likewise.
11605 * locale/programs/xmalloc.c: Likewise.
11606 * misc/syslog.c: Likewise.
11607 * stdio-common/xbug.c: Likewise.
11608 * string/memchr.c: Likewise.
11609 * string/memcmp.c: Likewise.
11610 * string/memrchr.c: Likewise.
11611 * string/rawmemchr.c: Likewise.
11612 * sysdeps/posix/getcwd.c: Likewise.
11613 * time/strftime_l.c: Likewise.
11615 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11617 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11618 * config.make.in (config-cflags-sse2avx): Define.
11619 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11622 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11624 * scripts/config.guess: Update from upstream config git repository.
11625 * scripts/config.sub: Likewise.
11627 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11629 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11631 (R_TILEPRO_*, R_TILEGX_*): New macros.
11633 * scripts/firstversions.awk: Fix bug in version range handling.
11635 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11637 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11639 * include/sys/epoll.h: New file.
11640 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11643 2012-01-28 Ulrich Drepper <drepper@gmail.com>
11645 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11646 Avoid unnecessary __WORDSIZE == 64 test.
11647 (fmaxf): Use VEX format if possible.
11652 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11653 * math/math_private.h: Remove libc_fegetround* and
11655 * sysdeps/i386/configure.in: Check for -msse2avx.
11656 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11657 also if SSE2AVX is defined.
11658 Remove libc_fegetround* and libc_fesetround*.
11659 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11660 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11661 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11663 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11664 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11665 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11666 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11667 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11669 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11671 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11673 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11675 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11677 2012-01-27 Ulrich Drepper <drepper@gmail.com>
11680 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11682 * Makeconfig (libm): Define.
11683 * elf/Makefile: Add rules to build and run tst-relsort1.
11684 * elf/tst-relsort1.c: New file.
11685 * elf/tst-relsort1mod1.c: New file.
11686 * elf/tst-relsort1mod2.c: New file.
11688 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11690 * math/s_ldexp.c: Remove __STDC__ conditionals.
11691 * math/s_ldexpf.c: Likewise.
11692 * math/s_ldexpl.c: Likewise.
11693 * math/s_nextafter.c: Likewise.
11694 * math/s_nexttowardf.c: Likewise.
11695 * math/s_significand.c: Likewise.
11696 * math/s_significandf.c: Likewise.
11697 * math/s_significandl.c: Likewise.
11698 * math/w_jnl.c: Likewise.
11699 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11700 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11701 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11702 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11703 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11704 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11705 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11706 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11707 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11708 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11709 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11710 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11711 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11712 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11713 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11714 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11715 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11716 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11717 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11718 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11719 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11720 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11721 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11722 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11723 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11724 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11725 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11726 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11727 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11728 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11729 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11730 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11731 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11732 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11733 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11734 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11735 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11736 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11737 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11738 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11739 * sysdeps/ieee754/k_standard.c: Likewise.
11740 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11741 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11742 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11743 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11744 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11745 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11746 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11747 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11748 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11749 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11750 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11751 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11752 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11753 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11754 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11755 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11756 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11757 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11758 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11759 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11760 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11761 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11762 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11763 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11764 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11765 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11766 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11767 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11768 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11769 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11770 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11771 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11772 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11773 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11774 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11775 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11776 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11777 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11778 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11779 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11780 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11781 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11782 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11783 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11784 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11785 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11786 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11787 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11788 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11789 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11790 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11791 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11792 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11793 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11794 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11795 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11796 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11797 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11798 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11799 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11800 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11801 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11802 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11803 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11804 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11805 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11806 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11807 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11808 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11809 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11810 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11811 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11812 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11813 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11814 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11815 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11816 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11817 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11818 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11819 * sysdeps/ieee754/s_matherr.c: Likewise.
11820 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11821 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11823 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11825 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11827 * crypt/md5.h: Remove __STDC__ conditionals.
11828 * libio/libioP.h: Likewise.
11829 * locale/programs/config.h: Likewise.
11830 * sysdeps/generic/sysdep.h: Likewise.
11831 * sysdeps/i386/asm-syntax.h: Likewise.
11832 * sysdeps/s390/asm-syntax.h: Likewise.
11833 * sysdeps/unix/sysdep.h: Likewise.
11834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11837 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11839 * libio/libio.h: Remove __STDC__ conditionals.
11840 * malloc/obstack.h: Likewise.
11841 * math/complex.h: Likewise.
11842 * math/math.h: Likewise.
11843 * sysdeps/generic/_G_config.h: Likewise.
11844 * sysdeps/gnu/_G_config.h: Likewise.
11845 * sysdeps/mach/hurd/_G_config.h: Likewise.
11846 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11847 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11848 * sysdeps/sparc/bits/mathdef.h: Likewise.
11850 2012-01-26 Ulrich Drepper <drepper@gmail.com>
11853 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11854 Clean up HAS_* macros.
11855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11856 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11858 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11860 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11861 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11862 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11863 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11864 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11866 2012-01-25 Joseph Myers <joseph@codesourcery.com>
11868 * elf/tst-unique3.cc (gets): Remove declaration.
11869 * elf/tst-unique3lib.cc (gets): Likewise.
11870 * elf/tst-unique3lib2.cc (gets): Likewise.
11871 * elf/tst-unique4.cc (gets): Likewise.
11873 2012-01-24 Ulrich Drepper <drepper@gmail.com>
11875 * include/stdio.h: Add C++ protection. Add gets declarations and
11877 * debug/tst-chk1.c: Don't declare gets here.
11878 * stdio-common/tst-gets.c: Likewise.
11880 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11882 * posix/glob: Remove directory.
11884 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11886 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11888 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11890 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11891 of the non-standard EPFNOSUPPORT.
11893 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11895 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11896 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11897 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11899 2012-01-21 Ulrich Drepper <drepper@gmail.com>
11901 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11903 2012-01-20 Ulrich Drepper <drepper@gmail.com>
11905 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11907 * nscd/grpcache.c (cache_addgr): Likewise.
11908 * nscd/hstcache.c (cache_addhst): Likewise.
11909 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11910 * nscd/pwdcache.c (cache_addpw): Likewise.
11911 * nscd/servicescache.c (cache_addserv): Likewise.
11913 2012-01-16 Ulrich Drepper <drepper@gmail.com>
11915 * malloc/malloc.c: Various cleanups.
11916 * malloc/hooks.c: Likewise.
11918 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11919 * stdlib/bug-fmtmsg1.c: New file.
11921 * stdlib/fmtmsg.c (init): Add missing unlock.
11922 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11924 2012-01-12 Marek Polacek <polacek@redhat.com>
11926 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11929 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11931 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11932 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11933 macro to ensure uniqueness of label name.
11934 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11935 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11937 2012-01-11 Ulrich Drepper <drepper@gmail.com>
11939 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11941 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11942 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11943 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11944 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11946 2012-01-10 Ulrich Drepper <drepper@gmail.com>
11948 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11950 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11951 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11952 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11954 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11956 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11957 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11958 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11959 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11961 * math/bits/math-finite.h: Add ldexp support.
11963 2012-01-10 Marek Polacek <polacek@redhat.com>
11965 * locale/programs/localedef.h (show_archive_content): Add noreturn
11968 2012-01-09 Ulrich Drepper <drepper@gmail.com>
11970 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11972 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11974 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11976 * io/Makefile (headers): Add bits/poll2.h.
11978 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11981 typo #include statement.
11983 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11985 * include/sys/cdefs.h: Define __attribute_alloc_size.
11986 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11987 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11988 * elf/pldd.c: Likewise.
11989 * iconv/iconv_charmap.c: Likewise.
11990 * iconv/iconvconfig.c: Likewise.
11991 * iconv/strtab.c: Likewise.
11992 * locale/programs/locale.c: Likewise.
11993 * locale/programs/localedef.h: Likewise.
11994 * locale/programs/simple-hash.c: Likewise.
11995 * nscd/nscd.h: Likewise.
11996 * nss/makedb.c: Likewise.
11997 * sysdeps/generic/ldconfig.h: Likewise.
11998 * locale/programs/localedef.c: Remove xmalloc prototype.
11999 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12001 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12003 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12006 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12008 * math/Makefile (tests): Add tst-CMPLX.
12009 * math/tst-CMPLX.c: New file.
12011 * math/complex.h (CMPLXL): Fix typo.
12013 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12014 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12016 * debug/tst-chk1.c: Add poll and ppoll tests.
12017 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12018 * include/sys/poll.h: Add hidden proto for ppoll.
12019 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12020 * sysdeps/mach/hurd/ppoll.c: Likewise.
12021 * io/ppoll.c: Likewise.
12022 * debug/poll_chk.c: New file.
12023 * debug/ppoll_chk.c: New file.
12024 * include/bits/poll2.h: New file.
12025 * io/bits/poll2.h: New file.
12028 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12030 * configure.in: static is always set to yes. Remove.
12031 * config.make.in: Don't set build-static.
12032 * Makeconfig: Remove use of build-static.
12033 * dlfcn/Makefile: Likewise.
12034 * elf/Makefile: Likewise.
12035 * math/Makefile: Likewise.
12036 * misc/Makefile: Likewise.
12037 * nptl/Makefile: Likewise.
12038 * sysdeps/mach/hurd/Makefile: Likewise.
12040 * configure.in: PWD_P is not used anymore.
12041 * config.make.in: Remove PWD_P entry.
12043 * configure.in: Remove last remnants of RANLIB.
12044 No need to check for signed size_t anymore.
12045 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12047 Remove __builtin_expect test because we require at least gcc 3.4.
12048 * aclocal.m4: Likewise.
12050 * wcsmbs/mbrtoc16.c: Implement using towc function.
12051 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12052 * wcsmbs/wcsmbsload.c: Likewise.
12053 * iconv/gconv_simple.c: Likewise.
12054 * iconv/gconv_int.h: Likewise.
12055 * iconv/gconv_builtin.h: Likewise.
12056 * iconv/iconv_prog.c: Remove CHAR16 handling.
12058 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12060 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12062 * configure.in: Remove --with-elf and --enable-bounded options.
12063 Dont set base_machine for ia64. More non-ELF conditions removed.
12064 Remove testing and setting of leading underscore information.
12065 * config.make.in (build-bounded): Set to no.
12066 * config.h.in: Remove NO_UNDERSCORES entry.
12067 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12069 * csu/start.c: Remove !NO_UNDERSCORE code.
12070 * locale/localeinfo.h: Likewise.
12071 * sysdeps/generic/machine-gmon.h: Likewise.
12072 * sysdeps/generic/sysdep.h: Likewise.
12073 * sysdeps/i386/sysdep.h: Likewise.
12074 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12075 * sysdeps/mach/sysdep.h: Likewise.
12076 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12077 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12078 * sysdeps/sh/sysdep.h: Likewise.
12079 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12080 * sysdeps/unix/i386/sysdep.S: Likewise.
12081 * sysdeps/unix/sparc/start.c: Likewise.
12082 * sysdeps/unix/sparc/sysdep.S: Likewise.
12083 * sysdeps/unix/sparc/sysdep.h: Likewise.
12084 * sysdeps/unix/start.c: Likewise.
12085 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12086 * sysdeps/x86_64/sysdep.h: Likewise.
12088 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12091 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12093 * argp/argp-fmtstream.h: Use const instead __const.
12094 * argp/argp.h: Likewise.
12095 * assert/assert.h: Likewise.
12096 * bits/fenv.h: Likewise.
12097 * bits/sched.h: Likewise.
12098 * bits/sigset.h: Likewise.
12099 * bits/sigthread.h: Likewise.
12100 * catgets/nl_types.h: Likewise.
12101 * conform/data/pthread.h-data: Likewise.
12102 * crypt/crypt-private.h: Likewise.
12103 * crypt/crypt.h: Likewise.
12104 * crypt/crypt_util.c: Likewise.
12105 * ctype/ctype.h: Likewise.
12106 * debug/execinfo.h: Likewise.
12107 * debug/mbsnrtowcs_chk.c: Likewise.
12108 * debug/mbsrtowcs_chk.c: Likewise.
12109 * debug/wcsnrtombs_chk.c: Likewise.
12110 * debug/wcsrtombs_chk.c: Likewise.
12111 * debug/wcstombs_chk.c: Likewise.
12112 * dirent/dirent.h: Likewise.
12113 * dlfcn/dlfcn.h: Likewise.
12114 * elf/neededtest4.c: Likewise.
12115 * grp/grp.h: Likewise.
12116 * gshadow/gshadow.h: Likewise.
12117 * iconv/gconv.h: Likewise.
12118 * iconv/gconv_int.h: Likewise.
12119 * iconv/gconv_simple.c: Likewise.
12120 * iconv/iconv.h: Likewise.
12121 * iconv/loop.c: Likewise.
12122 * iconv/skeleton.c: Likewise.
12123 * include/aio.h: Likewise.
12124 * include/aliases.h: Likewise.
12125 * include/argz.h: Likewise.
12126 * include/arpa/inet.h: Likewise.
12127 * include/assert.h: Likewise.
12128 * include/dirent.h: Likewise.
12129 * include/dlfcn.h: Likewise.
12130 * include/execinfo.h: Likewise.
12131 * include/fcntl.h: Likewise.
12132 * include/fenv.h: Likewise.
12133 * include/glob.h: Likewise.
12134 * include/grp.h: Likewise.
12135 * include/libintl.h: Likewise.
12136 * include/mntent.h: Likewise.
12137 * include/netdb.h: Likewise.
12138 * include/pwd.h: Likewise.
12139 * include/rpc/netdb.h: Likewise.
12140 * include/sched.h: Likewise.
12141 * include/search.h: Likewise.
12142 * include/shadow.h: Likewise.
12143 * include/signal.h: Likewise.
12144 * include/stdio.h: Likewise.
12145 * include/stdlib.h: Likewise.
12146 * include/string.h: Likewise.
12147 * include/sys/socket.h: Likewise.
12148 * include/sys/stat.h: Likewise.
12149 * include/sys/statfs.h: Likewise.
12150 * include/sys/statvfs.h: Likewise.
12151 * include/sys/syslog.h: Likewise.
12152 * include/sys/time.h: Likewise.
12153 * include/sys/uio.h: Likewise.
12154 * include/time.h: Likewise.
12155 * include/unistd.h: Likewise.
12156 * include/utmp.h: Likewise.
12157 * include/wchar.h: Likewise.
12158 * include/wctype.h: Likewise.
12159 * inet/aliases.h: Likewise.
12160 * inet/arpa/inet.h: Likewise.
12161 * inet/netinet/ether.h: Likewise.
12162 * inet/netinet/in.h: Likewise.
12163 * intl/libintl.h: Likewise.
12164 * io/bits/fcntl2.h: Likewise.
12165 * io/fcntl.h: Likewise.
12166 * io/ftw.h: Likewise.
12167 * io/sys/poll.h: Likewise.
12168 * io/sys/stat.h: Likewise.
12169 * io/sys/statfs.h: Likewise.
12170 * io/sys/statvfs.h: Likewise.
12171 * io/utime.h: Likewise.
12172 * libio/bits/stdio.h: Likewise.
12173 * libio/bits/stdio2.h: Likewise.
12174 * libio/libio.h: Likewise.
12175 * libio/libioP.h: Likewise.
12176 * libio/stdio.h: Likewise.
12177 * locale/lc-ctype.c: Likewise.
12178 * locale/locale.h: Likewise.
12179 * login/utmp.h: Likewise.
12180 * malloc/arena.c: Likewise.
12181 * malloc/malloc.c: Likewise.
12182 * malloc/malloc.h: Likewise.
12183 * malloc/mcheck.c: Likewise.
12184 * malloc/mtrace.c: Likewise.
12185 * math/bits/mathcalls.h: Likewise.
12186 * math/fenv.h: Likewise.
12187 * math/math_private.h: Likewise.
12188 * misc/bits/error.h: Likewise.
12189 * misc/bits/syslog.h: Likewise.
12190 * misc/err.h: Likewise.
12191 * misc/error.h: Likewise.
12192 * misc/fstab.h: Likewise.
12193 * misc/mntent.h: Likewise.
12194 * misc/regexp.h: Likewise.
12195 * misc/search.h: Likewise.
12196 * misc/sgtty.h: Likewise.
12197 * misc/sys/mman.h: Likewise.
12198 * misc/sys/syslog.h: Likewise.
12199 * misc/sys/uio.h: Likewise.
12200 * misc/sys/xattr.h: Likewise.
12201 * misc/ttyent.h: Likewise.
12202 * nis/rpcsvc/ypclnt.h: Likewise.
12203 * nss/nss.h: Likewise.
12204 * posix/bits/unistd.h: Likewise.
12205 * posix/fnmatch.h: Likewise.
12206 * posix/glob.h: Likewise.
12207 * posix/sched.h: Likewise.
12208 * posix/spawn.h: Likewise.
12209 * posix/sys/wait.h: Likewise.
12210 * posix/unistd.h: Likewise.
12211 * posix/wordexp.h: Likewise.
12212 * pwd/pwd.h: Likewise.
12213 * resolv/netdb.h: Likewise.
12214 * resource/sys/resource.h: Likewise.
12215 * rt/aio.h: Likewise.
12216 * rt/bits/mqueue2.h: Likewise.
12217 * rt/mqueue.h: Likewise.
12218 * shadow/shadow.h: Likewise.
12219 * signal/signal.h: Likewise.
12220 * socket/send.c: Likewise.
12221 * socket/sendto.c: Likewise.
12222 * socket/sys/socket.h: Likewise.
12223 * stdio-common/printf.h: Likewise.
12224 * stdlib/bits/stdlib.h: Likewise.
12225 * stdlib/fmtmsg.h: Likewise.
12226 * stdlib/monetary.h: Likewise.
12227 * stdlib/stdlib.h: Likewise.
12228 * stdlib/ucontext.h: Likewise.
12229 * streams/stropts.h: Likewise.
12230 * string/argz.h: Likewise.
12231 * string/bits/string2.h: Likewise.
12232 * string/string.h: Likewise.
12233 * string/strings.h: Likewise.
12234 * sunrpc/rpc/auth.h: Likewise.
12235 * sunrpc/rpc/auth_des.h: Likewise.
12236 * sunrpc/rpc/clnt.h: Likewise.
12237 * sunrpc/rpc/netdb.h: Likewise.
12238 * sunrpc/rpc/pmap_clnt.h: Likewise.
12239 * sunrpc/rpc/xdr.h: Likewise.
12240 * sysdeps/generic/inttypes.h: Likewise.
12241 * sysdeps/generic/net/if.h: Likewise.
12242 * sysdeps/generic/sys/swap.h: Likewise.
12243 * sysdeps/gnu/net/if.h: Likewise.
12244 * sysdeps/gnu/utmpx.h: Likewise.
12245 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12246 * sysdeps/i386/i486/bits/string.h: Likewise.
12247 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12248 * sysdeps/s390/bits/string.h: Likewise.
12249 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12250 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12251 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12252 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12253 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12254 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12255 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12256 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12257 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12258 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12259 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12260 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12261 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12262 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12263 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12264 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12265 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12266 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12267 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12268 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12269 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12270 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12271 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12272 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12273 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12274 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12275 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12276 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12277 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12278 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12279 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12280 * sysvipc/sys/ipc.h: Likewise.
12281 * sysvipc/sys/msg.h: Likewise.
12282 * sysvipc/sys/sem.h: Likewise.
12283 * sysvipc/sys/shm.h: Likewise.
12284 * termios/termios.h: Likewise.
12285 * time/sys/time.h: Likewise.
12286 * time/time.h: Likewise.
12287 * wcsmbs/bits/wchar2.h: Likewise.
12288 * wcsmbs/uchar.h: Likewise.
12289 * wcsmbs/wchar.h: Likewise.
12290 * wctype/wctype.h: Likewise.
12293 * Makeconfig: Remove all but ELF support including AIX support.
12294 * Makerules: Likewise.
12295 * config.h.in: Likewise.
12296 * config.make.in: Likewise.
12297 * configure: Likewise.
12298 * configure.in: Likewise.
12299 * csu/Makefile: Likewise.
12300 * csu/version.c: Likewise.
12301 * debug/Makefile: Likewise.
12302 * dlfcn/Makefile: Likewise.
12303 * elf/Makefile: Likewise.
12304 * extra-lib.mk: Likewise.
12305 * iconv/Makefile: Likewise.
12306 * include/libc-symbols.h: Likewise.
12307 * include/shlib-compat.h: Likewise.
12308 * resolv/Makefile: Likewise.
12309 * resolv/res_libc.c: Likewise.
12310 * rt/Makefile: Likewise.
12311 * sysdeps/i386/asm-syntax.h: Likewise.
12312 * sysdeps/i386/sysdep.h: Likewise.
12313 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12314 * sysdeps/mach/sysdep.h: Likewise.
12315 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12316 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12317 * sysdeps/s390/asm-syntax.h: Likewise.
12318 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12319 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12320 * sysdeps/sh/sysdep.h: Likewise.
12321 * sysdeps/unix/sparc/sysdep.h: Likewise.
12322 * sysdeps/wordsize-32/divdi3.c: Likewise.
12323 * sysdeps/x86_64/sysdep.h: Likewise.
12325 * argp/Versions: Remove _argp_unlock_xxx.
12328 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12329 * abilist/libBrokenLocale.abilist: Likewise.
12330 * abilist/libanl.abilist: Likewise.
12331 * abilist/libc.abilist: Likewise.
12332 * abilist/libcrypt.abilist: Likewise.
12333 * abilist/libdl.abilist: Likewise.
12334 * abilist/libm.abilist: Likewise.
12335 * abilist/libnsl.abilist: Likewise.
12336 * abilist/libpthread.abilist: Likewise.
12337 * abilist/libresolv.abilist: Likewise.
12338 * abilist/librt.abilist: Likewise.
12339 * abilist/libthread_db.abilist: Likewise.
12340 * abilist/libutil.abilist: Likewise.
12341 * abilist/libnss_db.abilist: New file.
12343 * scripts/abilist.awk: Add support for indirect functions.
12345 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12347 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12349 * shlib-versions: Remove entries for ports architectures.
12351 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12353 * elf/stackguard-macros.h: Remove support for IA-64.
12354 * elf/tst-auditmod1.c: Likewise.
12355 * sysdeps/generic/ldsodefs.h: Likewise.
12357 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12358 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12362 * configure.in: Remove --enable-omitfp support.
12364 * config.make.in: Likewise.
12365 * Makeconfig: Likewise.
12366 * manual/install.texi: Likewise.
12368 In case anyone cares, the IA-64 architecture could move to ports.
12369 * sysdeps/ia64/*: Removed.
12370 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12371 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12374 * configure.in: Remove entries for unsupported architectures.
12377 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12378 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12380 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12381 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12382 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12383 fall back to using wcrtomb.
12384 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12385 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12387 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12388 * wcsmbs/tst-c16c32-1.c: New file.
12390 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12393 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12395 * elf/tst-unique3.cc: Add explicit declaration of gets.
12396 * elf/tst-unique3lib.cc: Likewise.
12397 * elf/tst-unique3lib2.cc: Likewise.
12398 * elf/tst-unique4.cc: Likewise.
12400 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12402 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12405 * assert/assert.h (static_assert): Don't define for C++.
12406 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12407 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12409 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12411 * iconv/loop.c (single loop): Fix assertion in storing of
12414 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12416 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12418 * posix/getconf.c: Update copyright year.
12419 * nss/getent.c: Likewise.
12420 * nss/makedb.c: Likewise.
12421 * iconv/iconvconfig.c: Likewise.
12422 * iconv/iconv_prog.c: Likewise.
12423 * elf/ldconfig.c: Likewise.
12424 * elf/pldd.c: Likewise.
12425 * elf/sotruss.ksh: Likewise.
12426 * catgets/gencat.c: Likewise.
12427 * csu/version.c: Likewise.
12428 * elf/ldd.bash.in: Likewise.
12429 * elf/sprof.c (print_version): Likewise.
12430 * locale/programs/locale.c: Likewise.
12431 * locale/programs/localedef.c: Likewise.
12432 * login/programs/pt_chown.c: Likewise.
12433 * nscd/nscd.c (print_version): Likewise.
12434 * debug/xtrace.sh: Likewise.
12435 * malloc/memusage.sh: Likewise.
12436 * malloc/mtrace.pl: Likewise.
12437 * debug/catchsegv.sh: Likewise.
12439 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12441 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12444 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12447 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12448 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12450 * iconv/gconv_int.h: Likewise.
12451 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12452 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12453 from libc for GLIBC_2.16.
12454 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12455 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12456 * wcsmbs/uchar.h: Really define mbstate_t.
12457 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12458 * wcsmbs/c16rtomb.c: New file.
12459 * wcsmbs/mbrtoc16.c: New file.
12460 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12461 for C/POSIX locale.
12462 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12463 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12465 * wcsmbs/wchar.h: Add missing __restrict.
12467 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12470 * time/Makefile (routines): Add timespec_get.
12471 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12472 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12473 timespec for ISO C11.
12474 * time/timespec_get.c: New file.
12475 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12476 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12479 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12480 * stdlib/stdlib.h: Declare aligned_alloc.
12481 * Versions.def: Add GLIBC_2.16 for libc.
12482 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12485 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12488 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12492 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12495 * assert/assert.h (static_assert): Define.
12497 * version.h: Update for 2.16 development version.
12500 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12503 * version.h (RELEASE): Bump for 2.15 release.
12504 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12506 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12507 Patch by Marek Polacek <mpolacek@redhat.com>.
12509 * bits/byteswap.h: Protect long long constants with __extension__.
12510 * sysdeps/i386/bits/byteswap.h: Likewise.
12511 * sysdeps/ia64/bits/byteswap.h: Likewise.
12512 * sysdeps/s390/bits/byteswap.h: Likewise.
12513 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12515 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12518 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12519 destination buffer.
12520 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12522 2011-12-23 Marek Polacek <polacek@redhat.com>
12524 * elf/dl-addr.c (determine_info): Add inline keyword.
12525 * elf/tst-auditmod4b.c (check_avx): Likewise.
12526 * elf/tst-auditmod6b.c (check_avx): Likewise.
12527 * elf/tst-auditmod6c.c (check_avx): Likewise.
12528 * elf/tst-auditmod7b.c (check_avx): Likewise.
12530 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12532 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12535 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12538 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12539 processing for last bytes.
12541 2011-08-06 Bruno Haible <bruno@clisp.org>
12544 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12545 U+0385, not to U+1FEE.
12548 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12549 entry for U+00A5 U+0301.
12551 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12554 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12555 buffer for the output is too small.
12557 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12561 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12562 SSE flags if possible.
12564 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12567 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12568 processing for last bytes.
12570 2011-12-22 Joseph Myers <joseph@codesourcery.com>
12572 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12573 (syscall-list-default-options, syscall-list-default-condition)
12574 (syscall-list-includes): Define.
12575 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12576 list of ABIs and options and #if conditions for each ABI. Do not
12577 handle common syscalls between ABIs specially.
12578 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12580 (syscall-list-variants, syscall-list-32bit-options)
12581 (syscall-list-32bit-condition, syscall-list-64bit-options)
12582 (syscall-list-64bit-condition): Define.
12583 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12584 (syscall-list-variants, syscall-list-32bit-options)
12585 (syscall-list-32bit-condition, syscall-list-64bit-options)
12586 (syscall-list-64bit-condition): Define.
12587 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12589 (syscall-list-variants, syscall-list-32bit-options)
12590 (syscall-list-32bit-condition, syscall-list-64bit-options)
12591 (syscall-list-64bit-condition): Define.
12592 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12594 (syscall-list-variants, syscall-list-32bit-options)
12595 (syscall-list-32bit-condition, syscall-list-64bit-options)
12596 (syscall-list-64bit-condition): Define.
12598 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12600 * locale/iso-639.def: Add brx entry.
12603 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12604 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12606 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12607 __feraiseexcept_renamed.
12609 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12612 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12613 EPOLLET with unsigned values.
12614 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12615 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12617 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12618 to large cancellation.
12619 * math/s_cacoshf.c: Likewise.
12620 * math/s_cacoshl.c: Likewise.
12622 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12626 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12627 * math/s_cacoshf.c: Likewise.
12628 * math/s_cacoshl.c: Likewise.
12630 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12633 * iconv/gconv.h: Define __GCONV_SWAP.
12634 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12635 * iconvdata/utf-16.c: Likewise.
12636 * iconvdata/utf-32.c: Likewise.
12638 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12641 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12642 numerator after shifting it by one limb.
12644 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12646 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12647 under [__USE_EXTERN_INLINES].
12649 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12652 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12654 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12656 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12657 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12659 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12660 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12661 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12662 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12663 for strncasecmp/strncasecmp_l compilation.
12664 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12665 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12667 2011-12-08 Marek Polacek <mpolacek@redhat.com>
12670 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12673 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12676 * time/tzfile.c (__tzfile_read): Check values from file header.
12678 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12680 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12681 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12682 * powerpc/powerpc32/dl-start.S: Likewise.
12683 * powerpc/powerpc32/elf/start.S: Likewise.
12684 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12685 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12686 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12687 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12688 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12689 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12690 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12691 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12692 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12693 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12694 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12695 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12696 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12697 * powerpc/powerpc32/memset.S: Likewise.
12698 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12699 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12700 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12701 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12702 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12703 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12704 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12705 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12706 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12707 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12708 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12709 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12710 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12712 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12714 * math/libm-test.inc: Added more nearbyint tests.
12715 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12716 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12717 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12718 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12720 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12722 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12725 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12727 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12728 Add wcscpy-ssse3 wcscpy-c.
12729 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12730 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12731 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12732 * sysdeps/x86_64/wcschr.S: New file.
12733 * sysdeps/x86_64/wcsrchr.S: New file.
12734 * string/test-strcmp.c: Remove checking of wcscmp function for
12736 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12737 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12738 wcsrchr-sse2 wcsrchr-c.
12739 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12740 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12741 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12742 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12743 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12744 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12745 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12746 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12747 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12748 * wcsmbc/wcschr.c (WCSCHR): New macro.
12750 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12752 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12753 * wcsmbs/test-wcsrchr.c: New file.
12754 * string/test-strrchr.c: Add wcsrchr support.
12756 * wcsmbs/test-wcscpy.c: New file.
12757 * string/test-strcpy.c: Add wcscpy support.
12760 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12762 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12765 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12768 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12770 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12772 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12773 Minor optimizations.
12775 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12776 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12777 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12779 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12781 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12782 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12783 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12784 for gcc to avoid warnings.
12785 * inet/Makefile (tests): Add tst-checks.
12786 * inet/tst-checks.c: New file.
12788 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12791 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12794 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12795 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12797 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12799 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12801 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12804 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12806 2011-11-29 Joseph Myers <joseph@codesourcery.com>
12808 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12809 conditional on GCC version.
12810 (__arch_compare_and_exchange_val_8_acq)
12811 (__arch_compare_and_exchange_val_16_acq)
12812 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12813 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12814 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12816 2011-12-02 Joseph Myers <joseph@codesourcery.com>
12818 * sysdeps/sh/backtrace.c: New file.
12820 2011-12-02 Andreas Schwab <schwab@redhat.com>
12822 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12825 2011-12-01 Andreas Schwab <schwab@redhat.com>
12827 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12828 falling back to utime.
12830 2011-11-30 Andreas Schwab <schwab@redhat.com>
12832 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12833 expectations for float.
12835 2011-11-29 Andreas Schwab <schwab@redhat.com>
12837 * locale/weight.h (findidx): Add parameter len.
12838 * locale/weightwc.h (findidx): Likewise.
12839 * posix/fnmatch_loop.c (FCT): Adjust caller.
12840 * posix/regcomp.c (build_equiv_class): Likewise.
12841 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12842 * posix/regexec.c (check_node_accept_bytes): Likewise.
12843 * string/strcoll_l.c (STRCOLL): Likewise.
12844 * string/strxfrm_l.c (STRXFRM): Likewise.
12846 2011-11-17 Ulrich Drepper <drepper@gmail.com>
12848 * Makefile.in: Remove CVSOPT handling.
12849 * configure.in: Remove use of AC_REVISION.
12850 * iconvdata/Makefile (distribute): No need to filter out CVS.
12851 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12854 2011-11-16 Andreas Schwab <schwab@redhat.com>
12856 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12857 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12858 [USE_AS_STRNCASECMP_L]: Likewise.
12859 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12860 NO_TLS_DIRECT_SEG_REFS.
12861 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12862 Fix argument offsets for non-PIC.
12863 [USE_AS_STRNCASECMP_L]: Likewise.
12864 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12865 NO_TLS_DIRECT_SEG_REFS.
12867 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12869 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12871 * locale/loadlocale.c (_nl_load_locale): Likewise.
12873 2011-11-15 Andreas Schwab <schwab@redhat.com>
12875 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12876 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12877 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12878 (SYSCALL_GETTIME): Set errno on error.
12880 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12881 count references to noai6ai_cached.
12883 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12885 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12887 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12888 FD_CLOEXEC for /proc/self/maps.
12890 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12891 FD_CLOEXEC for /proc/meminfo.
12893 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12896 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12897 FD_CLOEXEC for given file.
12899 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12901 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12902 FD_CLOEXEC for /etc/hosts.
12903 (_gethtent): Likewise.
12905 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12907 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12908 cancellation and set FD_CLOEXEC for /etc/netgroup.
12910 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12911 reading /etc/publickey.
12913 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12914 allow cancellation when reading /etc/group.
12916 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12918 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12920 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12921 when using data file.
12923 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12925 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12926 (write_nis_obj): Use "c" and "e" in fopen.
12928 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12930 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12932 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12934 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12936 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12939 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12941 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12943 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12945 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12946 file parsing and set FD_CLOEXEC.
12948 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12950 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12952 2011-11-14 Andreas Schwab <schwab@redhat.com>
12954 * malloc/arena.c (arena_get2): Don't call reused_arena when
12955 _int_new_arena failed.
12957 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12959 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12960 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12961 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12962 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12963 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12964 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12965 to compile strcasecmp and strncasecmp.
12966 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12967 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12969 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12971 2011-11-13 Ulrich Drepper <drepper@gmail.com>
12973 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12974 locale-defines.sym to gen-as-const-headers.
12975 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12976 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12977 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12978 to compile strcasecmp and strncasecmp.
12979 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12980 strcasecmp_l and strncasecmp_l.
12981 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12982 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12983 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12984 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12985 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12986 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12987 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12988 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12989 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12990 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12991 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12993 2011-11-12 Ulrich Drepper <drepper@gmail.com>
12995 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12996 result of SYSDEP_GETTIME_CPU to retval.
12997 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12998 parameter list to macro. Remove trailing semicolon. Adjust users.
13000 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13003 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13005 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13007 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13008 from unused variable.
13010 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13012 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13015 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13018 * sunrpc/rpc_prot.c (rejected): Fix case value.
13020 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13021 unsigned long long int to avoid warnings in shift.
13023 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13025 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13028 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13029 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13030 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13032 * nis/nis_table.c (nis_list): Use variable of correct type for
13033 result of __follow_path call.
13035 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13037 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13038 of math functions ceil, trunc, floor, round, and sqrt, when
13039 avaliable on the platform.
13040 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13042 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13043 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13044 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13046 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13048 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13049 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13051 2011-11-11 Roland McGrath <roland@hack.frob.com>
13053 * include/unistd.h: Fix __readlink return type.
13054 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13056 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13058 * stdlib/ucontext.h: Undo last change for makecontext.
13060 2011-11-11 Andreas Schwab <schwab@redhat.com>
13062 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13064 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13065 * setjmp/setjmp.h: Mark functions as non-leaf.
13066 * setjmp/bits/setjmp2.h: Likewise.
13067 * stdlib/ucontext.h: Likewise.
13069 2011-11-10 Andreas Schwab <schwab@redhat.com>
13071 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13072 (reused_arena): Don't check arena limit.
13073 (arena_get2): Atomically check arena limit.
13075 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13077 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13078 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13080 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13083 2011-11-07 Andreas Schwab <schwab@redhat.com>
13085 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13086 handler when locking.
13088 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13089 Fix size of allocated buffer.
13091 2011-11-04 Andreas Schwab <schwab@redhat.com>
13094 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13095 declarations for long double functions.
13096 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13098 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13100 2011-11-03 Andreas Schwab <schwab@redhat.com>
13102 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13105 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13108 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13110 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13112 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13114 * include/alloca.h (stackinfo_alloca_round): Define.
13115 (extend_alloca): Use it.
13116 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13117 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13120 * scripts/check-local-headers.sh: Ignore libaudit.h.
13122 * nscd/Makefile (extra-objs): Make recursively expanded.
13124 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13126 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13127 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13129 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13130 * posix/tst-rfc3484-2.c: Likewise.
13131 * posix/tst-rfc3484-3.c: Likewise.
13133 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13135 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13137 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13138 process_vm_writev from libc using GLIBC_2.15 version.
13140 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13142 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13144 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13147 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13150 * nss/getent.c (initgroups_keys): Show error message in case no group
13153 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13154 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13155 __bump_nl_timestamp.
13156 * nscd/connections (nscd_init): When host database is served open
13157 netlink socket and request notification about configuration changes.
13158 (main_loop_poll): Track netlink file descriptor and bump timestamp
13159 in case data becomes available.
13160 (main_loop_epoll): Likewise.
13161 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13162 (database_pers_head): Add extra_data fileds.
13163 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13164 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13165 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13167 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13168 in6ai data, call __free_in6ai.
13169 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13170 Add -DHAVE_NETLINK.
13171 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13172 interface information. Reuse previous data if netlink timestamp
13174 (__bump_nl_timestamp): New function.
13175 (__free_in6ai): New function.
13177 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13179 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13180 close_not_cancel_no_status here.
13181 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13183 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13186 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13189 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13190 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13191 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13193 2011-07-03 Andreas Jaeger <aj@suse.de>
13196 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13197 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13198 * math/libm-test.inc (sin_test): Add test case.
13200 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13203 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13204 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13206 * elf/chroot_canon.c (chroot_canon): Cleanups.
13208 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13211 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13212 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13214 * string/test-strchr.c: Make usable for strchrnul testing.
13215 * string/test-strchrnul.c: New file.
13216 * string/Makefile (strop-tests): Add strchrnul.
13218 * po/it.po: Update from translation team.
13219 * po/es.po: Likewise.
13221 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13223 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13224 the three constants needed as parameters. Drop the others.
13225 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13226 __m128i_strloadu_tolower.
13227 Create and initialize variable zero and use it in all the places
13228 where _mm_setzero_si128 was used.
13230 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13231 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13232 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13233 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13235 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13236 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13237 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13238 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13239 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13240 __mpranred, __mptan.
13241 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13242 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13243 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13244 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13245 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13246 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13247 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13248 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13249 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13251 2011-10-28 Andreas Schwab <schwab@redhat.com>
13253 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13254 redefine if SHARED.
13255 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13258 wide char related routines to wcsmbs subdir.
13260 2011-10-27 Andreas Schwab <schwab@redhat.com>
13263 * misc/sys/cdefs.h (__THROWNL): Define.
13264 * posix/unistd.h: Use __THREADNL instead of __THREAD
13265 for memory synchronization functions.
13267 2011-10-26 Roland McGrath <roland@hack.frob.com>
13270 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13272 * manual/stdio.texi (Obstack Streams): Node removed.
13274 2011-10-26 Andreas Schwab <schwab@redhat.com>
13276 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13277 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13278 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13280 * math/math_private.h (math_force_eval): Allow non-addressable
13282 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13284 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13286 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13287 file is not needed.
13289 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13290 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13291 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13292 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13293 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13294 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13295 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13296 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13298 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13299 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13300 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13301 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13302 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13303 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13304 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13305 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13306 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13307 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13308 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13309 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13310 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13311 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13312 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13313 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13314 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13315 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13316 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13318 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13319 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13321 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13322 place. Use VEX encoding when compiling for AVX.
13324 2011-10-25 Andreas Schwab <schwab@redhat.com>
13326 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13327 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13329 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13331 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13333 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13334 useless if() expression.
13335 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13336 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13337 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13338 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13339 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13340 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13341 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13342 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13343 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13344 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13345 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13346 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13347 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13348 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13349 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13350 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13351 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13353 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13355 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13357 2011-10-25 Andreas Schwab <schwab@redhat.com>
13359 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13361 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13363 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13365 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13366 .text section. Avoid duplicate constants.
13367 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13368 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13369 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13370 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13371 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13373 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13374 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13375 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13376 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13377 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13378 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13379 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13380 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13381 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13382 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13383 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13384 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13385 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13386 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13387 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13388 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13389 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13390 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13391 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13392 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13393 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13394 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13395 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13396 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13397 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13398 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13399 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13400 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13401 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13402 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13403 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13404 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13405 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13406 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13407 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13408 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13409 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13410 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13411 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13413 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13415 * sysdeps/x86_64/dla.h: Move to ...
13416 * sysdeps/x86_64/fpu/dla.h: ...here.
13417 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13418 situations. Use __builtin_fma only for gcc 4.6 and up.
13420 * config.make.in: Add have-mfma4 entry.
13421 * configure.in: Substitute libc_cv_cc_fma4.
13422 * math/Makefile (dbl-only-routines): Add sincostab.
13423 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13424 Use __sincostab not sincos.
13425 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13427 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13428 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13429 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13430 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13432 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13433 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13434 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13435 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13437 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13438 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13440 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13441 define aliases when function name is a macro.
13442 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13443 sysdeps/ieee754/dbl-64/sincos.tbl.
13444 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13445 fma4-enabled routines.
13446 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13447 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13448 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13449 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13450 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13451 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13452 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13453 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13454 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13455 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13456 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13457 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13458 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13459 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13460 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13461 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13462 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13463 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13464 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13465 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13466 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13467 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13468 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13469 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13470 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13471 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13472 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13473 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13474 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13475 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13477 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13480 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13481 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13482 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13483 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13484 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13485 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13486 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13488 2011-10-24 Andreas Schwab <schwab@redhat.com>
13490 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13492 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13494 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13496 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13498 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13500 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13501 Remove unused variable magic_bits.
13502 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13504 * string/strnlen.c: Define and use STRNLEN macro.
13505 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13506 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13507 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13508 * wcsmbs/wcslen.c: Define and use WCSLEN.
13509 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13510 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13511 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13512 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13513 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13514 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13515 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13517 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13520 strnlen-sse2-no-bsf.
13521 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13522 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13523 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13524 Add strnlen support.
13525 (USE_AS_STRNLEN): New macro.
13526 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13527 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13528 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13529 * sysdeps/x86_64/wcslen.S: New file.
13531 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13533 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13534 XMM-moves are used for copying on small sizes.
13536 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13538 * wcsmbs/Makefile (strop-tests): Add wcschr.
13539 * wcsmbs/test-wcschr.c: New file.
13540 * string/test-strchr.c: Update.
13541 Add wcschr support.
13544 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13546 * wcsmbs/Makefile (strop-tests): Add wcslen.
13547 * wcsmbs/test-wcslen.c: New file.
13548 * string/test-strlen.c: Update.
13549 Add wcslen support.
13552 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13554 * po/it.po: Update from translation team.
13556 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13558 * sysdeps/x86_64/wcscmp.S: Update.
13559 Fix wrong comparison semantics.
13560 wcscmp shall use signed comparison not unsigned.
13561 Don't use substraction to avoid overflow bug.
13562 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13563 * wcsmbc/wcscmp.c: Likewise.
13564 * string/test-strcmp.c: Likewise.
13565 Add new tests to check cases with negative values.
13567 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13569 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13570 * sysdeps/x86_64/dla.h: ...here. New file.
13571 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13572 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13573 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13574 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13575 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13576 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13578 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13579 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13581 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13583 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13584 __ynl_finite aliases.
13586 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13590 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13592 [DLA_FMA] (EMULV): Use DLA_FMA.
13593 [DLA_FMA] (MUL12): Use EMULV.
13594 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13595 that are not needed.
13596 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13597 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13598 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13600 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13601 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13602 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13604 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13606 * math/s_nan.c: Undef __nan.
13607 * math/s_nanf.c: Undef __nanf.
13608 * math/s_nanl.c: Undef __nanl.
13609 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13612 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13614 * math/s_catan.c: Add branch predictions.
13615 * math/s_catanf.c: Likewise.
13616 * math/s_catanh.c: Likewise.
13617 * math/s_catanhf.c: Likewise.
13618 * math/s_catanhl.c: Likewise.
13619 * math/s_catanl.c: Likewise.
13620 * math/s_cexp.c: Likewise.
13621 * math/s_cexpf.c: Likewise.
13622 * math/s_cexpl.c: Likewise.
13623 * math/s_clog.c: Likewise.
13624 * math/s_clog10.c: Likewise.
13625 * math/s_clog10f.c: Likewise.
13626 * math/s_clog10l.c: Likewise.
13627 * math/s_clogf.c: Likewise.
13628 * math/s_clogl.c: Likewise.
13629 * math/s_csqrt.c: Likewise.
13630 * math/s_csqrtf.c: Likewise.
13631 * math/s_csqrtl.c: Likewise.
13632 * math/s_ctanf.c: Likewise.
13633 * math/s_ctanh.c: Likewise.
13634 * math/s_ctanhf.c: Likewise.
13635 * math/s_ctanhl.c: Likewise.
13636 * math/s_ctanl.c: Likewise.
13638 * math/math_private.h: Define __nan, __nanf, __nanl.
13639 * math/s_cacosh.c: Include <math_private.h>.
13640 * math/s_cacoshl.c: Likewise.
13641 * math/s_casinh.c: Likewise.
13642 * math/s_casinhf.c: Likewise.
13643 * math/s_casinhl.c: Likewise.
13644 * math/s_ccos.c: Rely entire on ccosh.
13645 * math/s_ccosf.c: Rely entire on ccoshf.
13646 * math/s_ccosl.c: Rely entirely on ccoshl.
13647 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13648 Remove tests for FE_INVALID.
13649 * math/s_ccoshf.c: Likewise.
13650 * math/s_ccoshl.c: Likewise.
13651 * math/s_csin.c: Likewise.
13652 * math/s_csinf.c: Likewise.
13653 * math/s_csinh.c Likewise.
13654 * math/s_csinhf.c: Likewise.
13655 * math/s_csinhl.c: Likewise.
13656 * math/s_csinl.c: Likewise.
13657 * math/s_ctan.c: Likewise.
13658 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13659 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13660 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13662 2011-10-21 Ulrich Drepper <drepper@gmail.com>
13664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13665 compilation problems.
13667 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13670 2011-10-20 Ulrich Drepper <drepper@gmail.com>
13672 * sysdeps/i386/configure.in: Test for -mfma4 option.
13673 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13674 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13675 COMMON_CPUID_INDEX_80000001.
13676 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13677 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13678 use it if FMA3 is not supported.
13679 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13681 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13682 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13684 2011-10-20 Andreas Schwab <schwab@redhat.com>
13687 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13688 it would create a cycle with a link time dependency.
13690 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13692 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13694 * string/Makefile (strop-tests): Add rawmemchr.
13695 * string/test-rawmemchr.c: New file.
13697 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13698 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13699 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13700 when compiling str{,n}casecmp and when AVX is available. Hook up
13701 new optimized code in initializers.
13703 2011-10-19 Andreas Schwab <schwab@redhat.com>
13705 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13706 __feraiseexcept instead of feraiseexcept.
13708 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13710 * math/math_private.h: Define defaults for libc_fetestexcept and
13712 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13713 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13714 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13715 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13716 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13717 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13718 libc_fetestexcept and libc_feupdateenv.
13720 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13721 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13722 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13723 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13724 libc_feholdexcept_setround.
13726 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13727 Add s_nearbyint-c and s_nearbyintf-c.
13728 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13729 nearbyintf inlines.
13730 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13731 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13732 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13733 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13735 * math/math_private.h: Define defaults for libc_fegetround,
13736 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13737 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13738 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13739 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13740 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13741 standard functions.
13742 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13743 Remove comments and hacks for old compiler versions.
13744 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13745 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13746 libc_feholdexceptl.
13748 2011-10-18 Andreas Schwab <schwab@redhat.com>
13750 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13751 (__feraiseexcept_renamed): Add __NTH.
13752 (feraiseexcept): Add __NTH. Rename local variables to fix
13753 namespace violations.
13755 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13757 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13759 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13761 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13762 recently added interfaces.
13763 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13765 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13766 about macro parameter expansion.
13768 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13769 __NO_MATH_INLINES is defined. Cleanups.
13771 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13772 and __floorf is target has SSE4.1.
13773 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13774 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13775 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13776 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13778 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13780 (floorf): Likewise.
13782 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13784 2011-10-17 Andreas Schwab <schwab@redhat.com>
13786 * misc/sys/cdefs.h: Fix last change.
13788 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13791 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13793 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13795 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13796 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13797 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13798 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13799 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13800 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13801 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13802 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13803 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13804 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13805 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13806 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13807 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13808 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13809 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13810 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13811 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13812 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13813 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13814 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13815 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13816 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13818 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13819 ceil, ceilf, floor, floorf.
13821 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13822 Perform IRELATIVE relocations last.
13824 * elf/do-rel.h: Add another parameter nrelative, replacing the
13825 local variable with the same name. Change name of the function
13826 to end in Rel or Rela (uppercase).
13827 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13828 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13829 elf_dynamic_do_##reloc function.
13831 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13833 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13834 is sufficient, at least on modern CPUs.
13836 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13838 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13839 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13841 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13843 * math/bits/math-finite.h: Add entries for exp.
13844 * math/e_expl.c: Add __*_finite alias.
13845 * sysdeps/i386/fpu/e_exp.S: Likewise.
13846 * sysdeps/i386/fpu/e_expf.S: Likewise.
13847 * sysdeps/i386/fpu/e_expl.c: Likewise.
13848 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13849 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13850 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13851 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13853 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13854 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13856 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13857 is sufficient, at least on modern CPUs.
13859 * ctype/ctype-info.c (__ctype_init): Define.
13860 * include/ctype.h (__ctype_init): Declare.
13861 (__ctype_b_loc): The variable is always initialized.
13862 (__ctype_toupper_loc): Likewise.
13863 (__ctype_tolower_loc): Likewise.
13864 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13865 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13867 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13869 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13871 * configure.in: Also look in $cxxmachine/include for C++ system
13874 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13876 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13877 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13878 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13879 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13880 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13881 (USE_AS_WMEMCMP): New macro.
13883 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13884 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13885 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13886 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13887 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13888 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13889 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13890 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13891 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13892 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13893 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13894 (USE_AS_WMEMCMP): New macro.
13895 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13896 * sysdeps/string/test-memcmp.c: Update.
13897 Fix simple_wmemcmp.
13899 * wcsmbs/wmemcmp.c: Update.
13900 (WMEMCMP): New macro.
13903 2011-10-12 Andreas Jaeger <aj@suse.de>
13906 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13908 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13910 * libio/iofwide.c (do_length): Avoid warning.
13912 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13914 2011-10-14 Ulrich Drepper <drepper@gmail.com>
13916 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13918 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13919 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13920 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13921 * sysdeps/i386/i686/fpu/e_log.S: New file.
13922 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13923 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13925 * ctype/ctype.h: Add support for inlined isXXX functions when
13926 compiling C++ code.
13928 2011-10-14 Andreas Schwab <schwab@redhat.com>
13930 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13932 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13934 2011-10-13 Roland McGrath <roland@hack.frob.com>
13937 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13939 2011-10-13 Andreas Schwab <schwab@redhat.com>
13941 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13942 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13945 * sysdeps/x86_64/memrchr.S: Check for zero size.
13947 * string/stratcliff.c: Add memrchr tests.
13949 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13951 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13952 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13953 rawmemchr-sse2 rawmemchr-sse2-bsf.
13954 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13955 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13956 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13957 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13958 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13959 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13960 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13961 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13962 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13963 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13964 * string/memrchr.c (MEMRCHR): New macro.
13966 2011-10-12 Ulrich Drepper <drepper@gmail.com>
13968 Add integration with gcc's -ffinite-math-only and optimize wrapper
13970 * Versions.def: Define GLIBC_2.15 version for libm.
13971 * math/Makefile (headers): Add bits/math-finite.h.
13972 * math/bits/math-finite.h: New file.
13973 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13974 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13975 * math/e_acoshl.c: Add __*_finite alias.
13976 * math/e_acosl.c: Likewise.
13977 * math/e_asinl.c: Likewise.
13978 * math/e_atan2l.c: Likewise.
13979 * math/e_atanhl.c: Likewise.
13980 * math/e_coshl.c: Likewise.
13981 * math/e_exp10.c: Likewise.
13982 * math/e_exp10f.c: Likewise.
13983 * math/e_exp10l.c: Likewise.
13984 * math/e_exp2l.c: Likewise.
13985 * math/e_fmodl.c: Likewise.
13986 * math/e_gammal_r.c: Likewise.
13987 * math/e_hypotl.c: Likewise.
13988 * math/e_j0l.c: Likewise.
13989 * math/e_j1l.c: Likewise.
13990 * math/e_jnl.c: Likewise.
13991 * math/e_lgammal_r.c: Likewise.
13992 * math/e_log10l.c: Likewise.
13993 * math/e_log2l.c: Likewise.
13994 * math/e_logl.c: Likewise.
13995 * math/e_powl.c: Likewise.
13996 * math/e_sinhl.c: Likewise.
13997 * math/e_sqrtl.c: Likewise.
13998 * math/e_scalb.c: Completely rewritten and optimized.
13999 * math/e_scalbf.c: Likewise.
14000 * math/e_scalbl.c: Likewise.
14001 * math/w_acos.c: Likewise.
14002 * math/w_acosf.c: Likewise.
14003 * math/w_acosl.c: Likewise.
14004 * math/w_acosh.c: Likewise.
14005 * math/w_acoshf.c: Likewise.
14006 * math/w_acoshl.c: Likewise.
14007 * math/w_asin.c: Likewise.
14008 * math/w_asinf.c: Likewise.
14009 * math/w_asinl.c: Likewise.
14010 * math/w_atan2.c: Likewise.
14011 * math/w_atan2f.c: Likewise.
14012 * math/w_atan2l.c: Likewise.
14013 * math/w_atanh.c: Likewise.
14014 * math/w_atanhf.c: Likewise.
14015 * math/w_atanhl.c: Likewise.
14016 * math/w_exp10.c: Likewise.
14017 * math/w_exp10f.c: Likewise.
14018 * math/w_exp10l.c: Likewise.
14019 * math/w_fmod.c: Likewise.
14020 * math/w_fmodf.c: Likewise.
14021 * math/w_fmodl.c: Likewise.
14022 * math/w_j0.c: Likewise.
14023 * math/w_j0f.c: Likewise.
14024 * math/w_j0l.c: Likewise.
14025 * math/w_j1.c: Likewise.
14026 * math/w_j1f.c: Likewise.
14027 * math/w_j1l.c: Likewise.
14028 * math/w_jn.c: Likewise.
14029 * math/w_jnf.c: Likewise.
14030 * math/w_log.c: Likewise.
14031 * math/w_logf.c: Likewise.
14032 * math/w_logl.c: Likewise.
14033 * math/w_log10.c: Likewise.
14034 * math/w_log10f.c: Likewise.
14035 * math/w_log10l.c: Likewise.
14036 * math/w_log2.c: Likewise.
14037 * math/w_log2f.c: Likewise.
14038 * math/w_log2l.c: Likewise.
14039 * math/w_pow.c: Likewise.
14040 * math/w_powf.c: Likewise.
14041 * math/w_powl.c: Likewise.
14042 * math/w_remainder.c: Likewise.
14043 * math/w_remainderf.c: Likewise.
14044 * math/w_remainderl.c: Likewise.
14045 * math/w_scalb.c: Likewise.
14046 * math/w_scalbf.c: Likewise.
14047 * math/w_scalbl.c: Likewise.
14048 * math/w_sqrt.c: Likewise.
14049 * math/w_sqrtf.c: Likewise.
14050 * math/w_sqrtl.c: Likewise.
14051 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14052 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14054 * math/math_private.h: Declare __kernel_standard_f.
14055 * math/w_cosh.c: Remove cruft and optimize a bit.
14056 * math/w_coshf.c: Likewise.
14057 * math/w_coshl.c: Likewise.
14058 * math/w_exp2.c: Likewise.
14059 * math/w_exp2f.c: Likewise.
14060 * math/w_exp2l.c: Likewise.
14061 * math/w_hypot.c: Likewise.
14062 * math/w_hypotf.c: Likewise.
14063 * math/w_hypotl.c: Likewise.
14064 * math/w_lgamma.c: Likewise.
14065 * math/w_lgamma_r.c: Likewise.
14066 * math/w_lgammaf.c: Likewise.
14067 * math/w_lgammaf_r.c: Likewise.
14068 * math/w_lgammal.c: Likewise.
14069 * math/w_lgammal_r.c: Likewise.
14070 * math/w_sinh.c: Likewise.
14071 * math/w_sinhf.c: Likewise.
14072 * math/w_sinhl.c: Likewise.
14073 * math/w_tgamma.c: Likewise.
14074 * math/w_tgammaf.c: Likewise.
14075 * math/w_tgammal.c: Likewise.
14076 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14077 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14078 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14079 Minor optimizations. Pretty printing. Remove cruft.
14080 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14081 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14082 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14083 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14084 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14085 * sysdeps/i386/fpu/e_asin.S: Likewise.
14086 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14087 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14088 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14089 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14090 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14091 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14092 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14093 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14094 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14095 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14096 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14097 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14098 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14099 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14100 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14101 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14102 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14103 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14104 * sysdeps/i386/fpu/e_log.S: Likewise.
14105 * sysdeps/i386/fpu/e_log10.S: Likewise.
14106 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14107 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14108 * sysdeps/i386/fpu/e_log2.S: Likewise.
14109 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14110 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14111 * sysdeps/i386/fpu/e_logf.S: Likewise.
14112 * sysdeps/i386/fpu/e_logl.S: Likewise.
14113 * sysdeps/i386/fpu/e_pow.S: Likewise.
14114 * sysdeps/i386/fpu/e_powf.S: Likewise.
14115 * sysdeps/i386/fpu/e_powl.S: Likewise.
14116 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14117 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14118 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14119 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14120 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14121 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14122 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14123 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14124 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14125 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14126 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14127 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14128 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14129 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14130 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14131 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14132 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14133 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14134 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14135 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14136 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14137 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14138 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14139 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14140 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14141 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14142 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14143 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14144 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14145 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14146 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14147 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14148 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14149 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14150 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14151 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14152 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14153 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14154 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14155 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14156 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14157 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14158 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14159 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14160 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14161 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14162 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14163 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14164 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14165 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14166 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14167 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14168 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14169 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14170 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14171 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14172 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14173 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14174 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14175 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14176 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14177 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14178 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14179 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14180 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14181 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14182 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14183 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14184 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14185 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14186 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14187 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14188 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14189 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14190 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14191 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14192 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14193 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14194 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14195 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14196 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14197 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14198 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14199 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14200 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14201 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14202 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14203 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14204 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14205 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14206 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14207 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14208 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14209 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14210 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14211 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14212 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14213 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14214 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14215 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14216 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14217 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14218 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14219 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14220 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14221 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14222 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14223 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14224 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14225 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14226 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14227 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14228 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14229 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14230 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14231 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14232 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14233 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14234 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14235 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14236 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14237 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14238 (__isnanf): Likewise.
14239 (__isinf_ns): Likewise.
14240 (__isinf_nsf): Likewise.
14241 (__finite): Likewise.
14242 (__finitef): Likewise.
14243 (__ieee754_sqrt): Define as macro.
14244 (__ieee754_sqrtf): Define as macro.
14245 (__ieee754_sqrtl): Define as macro.
14246 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14248 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14249 __FINITE_MATH_ONLY__ consistent.
14250 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14252 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14254 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14257 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14259 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14261 * po/ja.po: Update from translation team.
14263 2011-10-08 Roland McGrath <roland@hack.frob.com>
14265 * locale/programs/locarchive.c (prepare_address_space): New function.
14266 (create_archive, enlarge_archive, open_archive): Use it.
14268 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14269 inside [SHARED], where it is used.
14271 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14273 * nss/getent.c (netgroup_keys): Remove unused variable.
14274 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14276 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14278 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14279 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14281 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14282 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14283 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14284 * math/Makefile (libm-calls): Add s_isinf_ns.
14285 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14286 * math/multc3.c: Likewise.
14287 * math/s_casin.c: Likewise.
14288 * math/s_casinf.c: Likewise.
14289 * math/s_casinl.c: Likewise.
14290 * math/s_ccos.c: Likewise.
14291 * math/s_ccosf.c: Likewise.
14292 * math/s_ccosl.c: Likewise.
14293 * math/s_ctan.c: Likewise.
14294 * math/s_ctanf.c: Likewise.
14295 * math/s_ctanh.c: Likewise.
14296 * math/s_ctanhf.c: Likewise.
14297 * math/s_ctanhl.c: Likewise.
14298 * math/s_ctanl.c: Likewise.
14299 * math/w_fmod.c: Likewise.
14300 * math/w_fmodf.c: Likewise.
14301 * math/w_fmodl.c: Likewise.
14302 * math/w_remainder.c: Likewise.
14303 * math/w_remainderf.c: Likewise.
14304 * math/w_remainderl.c: Likewise.
14305 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14306 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14307 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14308 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14309 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14310 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14311 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14312 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14314 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14316 * stdio-common/printf_fphex.c: Likewise.
14317 * stdio-common/printf_size.c: Likewise.
14319 * math/e_exp10.c: Include math_private.h using <...> not "...".
14320 * math/e_exp10f.c: Likewise.
14321 * math/e_exp10l.c: Likewise.
14322 * math/e_exp2l.c: Likewise.
14323 * math/e_j0l.c: Likewise.
14324 * math/e_j1l.c: Likewise.
14325 * math/e_jnl.c: Likewise.
14326 * math/e_lgammal_r.c: Likewise.
14327 * math/e_rem_pio2l.c: Likewise.
14328 * math/e_scalb.c: Likewise.
14329 * math/e_scalbf.c: Likewise.
14330 * math/e_scalbl.c: Likewise.
14331 * math/k_cosl.c: Likewise.
14332 * math/k_sinl.c: Likewise.
14333 * math/k_tanl.c: Likewise.
14334 * math/s_cacoshf.c: Likewise.
14335 * math/s_catan.c: Likewise.
14336 * math/s_catanf.c: Likewise.
14337 * math/s_catanh.c: Likewise.
14338 * math/s_catanhf.c: Likewise.
14339 * math/s_catanhl.c: Likewise.
14340 * math/s_catanl.c: Likewise.
14341 * math/s_ccosh.c: Likewise.
14342 * math/s_ccoshf.c: Likewise.
14343 * math/s_ccoshl.c: Likewise.
14344 * math/s_cexp.c: Likewise.
14345 * math/s_cexpf.c: Likewise.
14346 * math/s_cexpl.c: Likewise.
14347 * math/s_clog.c: Likewise.
14348 * math/s_clog10.c: Likewise.
14349 * math/s_clog10f.c: Likewise.
14350 * math/s_clog10l.c: Likewise.
14351 * math/s_clogf.c: Likewise.
14352 * math/s_clogl.c: Likewise.
14353 * math/s_csin.c: Likewise.
14354 * math/s_csinf.c: Likewise.
14355 * math/s_csinh.c: Likewise.
14356 * math/s_csinhf.c: Likewise.
14357 * math/s_csinhl.c: Likewise.
14358 * math/s_csinl.c: Likewise.
14359 * math/s_csqrt.c: Likewise.
14360 * math/s_csqrtf.c: Likewise.
14361 * math/s_csqrtl.c: Likewise.
14362 * math/s_ctan.c: Likewise.
14363 * math/s_ctanf.c: Likewise.
14364 * math/s_ctanh.c: Likewise.
14365 * math/s_ctanhf.c: Likewise.
14366 * math/s_ctanhl.c: Likewise.
14367 * math/s_ctanl.c: Likewise.
14368 * math/s_ldexp.c: Likewise.
14369 * math/s_ldexpf.c: Likewise.
14370 * math/s_ldexpl.c: Likewise.
14371 * math/s_significand.c: Likewise.
14372 * math/s_significandf.c: Likewise.
14373 * math/s_significandl.c: Likewise.
14374 * math/w_acos.c: Likewise.
14375 * math/w_acosf.c: Likewise.
14376 * math/w_acosh.c: Likewise.
14377 * math/w_acoshf.c: Likewise.
14378 * math/w_acoshl.c: Likewise.
14379 * math/w_acosl.c: Likewise.
14380 * math/w_asin.c: Likewise.
14381 * math/w_asinf.c: Likewise.
14382 * math/w_asinl.c: Likewise.
14383 * math/w_atan2.c: Likewise.
14384 * math/w_atan2f.c: Likewise.
14385 * math/w_atan2l.c: Likewise.
14386 * math/w_atanh.c: Likewise.
14387 * math/w_atanhf.c: Likewise.
14388 * math/w_atanhl.c: Likewise.
14389 * math/w_cosh.c: Likewise.
14390 * math/w_coshf.c: Likewise.
14391 * math/w_coshl.c: Likewise.
14392 * math/w_dremf.c: Likewise.
14393 * math/w_exp10.c: Likewise.
14394 * math/w_exp10f.c: Likewise.
14395 * math/w_exp10l.c: Likewise.
14396 * math/w_exp2.c: Likewise.
14397 * math/w_exp2f.c: Likewise.
14398 * math/w_fmod.c: Likewise.
14399 * math/w_fmodf.c: Likewise.
14400 * math/w_fmodl.c: Likewise.
14401 * math/w_hypot.c: Likewise.
14402 * math/w_hypotf.c: Likewise.
14403 * math/w_hypotl.c: Likewise.
14404 * math/w_j0.c: Likewise.
14405 * math/w_j0f.c: Likewise.
14406 * math/w_j0l.c: Likewise.
14407 * math/w_j1.c: Likewise.
14408 * math/w_j1f.c: Likewise.
14409 * math/w_j1l.c: Likewise.
14410 * math/w_jn.c: Likewise.
14411 * math/w_jnf.c: Likewise.
14412 * math/w_jnl.c: Likewise.
14413 * math/w_lgamma.c: Likewise.
14414 * math/w_lgamma_r.c: Likewise.
14415 * math/w_lgammaf.c: Likewise.
14416 * math/w_lgammaf_r.c: Likewise.
14417 * math/w_lgammal.c: Likewise.
14418 * math/w_lgammal_r.c: Likewise.
14419 * math/w_log.c: Likewise.
14420 * math/w_log10.c: Likewise.
14421 * math/w_log10f.c: Likewise.
14422 * math/w_log10l.c: Likewise.
14423 * math/w_log2.c: Likewise.
14424 * math/w_log2f.c: Likewise.
14425 * math/w_log2l.c: Likewise.
14426 * math/w_logf.c: Likewise.
14427 * math/w_logl.c: Likewise.
14428 * math/w_pow.c: Likewise.
14429 * math/w_powf.c: Likewise.
14430 * math/w_powl.c: Likewise.
14431 * math/w_remainder.c: Likewise.
14432 * math/w_remainderf.c: Likewise.
14433 * math/w_remainderl.c: Likewise.
14434 * math/w_scalb.c: Likewise.
14435 * math/w_scalbf.c: Likewise.
14436 * math/w_scalbl.c: Likewise.
14437 * math/w_sinh.c: Likewise.
14438 * math/w_sinhf.c: Likewise.
14439 * math/w_sinhl.c: Likewise.
14440 * math/w_sqrt.c: Likewise.
14441 * math/w_sqrtf.c: Likewise.
14442 * math/w_sqrtl.c: Likewise.
14443 * math/w_tgamma.c: Likewise.
14444 * math/w_tgammaf.c: Likewise.
14445 * math/w_tgammal.c: Likewise.
14447 * po/ja.po: Update from translation team.
14449 2011-09-29 Andreas Jaeger <aj@suse.de>
14452 * sunrpc/netname.c (netname2host): Fix logic.
14456 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14458 * math/w_remainder.c (__remainder): Likewise.
14459 * math/w_remainderf.c (__remainderf): Likewise.
14460 * math/libm-test.inc (remainder_test): Add test cases.
14462 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14464 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14467 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14469 * string/test-memcmp.c: Avoid unncessary #defines.
14470 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14472 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14474 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14475 Use new sse2 version for core i3 - i7 as it's faster
14476 than sse42 version.
14477 (bit_Prefer_PMINUB_for_stringop): New.
14478 * sysdeps/x86_64/rawmemchr.S: Update.
14479 Replace with faster SSE2 version.
14480 * sysdeps/x86_64/memrchr.S: New file.
14481 * sysdeps/x86_64/memchr.S: Update.
14482 Replace with faster SSE2 version.
14484 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14486 * elf/dl-load.c (lose): Add cast to avoid warning.
14488 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14490 * po/ca.po: Update from translation team.
14492 * inet/getnetgrent_r.c: Hook up nscd.
14493 * nscd/Makefile (routines): Add nscd_netgroup.
14494 (nscd-modules): Add netgroupcache.
14495 (CFLAGS-netgroupcache.c): Define.
14496 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14497 (cache_search): Add const to second parameter.
14498 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14500 (dbs): Add netgrdb entry.
14501 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14502 (verify_persistent_db): Handle netgrdb.
14503 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14504 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14506 (netgroup_response_header): Define.
14507 (innetgroup_response_header): Define.
14508 (datahead): Add netgroup_response_header and innetgroup_response_header
14510 * nscd/nscd.conf: Add entries for netgroup cache.
14511 * nscd/nscd.h (dbtype): Add netgrdb.
14512 (_PATH_NSCD_NETGROUP_DB): Define.
14513 (netgroup_iov_disabled): Declare.
14514 (xmalloc, xcalloc, xrealloc): Move declarations here.
14515 (cache_search): Adjust prototype.
14516 Add netgroup-related prototypes.
14517 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14518 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14519 (__nscd_innetgr): Declare.
14520 * nscd/selinux.c (perms): Use access_vector_t as element type and
14521 add netgroup-related initializers.
14522 * nscd/netgroupcache.c: New file.
14523 * nscd/nscd_netgroup.c: New file.
14524 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14525 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14526 For four parameters use innetgr.
14527 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14528 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14529 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14530 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14532 * nscd/connections.c (register_traced_file): Don't register file
14533 for disabled databases.
14535 2011-10-06 Ulrich Drepper <drepper@gmail.com>
14537 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14539 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14540 from tree and freeing node.
14542 2011-09-25 Jiri Olsa <jolsa@redhat.com>
14544 * nss/nsswitch.c (__nss_database_lookup): Handle
14545 nss_parse_service_list out of memory case.
14547 2011-09-15 Jiri Olsa <jolsa@redhat.com>
14549 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14550 out of memory case.
14552 2011-10-04 Andreas Schwab <schwab@redhat.com>
14554 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14555 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14557 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14558 elf_machine_rela, elf_machine_lazy_rel.
14559 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14560 (ELF_DYNAMIC_DO_REL): Likewise.
14561 (ELF_DYNAMIC_DO_RELA): Likewise.
14562 (ELF_DYNAMIC_RELOCATE): Likewise.
14563 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14564 to ELF_DYNAMIC_DO_REL.
14565 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14566 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14567 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14569 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14570 skip_ifunc, don't call ifunc function if non-zero.
14571 (elf_machine_rela): Likewise.
14572 (elf_machine_lazy_rel): Likewise.
14573 (elf_machine_lazy_rela): Likewise.
14574 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14575 (elf_machine_lazy_rel): Likewise.
14576 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14578 (elf_machine_lazy_rel): Likewise.
14579 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14581 (elf_machine_lazy_rel): Likewise.
14582 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14583 (elf_machine_lazy_rel): Likewise.
14584 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14585 (elf_machine_lazy_rel): Likewise.
14586 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14587 (elf_machine_lazy_rel): Likewise.
14588 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14589 (elf_machine_lazy_rel): Likewise.
14590 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14591 (elf_machine_lazy_rel): Likewise.
14592 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14593 (elf_machine_lazy_rel): Likewise.
14595 2011-09-28 Ulrich Drepper <drepper@gmail.com>
14597 * nss/nss_files/files-init.c (_nss_files_init): Use static
14598 initialization for all the *_traced_file variables.
14600 2011-09-28 Andreas Schwab <schwab@redhat.com>
14602 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14604 2011-09-27 Roland McGrath <roland@hack.frob.com>
14607 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14609 2011-09-27 Andreas Schwab <schwab@redhat.com>
14611 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14612 Reread the line before reparsing it.
14614 2011-09-26 Andreas Schwab <schwab@redhat.com>
14616 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14618 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14619 Maxim Kuvyrkov <maxim@codesourcery.com>
14620 Joseph Myers <joseph@codesourcery.com>
14622 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14623 if needed for __stack_chk_guard.
14625 2011-09-19 Roland McGrath <roland@hack.frob.com>
14627 * sysdeps/posix/spawni.c (script_execute): Always define it.
14628 It will be optimized away if unused.
14629 (maybe_script_execute): New function.
14630 (__spawni): Call it.
14632 * Makerules: Don't include tls.make.
14633 (config-tls): Always set to thread.
14634 * tls.make.c: File removed.
14636 2011-09-19 Mike Frysinger <vapier@gentoo.org>
14638 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14639 * config.make.in (CPPFLAGS-config): New substituted variable.
14641 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14643 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14646 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14647 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14649 2011-09-15 Roland McGrath <roland@hack.frob.com>
14651 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14652 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14653 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14654 (CALL_FAIL): Likewise.
14655 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14656 (CALL_FAIL): Macro removed.
14657 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14659 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14661 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14662 for __FINITE_MATH_ONLY__ == 1.
14664 2011-09-15 Andreas Schwab <schwab@redhat.com>
14666 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14667 __ieee754_sqrt instead of sqrt.
14668 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14669 __ieee754_sqrtf instead of sqrtf.
14670 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14671 __floorf instead of floorf.
14672 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14673 __floorf, __truncf instead of floorf, truncf.
14675 2011-09-14 Ulrich Drepper <drepper@gmail.com>
14677 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14679 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14680 __extern_always_inline.
14681 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14684 2011-09-14 Andreas Schwab <schwab@redhat.com>
14686 * elf/rtld.c (dl_main): Also relocate in dependency order when
14687 doing symbol dependency testing.
14689 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14691 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14692 Always define `refsym'.
14694 2011-09-13 Andreas Schwab <schwab@redhat.com>
14696 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14697 (__FD_ELT): Renamed from __FDELT.
14698 * misc/bits/select2.h (__FD_ELT): Likewise.
14699 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14700 __FD_MASK instead of __FDELT, __FDMASK.
14701 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14703 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14706 * elf/Makefile (gen-ldd): Fix pattern.
14708 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14709 (init_tls): Likewise.
14711 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14713 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14715 2011-09-12 Andreas Schwab <schwab@redhat.com>
14717 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14718 `struct cmsghdr *' instead of `void *'.
14719 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14722 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14724 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14726 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14727 ldd_rewrite_script.
14729 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14731 * configure.in: Remove --with-tls option.
14732 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14733 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14734 out in case it is missing.
14735 * sysdeps/ia64/elf/configure.in: Likewise.
14736 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14737 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14738 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14739 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14740 * sysdeps/sh/elf/configure.in: Likewise.
14741 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14742 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14743 * sysdeps/x86_64/elf/configure.in: Likewise.
14744 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14745 * sysdeps/mach/hurd/tls.h: Likewise.
14748 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14751 * configure.in: Fix use of AC_INIT.
14753 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14755 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14757 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14759 * malloc/hooks.c: Likewise.
14762 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14763 variables statically.
14764 (narenas): Initialize.
14765 (list_lock): Initialize.
14766 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14767 initializtion of main_arena and list_lock. Small cleanups.
14768 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14769 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14770 Add initializers to main_arena and mp_.
14771 (malloc_state): Remove pagesize member. Change all users to use
14774 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14775 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14776 is always initialized.
14778 * malloc/malloc.c: Removed unused configurations and dead code.
14779 * malloc/arena.c: Likewise.
14780 * malloc/hooks.c: Likewise.
14781 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14783 * include/tls.h: Removed. USE___THREAD must always be defined.
14784 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14785 * elf/dl-libc.c: Likewise.
14786 * elf/dl-tsd.c: Likewise.
14787 * include/errno.h: Likewise.
14788 * include/netdb.h: Likewise.
14789 * include/resolv.h: Likewise.
14790 * inet/herrno-loc.c: Likewise.
14791 * inet/herrno.c: Likewise.
14792 * malloc/arena.c: Likewise.
14793 * malloc/hooks.c: Likewise.
14794 * malloc/malloc.c: Likewise.
14795 * resolv/res-state.c: Likewise.
14796 * resolv/res_libc.c: Likewise.
14797 * sysdeps/i386/dl-machine.h: Likewise.
14798 * sysdeps/ia64/dl-machine.h: Likewise.
14799 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14800 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14801 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14802 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14803 * sysdeps/sh/dl-machine.h: Likewise.
14804 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14805 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14806 * sysdeps/unix/i386/sysdep.S: Likewise.
14807 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14808 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14809 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14810 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14811 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14812 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14813 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14814 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14815 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14816 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14817 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14818 * sysdeps/x86_64/dl-machine.h: Likewise.
14819 * tls.make.c: Likewise.
14821 * configure.in: Remove --with-__thread option. Make tests for
14822 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14823 tls_model attribute fail if no support is available. Remove
14825 * Makeconfig: Adjust for dropped configure option. All features are
14827 * Makerules: Likewise.
14828 * Versions.def: Likewise.
14829 * argp/argp-fmtstream.c: Likewise.
14830 * argp/argp-fmtstream.h: Likewise.
14831 * argp/argp-help.c: Likewise.
14832 * assert/assert.c: Likewise.
14833 * config.h.in: Likewise.
14834 * config.make.in: Likewise.
14835 * configure: Likewise.
14836 * configure.in: Likewise.
14837 * csu/Versions: Likewise.
14838 * csu/init.c: Likewise.
14839 * elf/tst-audit2.c: Likewise.
14840 * elf/tst-tls10.c: Likewise.
14841 * elf/tst-tls10.h: Likewise.
14842 * elf/tst-tls11.c: Likewise.
14843 * elf/tst-tls12.c: Likewise.
14844 * elf/tst-tls14.c: Likewise.
14845 * elf/tst-tlsmod11.c: Likewise.
14846 * elf/tst-tlsmod12.c: Likewise.
14847 * elf/tst-tlsmod13.c: Likewise.
14848 * elf/tst-tlsmod13a.c: Likewise.
14849 * elf/tst-tlsmod14a.c: Likewise.
14850 * elf/tst-tlsmod15b.c: Likewise.
14851 * elf/tst-tlsmod16a.c: Likewise.
14852 * elf/tst-tlsmod16b.c: Likewise.
14853 * elf/tst-tlsmod7.c: Likewise.
14854 * elf/tst-tlsmod8.c: Likewise.
14855 * elf/tst-tlsmod9.c: Likewise.
14856 * gmon/gmon.c: Likewise.
14857 * grp/fgetgrent_r.c: Likewise.
14858 * grp/putgrent.c: Likewise.
14859 * hurd/fopenport.c: Likewise.
14860 * include/libc-symbols.h: Likewise.
14861 * include/tls.h: Likewise.
14862 * intl/gettextP.h: Likewise.
14863 * intl/loadinfo.h: Likewise.
14864 * locale/global-locale.c: Likewise.
14865 * locale/localeinfo.h: Likewise.
14866 * mach/devstream.c: Likewise.
14867 * malloc/arena.c: Likewise.
14868 * malloc/set-freeres.c: Likewise.
14869 * misc/err.c: Likewise.
14870 * misc/getttyent.c: Likewise.
14871 * misc/mntent_r.c: Likewise.
14872 * posix/getopt.c: Likewise.
14873 * posix/wordexp.c: Likewise.
14874 * pwd/fgetpwent_r.c: Likewise.
14875 * resolv/Versions: Likewise.
14876 * resolv/res_hconf.c: Likewise.
14877 * shadow/fgetspent_r.c: Likewise.
14878 * shadow/putspent.c: Likewise.
14879 * stdio-common/printf_fphex.c: Likewise.
14880 * stdio-common/tmpfile.c: Likewise.
14881 * stdlib/abort.c: Likewise.
14882 * stdlib/fmtmsg.c: Likewise.
14883 * sunrpc/auth_unix.c: Likewise.
14884 * sunrpc/clnt_perr.c: Likewise.
14885 * sunrpc/clnt_tcp.c: Likewise.
14886 * sunrpc/clnt_udp.c: Likewise.
14887 * sunrpc/clnt_unix.c: Likewise.
14888 * sunrpc/openchild.c: Likewise.
14889 * sunrpc/svc_simple.c: Likewise.
14890 * sunrpc/svc_tcp.c: Likewise.
14891 * sunrpc/svc_udp.c: Likewise.
14892 * sunrpc/svc_unix.c: Likewise.
14893 * sunrpc/xdr.c: Likewise.
14894 * sunrpc/xdr_array.c: Likewise.
14895 * sunrpc/xdr_rec.c: Likewise.
14896 * sunrpc/xdr_ref.c: Likewise.
14897 * sunrpc/xdr_stdio.c: Likewise.
14899 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14901 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14903 2011-07-03 Andreas Jaeger <aj@suse.de>
14905 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14906 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14907 regenerate with gen-libm-tests.pl.
14909 2010-05-12 Petr Baudis <pasky@suse.cz>
14912 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14913 around j0() zero points by switching to j1().
14914 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14915 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14916 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14917 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14919 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14921 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14923 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14925 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14926 Patch in part by Pavel Roskin <proski@gnu.org>.
14929 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14931 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14932 Free memory block if necessary.
14935 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14936 be NULL. Don't lock in this case.
14938 2011-09-09 Roland McGrath <roland@hack.frob.com>
14940 * elf/elf.h (ELFOSABI_GNU): New macro.
14941 (ELFOSABI_LINUX): Define to that.
14943 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14945 * string/strncat.c (strncat): Undef the symbol in case it has been
14946 defined in bits/string.h.
14948 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14950 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14952 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14955 2011-08-17 Andreas Jaeger <aj@suse.de>
14957 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14959 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14960 Ian Lance Taylor <iant@google.com>
14962 * math/libm-test.inc (lround_test): New testcase.
14963 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14965 2011-09-08 Ulrich Drepper <drepper@gmail.com>
14967 * Makefile: Remove support for automatic cvs check-ins.
14968 * Makerules: Likewise.
14969 * config.make.in: Likewise.
14970 * configure.in: Likewise.
14971 * intl/Makefile: Likewise.
14972 * locale/Makefile: Likewise.
14973 * po/Makefile: Likewise.
14974 * posix/Makefile: Likewise.
14975 * sysdeps/gnu/Makefile: Likewise.
14976 * sysdeps/mach/hurd/Makefile: Likewise.
14977 * sysdeps/sparc/sparc32/Makefile: Likewise.
14980 * posix/Makefile (bug-regex32-ENV): Define.
14981 Patch by John Stanley <jpsinthemix@verizon.net>.
14983 * misc/Makefile (headers): Add bits/select2.h.
14984 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14985 * misc/bits/select2.h: New file.
14986 * include/bits/select2.h: New file.
14987 * debug/Makefile (routines): Add fdelt_chk.
14988 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14989 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14991 * debug/fdelt_chk.c: New file.
14993 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14994 * wcsmbs/test-wmemcmp.c: Likewise.
14995 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14996 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14998 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15000 * string/Makefile (strop-tests): Add memcmp.
15001 * string/test-wmemcmp.c: New file.
15002 * string/test-memcmp.c: Add wmemcmp support.
15004 2011-09-08 Roland McGrath <roland@hack.frob.com>
15007 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15010 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15011 garbage value in a __mach_port_mod_refs call in the cases of the
15012 task-self and thread-self ports.
15014 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15016 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15018 2011-09-08 Andreas Schwab <schwab@redhat.com>
15020 * elf/dl-load.c (lose): Check for non-null L.
15022 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15024 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15026 * elf/dl-libc.c (dlerror_run): Pass back error code from
15030 * elf/dl-load.c (lose): Free l_origin if it is valid.
15032 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15034 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15035 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15036 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15037 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15038 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15039 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15041 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15043 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15044 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15045 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15046 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15047 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15048 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15049 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15050 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15051 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15052 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15054 2011-08-15 Alan Modra <amodra@gmail.com>
15057 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15058 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15059 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15060 ppc_mcount to static-only-routines.
15061 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15063 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15064 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15066 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15068 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15069 for finite and infinity parameters.
15071 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15073 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15074 and add nop instructions for throughput optimization.
15075 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15077 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15079 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15080 aligned copy for power7 with vector-scalar instructions.
15081 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15083 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15088 2011-09-07 Andreas Schwab <schwab@redhat.com>
15091 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15094 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15096 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15097 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15098 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15099 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15102 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15104 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15105 Forgot to demangle the pointer.
15107 * sysdeps/i386/sysdep.h: Define atom_text_section.
15108 * sysdeps/x86_64/sysdep.h: Likewise.
15109 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15110 section with atom_text_section.
15111 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15112 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15113 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15114 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15115 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15117 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15118 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15119 already be defined. Change to take two parameters and don't assign
15120 result to variable. Adjust all users.
15121 Define INTERNAL_GETTIME if not already defined.
15122 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15124 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15125 HAVE_CLOCK_GETTIME_VSYSCALL.
15126 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15128 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15129 gettimeofday vsyscall, just use time.
15131 2011-09-06 Andreas Schwab <schwab@redhat.com>
15133 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15136 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15138 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15140 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15142 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15143 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15144 syscall if possible.
15146 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15148 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15149 e_ident. Don't pass to find_mapsXX.
15150 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15152 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15155 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15156 * sysdeps/x86_64/multiarch/strchr.S: Update.
15157 Check bit_slow_BSF bit.
15158 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15159 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15160 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15162 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15165 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15167 (tryshell): Define.
15168 (__spawni): Change last parameter to be flag. Test
15169 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15170 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15171 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15172 * posix/spawni.c: Likewise.
15173 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15174 * posix/spawnp.c: Likewise. Change normal version to use
15175 SPAWN_XFLAGS_USE_PATH.
15176 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15177 SPAWN_XFLAGS_TRY_SHELL.
15180 * posix/glob.h: Remove gcc 1.x support.
15183 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15185 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15187 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15188 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15190 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15191 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15192 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15193 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15194 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15195 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15197 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15199 * sysdeps/x86_64/wcscmp.S: New file.
15201 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15202 wcscmp-c wcscmp-sse2
15203 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15204 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15205 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15206 * wcsmbs/wcscmp.c: Allow renaming.
15208 2011-09-05 David S. Miller <davem@davemloft.net>
15210 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15211 stack slot, rather than the struct return pointer slot.
15212 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15213 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15215 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15217 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15219 * po/ja.po: Update from translation team.
15222 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15223 kernel in 64-bit binaries.
15225 2011-09-01 David S. Miller <davem@davemloft.net>
15227 * elf/elf.h (HWCAP_SPARC_*): Move to..
15228 * sysdeps/sparc/sysdep.h: this new file and add new values.
15229 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15230 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15231 _DL_HWCAP_COUNT to 24.
15232 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15234 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15235 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15236 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15237 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15238 instead of magic constants.
15239 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15241 2011-08-31 David S. Miller <davem@davemloft.net>
15243 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15244 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15245 Reimplement to do errno handling inline.
15246 (SYSCALL_ERROR_HANDLER): New macro.
15247 (__SYSCALL_STRING): Do not do errno handling in asm.
15248 (__CLONE_SYSCALL_STRING): Delete.
15249 (__INTERNAL_SYSCALL_STRING): Delete.
15250 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15251 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15252 (PSEUDO): Reimplement to do errno handling inline.
15253 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15254 (SYSCALL_ERROR_HANDLER): New macro.
15255 (__SYSCALL_STRING): Do not do errno handling in asm.
15256 (__CLONE_SYSCALL_STRING): Delete.
15257 (__INTERNAL_SYSCALL_STRING): Delete.
15258 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15259 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15261 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15262 (inline_syscall*): Add 'err' argument.
15263 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15264 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15265 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15266 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15268 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15269 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15271 2011-08-30 Andreas Schwab <schwab@redhat.com>
15273 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15275 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15277 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15280 2011-08-24 David S. Miller <davem@davemloft.net>
15282 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15284 2011-08-24 Andreas Schwab <schwab@redhat.com>
15286 * elf/Makefile: Add rules to build and run unload8 test.
15287 * elf/unload8.c: New file.
15288 * elf/unload8mod1.c: New file.
15289 * elf/unload8mod1x.c: New file.
15290 * elf/unload8mod2.c: New file.
15291 * elf/unload8mod3.c: New file.
15293 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15296 2011-08-23 David S. Miller <davem@davemloft.net>
15298 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15299 subtract stack bias.
15300 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15301 %sp not %fp in calculations.
15302 (_JMPBUF_UNWINDS_ADJ): Likewise.
15304 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15305 (aio_suspend): Call it to force an exception region around the
15306 AIO_MISC_WAIT() invocation.
15308 2011-08-23 Andreas Schwab <schwab@redhat.com>
15310 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15313 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15315 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15317 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15318 and <dl-machine.h>.
15319 (Elf64_FuncDesc): Remove.
15321 2011-08-22 David S. Miller <davem@davemloft.net>
15323 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15324 sigaltstack check, add missing cfi directives.
15325 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15326 missing cfi directives, and sigaltstack handling.
15328 2011-08-16 Andreas Schwab <schwab@redhat.com>
15331 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15332 object is seen twice.
15333 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15335 * elf/Makefile (distribute): Add tst-initorder2.c.
15336 (tests): Add tst-initorder2.
15337 (modules-names): Add tst-initorder2a tst-initorder2b
15338 tst-initorder2c tst-initorder2d. Add rules to build them.
15339 ($(objpfx)tst-initorder2.out): New rule.
15340 * elf/tst-initorder2.c: New file.
15341 * elf/tst-initorder2.exp: New file.
15343 2011-08-22 Andreas Schwab <schwab@redhat.com>
15345 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15347 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15348 dependencies back to end of function.
15350 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15351 $(elfobjdir)/ld.so.
15353 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15355 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15356 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15357 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15358 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15359 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15360 of __vdso_gettimeofday.
15361 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15362 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15364 (_libc_vdso_platform_setup): Remove initialization of
15365 __vdso_gettimeofday and __vdso_time.
15367 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15369 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15370 and fgetc_unlocked.
15371 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15374 * elf/dl-open.c (add_to_global): Report additions to the global scope
15375 for LD_DEBUG=scopes.
15376 (dl_open_worker): Also print scope of newly loaded dependencies.
15377 (_dl_show_scope): Indicate if there is no scope.
15380 * stdio-common/Makefile (tests): Add bug24.
15381 * stdio-common/bug24.c: New file.
15383 2011-08-19 Andreas Jaeger <aj@suse.de>
15386 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15387 non-existant file when using close-on-exec mode.
15389 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15391 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15392 the very first instruction.
15394 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15395 the CFI state in the end.
15396 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15397 inclusion of dl-trampoline.h.
15398 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15400 2011-08-19 Andreas Schwab <schwab@redhat.com>
15402 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15403 expectations for long double.
15405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15406 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15408 2011-08-14 David S. Miller <davem@davemloft.net>
15410 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15411 artificual limit depends upon the system page size.
15413 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15415 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15416 * resolv/Makefile: Define CFLAGS-libresolv.
15418 2011-08-17 Andreas Schwab <schwab@redhat.com>
15420 * nss/makedb.c (compute_tables): Make variables used in nested
15423 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15425 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15426 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15427 if buffer was too small.
15429 * elf/pldd.c (main): Attach to all threads in the process.
15430 Rewrite /proc handling to use *at functions.
15432 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15434 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15435 specifies first scope to show.
15436 (dl_open_worker): Update callers. Move printing scope of new
15437 object to before the relocation.
15438 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15439 * sysdeps/generic/ldsodefs.h: Update declaration.
15441 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15442 string for the scope number.
15444 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15446 * nscd/servicescache.c (cache_addserv): Make sure written is always
15449 2011-08-14 Roland McGrath <roland@hack.frob.com>
15451 * sysdeps/i386/i486/bits/atomic.h
15452 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15453 statement expression, so as to suppress "set but not used" warning.
15454 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15456 * string/strncat.c (STRNCAT): Use prototype definition.
15458 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15459 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15461 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15462 (localedef-modules): Add localedef.
15463 (locale-modules): Add locale.
15465 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15466 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15467 to avoid a warning.
15469 2011-08-14 David S. Miller <davem@davemloft.net>
15471 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15472 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15474 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15476 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15477 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15478 * elf/rtld.c (dl_main): Set l_name of vDSO.
15479 Call _dl_show_scope when DL_DEBUG_SCOPES.
15480 (process_dl_debug): Recognize scopes flag and also set it for all.
15481 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15482 Declare _dl_show_scope.
15484 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15485 (do_dlopen): Pass caller_dlopen to dl_open.
15486 (__libc_dlopen_mode): Initialize caller_dlopen.
15488 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15489 of libc. Make tolower call locale-independent. Optimize a bit by
15490 using isdigit instead of isalnum.
15491 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15493 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15495 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15496 was a dependency or dynamically loaded.
15498 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15500 * intl/l10nflist.c: Allow architecture-specific pop function.
15501 * sysdeps/x86_64/l10nflist.c: New file.
15503 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15506 2011-08-10 Andreas Schwab <schwab@redhat.com>
15508 * include/dirent.h: Add libc_hidden_proto for scandirat and
15509 scandirat64. Don't declare __scandirat64.
15510 * dirent/scandirat.c: Add libc_hidden_def.
15511 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15512 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15514 2011-08-10 David S. Miller <davem@davemloft.net>
15516 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15518 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15519 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15520 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15522 2011-08-09 Ulrich Drepper <drepper@gmail.com>
15524 * Versions.def [libc]: Add GLIBC_2.15.
15525 * dirent/Makefile (routines): Add scandirat and scandirat64.
15526 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15528 * dirent/dirent.h: Declare scandirat and scandirat64.
15529 * dirent/scandirat.c: New file.
15530 * dirent/scandirat64.c: New file.
15531 * sysdeps/wordsize-64/scandirat.c: New file.
15532 * sysdeps/wordsize-64/scandirat64.c: New file.
15533 * dirent/opendir.c: Define opendirat.
15534 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15536 * dirent/scandir64.c: Adjust for scandir.c change.
15537 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15538 __scandirat64, and __scandir_cancel_handler.
15539 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15540 additional parameter and use openat instead of open (outside of ld.so).
15541 Add new __opendir as wrapper around __opendirat.
15542 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15543 here without requiring old scandirat implementation.
15545 2011-08-08 Ulrich Drepper <drepper@gmail.com>
15547 * dirent/scandir.c (cancel_handler): Renamed to
15548 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15549 defined. Adjust users.
15550 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15551 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15553 2011-08-04 Ulrich Drepper <drepper@gmail.com>
15555 * string/test-string.h (IMPL): Use __STRING to expand name and then
15558 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15561 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15563 * string/Makefile: Update.
15564 (strop-tests): Append strncat.
15565 * string/test-wcscmp.c: New file.
15566 New comprehensive test for wcscmp.
15567 * string/test-strcmp.c: Update.
15568 (WIDE): New define.
15570 2011-07-22 Andreas Schwab <schwab@redhat.com>
15572 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15575 2011-07-26 Andreas Schwab <schwab@redhat.com>
15577 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15578 encoding to ACE if AI_IDN.
15580 2011-08-01 Jakub Jelinek <jakub@redhat.com>
15582 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15583 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15585 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15587 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15588 Fix overflow bug in strncat.
15589 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15591 * string/test-strncat.c: Update.
15592 Add new tests for checking overflow bugs.
15594 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15597 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15598 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15599 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15600 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15601 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15602 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15603 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15604 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15606 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15607 (USE_AS_STRCAT): Define.
15608 Add strcat and strncat support.
15609 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15611 2011-07-25 Andreas Schwab <schwab@redhat.com>
15613 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15614 __n bigger than INT_MAX+1.
15615 (__strncmp_g): Likewise.
15617 2011-07-23 Ulrich Drepper <drepper@gmail.com>
15619 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15620 * libio/stido.h: Likewise.
15622 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15624 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15627 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15628 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15629 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15630 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15631 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15634 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15637 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15639 (_dl_x86_64_save_sse): Likewise.
15641 2011-07-22 Ulrich Drepper <drepper@gmail.com>
15643 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15645 (_dl_x86_64_save_sse): Likewise.
15647 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15649 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15651 2011-07-21 Andreas Schwab <schwab@redhat.com>
15653 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15655 (_dl_x86_64_save_sse): Use correct AVX check.
15657 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15659 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15660 bug in strncpy/strncat.
15661 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15663 2011-07-21 Ulrich Drepper <drepper@gmail.com>
15665 * string/tester.c (test_strcat): Add tests for different alignments
15666 of source and destination.
15667 (test_strncat): Likewise.
15669 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15672 * posix/glob.c (glob): Check passed in values before using them in
15673 expressions to avoid some overflows.
15674 (glob_in_dir): Likewise.
15677 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15678 check for AVX enablement so that we don't crash with old kernels and
15680 * elf/tst-audit4.c: Add same checks here.
15681 * elf/tst-audit6.c: Likewise.
15683 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15685 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15687 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15689 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15691 * po/cs.po: Update from translation team.
15692 * po/bg.po: Likewise.
15694 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15696 * misc/sys/cdefs.h: Add support for const attribute.
15697 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15698 to gnu_dev_{major,minor,makedev} functions.
15700 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15702 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15704 2011-07-20 Andreas Schwab <schwab@redhat.com>
15706 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15709 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15711 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15712 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15713 register in order to avoid conflicts with the soft frame pointer
15714 being held in r11 when necessary.
15715 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15716 (INTERNAL_VSYSCALL_NCS): Likewise.
15718 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15720 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15721 * elf/dl-fini.c (_dl_fini): Adjust caller.
15722 * elf/dl-close.c (_dl_close_worker): Likewise.
15723 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15725 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15727 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15728 "aux_cache->nlibs < 0".
15730 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15731 in the reload-count case.
15733 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15736 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15737 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15738 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15739 * sysdeps/x86_64/multiarch/strcat.S: New file.
15740 * sysdeps/x86_64/multiarch/strncat.S: New file.
15741 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15742 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15743 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15744 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15745 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15746 (USE_AS_STRCAT): Define.
15747 Add strcat and strncat support.
15748 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15749 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15750 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15751 * string/strncat.c: Update.
15752 (USE_AS_STRNCAT): Define.
15753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15754 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15756 * sysdeps/x86_64/multiarch/init-arch.h
15757 (bit_Prefer_PMINUB_for_stringop): New.
15758 (index_Prefer_PMINUB_for_stringop): Likewise.
15759 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15760 bit_Prefer_PMINUB_for_stringop.
15762 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15764 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15766 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15767 of casting of buffer.
15768 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15769 buffer32 and buffer64.
15770 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15771 writes instead of casting of buffer.
15772 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15774 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15777 2011-07-19 Andreas Schwab <schwab@redhat.com>
15779 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15781 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15783 * nscd/nscd.c (termination_handler): Don't do anything for a database
15784 if it has not yet been initialized.
15786 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15788 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15790 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15792 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15794 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15796 * po/nl.po: Update from translation team.
15797 * po/sv.po: Likewise.
15799 2011-07-16 Roland McGrath <roland@hack.frob.com>
15801 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15802 now disallowed by GCC.
15804 * configure.in (use-default-link): Default to yes if a test -shared
15805 link meets our qualifications.
15806 * configure: Regenerated.
15808 * config.make.in (output-format): New variable.
15809 * configure.in: Check for ld --print-output-format support.
15810 * configure: Regenerated.
15811 * Makerules ($(common-objpfx)format.lds)
15812 [$(output-format) != unknown]: Just use $(output-format),
15813 instead of the linker-script munging.
15815 2011-07-14 Roland McGrath <roland@hack.frob.com>
15817 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15818 of $(common-objpfx)shlib.lds.
15819 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15821 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15822 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15824 * configure.in (-z relro check): Adjust test code to add a large
15825 writable data section after it.
15826 * configure: Regenerated.
15828 2011-07-11 Roland McGrath <roland@hack.frob.com>
15830 * configure.in (-z relro check): Fix test code to make the variable
15832 * configure: Regenerated.
15834 2011-07-11 Ulrich Drepper <drepper@gmail.com>
15836 * nscd/nscd.h (struct traced_file): Define.
15837 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15838 elements. Add traced_files.
15839 (inotify_fd): Declare.
15840 (register_traced_file): Declare.
15841 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15842 (inotify_fd): Export.
15843 (resolv_conf_descr): Remove.
15844 (nscd_init): Move inotify descriptor creation to main.
15845 Don't register files for notification here.
15846 (register_traced_file): New function.
15847 (invalidate_cache): Don't use reset_res to determine whether to call
15848 res_init, go through the list of registered files.
15849 (main_loop_poll): The inotify descriptors are now stored in the
15850 structures for the traced files.
15851 (main_loop_epoll): Likewise
15852 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15853 to __nss_disable_nscd.
15854 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15855 for a database anymore. Check the records for all the registered
15857 * nss/Makefile (libnss_files-routines): Add files-init.
15858 (libnss_db-routines): Add db-init.
15859 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15860 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15861 * nss/nss_db/db-init.c: New file.
15862 * nss/nss_files/files-init.c: New file.
15863 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15864 __nss_lookup_function.
15865 (__nss_lookup_function): Call nss_load_library.
15866 (nss_load_all_libraries): New function.
15867 (__nss_disable_nscd): Take parameter with callback function for files
15868 to register. Set is_nscd. Load all the DSOs for the NSS modules
15869 used for the cached services.
15870 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15871 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15872 options for features to all the files in nscd.
15874 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15876 2011-07-10 Roland McGrath <roland@hack.frob.com>
15878 * csu/elf-init.c (__libc_csu_init): Comment typo.
15880 2011-07-09 Ulrich Drepper <drepper@gmail.com>
15882 * po/pl.po: Update from translation team.
15883 * po/ja.po: Likewise.
15884 * po/ru.po: Likewise.
15885 * po/ko.po: Likewise.
15886 * po/fr.po: Likewise.
15888 2011-07-09 Roland McGrath <roland@hack.frob.com>
15890 * configure.in (.ctors/.dtors header and trailer check):
15891 Use an empirical test on a built program.
15892 * configure: Regenerated.
15894 * configure.in (-z relro check): Use an empirical test on a built DSO.
15895 Detect, but do not require, on ia64.
15896 * configure: Regenerated.
15898 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15899 Update tests that use readelf to use $READELF instead.
15900 * configure: Regenerated.
15902 2011-07-08 Ulrich Drepper <drepper@gmail.com>
15904 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15905 if the result is not used.
15907 2011-07-05 Andreas Jaeger <aj@suse.de>
15910 * stdlib/tst-strtod.c: Add testcase.
15912 2011-07-07 Ulrich Drepper <drepper@gmail.com>
15914 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15915 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15916 The latter has a higher limit. Take additional parameter to pass to
15918 (__pathconf): Pass file to __statfs_link_max.
15919 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15921 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15925 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15926 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15928 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15929 (__statfs_filesize_max): Likewise.
15930 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15932 2011-07-05 Andreas Jaeger <aj@suse.de>
15934 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15936 2011-07-06 Marek Polacek <mpolacek@redhat.com>
15938 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15940 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15943 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15945 * Makefile (strop-tests): Add strncat.
15946 * string/test-strncat.c: New file.
15948 2011-06-30 Marek Polacek <mpolacek@redhat.com>
15950 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15952 2011-06-21 Andreas Jaeger <aj@suse.de>
15954 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15955 Copy rule from iconvdata/Makefile.
15957 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15960 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15961 but no long options are defined, just return 'W'.
15963 2011-06-22 Marek Polacek <mpolacek@redhat.com>
15966 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15968 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15970 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15972 (innetgr): Likewise.
15974 2011-07-05 Roland McGrath <roland@hack.frob.com>
15976 * config.make.in (install_root): Default to $(DESTDIR).
15978 2011-07-05 Ulrich Drepper <drepper@gmail.com>
15980 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15982 2011-07-02 Roland McGrath <roland@hack.frob.com>
15984 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15986 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15987 containing directory rather than embedding absolute directory names.
15989 * scripts/check-local-headers.sh: Rewritten using awk.
15990 Match by word, not by line. Print error messages for matches.
15991 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15993 * Makerules [shlib-lds-flags empty]:
15994 ($(common-objpfx)libc_pic.opts): New target.
15995 ($(common-objpfx)libc_pic.os.clean): New target.
15996 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15998 * config.make.in (OBJCOPY): New variable.
15999 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16000 * configure: Regenerated.
16002 * config.make.in (use-default-link): New variable.
16003 * configure.in (use_default_link): Grok --with-default-link to set it.
16004 * configure: Regenerated.
16005 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16006 (shlib-lds, shlib-lds-flags): Define to empty.
16008 * Makerules (shlib-lds): New variable.
16009 (shlib-lds-flags): New variable.
16010 (build-shlib, build-moduile, build-module-asneeded): Use it.
16011 ($(common-objpfx)libc.so): Use $(shlib-lds).
16012 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16013 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16015 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16016 DT_FLAGS/DT_FLAGS_1 with zero flags.
16018 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16019 linker script munging.
16021 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16023 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16025 * crypt/sha512.c (sha512_process_block): Perform total addition using
16026 128-bit if possible.
16027 (__sha512_finish_ctx): Likewise.
16028 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16030 * crypt/sha256.c (SWAP64): Define.
16031 (sha256_process_block): Perform total addition using 64-bit if
16033 (__sha256_finish_ctx): Likewise.
16035 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16037 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16038 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16039 * nscd/hstcache.c (cache_addhst): Likewise.
16040 * nscd/grpcache.c (cache_addgr): Likewise.
16041 * nscd/aicache.c (addhstaiX): Likewise
16042 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16044 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16046 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16047 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16048 * nscd/hstcache.c (cache_addhst): Likewise.
16049 * nscd/grpcache.c (cache_addgr): Likewise.
16050 * nscd/aicache.c (addhstaiX): Likewise
16052 2011-07-01 Andreas Schwab <schwab@redhat.com>
16054 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16055 domain only when needed.
16057 2011-06-30 Andreas Schwab <schwab@redhat.com>
16059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16060 is always restored.
16062 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16064 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16065 are re-adding the entry.
16066 * nscd/servicescache.c (cache_addserv): Likewise.
16068 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16070 * sysdeps/generic/dl-irel.h: fix protection against multiple
16072 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16074 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16077 * malloc/memusage.sh: Fix quoting in message.
16078 * debug/xtrace.sh: Likewise.
16080 * configure.in: Remove support for --experimental-malloc option, make
16082 * config.make.in: Likewise.
16083 * malloc/Makefile: Likewise.
16085 2011-06-27 Andreas Schwab <schwab@redhat.com>
16087 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16088 two-byte characters.
16090 2011-06-27 Roland McGrath <roland@hack.frob.com>
16092 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16093 AC_CACHE_CHECK invocation.
16094 * configure: Regenerated.
16096 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16098 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16101 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16102 bit from old_res_options.
16104 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16106 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16107 value type for setfct.
16109 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16111 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16112 __gettimeofday instead of gettimeofday.
16114 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16116 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16118 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16120 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16122 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16125 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16128 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16129 strcpy-sse2-unaligned strncpy-sse2-unaligned
16130 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16131 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16132 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16133 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16134 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16135 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16136 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16137 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16138 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16139 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16140 (STRCPY): Support SSE2 and SSSE3 versions.
16142 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16145 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16146 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16147 kernels which artificially limit size of requests.
16149 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16151 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16152 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16153 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16154 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16155 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16156 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16157 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16158 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16159 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16160 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16161 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16162 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16163 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16164 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16165 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16167 Enable unaligned load optimization for Intel Core i3, i5 and i7
16169 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16171 (index_Fast_Unaligned_Load): Define.
16172 (HAS_FAST_UNALIGNED_LOAD): Define.
16174 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16176 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16178 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16181 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16182 until it is clear that the information is realy needed.
16183 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16185 2011-06-22 Andreas Schwab <schwab@redhat.com>
16187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16189 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16191 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16192 /sys/devices/system/cpu/online if it is usable.
16194 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16195 reading the information from the /proc filesystem to once a second.
16197 2011-06-21 Andreas Jaeger <aj@suse.de>
16199 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16200 NULL after inclusion of kernel headers.
16202 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16204 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16205 calls to internal_setent.
16208 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16209 addresses using gethostbyname4_r ignore IPv4 addresses.
16211 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16212 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16214 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16216 2011-06-20 David S. Miller <davem@davemloft.net>
16218 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16220 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16222 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16223 (elf_irel): Use it.
16224 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16225 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16226 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16227 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16228 * sysdeps/x86_64/dl-irel.h: Likewise.
16230 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16231 * elf/dl-sym.c: Likewise.
16233 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16235 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16236 need to dereference resplen2.
16238 2011-06-14 Andreas Schwab <schwab@redhat.com>
16240 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16242 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16244 * Makeconfig: Define vardbdir and inst_vardbdir.
16245 * nss/Makefile: Add rules to install db-Makefile.
16247 * nss/nss_db/db-XXX.c: Cleanup.
16249 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16250 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16252 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16253 * nss/makedb.c: Implement -g option to specify that value strings
16254 are generated and should not be added to table iterated over for
16256 * nss/nss_db/db-initgroups.c: New file.
16258 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16261 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16262 (internal_getgrouplist): Adjust to name change.
16263 Update use_initgroups_entry if this is not the first call.
16264 * nss/databases.def: Add initgroups entry.
16266 * nss/makedb.c (compute_tables): Check result of multiple hash table
16267 sizes to minimize maximum chain length.
16269 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16271 * Versions.def: Add entry for libnss_db.
16272 * shlib-versions: Likewise.
16273 * nss/Makefile: Add rules to build libnss_db.
16274 * nss/Versions: Add libnss_db information. Organize libnss_files
16276 * nss/db-Makefile: Add gshadow support. Change rules for the new
16277 makedb progra. Some minor improvements to generate smaller files.
16278 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16280 * nss/makedb.c: ...here.
16281 Improve database format to be smaller and require less memory at
16283 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16285 * nss/nss_db/db-netgrp.c: Likewise.
16286 * nss/nss_db/db-open.c: Likewise.
16287 * nss/nss_files/flies-XXX.x: Adjust comments.
16288 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16289 * nss/nss_files/files-grp.c: Likewise.
16290 * nss/nss_files/files-hosts.c: Likewise.
16291 * nss/nss_files/files-network.c: Likewise.
16292 * nss/nss_files/files-proto.c: Likewise.
16293 * nss/nss_files/files-pwd.c: Likewise.
16294 * nss/nss_files/files-rpc.c: Likewise.
16295 * nss/nss_files/files-service.c: Likewise.
16296 * nss/nss_files/files-sgrp.c: Likewise.
16297 * nss/nss_files/files-spwd.c: Likewise.
16298 * nss/nss_db/db-alias.c: Removed.
16299 * nss/nss_db/dummy-db.h: Removed.
16301 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16303 * nss/makedb.c: Rewritten to not use database library.
16304 * nss/Makefile: Update to build new makedb program.
16306 2011-06-14 Andreas Jaeger <aj@suse.de>
16308 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16309 memset declaration.
16311 2011-06-10 Andreas Schwab <schwab@redhat.com>
16313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16316 2011-06-10 Roland McGrath <roland@hack.frob.com>
16318 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16319 * elf/Makefile ($(objpfx)ld.so): Likewise.
16321 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16322 Don't list ld.so twice in dependencies.
16324 * posix/bug-regex31.c: Include <stdlib.h>.
16326 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16328 * nis/nss_compat/compat-spwd.c
16329 (getspent_next_nss_netgr): Remove unused variable.
16330 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16332 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16333 nonmembers" output to use the right array.
16335 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16337 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16339 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16340 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16341 * catgets/gencat.c (read_input_file): Likewise.
16342 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16344 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16345 variable definition inside #if's controlling its use.
16347 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16349 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16351 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16353 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16356 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16358 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16359 * configure: Regenerated.
16361 * Makerules: Revert last change.
16362 * elf/Makefile: Likewise.
16364 2011-06-09 Roland McGrath <roland@hack.frob.com>
16366 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16367 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16368 (reloc-link): Likewise.
16370 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16372 * elf/Makefile: Add rules to build pldd.
16373 * elf/pldd.c: New file.
16374 * elf/pldd-xx.c: New file.
16376 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16378 * version.h: Update for 2.15 development version.
16380 2011-06-07 David S. Miller <davem@davemloft.net>
16382 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16384 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16385 elf_machine_lazy_rel): Likewise.
16386 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16387 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16388 elf_machine_lazy_rel): Likewise.
16389 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16390 dl_hwcap via passed in argument.
16391 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16394 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16396 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16398 2011-06-06 Roland McGrath <roland@hack.frob.com>
16401 * manual/fdl-1.1.texi: New file, verbatim from:
16402 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16403 * manual/lgpl-2.1.texi: New file, verbatim from:
16404 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16405 * manual/Makefile (licenses): New variable, list those new file names.
16407 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16409 * manual/fdl.texi: File removed.
16410 * manual/lesser.texi: File removed.
16411 * manual/libc.texinfo (Copying, Documentation License):
16412 Use new @include file names, put @appendix directive before @include.
16414 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16417 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16418 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16419 (mq_open): Add __NTH.
16421 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16424 Assume Intel Core i3/i5/i7 processor if AVX is available.
16426 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16428 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16431 2011-05-31 Andreas Schwab <schwab@redhat.com>
16433 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16434 memory. Use alloca_account. Fix memory leak when retrying.
16436 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16438 * version.h (RELEASE): Bump for 2.14 release.
16439 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16441 * config.make.in (RANLIB): Remove entry.
16443 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16445 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16446 (libc.pot): Work around missing support for .ksh extension in xgettext.
16449 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16450 if both request failed.
16451 (send_dg): In case of server errors clear resplen or *resplen2.
16454 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16455 when there are multiple maps.
16456 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16457 (_dl_fini): Remove test here.
16459 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16461 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16464 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16465 bit from old_res_options.
16466 (gaih_inet): Likewise.
16469 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16472 * resolv/res_init.c (res_setoptions): Make the code more compact.
16475 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16479 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16481 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16484 * malloc/malloc.h: Declare malloc hook variables as volatile.
16486 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16490 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16491 raise in the comment.
16492 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16493 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16494 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16496 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16499 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16500 grow the buffers more if it already has to be sufficient.
16501 (build_wcs_upper_buffer): Likewise.
16502 * posix/regexec.c (check_matching): Likewise.
16503 (clean_state_log_if_needed): Likewise.
16504 (extend_buffers): Don't enlarge buffers beyond size of the input
16506 Patches mostly by Emil Wojak <emil@wojak.eu>.
16507 * posix/bug-regex32.c: New file.
16508 * posix/Makefile (tests): Add bug-regex32.
16510 * locale/findlocale.c (_nl_find_locale): Return right away if
16511 _nl_explode_name failed.
16512 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16514 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16516 * debug/xtrace.sh: Unify messages.
16517 * malloc/memusage.sh: Likewise.
16520 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16521 time symbol from vDSO. Substitute with vsyscall if not available.
16522 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16525 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16526 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16527 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16528 Add sendmmsg and internal_sendmmsg.
16529 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16530 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16531 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16533 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16534 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16535 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16537 2011-05-27 Ulrich Drepper <drepper@gmail.com>
16540 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16541 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16543 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16547 * iconvdata/Makefile (tests): Add bug-iconv9.
16548 * iconvdata/bug-iconv9.c: New file.
16550 2011-05-27 Andreas Schwab <schwab@redhat.com>
16553 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16555 2011-05-25 Jakub Jelinek <jakub@redhat.com>
16557 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16558 (struct user_regs_struct): Change intcs field back to cs.
16560 2011-05-25 Ulrich Drepper <drepper@gmail.com>
16562 * po/ja.po: Update from translation team.
16564 2011-05-23 Ulrich Drepper <drepper@gmail.com>
16567 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16568 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16570 2011-05-20 Andreas Schwab <schwab@redhat.com>
16572 * stdlib/longlong.h: Update from GCC.
16574 2011-05-23 Andreas Schwab <schwab@redhat.com>
16576 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16578 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16579 Add parameter name.
16580 (__sysconf): Pass it down.
16582 2011-05-22 Ulrich Drepper <drepper@gmail.com>
16585 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16587 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16588 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16589 add in in __libc_use_alloca calls. Adjust callers.
16590 (glob): Use malloc in some situations.
16592 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16593 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16596 2011-05-21 Ulrich Drepper <drepper@gmail.com>
16598 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16599 and CLOCK_BOOTTIME_ALARM.
16602 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16605 * string/_strerror.c (__strerror_r): Print negative errors as signed
16609 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16610 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16611 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16613 * configure.in: Fix typo in redirection and correct removal of test
16614 files in two cases.
16617 * locale/setlocale.c (new_composite_name): Fix test to check for
16618 identical name of all categories.
16621 * libio/filedoalloc.c (local_isatty): New function.
16622 (_IO_file_doallocate): Use local_isatty.
16623 * stdio-common/perror.c (perror): In case a new stream is used
16624 forward the stream error.
16625 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16628 2011-05-20 Ulrich Drepper <drepper@gmail.com>
16631 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16633 * include/alloca.h (extend_alloca_account): Define.
16636 * posix/regex.h: Fix comments with documentation of user-accessible
16637 fields after compilation and describe correct free'ing of pattern
16638 after re_compile_pattern.
16639 Patch by Reuben Thomas <rrt@sc3d.org>.
16641 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16643 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16644 and -mno-altivec to prevent the compiler from using Altivec and/or
16645 VSX instructions when the corresponding registers are not available.
16647 2011-05-19 Andreas Schwab <schwab@redhat.com>
16649 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16651 2011-05-19 Ulrich Drepper <drepper@gmail.com>
16653 * libio/freopen.c (freopen): Use __dup2, not dup2.
16654 * libio/freopen64.c (freopen64): Likewise.
16656 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16659 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16660 * math/Makefile (tests): Add test-powl.
16661 (CFLAGS-test-powl.c): Define.
16662 * math/test-powl.c: New file.
16664 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16666 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16668 2011-05-17 Ulrich Drepper <drepper@gmail.com>
16671 * iconvdata/gb18030.c: Update to GB18020-2005.
16673 2011-05-16 Ulrich Drepper <drepper@gmail.com>
16675 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16676 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16677 Patch by Aharon Robbins <arnold@skeeve.com>.
16680 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16684 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16685 through underflows.
16688 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16689 point to strings before performing equality test for error_one_per_line
16693 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16696 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16697 (struct user_fpregs_struct): Avoid __uint*_t types.
16700 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16701 symbol info. Use it instead of calling _dl_addr locally.
16702 (lock_and_info): New function.
16703 (tr_freehook): Call lock_and_info and pass symbol info as additional
16704 parameter to tr_where.
16705 (tr_mallochook): Likewise.
16706 (tr_reallochook): Likewise.
16707 (tr_memalignhook): Likewise.
16709 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16710 used and couldn't be at all thread-safe.
16712 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16714 * libio/freopen.c (freopen): Don't close old file descriptor
16715 before the new one is opened. Instead dup the new file descriptor
16716 to the old one after the new stream is created.
16717 * libio/freopen64.c (freopen64): Likewise.
16718 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16719 * libio/fileops.c (_IO_new_file_close_it): Handle new
16720 _IO_FLAGS2_NOCLOSE flag.
16721 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16722 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16723 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16724 _IO_FLAGS2_NOCLOSE flag.
16725 * include/unistd.h: Add hidden_proto for dup3.
16726 Define __have_dup3.
16727 * io/dup3.c: Define hidden symbol.
16728 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16731 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16732 when an incomplete long option is used.
16733 * posix/tst-getopt_long1.c: New file.
16734 * posix/Makefile (tests): Add tst-getopt_long1.
16737 * scripts/config.guess: Update from autoconf-2.68.
16738 * scripts/config.sub: Likewise.
16741 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16743 (has_cpuclock): ...this. New function.
16744 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16745 macro here based on has_cpuclock code.
16748 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16749 First byte (not low byte) is now always NUL.
16750 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16753 Use non-cancelable interfaces.
16756 * locale/iso-639.def: Add entry for Sorani.
16759 * include/stdlib.h: Move include protection to the right place.
16760 Define abort_msg_s. Declare __abort_msg with it.
16761 * stdlib/abort.c (__abort_msg): Adjust type.
16762 * assert/assert.c (__assert_fail_base): New function. Majority
16763 of code from __assert_fail. Allocate memory for __abort_msg with
16765 (__assert_fail): Now call __assert_fail_base.
16766 * assert/assert-perr.c: Remove bulk of implementation. Use
16767 __assert_fail_base.
16768 * include/assert.hL Declare __assert_fail_base.
16769 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16771 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16773 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16777 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16778 until all modules are registered in the DTV.
16779 * elf/Makefile: Add rules to build and run tst-tls19.
16780 * elf/tst-tls19.c: New file.
16781 * elf/tst-tls19mod1.c: New file.
16782 * elf/tst-tls19mod2.c: New file.
16783 * elf/tst-tls19mod3.c: New file.
16784 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16787 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16791 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16792 two-byte sequence errors.
16793 * iconvdata/Makefile (tests): Add bug-iconv8.
16794 * iconvdata/bug-iconv8.c: New file.
16797 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16800 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16803 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16804 (dummy_getcfa): New function.
16805 (init): Get _Unwind_GetCFA address, use dummy if not found.
16806 (backtrace_helper): In recursion check, also check whether CFA changes.
16807 (__backtrace): Completely initialize arg.
16809 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16810 storing incomplete byte sequence in state object. Avoid testing for
16811 guaranteed too small input if we know there is enough data available.
16813 2011-05-11 Andreas Schwab <schwab@redhat.com>
16815 * Makeconfig (+link-pie): Indent.
16816 * Rules (binaries-pie): Define if $(have-fpie) and
16818 (binaries-shared): Also filter out $(binaries-pie).
16819 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16820 * nscd/Makefile (others-pie): Add nscd.
16821 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16822 ($(objpfx)nscd): Remove command override.
16823 * login/Makefile (others-pie): Add pt_chown.
16824 ($(objpfx)pt_chown): Remove command override.
16825 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16826 remove command overrides.
16828 2011-05-13 Ulrich Drepper <drepper@gmail.com>
16830 * libio/tst_putwc.c: Fix error messages.
16833 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16834 currently writing and seek to current position when not.
16835 * libio/Makefile (tests): Add bug-fclose1.
16836 * libio/bug-fclose1.c: New file.
16838 2011-05-12 Ulrich Drepper <drepper@gmail.com>
16841 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16842 don't set DF_1_NODELETE here.
16843 (do_lookup_x): When entering new entry test for copy relocation
16844 and if necessary set DF_1_NODELETE flag.
16845 * elf/tst-unique4.cc: New file.
16846 * elf/tst-unique4.h: New file.
16847 * elf/tst-unique4lib.cc: New file.
16848 * elf/Makefile: Add rules to build and run tst-unique4.
16849 Patch by Piotr Bury <pbury@goahead.com>.
16851 2011-05-11 Ulrich Drepper <drepper@gmail.com>
16854 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16857 * misc/mntent_r.c (addmntent): Flush the stream after the output
16860 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16861 (is_trusted_path_normalize): Skip initial colon. Append slash
16862 to empty buffer. Duplicate is_trusted_path code but allow
16863 constructed patch to be prefix.
16864 (is_dst): Allow $ORIGIN followed by /.
16865 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16866 Correct testing of result of is_trusted_path_normalize
16867 (decompose_rpath): Fix warning.
16869 2011-05-10 Ulrich Drepper <drepper@gmail.com>
16872 * grp/initgroups.c (internal_getgrouplist): When we found the service
16873 list through the initgroups entry in nsswitch.conf do not always
16874 continue on a successful lookup. Don't always use the
16875 __nss_group_database value if it is set.
16876 * nss/nsswitch.conf (initgroups): Change action for successful db
16877 lookup to continue for compatibility.
16879 2011-05-09 Ulrich Drepper <drepper@gmail.com>
16882 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16884 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16886 * iconvdata/tst-tables.sh: Likewise.
16887 * iconvdata/cp770.c: New file.
16888 * iconvdata/cp771.c: New file.
16889 * iconvdata/cp772.c: New file.
16890 * iconvdata/cp773.c: New file.
16891 * iconvdata/cp774.c: New file.
16892 * iconvdata/testdata/CP770: New file.
16893 * iconvdata/testdata/CP770..UTF8: New file.
16894 * iconvdata/testdata/CP771: New file.
16895 * iconvdata/testdata/CP771..UTF8: New file.
16896 * iconvdata/testdata/CP772: New file.
16897 * iconvdata/testdata/CP772..UTF8: New file.
16898 * iconvdata/testdata/CP773: New file.
16899 * iconvdata/testdata/CP773..UTF8: New file.
16900 * iconvdata/testdata/CP774: New file.
16901 * iconvdata/testdata/CP774..UTF8: New file.
16903 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16905 * iconvdata/gen-8bit-gap.sh: Likewise.
16906 * iconvdata/gen-8bit.sh: Likewise.
16908 * locale/iso-639.def: Add ary entry.
16911 * locale/C-translit.h.in: Add U20A1 transliteration.
16914 * locale/iso-639.def: Add wae entry.
16915 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16918 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16922 * locale/C-translit.h.in: Add entry for U20B9.
16923 Patch by pravin.d.s@gmail.com.
16925 2011-05-08 Ulrich Drepper <drepper@gmail.com>
16928 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16929 ENAMETOOLONG use generic getcwd.
16930 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16931 in rtld. Use *stat64.
16932 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16933 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16934 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16935 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16936 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16937 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16938 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16939 __fstatat64 macros.
16940 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16941 * dirent/rewinddir.c: Add libc_hidden_def.
16942 * sysdeps/mach/hurd/rewinddir.c: Likewise.
16943 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
16945 * include/dirent.h (__alloc_dir): Add flags parameter.
16946 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16947 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16949 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16950 from fdopendir if O_CLOEXEC is already set.
16952 2011-03-15 Alan Modra <amodra@gmail.com>
16954 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16955 l_tls_firstbyte_offset non-zero. Save padding offset in
16956 l_tls_firstbyte_offset for later use.
16957 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16958 freeing static tls block.
16960 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16962 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16963 where #ifdef was intended. The intent is to prevent ARG_MAX from
16964 being defined by the kernel headers.
16966 2011-05-07 Ulrich Drepper <drepper@gmail.com>
16969 * resolv/resolv.h: Define RES_NOTLDQUERY.
16970 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16971 no-tld-query and set RES_NOTLDQUERY.
16972 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16973 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16974 modern BIND to search name as TLD unless forbidden.
16976 2011-05-07 Petr Baudis <pasky@suse.cz>
16977 Ulrich Drepper <drepper@gmail.com>
16980 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16981 (is_trusted_path): ...to here.
16982 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16983 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16984 using is_trusted_path_normalize() in setuid scripts.
16986 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16988 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16989 __BEGIN/__END_DECLS.
16991 2011-05-06 Ulrich Drepper <drepper@gmail.com>
16993 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16994 NSS_STATUS_NOTFOUND if no record was found.
16996 2011-05-05 Andreas Schwab <schwab@redhat.com>
16998 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16999 (headers-not-in-tirpc): Remove rpc/netdb.h
17000 * resolv/netdb.h: Revert last change.
17002 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17004 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17005 circular dependency between libgcc.a and libc.a.
17007 2011-05-05 Andreas Schwab <schwab@redhat.com>
17009 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17010 * nis/Makefile: Don't install rpcsvc/*.
17011 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17012 instead of <rpc/types.h>.
17013 (MAXHOSTNAMELEN): Define.
17015 2011-05-03 Andreas Schwab <schwab@redhat.com>
17017 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17019 2011-04-28 Maciej Babinski <mbabinski@google.com>
17022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17023 gethostbyname4_r when IPv6 results are possible.
17025 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17028 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17029 _PC_PIPE_BUF handling.
17031 2011-04-30 Bruno Haible <bruno@clisp.org>
17034 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17035 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17037 * inet/getnameinfo.c (getnameinfo): Likewise.
17039 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17041 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17042 to groups setting in database lookup.
17043 * nss/nsswitch.conf: Add initgroups entry.
17045 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17048 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17050 Patch by Eric Blake <eblake@redhat.com>.
17052 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17054 * sunrpc/Makefile (need-export-routines): Add svc_run.
17055 (routines): Remove svc_run.
17056 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17057 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17058 * sunrpc/svc_run.c (svc_run): Likewise.
17059 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17061 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17063 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17064 problem in reallocation in last patch.
17066 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17068 * sunrpc/Makefile: Move inclusion of Rules.
17070 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17072 * nss/nss_files/files-initgroups.c: New file.
17073 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17074 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17075 _nss_files_initgroups_dyn.
17077 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17079 * elf/elf.h (R_ARM_IRELATIVE): Define.
17081 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17083 * po/ru.po: Update from translation team.
17085 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17087 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17090 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17093 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17094 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17095 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17096 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17097 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17099 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17101 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17103 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17104 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17105 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17107 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17110 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17112 * stdlib/bug-getcontext.c: New file.
17113 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17115 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17117 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17118 instructions into .machine "z9-109".
17119 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17120 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17122 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17124 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17125 between environment variables and auxiliary vector.
17127 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17129 * Makefile: Add rules to build linkobj/libc.so.
17130 * include/libc-symbols.h: Define libc_hidden_nolink.
17131 * include/rpc/auth.h: Mark functions which are to be hidden.
17132 * include/rpc/auth_des.h: Likewise.
17133 * include/rpc/auth_unix.h: Likewise.
17134 * include/rpc/clnt.h: Likewise.
17135 * include/rpc/des_crypt.h: Likewise.
17136 * include/rpc/key_prot.h: Likewise.
17137 * include/rpc/pmap_clnt.h: Likewise.
17138 * include/rpc/pmap_prot.h: Likewise.
17139 * include/rpc/pmap_rmt.h: Likewise.
17140 * include/rpc/rpc_msg.h: Likewise.
17141 * include/rpc/svc.h: Likewise.
17142 * include/rpc/svc_auth.h: Likewise.
17143 * include/rpc/xdr.h: Likewise.
17144 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17145 * nss/Makefile: Likewise.
17146 * sunrpc/Makefile: Don't install headers. Build library with normal
17147 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17148 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17149 for the compat linking library. Remove use of INTDEF/INTUSE.
17150 * sunrpc/auth_none.c: Likewise.
17151 * sunrpc/auth_unix.c: Likewise.
17152 * sunrpc/authdes_prot.c: Likewise.
17153 * sunrpc/authuxprot.c: Likewise.
17154 * sunrpc/clnt_gen.c: Likewise.
17155 * sunrpc/clnt_perr.c: Likewise.
17156 * sunrpc/clnt_raw.c: Likewise.
17157 * sunrpc/clnt_simp.c: Likewise.
17158 * sunrpc/clnt_tcp.c: Likewise.
17159 * sunrpc/clnt_udp.c: Likewise.
17160 * sunrpc/clnt_unix.c: Likewise.
17161 * sunrpc/des_crypt.c: Likewise.
17162 * sunrpc/des_soft.c: Likewise.
17163 * sunrpc/get_myaddr.c: Likewise.
17164 * sunrpc/key_call.c: Likewise.
17165 * sunrpc/key_prot.c: Likewise.
17166 * sunrpc/netname.c: Likewise.
17167 * sunrpc/pm_getmaps.c: Likewise.
17168 * sunrpc/pm_getport.c: Likewise.
17169 * sunrpc/pmap_clnt.c: Likewise.
17170 * sunrpc/pmap_prot.c: Likewise.
17171 * sunrpc/pmap_prot2.c: Likewise.
17172 * sunrpc/pmap_rmt.c: Likewise.
17173 * sunrpc/publickey.c: Likewise.
17174 * sunrpc/rpc_cmsg.c: Likewise.
17175 * sunrpc/rpc_common.c: Likewise.
17176 * sunrpc/rpc_dtable.c: Likewise.
17177 * sunrpc/rpc_prot.c: Likewise.
17178 * sunrpc/rpc_thread.c: Likewise.
17179 * sunrpc/rtime.c: Likewise.
17180 * sunrpc/svc.c: Likewise.
17181 * sunrpc/svc_auth.c: Likewise.
17182 * sunrpc/svc_authux.c: Likewise.
17183 * sunrpc/svc_raw.c: Likewise.
17184 * sunrpc/svc_run.c: Likewise.
17185 * sunrpc/svc_simple.c: Likewise.
17186 * sunrpc/svc_tcp.c: Likewise.
17187 * sunrpc/svc_udp.c: Likewise.
17188 * sunrpc/svc_unix.c: Likewise.
17189 * sunrpc/svcauth_des.c: Likewise.
17190 * sunrpc/xcrypt.c: Likewise.
17191 * sunrpc/xdr.c: Likewise.
17192 * sunrpc/xdr_array.c: Likewise.
17193 * sunrpc/xdr_float.c: Likewise.
17194 * sunrpc/xdr_intXX_t.c: Likewise.
17195 * sunrpc/xdr_mem.c: Likewise.
17196 * sunrpc/xdr_rec.c: Likewise.
17197 * sunrpc/xdr_ref.c: Likewise.
17198 * sunrpc/xdr_sizeof.c: Likewise.
17199 * sunrpc/xdr_stdio.c: Likewise.
17201 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17204 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17205 * sysdeps/ia64/dl-tls.h: Likewise.
17206 * sysdeps/powerpc/dl-tls.h: Likewise.
17207 * sysdeps/s390/dl-tls.h: Likewise.
17208 * sysdeps/sh/dl-tls.h: Likewise.
17209 * sysdeps/sparc/dl-tls.h: Likewise.
17210 * sysdeps/x86_64/dl-tls.h: Likewise.
17211 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17213 2011-03-14 Andreas Schwab <schwab@redhat.com>
17215 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17216 rpath element also skip the following colon.
17217 (expand_dynamic_string_token): Add is_path parameter and pass
17218 down to DL_DST_REQUIRED and _dl_dst_substitute.
17219 (decompose_rpath): Call expand_dynamic_string_token with
17220 non-zero is_path. Ignore empty rpaths.
17221 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17224 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17229 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17232 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17233 Patch by Filipe David Manana <fdmanana@apache.org>.
17235 2011-04-07 Andreas Schwab <schwab@redhat.com>
17237 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17238 Maintain aligned stack.
17239 (CHECK_RSP): Remove unused macro.
17241 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17243 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17244 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17246 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17248 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17250 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17252 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17255 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17256 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17257 * sysdeps/x86_64/memmove.c: New file.
17258 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17259 (memcpy): Renamed to ...
17260 (__new_memcpy): This.
17261 (memcpy): Provide GLIBC_2_14 memcpy.
17262 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17263 (memcpy): Provide GLIBC_2_2_5 memcpy.
17265 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17268 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17270 2011-03-30 Andreas Schwab <schwab@redhat.com>
17272 * misc/syncfs.c: New file.
17273 * misc/Makefile (routines): Add syncfs.
17274 * posix/unistd.h: Declare syncfs.
17275 * sysdeps/unix/syscalls.list: Add syncfs.
17277 2011-04-01 Andreas Schwab <schwab@redhat.com>
17279 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17281 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17282 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17283 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17284 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17285 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17286 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17287 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17289 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17291 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17292 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17293 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17294 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17295 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17297 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17299 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17300 sync_file_range.c with -fexceptions.
17301 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17302 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17303 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17304 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17305 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17306 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17307 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17308 sync_file_range as cancellation point
17309 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17310 now a wrapper around __call_sync_file_range with cancellation handling.
17311 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17312 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17313 function name to __call_sync_file_range.
17314 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17315 Add call_sync_file_range.
17317 2011-04-01 Andreas Schwab <schwab@redhat.com>
17319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17322 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17324 * iconv/iconv.h: Fix typo in comment.
17325 * io/fcntl.h: Likewise.
17326 * libio/stdio.h: Likewise.
17327 * posix/spawn.h: Likewise.
17328 * posix/unistd.h: Likewise.
17329 * stdlib/stdlib.h: Likewise.
17330 * time/time.h: Likewise.
17331 * wcsmbs/wchar.h: Likewise.
17333 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17334 open_by_handle): Add.
17335 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17336 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17337 Augment a few comments.
17338 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17339 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17340 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17341 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17342 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17343 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17346 * io/fcntl.h (AT_EMPTY_PATH): Define.
17348 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17350 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17351 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17352 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17354 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17355 * Versions.def: Add GLIBC_2.14.
17356 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17359 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17361 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17363 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17365 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17368 * string/test-strncmp.c (do_page_test): New function.
17369 (check2): Likewise.
17370 (test_main): Call check2.
17371 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17373 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17376 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17377 Handle cache information in CPU leaf 4.
17378 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17380 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17383 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17384 character representation.
17385 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17387 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17389 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17390 END(__isnan) to END(__isnanf) to match function entry point/label
17391 EALIGN(__isnanf,...).
17393 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17395 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17397 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17400 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17401 copy from the symbol referenced in the relocation to initialize the
17403 Patch by Piotr Bury <pbury@goahead.com>.
17404 * elf/Makefile: Add rules to build and tst-unique3.
17405 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17406 * elf/tst-unique3.cc: New file.
17407 * elf/tst-unique3.h: New file.
17408 * elf/tst-unique3lib.cc: New file.
17409 * elf/tst-unique3lib2.cc: New file.
17411 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17413 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17415 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17416 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17419 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17421 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17422 to-be-loaded object along a path to loader is ld.so.
17424 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17425 Ulrich Drepper <drepper@gmail.com>
17427 * sysdeps/x86_64/memset.S: After aligning destination, code
17428 branches to different locations depending on the value of
17429 misalignment, when multiarch is enabled. Fix this.
17431 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17433 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17434 Set _x86_64_preferred_memory_instruction for AMD processsors.
17435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17436 Set bit_Prefer_SSE_for_memop for AMD processors.
17438 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17440 * libio/fmemopen.c (fmemopen): Optimize a bit.
17442 2011-03-03 Andreas Schwab <schwab@redhat.com>
17444 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17446 2011-03-03 Roland McGrath <roland@redhat.com>
17448 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17450 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17452 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17453 __bzero_ultra1 instead of __memset_ultra1.
17455 2011-02-23 Andreas Schwab <schwab@redhat.com>
17456 Ulrich Drepper <drepper@gmail.com>
17459 * include/link.h (struct link_map): Add l_orig_initfini.
17460 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17461 returning unsuccessfully.
17462 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17463 close of a file loaded at startup, restore the original l_initfini
17465 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17466 list, store the pointer.
17467 * elf/Makefile ($(objpfx)noload-mem): New rule.
17468 (noload-ENV): Define.
17469 (tests): Add $(objpfx)noload-mem.
17470 * elf/noload.c: Include <memcheck.h>.
17471 (main): Call mtrace. Close all opened handles.
17473 2011-02-17 Andreas Schwab <schwab@redhat.com>
17476 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17477 dependencies are missing.
17479 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17481 Fix __if_freereq crash: Unlike the generic version which uses free,
17483 * sysdeps/mach/hurd/ifreq.h: New file.
17485 2011-01-27 Petr Baudis <pasky@suse.cz>
17486 Ulrich Drepper <drepper@gmail.com>
17489 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17490 to extend_alloca().
17491 * stdio-common/bug23.c: New file.
17492 * stdio-common/Makefile (tests): Add bug23.
17494 2010-09-28 Andreas Schwab <schwab@redhat.com>
17495 Ulrich Drepper <drepper@gmail.com>
17498 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17499 before performing relro protection. At old place add assertion
17500 to make sure nothing changed.
17502 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17503 Glauber de Oliveira Costa <glommer@gmail.com>
17505 * elf/elf.h: Add new ARM TLS relocs.
17507 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17510 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17512 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17514 * sysdeps/wordsize-64/tst-writev.c: New file.
17516 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17518 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17519 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17520 insns in _dl_start to prevent a TOC reference before relocs are
17523 2011-02-15 Ulrich Drepper <drepper@gmail.com>
17526 * Makeconfig: Remove RANLIB definition.
17527 * Makerules: Don't use RANLIB.
17528 * aclocal.m4: Remove ranlib test.
17529 * configure.in: No need to check for ranlib.
17530 * elf/rtld-Rules: Don't use RANLIB.
17532 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17534 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17536 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17537 inclusion protection macro.
17539 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17540 SIGRTMIN and SIGRTMAX and print information in that case only when
17541 SIGRTMIN is defined.
17543 2011-02-11 Jakub Jelinek <jakub@redhat.com>
17545 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17546 arginfo fn returning -1.
17548 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17549 and thousands string is zero terminated.
17551 2011-02-03 Andreas Schwab <schwab@redhat.com>
17553 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17554 sysdeps/unix/sysv/linux/bits/socket.h.
17556 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17558 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17559 (__CPU_COUNT): Remove old macros.
17560 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17561 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17562 (__CPU_ALLOC, __CPU_FREE): Add macros.
17563 (__sched_cpualloc, __sched_cpufree): Add declarations.
17565 2011-02-05 Ulrich Drepper <drepper@gmail.com>
17567 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17568 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17569 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17570 (readdhstai): Return value of addhstaiX call.
17571 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17572 (addgrbyX): Return value returned by cache_addgr.
17573 (readdgrbyname): Return value returned by addgrbyX.
17574 (readdgrbygid): Likewise.
17575 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17576 (addpwbyX): Return value returned by cache_addpw.
17577 (readdpwbyname): Return value returned by addhstbyX.
17578 (readdpwbyuid): Likewise.
17579 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17580 (addservbyX): Return value returned by cache_addserv.
17581 (readdservbyname): Return value returned by addservbyX:
17582 (readdservbyport): Likewise.
17583 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17584 (addhstbyX): Return value returned by cache_addhst.
17585 (readdhstbyname): Return value returned by addhstbyX.
17586 (readdhstbyaddr): Likewise.
17587 (readdhstbynamev6): Likewise.
17588 (readdhstbyaddrv6): Likewise.
17589 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17590 (readdinitgroups): Return value returned by addinitgroupsX.
17591 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17592 (prune_cache): Keep track of timeout value of re-added entries.
17593 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17594 * nscd/nscd.h: Adjust prototypes of readd* functions.
17596 2011-02-04 Roland McGrath <roland@redhat.com>
17598 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17599 (nis_stats): Likewise.
17600 * nis/nis_modify.c (nis_modify): Likewise.
17601 * nis/nis_remove.c (nis_remove): Likewise.
17602 * nis/nis_add.c (nis_add): Likewise.
17604 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17606 * posix/fnmatch_loop.c: Add some consts.
17608 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17610 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17613 * config.make.in (config-cflags-novzeroupper): Define.
17614 * configure.in: Substitute libc_cv_cc_novzeroupper.
17615 * elf/Makefile (AVX-CFLAGS): Define.
17616 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17617 (CFLAGS-tst-auditmod4a.c): Likewise.
17618 (CFLAGS-tst-auditmod4b.c): Likewise.
17619 (CFLAGS-tst-auditmod6b.c): Likewise.
17620 (CFLAGS-tst-auditmod6c.c): Likewise.
17621 (CFLAGS-tst-auditmod7b.c): Likewise.
17622 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17624 2011-02-02 Ulrich Drepper <drepper@gmail.com>
17626 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17627 function to the callback.
17628 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17630 2011-02-02 Andreas Schwab <schwab@redhat.com>
17632 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17635 2011-01-19 Ulrich Drepper <drepper@gmail.com>
17638 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17640 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17642 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17645 * elf/Makefile: Add rules to build and run new test.
17646 * elf/tst-initorder.c: New file.
17647 * elf/tst-initorder.exp: New file.
17648 * elf/tst-initordera1.c: New file.
17649 * elf/tst-initordera2.c: New file.
17650 * elf/tst-initordera3.c: New file.
17651 * elf/tst-initordera4.c: New file.
17652 * elf/tst-initorderb1.c: New file.
17653 * elf/tst-initorderb2.c: New file.
17654 * elf/tst-order-a1.c: New file.
17655 * elf/tst-order-a2.c: New file.
17656 * elf/tst-order-a3.c: New file.
17657 * elf/tst-order-a4.c: New file.
17658 * elf/tst-order-b1.c: New file.
17659 * elf/tst-order-b2.c: New file.
17660 * elf/tst-order-main.c: New file.
17661 New test case by George Gensure <werkt0@gmail.com>.
17663 2010-10-01 Andreas Schwab <schwab@redhat.com>
17665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17666 decoding ACE if AI_CANONIDN.
17668 2011-01-18 Ulrich Drepper <drepper@gmail.com>
17670 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17672 2011-01-17 Ulrich Drepper <drepper@gmail.com>
17674 * version.h (RELEASE): Bump for 2.13 release.
17675 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17677 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17679 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17681 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17682 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17683 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17684 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17685 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17686 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17688 * posix/getconf.c: Update copyright year.
17689 * catgets/gencat.c: Likewise.
17690 * csu/version.c: Likewise.
17691 * debug/catchsegv.sh: Likewise.
17692 * debug/xtrace.sh: Likewise.
17693 * elf/ldconfig.c: Likewise.
17694 * elf/ldd.bash.in: Likewise.
17695 * elf/sprof.c (print_version): Likewise.
17696 * iconv/iconv_prog.c: Likewise.
17697 * iconv/iconvconfig.c: Likewise.
17698 * locale/programs/locale.c: Likewise.
17699 * locale/programs/localedef.c: Likewise.
17700 * malloc/memusage.sh: Likewise.
17701 * malloc/mtrace.pl: Likewise.
17702 * nscd/nscd.c (print_version): Likewise.
17703 * nss/getent.c: Likewise.
17705 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17706 PF_CAIF, and PF_ALG.
17707 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17709 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17711 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17712 (modules-names): Use them.
17713 (ifunc-test-modules, ifunc-pie-tests): Define.
17714 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17715 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17716 (test-extras): Likewise.
17717 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17718 $(compile-command.c).
17719 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17720 (all-built-dso): Define.
17721 (check-textrel.out, check-execstack.out): Depend on it.
17723 * configure.in: Don't override --enable-multi-arch.
17725 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17728 * nscd/hstcache.c (tryagain): Define.
17729 (cache_addhst): Return tryagain not notfound for temporary errors.
17730 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17733 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17736 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17737 to make the syscall.
17738 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17741 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17742 and fall back to matching as normal character if the string ends before
17743 the matching ']' is found. This is what POSIX requires.
17744 * posix/testfnm.c: Adjust test result.
17745 * posix/globtest.sh: Adjust test result. Add new test.
17746 * posix/tst-fnmatch.input: Likewise.
17747 * posix/tst-fnmatch2.c: Add new test.
17749 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17751 * elf/Makefile (check-execstack): Revert last change. Depend on
17753 (check-execstack.h): New target.
17754 (generated): Add check-execstack.h.
17755 * elf/check-execstack.c: Include "check-execstack.h".
17756 (main): Revert last change.
17757 (handle_file): Return zero if GNU_STACK is absent and
17758 DEFAULT_STACK_PERMS doesn't include PF_X.
17760 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17762 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17763 in child fails because the descriptor is already closed.
17764 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17765 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17766 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17769 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17773 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17774 temporary buffer used to handle multi lookups locally.
17775 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17777 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17779 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17782 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17784 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17785 alignment for SSE2.
17787 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17790 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17791 characters. When rounding increased number of integer digits recompute
17793 * stdio-common/tst-grouping.c: New file.
17794 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17796 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17798 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17799 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17801 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17803 * bits/select.h: Likewise.
17805 2011-01-08 Ulrich Drepper <drepper@gmail.com>
17807 * po/ja.po: Update from translation team.
17809 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
17812 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17813 implementation just like for lxstat, fxstatat, et al.
17815 2010-12-27 Jim Meyering <meyering@redhat.com>
17818 * posix/regexec.c (build_trtable): Return failure indication upon
17819 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17821 2010-12-25 Ulrich Drepper <drepper@gmail.com>
17824 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17825 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17826 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17827 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17830 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17833 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17834 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17836 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17838 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17839 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17840 script has SORT_BY_INIT_PRIORITY.
17841 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17842 NO_CTORS_DTORS_SECTIONS is defined.
17843 * elf/soinit.c: Likewise.
17844 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17845 NO_CTORS_DTORS_SECTIONS is defined.
17846 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17847 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17848 * sysdeps/sh/init-first.c: Likewise.
17849 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17851 2010-12-24 Ulrich Drepper <drepper@gmail.com>
17853 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17854 always use the slow path.
17856 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17858 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17859 similar rule which adds the sysdep directories to the header search in
17860 order to pick up the correct platform stackinfo.h.
17861 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17862 perform test if it is, otherwise return successfully without testing.
17863 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17864 DEFAULT_STACK_PERMS define in stackinfo.h.
17865 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17866 defined in stackinfo.h.
17867 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17868 DEFAULT_STACK_PERMS defined in stackinfo.h.
17869 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17870 * sysdeps/ia64/stackinfo.h: Likewise.
17871 * sysdeps/s390/stackinfo.h: Likewise.
17872 * sysdeps/sh/stackinfo.h: Likewise.
17873 * sysdeps/sparc/stackinfo.h: Likewise.
17874 * sysdeps/x86_64/stackinfo.h: Likewise.
17875 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17876 PF_X for powerpc64. Retain PF_X for powerpc32.
17878 2010-12-19 Ulrich Drepper <drepper@gmail.com>
17880 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17882 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17883 GETDENTS_64BIT_ALIGNED.
17885 2010-12-14 Ulrich Drepper <dreper@gmail.com>
17887 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17889 2010-12-10 Andreas Schwab <schwab@redhat.com>
17891 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17894 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17895 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17897 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17898 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17900 2010-12-09 Ulrich Drepper <drepper@gmail.com>
17903 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17906 2010-12-09 Jakub Jelinek <jakub@redhat.com>
17908 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17910 2010-12-03 Ulrich Drepper <drepper@gmail.com>
17912 * po/it.po: Update from translation team.
17914 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17916 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17919 2010-11-30 Ulrich Drepper <drepper@gmail.com>
17921 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17923 2010-11-24 Andreas Schwab <schwab@redhat.com>
17925 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17927 (gaih_getanswer_slice): Likewise.
17929 2010-10-20 Jakub Jelinek <jakub@redhat.com>
17931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17933 2010-05-31 Petr Baudis <pasky@suse.cz>
17936 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17937 silently even in the chroot mode.
17939 2010-11-22 Ulrich Drepper <drepper@gmail.com>
17941 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17942 last patch a bit. Pretty printing
17944 2010-05-31 Petr Baudis <pasky@suse.cz>
17947 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17948 initialization of skip_initgroups_dyn.
17950 2010-11-19 Ulrich Drepper <drepper@gmail.com>
17952 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17953 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17955 2010-11-16 Ulrich Drepper <drepper@gmail.com>
17957 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17959 2010-11-11 Andreas Schwab <schwab@redhat.com>
17961 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17962 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17963 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17964 ($(objpfx)tst-fnmatch-mem): New rule.
17965 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17966 * posix/tst-fnmatch.c (main): Call mtrace.
17968 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17971 Support Intel processor model 6 and model 0x2c.
17973 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
17975 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17978 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17981 * string/test-strncasecmp.c (check_result): New function.
17982 (do_one_test): Use it.
17983 (check1): New function.
17984 (test_main): Use it.
17985 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17986 Support strcasecmp and strncasecmp.
17988 2010-11-08 Ulrich Drepper <drepper@gmail.com>
17991 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17992 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17994 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17996 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18000 * sysdeps/x86_64/multiarch/bzero.S: New file.
18001 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18002 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18003 * sysdeps/x86_64/multiarch/memset.S: New file.
18004 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18006 Set bit_Prefer_SSE_for_memop for Intel processors.
18007 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18009 (index_Prefer_SSE_for_memop): Define.
18010 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18012 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18014 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18015 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18017 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18020 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18021 (__x86_64_raw_data_cache_size_half): Likewise.
18022 (__x86_64_raw_shared_cache_size): Likewise.
18023 (__x86_64_raw_shared_cache_size_half): Likewise.
18025 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18026 (__x86_64_raw_data_cache_size_half): Likewise.
18027 (__x86_64_raw_shared_cache_size): Likewise.
18028 (__x86_64_raw_shared_cache_size_half): Likewise.
18029 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18030 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18031 and __x86_64_raw_shared_cache_size_half. Round
18032 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18033 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18034 to multiple of 256 bytes.
18036 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18039 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18040 of inacessible symlinks. Verify result of symlink before returning it.
18041 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18042 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18044 2010-10-28 Erich Ritz <erichritz@gmail.com>
18046 * math/math.h (isinf): Fix typo in comment.
18048 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18050 * po/da.po: Update from translation team.
18052 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18054 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18055 is added to the list.
18057 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18058 Ulrich Drepper <drepper@gmail.com>
18060 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18061 the global list here. Move code to...
18062 (_dl_add_to_namespace_list): ...here. New function.
18063 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18064 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18065 * elf/dl-load.c (lose): Don't remove the element from the list.
18066 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18067 (_dl_map_object): Likewise.
18069 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18072 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18073 into all bytes of SSE register.
18074 Patch by Richard Li <richardpku@gmail.com>.
18076 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18079 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18082 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18084 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18085 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18086 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18087 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18092 2010-10-22 Andreas Schwab <schwab@redhat.com>
18094 * include/dlfcn.h (__RTLD_SECURE): Define.
18095 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18096 mode & __RTLD_SECURE instead.
18097 (open_path): Rename preloaded parameter to secure.
18098 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18099 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18100 * elf/dl-deps.c (openaux): Likewise.
18101 * elf/rtld.c (struct map_args): Remove is_preloaded.
18102 (map_doit): Don't use it.
18103 (dl_main): Likewise.
18104 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18105 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18107 2010-09-09 Andreas Schwab <schwab@redhat.com>
18109 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18110 (sysd-rules-targets): Remove duplicates.
18111 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18112 rtld-%.$o dependency.
18114 2010-10-18 Andreas Schwab <schwab@redhat.com>
18116 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18117 _dl_map_object do it.
18119 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18121 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18122 fast fma builtins, define the macros in the C99 standard.
18123 (FP_FAST_FMAF): Likewise.
18124 (FP_FAST_FMAL): Likewise.
18125 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18127 * bits/mathdef.h: Update copyright year.
18128 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18130 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18132 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18133 builtins, define the macros in the C99 standard.
18134 (FP_FAST_FMAF): Likewise.
18135 (FP_FAST_FMAL): Likewise.
18136 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18138 (FP_FAST_FMAF): Likewise.
18140 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18143 * math/libm-test.inc (fma_test): Some new testcases.
18144 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18145 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18146 y and infinite z. Do multiplication by C already in long double.
18147 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18149 y and infinite z. Do bitwise or of inexact bit into u.d.
18150 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18151 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18152 * sysdeps/i386/fpu/s_fma.S: Removed.
18153 * sysdeps/i386/fpu/s_fmal.S: Removed.
18155 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18158 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18159 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18160 computation is not scheduled after fetestexcept. Fix value
18161 of minimum denormal long double.
18163 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18166 * math/libm-test.inc (fma_test): Add some more tests.
18167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18170 2010-10-15 Andreas Schwab <schwab@redhat.com>
18172 * scripts/data/localplt-s390-linux-gnu.data: New file.
18173 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18175 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18178 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18179 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18181 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18183 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18184 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18185 if one of x and y is very large and the other is subnormal.
18186 * sysdeps/s390/fpu/s_fmaf.c: New file.
18187 * sysdeps/s390/fpu/s_fma.c: New file.
18188 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18189 * sysdeps/powerpc/fpu/s_fma.S: New file.
18190 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18191 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18192 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18194 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18197 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18199 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18200 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18201 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18202 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18203 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18204 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18205 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18207 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18210 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18211 * posix/bug-regex31.input: Add test case.
18213 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18215 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18216 * posix/bug-regex31.input: New file.
18219 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18220 (parse_sub_exp): Fix last change, use postorder.
18222 * posix/bug-regex31.c: New file.
18223 * posix/Makefile: Add rules to build and run bug-regex31.
18225 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18228 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18231 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18232 to have entries in sys_siglist.
18235 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18238 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18241 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18242 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18243 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18244 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18245 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18246 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18247 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18248 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18249 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18250 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18251 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18252 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18253 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18254 * math/ftestexcept.c (fetestexcept): Likewise.
18255 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18256 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18257 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18258 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18259 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18260 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18261 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18263 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18266 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18269 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18271 * string/bug-strstr1.c: New file.
18272 * string/Makefile: Add rules to build and run bug-strstr1.
18274 2010-10-05 Eric Blake <eblake@redhat.com>
18277 * string/str-two-way.h (two_way_long_needle): Always clear memory
18278 when skipping input due to the shift table.
18280 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18283 * malloc/mcheck.c: Handle large requests.
18286 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18287 for strncmp and strncasecmp.
18288 * string/stratcliff.c: Add tests for strcmp and strncmp.
18289 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18291 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18293 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18296 2010-09-30 Andreas Jaeger <aj@suse.de>
18298 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18299 (CGROUP_SUPER_MAGIC): Define.
18300 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18301 Handle btrfs and cgroup file systems.
18302 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18305 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18307 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18308 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18310 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18313 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18314 trying to locate the ELF header.
18316 2010-09-27 Andreas Schwab <schwab@redhat.com>
18319 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18320 Mask out sign-bit copies when constructing f_fsid.
18322 2010-09-24 Petr Baudis <pasky@suse.cz>
18324 * debug/stack_chk_fail_local.c: Add missing licence exception.
18325 * debug/warning-nop.c: Likewise.
18327 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18329 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18330 implementing getdents64 using getdents syscall, set d_type if
18331 __ASSUME_GETDENTS32_D_TYPE.
18333 2010-09-16 Andreas Schwab <schwab@redhat.com>
18335 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18336 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18338 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18341 * posix/unistd.h: Undo change of feature selection for ftruncate from
18344 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18346 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18349 2010-09-20 Andreas Schwab <schwab@redhat.com>
18351 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18353 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18355 2010-09-14 Andreas Schwab <schwab@redhat.com>
18357 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18358 variables after CHECK_SP call.
18359 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18361 2010-09-13 Andreas Schwab <schwab@redhat.com>
18362 Ulrich Drepper <drepper@redhat.com>
18364 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18365 re-relocationg ld.so.
18366 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18367 _dl_init_paths call.
18368 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18371 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18373 * resolv/res_init.c (__res_vinit): Count the default server we added.
18375 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18376 Ulrich Drepper <drepper@redhat.com>
18379 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18380 (____longjmp_chk): Use %ebx for saving value across system call.
18383 2010-09-06 Andreas Schwab <schwab@redhat.com>
18385 * manual/Makefile: Don't mix pattern rules with normal rules.
18387 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18389 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18391 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18392 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18393 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18394 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18395 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18398 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18401 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18402 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18404 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18406 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18407 * sysdeps/x86_64/addmul_1.S: Likewise.
18408 * sysdeps/x86_64/lshift.S: Likewise.
18409 * sysdeps/x86_64/mul_1.S: Likewise.
18410 * sysdeps/x86_64/rshift.S: Likewise.
18411 * sysdeps/x86_64/sub_n.S: Likewise.
18412 * sysdeps/x86_64/submul_1.S: Likewise.
18414 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18416 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18417 Define __sched_param instead of SCHED_* and sched_param when
18418 <bits/sched.h> is included with __need_schedparam defined.
18419 * bits/sched.h [__need_schedparam]
18420 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18421 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18422 (__defined_schedparam): Define to 1.
18423 (__sched_param): New structure, identical to sched_param.
18424 (__need_schedparam): Undefine.
18426 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18428 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18429 (epoll_create1): Declare.
18431 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18433 2010-08-31 Andreas Schwab <schwab@redhat.com>
18436 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18437 shifting retval into place.
18439 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18441 * nis/rpcsvc/nis.h: Update copyright notice.
18442 * nis/rpcsvc/nis.x: Likewise.
18443 * nis/rpcsvc/nis_callback.h: Likewise.
18444 * nis/rpcsvc/nis_callback.x: Likewise.
18445 * nis/rpcsvc/nis_object.x: Likewise.
18446 * nis/rpcsvc/nis_tags.h: Likewise.
18447 * nis/rpcsvc/yp.h: Likewise.
18448 * nis/rpcsvc/yp.x: Likewise.
18449 * nis/rpcsvc/ypupd.h: Likewise.
18450 * nis/yp_xdr.c: Likewise.
18451 * nis/ypupdate_xdr.c: Likewise.
18453 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18454 mainly the body of pmap_getport. Add parameters to specify timeouts.
18455 (pmap_getport): Use __libc_rpc_getport.
18456 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18457 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18458 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18460 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18465 2010-08-27 Roland McGrath <roland@redhat.com>
18467 * sysdeps/i386/i686/multiarch/Makefile
18468 (CFLAGS-varshift.c): New variable.
18470 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18472 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18473 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18475 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18477 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18479 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18481 * sysdeps/x86_64/strlen.S: Unroll the loop.
18482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18483 strlen-sse2 strlen-sse2-bsf.
18484 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18485 __strlen_no_bsf if bit_Slow_BSF is set.
18486 (__strlen_sse42): Removed.
18487 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18488 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18490 2010-08-25 Roland McGrath <roland@redhat.com>
18492 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18493 * sysdeps/x86_64/multiarch/varshift.c: New file.
18494 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18495 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18496 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18497 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18499 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18502 strlen-sse2 strlen-sse2-bsf.
18503 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18504 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18505 (__strlen_sse2): Removed.
18506 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18507 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18509 bit_Slow_BSF for Atom.
18510 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18511 (index_Slow_BSF): Define.
18512 (HAS_SLOW_BSF): Define.
18514 2010-08-25 Ulrich Drepper <drepper@redhat.com>
18517 * resolv/res_init.c (__res_vinit): When no server address at all
18518 is given default to loopback.
18520 2010-08-24 Roland McGrath <roland@redhat.com>
18522 * configure.in: Remove config-name.h generation.
18523 * configure: Regenerated.
18524 * config-name.in: File removed.
18525 * scripts/config-uname.sh: New file.
18526 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18527 ($(objdir)config-name.h): New target.
18529 * sunrpc/rpc_parse.h: Avoid nested comment.
18531 2010-08-24 Richard Henderson <rth@redhat.com>
18532 Ulrich Drepper <drepper@redhat.com>
18533 H.J. Lu <hongjiu.lu@intel.com>
18535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18537 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18538 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18539 _mm_alignr_epi8 with _mm_loadu_si128.
18540 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18541 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18542 (__m128i_shift_right): Removed.
18543 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18544 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18545 * sysdeps/x86_64/multiarch/varshift.h: New file.
18546 * sysdeps/x86_64/multiarch/varshift.S: New file.
18548 2010-08-21 Mike Frysinger <vapier@gentoo.org>
18550 * configure.in: Move assembler checks to before sysdep dir checking.
18552 2010-08-20 Petr Baudis <pasky@suse.cz>
18554 * LICENSES: Sync the sunrpc license.
18556 2010-08-19 Ulrich Drepper <drepper@redhat.com>
18558 * sunrpc/auth_des.c: Update copyright notice once again.
18559 * sunrpc/auth_none.c: Likewise.
18560 * sunrpc/auth_unix.c: Likewise.
18561 * sunrpc/authdes_prot.c: Likewise.
18562 * sunrpc/authuxprot.c: Likewise.
18563 * sunrpc/bindrsvprt.c: Likewise.
18564 * sunrpc/clnt_gen.c: Likewise.
18565 * sunrpc/clnt_perr.c: Likewise.
18566 * sunrpc/clnt_raw.c: Likewise.
18567 * sunrpc/clnt_simp.c: Likewise.
18568 * sunrpc/clnt_tcp.c: Likewise.
18569 * sunrpc/clnt_udp.c: Likewise.
18570 * sunrpc/clnt_unix.c: Likewise.
18571 * sunrpc/des_crypt.c: Likewise.
18572 * sunrpc/des_soft.c: Likewise.
18573 * sunrpc/get_myaddr.c: Likewise.
18574 * sunrpc/getrpcport.c: Likewise.
18575 * sunrpc/key_call.c: Likewise.
18576 * sunrpc/key_prot.c: Likewise.
18577 * sunrpc/openchild.c: Likewise.
18578 * sunrpc/pm_getmaps.c: Likewise.
18579 * sunrpc/pm_getport.c: Likewise.
18580 * sunrpc/pmap_clnt.c: Likewise.
18581 * sunrpc/pmap_prot.c: Likewise.
18582 * sunrpc/pmap_prot2.c: Likewise.
18583 * sunrpc/pmap_rmt.c: Likewise.
18584 * sunrpc/rpc/auth.h: Likewise.
18585 * sunrpc/rpc/auth_unix.h: Likewise.
18586 * sunrpc/rpc/clnt.h: Likewise.
18587 * sunrpc/rpc/des_crypt.h: Likewise.
18588 * sunrpc/rpc/key_prot.h: Likewise.
18589 * sunrpc/rpc/netdb.h: Likewise.
18590 * sunrpc/rpc/pmap_clnt.h: Likewise.
18591 * sunrpc/rpc/pmap_prot.h: Likewise.
18592 * sunrpc/rpc/pmap_rmt.h: Likewise.
18593 * sunrpc/rpc/rpc.h: Likewise.
18594 * sunrpc/rpc/rpc_des.h: Likewise.
18595 * sunrpc/rpc/rpc_msg.h: Likewise.
18596 * sunrpc/rpc/svc.h: Likewise.
18597 * sunrpc/rpc/svc_auth.h: Likewise.
18598 * sunrpc/rpc/types.h: Likewise.
18599 * sunrpc/rpc/xdr.h: Likewise.
18600 * sunrpc/rpc_clntout.c: Likewise.
18601 * sunrpc/rpc_cmsg.c: Likewise.
18602 * sunrpc/rpc_common.c: Likewise.
18603 * sunrpc/rpc_cout.c: Likewise.
18604 * sunrpc/rpc_dtable.c: Likewise.
18605 * sunrpc/rpc_hout.c: Likewise.
18606 * sunrpc/rpc_main.c: Likewise.
18607 * sunrpc/rpc_parse.c: Likewise.
18608 * sunrpc/rpc_parse.h: Likewise.
18609 * sunrpc/rpc_prot.c: Likewise.
18610 * sunrpc/rpc_sample.c: Likewise.
18611 * sunrpc/rpc_scan.c: Likewise.
18612 * sunrpc/rpc_scan.h: Likewise.
18613 * sunrpc/rpc_svcout.c: Likewise.
18614 * sunrpc/rpc_tblout.c: Likewise.
18615 * sunrpc/rpc_util.c: Likewise.
18616 * sunrpc/rpc_util.h: Likewise.
18617 * sunrpc/rpcinfo.c: Likewise.
18618 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18619 * sunrpc/rpcsvc/key_prot.x: Likewise.
18620 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18621 * sunrpc/rpcsvc/mount.x: Likewise.
18622 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18623 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18624 * sunrpc/rpcsvc/rex.x: Likewise.
18625 * sunrpc/rpcsvc/rstat.x: Likewise.
18626 * sunrpc/rpcsvc/rusers.x: Likewise.
18627 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18628 * sunrpc/rpcsvc/spray.x: Likewise.
18629 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18630 * sunrpc/rtime.c: Likewise.
18631 * sunrpc/svc.c: Likewise.
18632 * sunrpc/svc_auth.c: Likewise.
18633 * sunrpc/svc_authux.c: Likewise.
18634 * sunrpc/svc_raw.c: Likewise.
18635 * sunrpc/svc_run.c: Likewise.
18636 * sunrpc/svc_simple.c: Likewise.
18637 * sunrpc/svc_tcp.c: Likewise.
18638 * sunrpc/svc_udp.c: Likewise.
18639 * sunrpc/svc_unix.c: Likewise.
18640 * sunrpc/svcauth_des.c: Likewise.
18641 * sunrpc/xcrypt.c: Likewise.
18642 * sunrpc/xdr.c: Likewise.
18643 * sunrpc/xdr_array.c: Likewise.
18644 * sunrpc/xdr_float.c: Likewise.
18645 * sunrpc/xdr_mem.c: Likewise.
18646 * sunrpc/xdr_rec.c: Likewise.
18647 * sunrpc/xdr_ref.c: Likewise.
18648 * sunrpc/xdr_sizeof.c: Likewise.
18649 * sunrpc/xdr_stdio.c: Likewise.
18651 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18654 2010-08-19 Andreas Schwab <schwab@redhat.com>
18656 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18658 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
18660 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18661 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18662 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18663 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18664 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18665 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18666 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18667 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18668 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18669 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18670 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18671 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18672 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18673 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18675 2010-07-26 Anton Blanchard <anton@samba.org>
18677 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18678 * malloc/arena.c (heap_trim): Likewise.
18680 2010-08-16 Ulrich Drepper <drepper@redhat.com>
18682 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18684 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18685 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18687 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18689 * sysdeps/i386/elf/Makefile: New file.
18691 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18693 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18694 from fanotify_init.
18695 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18696 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18698 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18700 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18702 * sysdeps/multiarch/strcmp.S: Likewise.
18704 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18706 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18707 strncase_l-nonascii.
18708 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18709 Add strncase_l-ssse3.
18710 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18711 * sysdeps/x86_64/strcmp.S: Likewise.
18712 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18713 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18714 * sysdeps/x86_64/strncase.S: New file.
18715 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18716 * sysdeps/x86_64/strncase_l.S: New file.
18717 * string/Makefile (strop-tests): Add strncasecmp.
18718 * string/test-strncasecmp.c: New file.
18720 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18723 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18724 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18726 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18728 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18730 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18732 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18733 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18734 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18736 2010-05-01 Alan Modra <amodra@gmail.com>
18738 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18739 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18740 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18741 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18742 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18743 tidying. Don't tail-call __sigjmp_save for static lib.
18744 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18746 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18747 (CALL_MCOUNT): Add eh info, and nop after bl.
18748 (TAIL_CALL_SYSCALL_ERROR): New macro.
18749 (PSEUDO_RET): Use it.
18750 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18751 Correct save location of integer regs and cr.
18752 (_dl_profile_resolve): Correct cr save location. Delete nops
18753 after bl when SHARED. Reduce cfi size a little by better
18754 placement of cfi directives.
18755 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18756 make a stack frame. Instead use parm save area as a temp.
18757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18758 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18760 Don't make a stack frame for parent, use parm save area.
18761 Increase child stack frame to 112 bytes. Don't save unused reg,
18762 and adjust reg usage. Set up cfi on error recovery and
18763 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18765 (__makecontext): Add dummy nop after jump to exit.
18766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18767 Use correct parm save area and cr save, reduce stack frame.
18768 Correct cfi for possible PSEUDO_RET frame setup.
18769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18770 Branch to local label emitted by PSEUDO_RET rather than
18773 2010-08-12 Andreas Schwab <schwab@redhat.com>
18776 * locale/programs/locale.c (print_assignment): New function.
18777 (show_locale_vars): Use it.
18779 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18781 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18783 (struct statfs64): Likewise.
18784 (_STATFS_F_FLAGS): Define.
18785 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18786 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18787 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18788 (ST_VALID): Define locally.
18789 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18790 __statvfs_getflags, use the provided value.
18791 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18792 __ASSUME_STATFS_F_FLAGS.
18794 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18796 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18797 Add sys/fanotify.h.
18798 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18799 fanotify_mask for GLIBC_2.13.
18800 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18801 fanotify_init and fanotify_mark.
18802 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18803 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18805 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18807 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18808 prlimit64 for GLIBC_2.13.
18809 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18811 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18814 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18815 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18816 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18817 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18819 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18822 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18823 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18825 * nss/Makefile: Add rules to build and run tst-nss-test1.
18826 * shlib-versions: Add entry for libnss_test1.
18827 * nss/nss_test1.c: New file.
18828 * nss/tst-nss-test1.c: New file.
18830 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18831 (__nss_configure_lookup): Set appropriate entry in
18832 __nss_configure_lookup to true.
18833 * nss/nsswitch.h: Define enum with indeces of databases in
18834 databases and __nss_database_custom arrays. Declare
18835 __nss_database_custom.
18836 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18837 to avoid using nscd when custom rules are installed.
18838 * nss/getXXbyYY_r.c: Likewise.
18839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18841 * nss/nss_files/files-parse.c: Whitespace fixes.
18843 2010-08-09 Ulrich Drepper <drepper@redhat.com>
18846 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18847 * posix/fnmatch_loop.c: Likewise.
18849 2010-07-17 Andi Kleen <ak@linux.intel.com>
18851 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18852 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18853 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18854 * Versions.def [GLIBC_2.13]: Add.
18856 2010-08-06 Ulrich Drepper <drepper@redhat.com>
18858 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18859 Also fail if tpwd after pwuid call is NULL.
18861 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18863 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18864 when converting to ms.
18866 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18868 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18869 EOPNOTSUPP errors with ENOTTY.
18870 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18871 EOPNOTSUPP errors with ENOTTY.
18873 2010-07-31 Ulrich Drepper <drepper@redhat.com>
18875 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18876 Add strcasecmp_l-ssse3.
18877 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18879 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18880 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18881 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18883 2010-07-30 Ulrich Drepper <drepper@redhat.com>
18885 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18887 * string/Makefile (strop-tests): Add strcasecmp.
18888 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18889 strcasecmp_l-nonascii.
18890 (gen-as-const-headers): Add locale-defines.sym.
18891 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18892 * sysdeps/x86_64/strcasecmp.S: New file.
18893 * sysdeps/x86_64/strcasecmp_l.S: New file.
18894 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18895 * sysdeps/x86_64/locale-defines.sym: New file.
18896 * string/test-strcasecmp.c: New file.
18898 * string/test-strcasestr.c: Test both ends of the range of characters.
18899 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18901 2010-07-29 Roland McGrath <roland@redhat.com>
18904 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18906 2010-07-27 Ulrich Drepper <drepper@redhat.com>
18908 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18911 2010-07-27 Andreas Schwab <schwab@redhat.com>
18913 * manual/memory.texi (Malloc Tunable Parameters): Document
18916 2010-07-26 Roland McGrath <roland@redhat.com>
18919 * configure.in (-fgnu89-inline check): Set and substitute
18920 gnu89_inline, not libc_cv_gnu89_inline.
18921 * configure: Regenerated.
18922 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18924 2010-07-26 Ulrich Drepper <drepper@redhat.com>
18926 * string/test-strnlen.c: New file.
18927 * string/Makefile (strop-tests): Add strnlen.
18928 * string/tester.c (test_strnlen): Add a few more test cases.
18929 * string/tst-strlen.c: Better error reporting.
18931 * sysdeps/x86_64/strnlen.S: New file.
18933 2010-07-24 Ulrich Drepper <drepper@redhat.com>
18935 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18936 lower-latency instructions.
18938 2010-07-23 Ulrich Drepper <drepper@redhat.com>
18940 * string/test-strcasestr.c: New file.
18941 * string/test-strstr.c: New file.
18942 * string/Makefile (strop-tests): Add strstr and strcasestr.
18943 * string/str-two-way.h: Don't undefine MAX.
18944 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18946 2010-07-21 Andreas Schwab <schwab@redhat.com>
18948 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18949 strcasestr-nonascii.
18950 (CFLAGS-strcasestr-nonascii.c): Define.
18951 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18952 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18953 Remove unused attribute.
18955 2010-07-20 Roland McGrath <roland@redhat.com>
18957 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18958 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18959 ld.so.cache was broken. With it, there is no way to disable dsocaps
18960 like LD_HWCAP_MASK can disable hwcaps.
18962 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18964 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18966 2010-07-16 Ulrich Drepper <drepper@redhat.com>
18968 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18969 call in strcasestr.
18970 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18971 __strcasestr_sse42_nonascii.
18972 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18973 strcasestr-nonascii.c.
18974 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18976 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
18978 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18979 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18980 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18981 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18983 2010-07-09 Ulrich Drepper <drepper@redhat.com>
18985 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18988 2010-07-06 Andreas Schwab <schwab@redhat.com>
18991 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18994 2010-07-06 Ulrich Drepper <drepper@redhat.com>
18996 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18997 _PC_PIPE_BUF using F_GETPIPE_SZ.
18999 2010-07-05 Roland McGrath <roland@redhat.com>
19001 * manual/arith.texi (Rounding Functions): Fix rint description
19002 implicit in round description.
19004 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19006 * elf/Makefile: Fix linking for a few tests to make recent linker
19009 2010-06-30 Andreas Schwab <schwab@redhat.com>
19011 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19012 $(common-objpfx)libc_nonshared.a.
19014 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19016 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19017 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19018 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19019 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19020 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19021 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19022 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19023 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19038 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19039 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19040 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19041 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19042 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19043 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19044 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19045 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19046 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19047 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19048 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19049 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19065 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19067 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19068 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19069 * string/memmove.c (memmove): Renamed to ...
19070 (MEMMOVE): ...this. Default to memmove.
19071 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19072 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19074 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19075 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19076 mempcpy-ssse3-back memmove-ssse3-back.
19077 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19078 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19079 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19080 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19081 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19082 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19083 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19084 * sysdeps/x86_64/multiarch/memmove.c: New file.
19085 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19086 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19087 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19088 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19089 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19090 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19092 (index_Fast_Copy_Backward): Define.
19093 (HAS_ARCH_FEATURE): Define.
19094 (HAS_FAST_REP_STRING): Define.
19095 (HAS_FAST_COPY_BACKWARD): Define.
19097 2010-06-21 Andreas Schwab <schwab@redhat.com>
19099 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19100 Restore proper fallback handling.
19102 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19105 * posix/group_member.c (__group_member): Correct checking loop.
19107 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19108 OOM in getpwuid_r correctly. Return error number when the caller
19109 should return, otherwise -1.
19110 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19111 call returning > 0 value.
19112 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19114 2010-06-07 Andreas Schwab <schwab@redhat.com>
19116 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19117 libc_nonshared.a from targets in modules-names.
19119 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19121 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19124 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19126 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19127 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19128 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19129 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19131 2010-06-02 Andreas Schwab <schwab@redhat.com>
19133 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19135 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19137 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19139 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19140 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19143 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19144 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19146 2010-06-14 Roland McGrath <roland@redhat.com>
19148 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19150 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19152 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19153 __REDIRECT followed by __THROW.
19154 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19155 * posix/getopt.h (getopt): Likewise.
19157 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19159 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19160 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19161 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19163 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19164 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19166 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19168 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19170 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19174 Properly check family and model.
19176 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19178 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19180 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19182 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19184 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19186 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19189 2010-05-19 Andreas Schwab <schwab@redhat.com>
19191 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19194 2010-05-21 Andreas Schwab <schwab@redhat.com>
19196 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19197 and internal_recvmmsg.
19198 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19199 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19200 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19201 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19203 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19204 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19205 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19207 2010-05-20 Andreas Schwab <schwab@redhat.com>
19209 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19211 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19213 POWER7 optimizations.
19214 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19215 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19217 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19219 * version.h: Update for 2.13 development version.
19221 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19223 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19224 exceptions. Return 0.
19226 2010-05-07 Roland McGrath <roland@redhat.com>
19228 * elf/ldconfig.c (main): Add a const.
19230 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19232 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19233 (args_options): Add no-idn option.
19234 (ahosts_keys_int): Add idn_flags to ai_flags.
19235 (parse_option): Handle 'i' option to clear idn_flags.
19237 * malloc/malloc.c (_int_free): Possible race in the most recently
19238 added check. Only act on the data if no current modification
19241 See ChangeLog.17 for earlier changes.