1 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3 * io/ftwtest-sh: Add copyright header.
4 * posix/globtest.sh: Likewise.
5 * posix/tst-getconf.sh: Likewise.
6 * posix/wordexp-tst.sh: Likewise.
7 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12 * Makeconfig (+link): Defined as $(+link-static) if
13 $(build-shared) isn't yes.
14 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
21 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22 new chunk size with MALLOC_ALIGN_MASK.
24 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29 (__printf_fphex): Determine rounding using get_rounding_mode and
31 * stdio-common/tst-printf-round.c (struct hex_test): New
33 (hex_tests): New variable.
34 (test_hex_in_one_mode): New function.
35 (do_test): Also run tests for hex float output.
37 2012-09-21 Joseph Myers <joseph@codesourcery.com>
39 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
48 2012-09-20 Joseph Myers <joseph@codesourcery.com>
50 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
51 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
52 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
53 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
55 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
58 * elf/rtld.c (dl_main): Limit the check for self loading to normal
60 * elf/tst-rtld-load-self.sh: New test.
61 * elf/Makefile: Run it.
63 2012-09-18 Joseph Myers <joseph@codesourcery.com>
65 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
66 (tst-writev-ENV): Remove.
67 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
69 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
71 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
73 2012-09-17 Joseph Myers <joseph@codesourcery.com>
75 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
77 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
79 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
80 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
81 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
84 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
87 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
88 * config.make.in (have-cpp-asm-debuginfo): Removed.
89 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
90 * configure: Regenerated.
92 2012-09-14 Joseph Myers <joseph@codesourcery.com>
95 * stdio-common/printf_fp.c: Include <stdbool.h> and
97 (___printf_fp): Determine rounding using get_rounding_mode and
99 * stdio-common/tst-printf-round.c: New file.
100 * stdio-common/Makefile (tests): Add tst-printf-round.
101 (link-libm): New variable.
102 ($(objpfx)tst-printf-round): Depend in $(link-libm).
104 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
107 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
108 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
110 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
113 2012-09-13 Joseph Myers <joseph@codesourcery.com>
115 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
116 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
117 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
118 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
120 2012-09-12 Joseph Myers <joseph@codesourcery.com>
123 * include/rounding-mode.h: New file.
124 * sysdeps/generic/get-rounding-mode.h: Likewise.
125 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
126 * stdlib/strtod_l.c: Include <rounding-mode.h>.
127 (MAX_VALUE): New macro.
128 (MIN_VALUE): Likewise.
129 (overflow_value): New function.
130 (underflow_value): Likewise.
131 (round_and_return): Use overflow_value and underflow_value to
132 determine return values in overflow and underflow cases. Use
133 round_away to determine rounding depending on rounding mode.
134 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
135 determine return values in overflow and underflow cases.
136 * stdlib/tst-strtod-round.c: Include <fenv.h>.
137 (struct test_results): New structure.
138 (struct test): Use struct test_results to store expected results
139 for all rounding modes.
140 (TEST): Include expected results for all rounding modes.
141 (test_in_one_mode): New function.
142 (do_test): Use test_in_one_mode to compute and check results.
143 Check results for all rounding modes.
144 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
147 2012-12-09 Allan McRae <allan@archlinux.org>
149 * sysdeps/i386/fpu/libm-test-ulps: Update
151 2012-09-11 Joseph Myers <joseph@codesourcery.com>
153 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
154 (_G_int32_t): Likewise.
155 (_G_uint16_t): Likewise.
156 (_G_uint32_t): Likewise.
157 (_G_HAVE_BOOL): Likewise.
158 (_G_HAVE_ATEXIT): Likewise.
159 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
160 (_G_HAVE_IO_FILE_OPEN): Likewise.
161 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
162 (_G_int32_t): Likewise.
163 (_G_uint16_t): Likewise.
164 (_G_uint32_t): Likewise.
165 (_G_HAVE_BOOL): Likewise.
166 (_G_HAVE_ATEXIT): Likewise.
167 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
168 (_G_HAVE_IO_FILE_OPEN): Likewise.
169 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
170 (_G_int32_t): Likewise.
171 (_G_uint16_t): Likewise.
172 (_G_uint32_t): Likewise.
173 (_G_HAVE_BOOL): Likewise.
174 (_G_HAVE_ATEXIT): Likewise.
175 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
176 (_G_HAVE_IO_FILE_OPEN): Likewise.
178 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
180 * csu/libc-tls.c: Update copyright years.
182 2012-09-10 Joseph Myers <joseph@codesourcery.com>
184 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
185 [!_G_USING_THUNKS]: Remove conditional code.
186 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
187 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
189 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
190 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
191 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
192 (_G_VTABLE_LABEL_PREFIX): Likewise.
193 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
194 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
195 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
196 (_G_VTABLE_LABEL_PREFIX): Likewise.
197 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
198 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
199 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
200 (_G_VTABLE_LABEL_PREFIX): Likewise.
201 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
203 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
205 * libio/Makefile: Include ../Makeconfig before tests.
206 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
207 only if $(build-shared) is yes.
209 * iconv/gconv_db.c: Update copyright years.
211 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
213 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
214 unwind info if defined PIC. Fix special cases description.
215 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
217 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
219 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
221 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
223 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
225 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
228 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
229 (LDLIBS-tst-chk4): This.
230 (LDFLAGS-tst-chk5): Renamed to ...
231 (LDLIBS-tst-chk5): This.
232 (LDFLAGS-tst-chk6): Renamed to ...
233 (LDLIBS-tst-chk6): This.
234 (LDFLAGS-tst-lfschk4): Renamed to ...
235 (LDLIBS-tst-lfschk4): This.
236 (LDFLAGS-tst-lfschk5): Renamed to ...
237 (LDLIBS-tst-lfschk5): This.
238 (LDFLAGS-tst-lfschk6): Renamed to ...
239 (LDLIBS-tst-lfschk6): This.
241 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
242 on $(common-objpfx)soversions.mk.
244 2012-09-07 Joseph Myers <joseph@codesourcery.com>
247 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
250 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
252 * malloc/arena.c (arena_get_retry): New function that gets
253 another arena for the caller to try its request on.
254 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
255 current arena cannot fulfill the request.
256 (__libc_memalign): Likewise.
257 (__libc_memalign): Likewise.
258 (__libc_pvalloc): Likewise.
259 (__libc_calloc): Likewise.
261 2012-09-05 John Tobey <john.tobey@gmail.com>
264 * manual/arith.texi (Operations on Complex): Fix description
267 2012-09-06 Joseph Myers <joseph@codesourcery.com>
270 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
274 * manual/memory.texi (Memory): Make order of menu items match
277 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
279 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
280 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
281 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
283 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
285 * csu/libc-tls.c (static_dtv): Renamed to ...
286 (_dl_static_dtv): This. Make it global.
287 (_dl_initial_dtv): Removed.
288 (__libc_setup_tls): Updated.
289 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
290 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
293 2012-09-06 Petr Machata <pmachata@redhat.com>
295 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
296 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
297 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
298 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
300 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
303 * csu/libc-tls.c (_dl_initial_dtv): New variable.
304 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
307 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
310 * Makeconfig (link-static-before-libc): Replace $(+prector)
312 (link-static-after-libc): Replace $(+postctor) with
314 (link-bounded): Replace $(+prector)/$(+postctor) with
315 $(+prectorT)/$(+postctorT).
316 (+prectorT): New macro.
317 (+postctorT): Likewise.
319 2012-09-06 Joseph Myers <joseph@codesourcery.com>
321 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
322 (round_str): Handle values above the maximum for IBM long double
324 * stdlib/tst-strtod-round.c (tests): Regenerated.
326 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
328 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
330 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
331 zarch_nohighgprs around the zarch optimized routines.
332 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
333 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
334 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
337 2012-09-05 David S. Miller <davem@davemloft.net>
339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
341 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
342 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
343 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
344 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
347 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
349 * malloc/arena.c: Fold copyright years.
350 * malloc/mcheck.c, malloc/memusage.c: Likewise.
352 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
354 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
356 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
358 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
360 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
362 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
363 change internal state upon failure.
365 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
367 * malloc/mcheck.c (mcheck_check_all): Fix typo.
368 * malloc/memusage.c (mmap): Likewise.
369 (mmap64, mremap): Likewise. Adjust name in comment.
371 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
373 * libio/fileops.c: Fix typos in comments.
374 * libio/oldfileops.c: Likewise.
375 * libio/wfileops.c: Likewise.
377 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
380 * malloc/Makefile (tests): Add tst-malloc-usable test case.
381 (tst-malloc-usable-ENV): Set environment for test case.
382 * malloc/hooks.c (malloc_check_get_size): New function to get
384 * malloc/malloc.c (musable): Use malloc_check_get_size.
385 * malloc/tst-malloc-usable.c: New test case.
387 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
389 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
391 2012-09-05 Allan McRae <allan@archlinux.org>
394 * configure.in (CXX_SYSINCLUDES): Use compiler output to
395 determine header location.
396 * configure: Regenerated.
398 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
400 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
402 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
403 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
407 2012-09-04 David S. Miller <davem@davemloft.net>
409 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
410 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
411 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
413 2012-09-04 Florian Weimer <fweimer@redhat.com>
415 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
418 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
420 2012-09-04 Joseph Myers <joseph@codesourcery.com>
423 * libio/iogetdelim.c: Include <limits.h>.
424 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
425 + len + 1 would overflow.
427 2012-09-03 Andreas Jaeger <aj@suse.de>
429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
430 * sysdeps/i386/fpu/libm-test-ulps: Update.
432 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
434 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
435 Add s_sinf-sse2, s_conf-sse2.
437 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
438 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
439 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
440 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
442 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
443 for using routine as __sinf_ia32.
444 Use macro for function declaration and weak_alias.
445 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
446 for using routine as __cosf_ia32.
447 Use macro for function declaration and weak_alias.
449 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
450 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
452 * sysdeps/x86_64/fpu/s_sinf.S: New file.
453 * sysdeps/x86_64/fpu/s_cosf.S: New file.
454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
456 * math/libm-test.inc (cos_test): Add more test cases.
457 (sin_test): Likewise.
458 (sincos_test): Likewise.
460 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
462 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
463 (IFUNC_RESOLVE): Make pointers to the specialized implementations
465 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
467 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
470 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
471 first element of the GOT.
472 (elf_machine_load_address): Return the difference between
473 the runtime address of _DYNAMIC and elf_machine_dynamic ().
475 2012-09-01 Allan McRae <allan@archlinux.org>
478 * configure.in (AWK): Require gawk version 3.0 or later.
479 * configure: Regenerated.
481 2012-09-01 Joseph Myers <joseph@codesourcery.com>
483 * sysdeps/unix/sysv/linux/kernel-features.h
484 (__ASSUME_POSIX_CPU_TIMERS): Remove.
485 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
486 [__NR_clock_getres]: Make code unconditional.
487 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
488 (clock_getcpuclockid): Remove code left unreachable by removal of
490 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
492 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
493 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
494 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
495 Make code unconditional.
496 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
497 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
498 * sysdeps/unix/sysv/linux/clock_settime.c
499 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
501 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
502 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
504 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
507 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
508 scripts/test-installation.pl.
510 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
511 and $ld_so_version if it is set.
513 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
516 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
517 failure if reading from procfs failed.
518 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
520 2012-08-27 Joseph Myers <joseph@codesourcery.com>
522 * sysdeps/unix/sysv/linux/kernel-features.h
523 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
524 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
525 Remove conditional code.
526 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
527 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
528 Remove conditional code.
529 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
530 * sysdeps/unix/sysv/linux/i386/fxstat.c
531 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
532 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
533 * sysdeps/unix/sysv/linux/i386/fxstatat.c
534 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
535 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
536 * sysdeps/unix/sysv/linux/i386/lxstat.c
537 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
538 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
539 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
540 Remove conditional code.
541 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
542 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
543 Remove conditional code.
544 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
545 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
547 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
549 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
550 Remove conditional code.
551 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
552 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
555 2012-08-27 Mike Frysinger <vapier@gentoo.org>
558 * NEWS: Add fixed bug number.
560 2012-08-27 Joseph Myers <joseph@codesourcery.com>
563 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
564 underflowing exponent in case of negative sign.
565 * stdlib/tst-strtod-round-data: Add more tests.
566 * stdlib/tst-strtod-round.c (tests): Regenerated.
569 * stdlib/strtod_l.c (NDIG): Remove.
571 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
572 smallest representable value.
573 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
574 lie within an exact representation of 1/2 ulp of the result.
575 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
577 (TENS_P9_IDX): Define unconditionally.
578 (TENS_P9_SIZE): Likewise.
579 (TENS_P10_IDX): Likewise.
580 (TENS_P10_SIZE): Likewise.
581 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
582 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
583 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
584 entries for 10^2^13 and 10^2^14.
585 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
586 (TENS_P13_IDX): Define.
587 (TENS_P13_SIZE): Likewise.
588 (TENS_P14_IDX): Likewise.
589 (TENS_P14_SIZE): Likewise.
590 (_fpioconst_pow10): Change array size to
591 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
593 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
594 1024]: Add entries for 10^2^13 and 10^2^14.
595 [LAST_POW10 > _LAST_POW10]: Remove #error.
596 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
597 (_fpioconst_pow10): Change array size to
598 FPIOCONST_POW10_ARRAY_SIZE.
599 * stdlib/gen-fpioconst.c: New file.
600 * stdlib/gen-tst-strtod-round.c: Likewise.
601 * stdlib/tst-strtod-round-data: Likewise.
602 * stdlib/tst-strtod-round.c: Likewise.
603 * stdlib/Makefile (tests): Add tst-strtod-round.
606 * stdlib/strtod_l.c: Include <stdint.h>.
607 (NDEBUG): Do not define.
608 (round_and_return): Change EXPONENT parameter to type intmax_t.
609 Rearrange calculations to avoid internal overflow possibilities.
610 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
611 Rearrange calculations to avoid internal overflow possibilities.
612 Assert that number fits inside MPNSIZE limbs.
613 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
614 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
615 calculations and add assertions to avoid internal overflow
616 possibilities. Add casts to avoid signed/unsigned operations.
617 * stdlib/tst-strtod-overflow.c: New file.
618 * stdlib/Makefile (tests): Add tst-strtod-overflow.
620 2012-08-25 Marek Polacek <polacek@redhat.com>
622 * time/time.h: Fix some typos in comments.
624 2012-08-23 Roland McGrath <roland@hack.frob.com>
626 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
627 * posix/tst-rfc3484-2.c: Likewise.
628 * posix/tst-rfc3484-3.c: Likewise.
630 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
632 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
633 (EF_ARM_ABI_FLOAT_HARD): Likewise.
635 2012-08-23 Joseph Myers <joseph@codesourcery.com>
637 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
638 #include of fxstatat64.c.
640 2012-08-22 Roland McGrath <roland@hack.frob.com>
642 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
643 * shadow/getspent_r.c: Likewise.
644 * shadow/getspnam.c: Likewise.
645 * shadow/getspnam_r.c: Likewise.
646 * gshadow/getsgent.c: Likewise.
647 * gshadow/getsgent_r.c: Likewise.
648 * gshadow/getsgnam.c: Likewise.
649 * gshadow/getsgnam_r.c: Likewise.
650 * inet/getnetbyad.c: Likewise.
651 * inet/getnetbyad_r.c: Likewise.
652 * inet/getnetbynm.c: Likewise.
653 * inet/getnetbynm_r.c: Likewise.
654 * inet/getnetent.c: Likewise.
655 * inet/getnetent_r.c: Likewise.
656 * inet/getproto.c: Likewise.
657 * inet/getproto_r.c: Likewise.
658 * inet/getprtent.c: Likewise.
659 * inet/getprtent_r.c: Likewise.
660 * inet/getprtname.c: Likewise.
661 * inet/getprtname_r.c: Likewise.
662 * inet/getrpcbyname.c: Likewise.
663 * inet/getrpcbyname_r.c: Likewise.
664 * inet/getrpcbynumber.c: Likewise.
665 * inet/getrpcbynumber_r.c: Likewise.
666 * inet/getrpcent.c: Likewise.
667 * inet/getrpcent_r.c: Likewise.
668 * inet/getaliasent.c: Likewise.
669 * inet/getaliasent_r.c: Likewise.
670 * inet/getaliasname.c: Likewise.
671 * inet/getaliasname_r.c: Likewise.
672 * nscd/getgrgid_r.c: Likewise.
673 * nscd/getgrnam_r.c: Likewise.
674 * nscd/gethstbyad_r.c: Likewise.
675 * nscd/gethstbynm3_r.c: Likewise.
676 * nscd/getpwnam_r.c: Likewise.
677 * nscd/getpwuid_r.c: Likewise.
678 * nscd/getsrvbynm_r.c: Likewise.
679 * nscd/getsrvbypt_r.c: Likewise.
680 * nscd/gai.c: Likewise.
682 * configure.in (build_nscd): New substituted variable, set
683 by --disable-build-nscd and defaults to $use_nscd.
684 * configure: Regenerated.
685 * config.make.in (build-nscd): New substituted variable.
686 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
687 Change conditional to require [$(build-nscd) = yes] as well.
688 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
691 * configure.in (use_nscd): New substituted variable, set by
692 --disable-nscd. If enabled, define USE_NSCD.
693 * configure: Regenerated.
694 * config.h.in: Add USE_NSCD.
695 * config.make.in (use-nscd): New substituted variable.
696 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
697 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
698 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
699 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
700 (CFLAGS-getgrnam_r.c): Likewise.
701 (CFLAGS-initgroups.c): Likewise.
702 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
703 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
705 * inet/getnetgrent_r.c
706 (nscd_setnetgrent): New function, broken out of ...
707 (setnetgrent): ... here. Call it.
708 (innetgr): Conditionalize nscd bits on [USE_NSCD].
709 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
710 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
711 * nscd/Makefile (routines, aux): Move definitions after include of
712 Makeconfig. Conditionalize on [$(use-nscd) != no].
713 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
714 Conditionalize on [USE_NSCD].
715 (is_nscd, nscd_init_cb): Likewise.
716 (nss_load_library): Conditionalize init callback on [USE_NSCD].
717 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
718 * nss/nss_db/db-init.c: Likewise.
719 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
721 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
722 (make_request): Use it.
723 (cache_valid_p): New function.
724 (__check_pf): Use it.
725 * NEWS: Add item for --disable-nscd.
727 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
729 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
730 to support sed >= 4.2.1-20-ga9bf076.
731 * configure: Regenerated.
733 2012-08-22 Roland McGrath <roland@hack.frob.com>
735 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
736 Conditionalize whole body on [IREL].
738 2012-08-22 Jeff Law <law@redhat.com>
741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
742 if the family is PF_UNSPEC.
744 2012-08-22 Mike Frysinger <vapier@gentoo.org>
746 * Makerules (lib-version): Rename from V.
747 (install-lib-nosubdir): Change V to lib-version.
749 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
752 * powerpc32/power6/wcschr.c: New file.
753 * powerpc32/power6/wcscpy.c: New file.
754 * powerpc32/power6/wcsrchr.c: New file.
755 * powerpc64/power6/wcschr.c: New file.
756 * powerpc64/power6/wcscpy.c: New file.
757 * powerpc64/power6/wcsrchr.c: New file.
759 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
761 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
762 (two_way_short_needle): Use it.
763 * string/strstr.c (AVAILABLE1_USES_J): Define.
764 * string/strcasestr.c: Likewise.
766 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
768 * string/strcasestr.c (TOLOWER): Make side-effect safe.
771 * NEWS: Add an entry.
772 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
773 define their defaults.
774 (two_way_short_needle): Detect end-of-string on-the-fly.
775 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
776 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
777 * string/bug-strcasestr1.c: New test.
778 * string/Makefile: Run it.
780 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
783 * string/str-two-way.h (two_way_short_needle): Optimize matching of
786 2012-08-21 Roland McGrath <roland@hack.frob.com>
788 * csu/elf-init.c (__libc_csu_irel): Function removed.
789 * csu/libc-start.c (apply_irel): New function.
790 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
792 2012-08-21 Joseph Myers <joseph@codesourcery.com>
794 * sysdeps/unix/sysv/linux/kernel-features.h
795 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
796 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
798 [__NR_fadvise64_64]: Make code unconditional.
799 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
800 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
801 !__NR_fadvise64_64)]: Likewise.
802 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
803 !__NR_fadvise64_64))]: Likewise.
804 [__NR_fadvise64]: Make code unconditional.
805 [!__NR_fadvise64]: Remove conditional code.
806 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
808 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
810 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
813 not include <kernel-features.h>.
814 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
816 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
818 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
819 include <kernel-features.h>.
820 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
822 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
825 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
827 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
828 slight instruction rearrangements per scrollpipe analysis.
829 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
831 2012-08-20 Roland McGrath <roland@hack.frob.com>
833 * manual/syslog.texi (syslog; vsyslog, closelog):
834 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
835 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
837 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
838 DSOCAPS to match condition on defining it.
840 2012-08-20 Joseph Myers <joseph@codesourcery.com>
842 * sysdeps/unix/sysv/linux/kernel-features.h
843 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
845 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
846 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
848 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
849 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
851 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
852 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
854 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
855 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
857 * sysdeps/unix/sysv/linux/kernel-features.h
858 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
859 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
861 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
862 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
863 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
864 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
865 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
866 Make code unconditional.
867 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
868 (__mmap64) [!__NR_mmap2]: Likewise.
869 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
870 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
871 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
872 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
873 [__NR_mmap2]: Make code unconditional.
874 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
875 (__mmap64) [!__NR_mmap2]: Likewise.
877 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
879 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
881 2012-08-18 Andreas Jaeger <aj@suse.de>
883 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
885 2012-08-18 Mike Frysinger <vapier@gentoo.org>
887 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
888 * include/unistd.h (__have_sock_cloexec): Likewise.
889 (__have_pipe2): Likewise.
890 (__have_dup3): Likewise.
892 2012-08-18 Mike Frysinger <vapier@gentoo.org>
895 * include/unistd.h (__have_pipe2): Change define into an extern int.
896 (__have_dup3): Likewise.
897 * socket/have_sock_cloexec.c: Include fcntl.h.
898 (__have_pipe2): New variable.
899 (__have_dup3): Likewise.
901 2012-08-17 Mike Frysinger <vapier@gentoo.org>
903 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
905 2012-08-17 Marek Polacek <polacek@redhat.com>
907 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
908 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
910 2012-08-17 Roland McGrath <roland@hack.frob.com>
912 * configure.in: Add AC_SUBST for sysheaders.
913 * configure: Regenerated.
914 * config.make.in (sysheaders): New substituted variable.
916 * sysdeps/unix/mkfifo.c: Moved ...
917 * sysdeps/posix/mkfifo.c: ... here.
918 * sysdeps/unix/mkfifoat.c: Moved ...
919 * sysdeps/posix/mkfifoat.c: ... here.
921 * sysdeps/unix/utime.c: Moved ...
922 * sysdeps/posix/utime.c: ... here.
924 * sysdeps/unix/time.c: Moved ...
925 * sysdeps/posix/time.c: ... here.
926 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
927 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
929 * sysdeps/unix/nice.c: Moved ...
930 * sysdeps/posix/nice.c: ... here.
932 * sysdeps/unix/alarm.c: Moved ...
933 * sysdeps/posix/alarm.c: ... here.
935 * intl/Makefile ($(codeset_mo)): Depend on the input file.
937 2012-08-17 Jeff Law <law@redhat.com>
939 * intl/Makefile (codeset_mo): New variable.
940 ($(codeset_mo)): New target.
941 (tst-codeset.out): Depend on that. Remove explicit rule.
942 (tst-gettext3.out, tst-gettext5.out): Likewise.
943 (LOCPATH-ENV, tst-codeset-ENV): New variables.
944 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
945 * intl/tst-codeset.sh: Remove.
946 * intl/tst-gettext3.sh: Likewise.
947 * intl/tst-gettext5.sh: Likewise.
949 2012-08-17 Roland McGrath <roland@hack.frob.com>
951 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
952 * sysdeps/unix/syscalls.list: ... here.
954 * sysdeps/posix/getaddrinfo.c
955 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
956 (gaiconf_init, gaiconf_reload): Use them.
958 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
959 Define using time_t rather than struct timespec.
961 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
962 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
964 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
966 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
967 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
970 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
971 __libc_cleanup_push argument.
973 * bits/param.h: New file.
974 * misc/sys/param.h: New file.
975 * include/sys/param.h: New file.
976 * misc/Makefile (headers): Add bits/param.h.
977 * sysdeps/generic/sys/param.h: File removed.
978 * sysdeps/unix/sysv/linux/bits/param.h: New file.
979 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
980 * sysdeps/mach/hurd/bits/param.h: New file.
981 * sysdeps/mach/hurd/sys/param.h: New file.
983 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
986 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
988 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
989 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
992 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
993 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
994 rather than -D_IO_MTSAFE_IO conditionally.
995 * stdio-common/Makefile (CPPFLAGS): Likewise.
996 * wcsmbs/Makefile (CPPFLAGS): Likewise.
997 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
999 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1001 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1002 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1003 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1004 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1005 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1006 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1007 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1008 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1009 (CFLAGS-fread_u_chk.c): Likewise.
1010 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1011 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1012 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1013 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1014 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1015 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1016 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1017 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1018 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1020 * libio/Makefile: Test [$(libc-reentrant) = yes]
1021 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1024 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1025 * sysdeps/pthread/configure: File removed.
1026 * sysdeps/pthread/Makeconfig: New file.
1027 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1028 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1030 2012-08-16 Gary Benson <gbenson@redhat.com>
1032 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1033 unmapping the first object in a namespace.
1035 2012-08-16 Roland McGrath <roland@hack.frob.com>
1037 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1038 (__internal_setnetgrent): ... this. Add internal_function to
1039 definition. Add libc_hidden_def.
1040 (setnetgrent): Update caller.
1041 (internal_endnetgrent): Renamed to ...
1042 (__internal_endnetgrent): ... this. Add internal_function to
1043 definition. Add libc_hidden_def.
1044 (endnetgrent): Update caller.
1045 (internal_getnetgrent_r): Renamed to ...
1046 (__internal_getnetgrent_r): ... this. Add internal_function to
1047 definition. Add libc_hidden_def.
1048 (__getnetgrent_r): Update caller.
1049 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1051 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1053 * stdlib/longlong.h: Update from GCC.
1055 2012-08-16 Roland McGrath <roland@hack.frob.com>
1057 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1058 on _QL, which is set by umul_ppmm but never used.
1059 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1060 variables, which are set by GMP macros but never used.
1061 * stdio-common/_itowa.c (_itowa): Likewise.
1062 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1063 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1065 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1067 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1068 struct La_sh_regs is not constant.
1069 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1070 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1071 and struct La_sparc64_regs are not constant.
1073 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1075 * sysdeps/unix/sysv/linux/kernel-features.h
1076 (__ASSUME_POSIX_TIMERS): Remove.
1077 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1078 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1079 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1080 Make code unconditional.
1081 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1082 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1083 Make code unconditional.
1084 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1085 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1086 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1087 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1088 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1089 Make code unconditional.
1090 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1091 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1092 (__libc_missing_posix_timers): Remove.
1094 2012-08-15 Roland McGrath <roland@hack.frob.com>
1096 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1097 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1099 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1101 * elf/dl-sym.c: Include <stdlib.h>.
1103 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1104 constants, which avoids warnings in 32-bit builds.
1106 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1107 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1109 * misc/lseek.c: File moved to ...
1110 * io/lseek.c: ... here.
1112 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1114 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1115 shifting LEN more than 31 bits at once.
1117 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1120 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1121 segmentation fault for a case of two empty input strings.
1122 * string/test-strncasecmp.c (check1): Renamed to...
1124 (bz14195): Add new testcase for two empty input strings and N > 0.
1125 (test_main): Call new testcase, adapt for renamed function.
1127 2012-08-15 Andreas Jaeger <aj@suse.de>
1130 * crypt/md5test2.c: New test, based on test supplied by Serge
1131 Belyshev <belyshev@depni.sinp.msu.ru>.
1132 * crypt/Makefile (xtests): Add md5test-giant..
1133 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1135 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1138 * crypt/md5.c (md5_process_block): Don't assume the buffer
1139 length is less than 2**32.
1140 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1141 length is less than 2**64.
1143 2012-08-15 Roland McGrath <roland@hack.frob.com>
1145 * string/str-two-way.h: Include <sys/param.h>.
1146 (MAX): Macro removed.
1148 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1149 Move #define and #undef of memmove to just before and after
1150 including <string.h>.
1152 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1153 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1154 and after including <string.h>. Move declarations of
1155 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1156 to before #include "string/memmove.c".
1158 * include/dirent.h: Declare __getdirentries.
1160 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1161 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1163 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1165 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1166 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1167 * sysdeps/i386/configure: Regenerated.
1168 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1169 STABS_CURRENT_FILE, and STABS_FUN.
1170 (END): Remove call to STABS_FUN_END.
1171 (STABS_CURRENT_FILE1): Delete.
1172 (STABS_CURRENT_FILE): Likewise.
1173 (STABS_FUN): Likewise.
1174 (STABS_FUN_END): Likewise.
1175 (STABS_FUN2): Likewise.
1176 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1177 * sysdeps/x86_64/configure: Regenerated.
1179 2012-08-14 Roland McGrath <roland@hack.frob.com>
1181 * elf/dl-open.c: Include <atomic.h>.
1182 * elf/dl-lookup.c: Likewise.
1184 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1186 * sysdeps/unix/sysv/linux/kernel-features.h
1187 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1188 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1190 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1192 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1193 condition on __ASSUME_CLONE_THREAD_FLAGS.
1195 2012-08-14 Andreas Jaeger <aj@suse.de>
1197 * sysdeps/i386/fpu/libm-test-ulps: Update.
1199 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1201 * include/atomic.h (atomic_exchange_and_add): Split into ...
1202 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1205 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1209 2012-08-13 Jeff Law <law@redhat.com>
1211 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1212 null byte in the output string.
1214 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1216 * sysdeps/unix/sysv/linux/kernel-features.h
1217 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1218 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1219 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1220 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1221 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1222 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1223 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1225 2012-08-09 Jeff Law <law@redhat.com>
1228 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1229 When avoid_arena is set, don't retry in the that arena. Pick the
1230 next one, whatever it might be.
1231 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1232 (arena_lock): Pass in new parameter to arena_get2.
1233 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1235 (__libc_malloc): Unify retrying after main arena failure with
1236 __libc_memalign version.
1237 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1239 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1242 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1243 to __redirect_strstr.
1244 (__strstr_sse42): Use typeof __redirect_strstr.
1245 (__strstr_ia32): Likewise.
1246 (__libc_strstr): New prototype.
1247 (strstr): Renamed to ...
1248 (__libc_strstr): This.
1249 (strstr): New strong alias of __libc_strstr.
1250 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1251 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1254 (__libc_time): New prototype.
1255 (time_ifunc): Replace time with __libc_time.
1256 (time): New strong alias and hidden definition of __libc_time.
1257 (__GI_time): Remove strong alias.
1258 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1260 (memmove): Redefined to __redirect_memmove.
1261 (__memmove_sse2): Use typeof __redirect_memmove.
1262 (__memmove_ssse3): Likewise.
1263 (__memmove_ssse3_back): Likewise.
1264 (__libc_memmove): New prototype.
1265 (memmove): Renamed to ...
1266 (__libc_memmove): This.
1267 (memmove): New strong alias of __libc_memmove.
1269 2012-08-08 Mark Salter <msalter@redhat.com>
1272 (R_MN10300_TLS_GD): Define.
1273 (R_MN10300_TLS_LD): Likewise.
1274 (R_MN10300_TLS_LDO): Likewise.
1275 (R_MN10300_TLS_GOTIE): Likewise.
1276 (R_MN10300_TLS_IE): Likewise.
1277 (R_MN10300_TLS_LE): Likewise.
1278 (R_MN10300_TLS_DTPMOD): Likewise.
1279 (R_MN10300_TLS_DTPOFF): Likewise.
1280 (R_MN10300_TLS_TPOFF): Likewise.
1281 (R_MN10300_SYM_DIFF): Likewise.
1282 (R_MN10300_ALIGN): Likewise.
1283 (R_MN10300_NUM): Update.
1285 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1287 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1290 2012-08-08 Roland McGrath <roland@hack.frob.com>
1292 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1294 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1295 sysdeps/unix -> sysdeps/posix move.
1296 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1298 2012-08-07 Allan McRae <allan@archlinux.org>
1301 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1302 (SUNOS_CPP): Likewise.
1303 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1305 (open_input): Call CPP using execvp.
1307 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1309 * sysdeps/unix/sysv/linux/kernel-features.h
1310 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1311 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1312 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1313 (__ASSUME_WAITID_SYSCALL): Likewise.
1314 * sysdeps/unix/sysv/linux/dl-execstack.c
1315 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1317 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1319 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1320 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1321 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1323 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1325 [__ASSUME_WAITID_SYSCALL]: Likewise.
1326 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1328 2012-08-07 Roland McGrath <roland@hack.frob.com>
1330 * sysdeps/unix/closedir.c: Renamed to ...
1331 * sysdeps/posix/closedir.c: ... here.
1332 * sysdeps/unix/dirfd.c: Renamed to ...
1333 * sysdeps/posix/dirfd.c: ... here.
1334 * sysdeps/unix/dirstream.h: Renamed to ...
1335 * sysdeps/posix/dirstream.h: ... here.
1336 * sysdeps/unix/fdopendir.c: Renamed to ...
1337 * sysdeps/posix/fdopendir.c: ... here.
1338 * sysdeps/unix/opendir.c: Renamed to ...
1339 * sysdeps/posix/opendir.c: ... here.
1340 * sysdeps/unix/readdir.c: Renamed to ...
1341 * sysdeps/posix/readdir.c: ... here.
1342 * sysdeps/unix/readdir_r.c: Renamed to ...
1343 * sysdeps/posix/readdir_r.c: ... here.
1344 * sysdeps/unix/rewinddir.c: Renamed to ...
1345 * sysdeps/posix/rewinddir.c: ... here.
1346 * sysdeps/unix/seekdir.c: Renamed to ...
1347 * sysdeps/posix/seekdir.c: ... here.
1348 * sysdeps/unix/telldir.c: Renamed to ...
1349 * sysdeps/posix/telldir.c: ... here.
1350 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1351 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1352 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1353 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1355 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1356 * bits/fcntl.h: ... here.
1358 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1360 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1361 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1362 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1363 (struct flock): Move l_start, l_len to the beginning.
1364 Use __pid_t for l_pid.
1365 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1366 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1367 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1368 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1369 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1370 [__USE_LARGEFILE64] (struct flock64): New type.
1371 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1373 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1374 * bits/dirent.h: ... here.
1376 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1377 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1379 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1381 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1382 Change from 2.6.0 to 2.6.16.
1383 * sysdeps/unix/sysv/linux/configure: Regenerated.
1384 * sysdeps/unix/sysv/linux/kernel-features.h
1385 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1386 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1388 (__ASSUME_UTIMES): Likewise.
1389 (__ASSUME_CLONE_STOPPED): Remove.
1390 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1391 architectures, not kernel version.
1392 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1393 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1394 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1395 (__ASSUME_WAITID_SYSCALL): Likewise.
1396 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1397 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1398 * README: State 2.6.16 as minimum Linux kernel version. Do not
1399 refer to older versions.
1401 2012-08-06 Roland McGrath <roland@hack.frob.com>
1403 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1404 Define alphasort64 as an alias.
1405 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1406 Define versionsort64 as an alias.
1407 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1408 Define scandir64 as an alias.
1409 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1410 Define scandirat64 as an alias.
1411 * dirent/alphasort64.c (alphasort64):
1412 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1413 * dirent/versionsort64.c: Likewise.
1414 * dirent/scandir64.c: Likewise.
1415 * dirent/scandirat64.c: Likewise.
1416 * sysdeps/wordsize-64/alphasort.c: File removed.
1417 * sysdeps/wordsize-64/alphasort64.c: File removed.
1418 * sysdeps/wordsize-64/scandir.c: File removed.
1419 * sysdeps/wordsize-64/scandir64.c: File removed.
1420 * sysdeps/wordsize-64/scandirat.c: File removed.
1421 * sysdeps/wordsize-64/scandirat64.c: File removed.
1422 * sysdeps/wordsize-64/versionsort.c: File removed.
1423 * sysdeps/wordsize-64/versionsort64.c: File removed.
1424 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1425 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1426 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1427 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1428 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1429 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1430 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1431 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1433 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1435 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1436 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1437 [defined __arch64__ || defined __sparcv9]
1438 (__INO_T_MATCHES_INO64_T): New macro.
1439 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1440 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1441 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1442 * sysdeps/unix/sysv/linux/bits/dirent.h
1443 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1444 (_DIRENT_MATCHES_DIRENT64): New macro.
1446 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1447 Define lockf64 as an alias.
1448 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1449 Define fseeko64 as an alias.
1450 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1451 Define ftello64 as an alias.
1452 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1453 Define _IO_fgetpos64 and fgetpos64 as aliases.
1454 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1455 Define _IO_fsetpos64 and fsetpos64 as aliases.
1456 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1457 Conditionalize body on this.
1458 * libio/fseeko64.c: Likewise.
1459 * libio/ftello64.c: Likewise.
1460 * libio/iofgetpos64.c: Likewise.
1461 * libio/iofsetpos64.c: Likewise.
1462 * sysdeps/wordsize-64/lockf.c: File removed.
1463 * sysdeps/wordsize-64/lockf64.c: File removed.
1464 * sysdeps/wordsize-64/fseeko.c: File removed.
1465 * sysdeps/wordsize-64/fseeko64.c: File removed.
1466 * sysdeps/wordsize-64/ftello.c: File removed.
1467 * sysdeps/wordsize-64/ftello64.c: File removed.
1468 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1469 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1470 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1471 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1472 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1473 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1474 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1475 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1476 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1477 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1478 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1479 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1480 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1481 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1483 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1484 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1485 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1486 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1487 [defined __arch64__ || defined __sparcv9]
1488 (__OFF_T_MATCHES_OFF64_T): New macro.
1489 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1490 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1491 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1492 (__OFF_T_MATCHES_OFF64_T): New macro.
1494 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1496 * stdlib/secure-getenv.c (__secure_getenv): Replace
1497 GLIBC_2_16 with GLIBC_2_17.
1499 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1501 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1502 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1504 2012-08-03 David S. Miller <davem@davemloft.net>
1506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1508 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1510 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1512 (__ASSUME_CORRECT_SI_PID): Likewise.
1513 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1514 (__ASSUME_TMPFS_NAME): Likewise.
1515 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1516 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1517 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1518 (HAVE_AUX_SECURE): Make definition unconditional.
1519 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1520 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1522 2012-08-03 Roland McGrath <roland@hack.frob.com>
1524 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1525 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1526 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1527 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1528 __eloop_threshold instead of SYMLOOP_MAX.
1530 * sysdeps/generic/eloop-threshold.h: New file.
1531 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1533 * elf/chroot_canon.c (chroot_canon): Likewise.
1535 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1538 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1539 Change to 2.6.0 everywhere.
1540 * sysdeps/unix/sysv/linux/configure: Regenerated.
1541 * sysdeps/unix/sysv/linux/kernel-features.h
1542 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1543 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1545 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1546 (__ASSUME_FUTEX_REQUEUE): Remove.
1547 (__ASSUME_STATFS64): Define unconditionally.
1548 (__ASSUME_AT_SECURE): Likewise.
1549 (__ASSUME_CORRECT_SI_PID): Likewise.
1550 (__ASSUME_TGKILL): Define without depending on kernel version for
1552 (__ASSUME_UTIMES): Likewise.
1553 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1555 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1556 (__ASSUME_TMPFS_NAME): Likewise.
1557 * README: Update reference to Linux kernel versions.
1559 2012-08-02 Marek Polacek <polacek@redhat.com>
1562 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1563 libc_cv_asm_type_prefix with %.
1564 * configure: Regenerated.
1565 * include/libc-symbols.h: Remove comment about
1566 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1567 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1568 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1569 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1570 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1571 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1572 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1573 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1574 * elf/tst-unique2mod1.c: Likewise.
1575 * elf/tst-unique1mod2.c: Likewise.
1576 * elf/tst-unique1mod1.c: Likewise.
1577 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1578 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1579 Replace ASM_TYPE_DIRECTIVE with .type.
1580 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1581 * sysdeps/i386/sysdep.h: Likewise.
1582 * sysdeps/x86_64/sysdep.h: Likewise.
1583 * sysdeps/sh/sysdep.h: Likewise.
1584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1585 Do not define ASM_TYPE_DIRECTIVE.
1586 * sysdeps/powerpc/sysdep.h: Likewise.
1587 * sysdeps/powerpc/powerpc32/sysdep.h:
1588 Replace ASM_TYPE_DIRECTIVE with .type.
1589 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1590 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1591 * sysdeps/i386/fpu/e_powf.S: Likewise.
1592 * sysdeps/i386/fpu/e_expl.S: Likewise.
1593 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1594 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1595 * sysdeps/i386/fpu/e_pow.S: Likewise.
1596 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1597 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1598 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1599 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1600 * sysdeps/i386/fpu/e_log2.S: Likewise.
1601 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1602 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1603 * sysdeps/i386/fpu/e_powl.S: Likewise.
1604 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1605 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1606 * sysdeps/i386/fpu/e_logl.S: Likewise.
1607 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1608 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1609 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1610 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1611 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1612 * sysdeps/i386/fpu/e_log.S: Likewise.
1613 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1614 * sysdeps/i386/fpu/e_logf.S: Likewise.
1615 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1616 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1617 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1618 * sysdeps/i386/fpu/e_log10.S: Likewise.
1619 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1620 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1621 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1622 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1623 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1624 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1625 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1626 * sysdeps/i386/i686/strtok.S: Likewise.
1627 * sysdeps/i386/i386-mcount.S: Likewise.
1628 * sysdeps/i386/strtok.S: Likewise.
1629 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1630 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1631 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1632 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1633 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1634 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1635 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1636 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1637 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1638 * sysdeps/x86_64/_mcount.S: Likewise.
1639 * sysdeps/x86_64/strtok.S: Likewise.
1640 * sysdeps/sh/_mcount.S: Likewise.
1642 2012-08-01 Roland McGrath <roland@hack.frob.com>
1644 * libio/iofopen.c: Include <fcntl.h>.
1645 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1646 (_IO_fopen64, fopen64): Define as aliases.
1647 * libio/iofopen64.c: Include <fcntl.h>.
1648 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1649 Conditionalize body on this.
1650 * sysdeps/wordsize-64/iofopen.c: File removed.
1651 * sysdeps/wordsize-64/iofopen64.c: File removed.
1653 2012-08-01 Marek Polacek <polacek@redhat.com>
1655 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1656 Use dlfcn directly instead of a variable.
1657 (binfmt-subdir): Do not define.
1660 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1662 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1663 Remove all definitions.
1664 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1665 <kernel-features.h>.
1666 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1667 (miss_F_GETOWN_EX): Remove all definitions.
1668 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1670 [!__ASSUME_FCNTL64]: Remove conditional code.
1671 [__ASSUME_FCNTL64]: Make code unconditional.
1672 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1673 <kernel-features.h>.
1674 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1675 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1676 (lockf64) [__NR_fcntl64]: Make code unconditional.
1677 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1679 * sysdeps/unix/sysv/linux/kernel-features.h
1680 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1681 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1682 Make code unconditional.
1683 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1684 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1686 [__NR_vfork]: Make code unconditional.
1687 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1688 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1690 [__NR_vfork]: Make code unconditional.
1691 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1692 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1694 2012-08-01 Roland McGrath <roland@hack.frob.com>
1696 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1697 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1699 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1700 Define mkstemp64 as an alias.
1701 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1702 Define mkstemps64 as an alias.
1703 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1704 Define mkostemp64 as an alias.
1705 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1706 Define mkostemps64 as an alias.
1707 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1708 Conditionalize body on this.
1709 * misc/mkostemp64.c: Likewise.
1710 * misc/mkostemps64.c: Likewise.
1711 * misc/mkstemps64.c: Likewise.
1712 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1713 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1714 * sysdeps/wordsize-64/mkostemp.c: File removed.
1715 * sysdeps/wordsize-64/mkstemp.c: File removed.
1716 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1717 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1718 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1719 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1722 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1723 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1724 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1725 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1727 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1728 compat_symbol macros from <shlib-compat.h> rather than the underlying
1729 default_symbol_version and symbol_version macros, so that DEFAULT
1730 lines in shlib-versions are respected.
1731 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1733 2012-08-01 Florian Weimer <fweimer@redhat.com>
1735 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1736 Declare with warn_unused_result.
1737 (setgid, setregid, setegid, setresgid): Likewise.
1738 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1740 * WUR-REPORT: Remove set*id functions.
1742 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1744 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1746 2012-07-31 Roland McGrath <roland@hack.frob.com>
1748 * include/sys/socket.h (__libc_accept, __libc_accept4):
1749 Add attribute_hidden.
1750 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1752 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1754 * inet/getnetgrent_r.c (setup): Likewise.
1756 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1758 2012-07-31 David S. Miller <davem@davemloft.net>
1760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1762 2012-07-31 Joseph Myers <joseph@codesourcery.com>
1765 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1766 value between 1.0 and 2.0 and smaller part has absolute value less
1768 * math/s_clog10.c (__clog10): Likewise.
1769 * math/s_clog10f.c (__clog10f): Likewise.
1770 * math/s_clog10l.c (__clog10l): Likewise.
1771 * math/s_clogf.c (__clogf): Likewise.
1772 * math/s_clogl.c (__clogl): Likewise.
1773 * math/libm-test.inc (clog_test): Add more tests.
1774 (clog10_test): Likewise.
1775 * sysdeps/i386/fpu/libm-test-ulps: Update.
1776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1778 2012-07-31 Florian Weimer <fweimer@redhat.com>
1780 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1781 Exit with zero in case no suitable GID is found, and write a
1782 message to standard error.
1784 2012-07-30 Roland McGrath <roland@hack.frob.com>
1786 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1788 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1789 (MAXPATHLEN): Removed.
1790 (NOGROUP, NODEV): New macros.
1791 (setbit, clrbit, isset, isclr): New macros.
1792 (howmany, roundup, powerof2): New macros.
1793 (DEV_BSIZE): New macro.
1795 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1796 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1798 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1799 definition on [!__NO_LONG_DOUBLE_MATH].
1801 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1802 PTR_MANGLE and PTR_DEMANGLE.
1804 * socket/accept4.c (accept4): Rename to __libc_accept4.
1805 Define accept4 as a weak alias.
1807 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1808 on [_DIRENT_HAVE_D_TYPE].
1809 * io/ftw.c (ftw_dir): Likewise.
1811 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1813 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1815 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1816 Use the BSD numbers rather than the arbitrary ones we had.
1817 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1818 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1819 (SIGXCPU, SIGXFSZ): New macros.
1822 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1823 initializer on [_LIBC_REENTRANT].
1825 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1826 definitions inside [_POSIX_MAPPED_FILES].
1828 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1830 * dirent/opendir.c: Include <fcntl.h>.
1832 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1833 (__libc_getspecific): Likewise.
1834 (__libc_key_create): Likewise.
1836 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1837 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1838 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1839 (tmpfile64): Define as alias.
1840 * sysdeps/wordsize-64/tmpfile.c: File removed.
1841 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1842 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1843 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1845 * stdio-common/vfscanf.c: Include <stdbool.h>.
1846 * nss/makedb.c: Likewise.
1847 * stdio-common/_i18n_number.h: Likewise.
1848 * argp/argp-help.c: Likewise.
1849 * posix/wordexp.c: Likewise.
1850 * sysdeps/posix/spawni.c: Likewise.
1851 * nss/nss_files/files-initgroups.c: Likewise.
1852 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1853 * nss/nss_files/files-initgroups.c: Likewise.
1854 * nss/nss_db/db-netgrp.c: Likewise.
1855 * nss/nss_db/db-initgroups.c: Likewise.
1856 * io/fchmodat.c: Include <sys/stat.h>.
1858 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1859 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1861 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1864 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1865 Add multiple inclusion protection.
1867 2012-07-27 David S. Miller <davem@davemloft.net>
1869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1871 2012-07-27 Gary Benson <gbenson@redhat.com>
1874 * elf/rtld.c: Include <stap-probe.h>.
1875 (dl_main): Added static probes "init_start" and "init_complete".
1876 * elf/dl-load.c: Include <stap-probe.h>.
1877 (lose): Take new parameter "nsid".
1878 Added static probe "map_failed".
1879 (_dl_map_object_from_fd): Pass namespace id to lose.
1880 Added static probe "map_start".
1881 (open_verify): Pass namespace id to lose.
1882 * elf/dl-open.c: Include <stap-probe.h>.
1883 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1884 and "reloc_complete".
1885 * elf/dl-close.c: Include <stap-probe.h>.
1886 (_dl_close_worker): Added static probes "unmap_start" and
1888 * elf/rtld-debugger-interface.txt: New file documenting the above.
1890 2012-07-26 Roland McGrath <roland@hack.frob.com>
1892 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1893 rather than a string variable.
1894 * sunrpc/rpc_main.c (h_output): Likewise.
1895 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1897 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1899 * inet/check_native.c: New file.
1901 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1904 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1905 if larger part has absolute value 1.0.
1906 * math/s_clog10.c (__clog10): Likewise.
1907 * math/s_clog10f.c (__clog10f): Likewise.
1908 * math/s_clog10l.c (__clog10l): Likewise.
1909 * math/s_clogf.c (__clogf): Likewise.
1910 * math/s_clogl.c (__clogl): Likewise.
1911 * math/libm-test.inc (clog_test): Add more tests.
1912 (clog10_test): Likewise.
1913 * sysdeps/i386/fpu/libm-test-ulps: Update.
1914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1916 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1917 (pltexit): Likewise.
1918 (La_regs): Likewise.
1919 (La_retval): Likewise.
1920 (int_retval): Likewise.
1921 Update #error for removed macros to refer only to definitions in
1923 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1925 (pltexit): Likewise.
1926 (La_regs): Likewise.
1927 (La_retval): Likewise.
1928 (int_retval): Likewise.
1929 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1931 (pltexit): Likewise.
1932 (La_regs): Likewise.
1933 (La_retval): Likewise.
1934 (int_retval): Likewise.
1935 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1937 (pltexit): Likewise.
1938 (La_regs): Likewise.
1939 (La_retval): Likewise.
1940 (int_retval): Likewise.
1941 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1943 (pltexit): Likewise.
1944 (La_regs): Likewise.
1945 (La_retval): Likewise.
1946 (int_retval): Likewise.
1947 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1949 (pltexit): Likewise.
1950 (La_regs): Likewise.
1951 (La_retval): Likewise.
1952 (int_retval): Likewise.
1953 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1955 (pltexit): Likewise.
1956 (La_regs): Likewise.
1957 (La_retval): Likewise.
1958 (int_retval): Likewise.
1959 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1960 macro definitions in tst-audit.h.
1961 * sysdeps/i386/tst-audit.h: New file.
1962 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1963 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1964 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1965 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1966 * sysdeps/sh/tst-audit.h: Likewise.
1967 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1968 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1969 * sysdeps/x86_64/tst-audit.h: Likewise.
1971 2012-07-26 Andreas Jaeger <aj@suse.de>
1973 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1976 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1977 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1978 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1980 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1981 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1982 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1984 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1987 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1989 (si_call_addr, si_syscall, si_arch): Define new macro.
1990 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1992 (si_call_addr, si_syscall, si_arch): Define new marcro.
1993 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1995 (si_call_addr, si_syscall, si_arch): Define new macro.
1996 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1998 (si_call_addr, si_syscall, si_arch): Define new macro.
2000 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2003 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2004 Change to 2.4.21 where previously 2.4.1.
2005 * sysdeps/unix/sysv/linux/configure: Regenerated.
2006 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2007 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2008 Linux kernel version.
2009 (__ASSUME_STD_AUXV): Remove.
2010 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2012 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2013 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2014 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2015 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2016 (__ASSUME_NETLINK_SUPPORT): Likewise.
2017 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2018 (__no_netlink_support): Remove conditional definition.
2019 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2021 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2022 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2023 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2024 (if_nameindex_ioctl): Remove.
2025 (if_nameindex_netlink): Do not handle __no_netlink_support.
2026 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2028 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2029 Remove conditional code.
2030 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2032 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2034 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2035 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2036 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2038 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2039 [!__ASSUME_STD_AUXV]: Remove conditional code.
2040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2041 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2042 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2044 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2045 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2047 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2049 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2050 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2052 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2054 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2057 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2060 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2062 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2064 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2066 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2069 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2071 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2074 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2076 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2078 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2080 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2083 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2085 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2087 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2089 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2092 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2094 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2095 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2096 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2097 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2098 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2099 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2100 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2101 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2102 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2103 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2104 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2105 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2106 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2107 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2108 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2109 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2110 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2111 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2112 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2113 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2114 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2115 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2116 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2118 2012-07-25 Florian Weimer <fweimer@redhat.com>
2120 * Versions.def: Add GLIBC_2.17.
2121 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2122 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2123 Introduce __libc_secure_getenv.
2124 * stdlib/Versions (2.17): Add secure_getenv
2125 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2126 * stdlib/secure-getenv.c: Rename __secure_getenv to
2127 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2128 symbol __secure_getenv for GLIBC_2.0.
2129 * stdlib/tst-secure-getenv.c: New.
2130 * stdlib/Makefile (tests): Add testcase.
2131 * manual/startup.texi (Environment Access): Document
2133 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2134 __libc_secure_getenv.
2135 * inet/ruserpass.c (ruserpass): Likewise.
2136 * malloc/mtrace.c (mtrace): Likewise.
2137 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2138 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2139 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2140 * sysdeps/posix/tempname.c: Likewise. Evaluate
2142 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2143 __secure_getenv to __libc_secure_getenv.
2144 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2151 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2157 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2159 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2160 (struct La_i86_retval): Likewise.
2161 (struct La_x86_64_regs): Likewise.
2162 (struct La_x86_64_retval): Likewise.
2163 (struct La_x32_regs): Likewise.
2164 (struct La_x32_retval): Likewise.
2165 (struct La_ppc32_regs): Likewise.
2166 (struct La_ppc32_retval): Likewise.
2167 (struct La_ppc64_regs): Likewise.
2168 (struct La_ppc64_retval): Likewise.
2169 (struct La_sh_regs): Likewise.
2170 (struct La_sh_retval): Likewise.
2171 (struct La_s390_32_regs): Likewise.
2172 (struct La_s390_32_retval): Likewise.
2173 (struct La_s390_64_regs): Likewise.
2174 (struct La_s390_64_retval): Likewise.
2175 (struct La_sparc32_regs): Likewise.
2176 (struct La_sparc32_retval): Likewise.
2177 (struct La_sparc64_regs): Likewise.
2178 (struct La_sparc64_retval): Likewise.
2179 (struct audit_ifaces): Remove architecture-specific pltenter and
2181 * sysdeps/i386/ldsodefs.h: New file.
2182 * sysdeps/powerpc/ldsodefs.h: Likewise.
2183 * sysdeps/s390/ldsodefs.h: Likewise.
2184 * sysdeps/sh/ldsodefs.h: Likewise.
2185 * sysdeps/sparc/ldsodefs.h: Likewise.
2186 * sysdeps/x86_64/ldsodefs.h: Likewise.
2188 2012-07-25 Marek Polacek <polacek@redhat.com>
2191 * math/libm-test.inc (yn_test): Add another test.
2192 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2193 to ERANGE when the result is +-Inf.
2194 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2195 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2196 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2197 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2199 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2201 * conform/data/time.h-data (NULL): Use macro-constant. Require
2203 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2205 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2207 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2209 * configure.in <sysdeps resolving>: Correct printing
2211 * configure: Regenerate.
2213 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2215 * math/w_ilogb.c: Include <limits.h>.
2216 * math/w_ilogbl.c: Likewise.
2218 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2220 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2221 va_copy. Document allowing for unavailable va_copy only as
2222 pre-C99 compatibility.
2223 * manual/string.texi (Copying and Concatenation): Use va_copy
2224 instead of __va_copy in concat example.
2226 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2228 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2229 (__sendto): Use create_address_port. Initialize APORT and deallocate
2232 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2233 with O_NOLINK passed to __file_name_lookup.
2235 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2236 with O_NOLINK passed to __file_name_lookup.
2238 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2239 negative N or less than NGIDS.
2241 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2242 type to string_t. Set ERANGE as errno and return it if NAME is not big
2243 enough. Use memcpy instead of strncpy.
2245 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2247 * elf/Makefile (check-data): Remove.
2248 (localplt.data): New vpath directive.
2249 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2250 instead of $(check-data).
2251 * scripts/data/localplt-generic.data: Move to ...
2252 * sysdeps/generic/localplt.data: ... here.
2253 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2254 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2255 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2258 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2261 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2264 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2267 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2270 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2274 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2276 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2277 PPC32 and PPC64 files.
2278 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2279 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2281 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2283 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2284 __makecontext_ret to ...
2285 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2286 ... here and call exit if uc_link is NULL. New file.
2287 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2288 __makecontext_ret.S.
2289 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2290 __makecontext_ret to ...
2291 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2292 ... here and call exit if uc_link is NULL. New file.
2293 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2294 __makecontext_ret.S.
2296 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2298 * elf/elf.h (R_390_IRELATIVE): New definition.
2299 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2300 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2301 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2302 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2303 (elf_machine_lazy_rel): Likewise.
2304 * sysdeps/s390/dl-irel.h: New file.
2305 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2306 * sysdeps/s390/s390-64/memset.S: New asm code.
2307 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2308 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2309 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2310 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2311 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2312 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2313 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2314 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2315 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2316 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2317 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2318 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2319 * sysdeps/s390/s390-32/memset.S: New asm code.
2320 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2322 2012-07-17 Marek Polacek <polacek@redhat.com>
2325 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2326 * sysdeps/s390/s390-64/configure.in: Likewise.
2327 * sysdeps/sparc/configure.in: Likewise.
2328 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2329 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2330 * sysdeps/i386/configure.in: Likewise.
2331 * sysdeps/x86_64/configure.in: Likewise.
2332 * sysdeps/sh/configure.in: Likewise.
2333 * sysdeps/s390/s390-32/configure: Regenerated.
2334 * sysdeps/s390/s390-64/configure: Likewise.
2335 * sysdeps/x86_64/configure: Likewise.
2336 * sysdeps/sh/configure: Likewise.
2337 * sysdeps/powerpc/powerpc64/configure: Likewise.
2338 * sysdeps/powerpc/powerpc32/configure: Likewise.
2339 * sysdeps/sparc/configure: Likwise.
2340 * sysdeps/i386/configure: Likewise.
2342 * elf/dl-open.c: Comment fixes.
2344 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2346 * Makefile [CXX] (check-data): Remove.
2347 [CXX] (c++-types.data): New vpath directive.
2348 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2349 vpath. Do not allow for C++ type data being missing.
2350 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2351 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2352 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2353 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2354 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2355 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2356 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2359 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2362 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2365 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2368 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2371 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2374 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2377 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2380 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2381 definitions to architecture-specific files.
2385 * sysdeps/i386/tls-macros.h: New file.
2386 * sysdeps/powerpc/tls-macros.h: Likewise.
2387 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2388 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2389 * sysdeps/sh/tls-macros.h: Likewise.
2390 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2391 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2392 * sysdeps/x86_64/tls-macros.h: Likewise.
2394 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2396 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2397 zero value for regular exit case.
2399 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2400 (__start_context): Preserve zero value for regular exit case.
2402 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2403 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2405 * manual/setjmp.texi (setcontext): Clarify normal process
2406 termination when uc_link is the null pointer.
2407 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2410 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2412 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2413 preprocessor. Test for each exception mask separately.
2415 2012-07-16 Andreas Jaeger <aj@suse.de>
2417 * po/ru.po: Update from translation team.
2419 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2421 * conform/data/string.h-data (NULL): Use macro-constant. Require
2423 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2424 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2425 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2426 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2427 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2429 2012-07-13 Andreas Jaeger <aj@suse.de>
2431 * po/fr.po: Update from translation team.
2433 2012-07-12 Marek Polacek <polacek@redhat.com>
2436 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2437 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2440 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2443 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2444 Change to 2.4.1 where previously 2.4.0.
2445 * sysdeps/unix/sysv/linux/configure: Regenerated.
2446 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2447 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2449 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2450 (__ASSUME_AT_CLKTCK): Remove.
2451 (__ASSUME_AT_PAGESIZE): Likewise.
2452 (__ASSUME_AT_XID): Likewise.
2453 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2454 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2455 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2457 (HAVE_AUX_PAGESIZE): Likewise.
2458 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2459 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2460 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2462 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2466 the temporary buffer used to invoke __gethostbyname2_r,
2467 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2468 host_data / struct gaih_addrtuple.
2469 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2470 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2471 header file nss/nsswitch.h.
2472 * nss/nsswitch.h (global scope): Add definition of implementation
2473 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2474 resolv/nss_dns/dns-host.c).
2476 2012-07-11 Andreas Jaeger <aj@suse.de>
2478 * po/fr.po: Update from translation team.
2480 * po/sv.po: Update from translation team
2481 * po/fr.po: Another update from translation team.
2483 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2485 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2486 for subnormals or multiply small sinh result by itself.
2487 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2490 2012-07-11 David S. Miller <davem@davemloft.net>
2492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2494 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2497 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2498 (INTERNAL_MARK): Shift it here.
2500 2012-07-10 Marek Polacek <polacek@redhat.com>
2503 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2504 libc_cv_asm_global_directive with .globl.
2505 * configure: Regenerated.
2506 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2508 * sysdeps/i386/configure: Regenerated.
2509 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2511 * sysdeps/x86_64/configure: Regenerated.
2512 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2513 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2514 * elf/tst-unique2mod2.c: Likewise.
2515 * elf/tst-unique2mod1.c: Likewise.
2516 * elf/tst-unique1mod2.c: Likewise.
2517 * elf/tst-unique1mod1.c: Likewise.
2518 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2519 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2520 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2521 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2522 * sysdeps/mach/sysdep.h: Likewise.
2523 * sysdeps/i386/sysdep.h: Likewise.
2524 * sysdeps/i386/i386-mcount.S: Likewise.
2525 * sysdeps/x86_64/_mcount.S: Likewise.
2526 * sysdeps/x86_64/sysdep.h: Likewise.
2527 * sysdeps/sh/_mcount.S: Likewise.
2528 * sysdeps/sh/sysdep.h: Likewise.
2529 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2530 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2531 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2532 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2533 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2534 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2535 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2536 * locale/localeinfo.h: Likewise.
2537 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2538 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2540 2012-07-09 Roland McGrath <roland@hack.frob.com>
2543 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2545 * manual/message.texi (The Uniforum approach): Likewise.
2546 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2547 (glibc iconv Implementation): Likewise.
2549 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2552 * math/s_clog.c (__clog): Avoid scaling a value down where that
2553 could result in underflow.
2554 * math/s_clog10.c (__clog10): Likewise.
2555 * math/s_clog10f.c (__clog10f): Likewise.
2556 * math/s_clog10l.c (__clog10l): Likewise.
2557 * math/s_clogf.c (__clogf): Likewise.
2558 * math/s_clogl.c (__clogl): Likewise.
2559 * math/libm-test.inc (clog_test): Add more tests.
2560 (clog10_test): Likewise.
2561 * sysdeps/i386/fpu/libm-test-ulps: Update.
2562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2564 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2567 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2568 by 7 not 8 to examine high bit of fractional part.
2571 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2572 for call to __mcount_internal.
2573 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2574 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2575 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2577 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2580 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2581 approximation for values within 0x1p-13f of an odd multiple of
2583 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2584 exception. Add more tests.
2585 * sysdeps/i386/fpu/libm-test-ulps: Update.
2588 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2589 inputs and return -1 for them. Do not check for +Inf in case not
2591 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2592 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2593 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2594 and return -1 for them. Do not check for +Inf in case not
2596 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2598 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2599 and return -1 for them. Do not check for +Inf in case not
2601 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2603 * sysdeps/i386/fpu/libm-test-ulps: Update.
2604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2606 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2608 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2610 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2614 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2615 could result in spurious underflow. Scale down values above
2616 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2617 * math/s_csqrtf.c (__csqrtf): Likewise.
2618 * math/s_csqrtl.c (__csqrtl): Likewise.
2619 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2621 * sysdeps/i386/fpu/libm-test-ulps: Update.
2622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2624 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2626 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2628 * catgets/xopen-msg.awk: New file.
2629 * catgets/xopen-msg.sed: Removed.
2631 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2633 * intl/po2test.awk: New file.
2634 * intl/po2test.sed: Removed.
2636 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2639 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2640 or multiply small sinh result by itself.
2641 * math/s_ctanf.c (__ctanf): Likewise.
2642 * math/s_ctanh.c (__ctanh): Likewise.
2643 * math/s_ctanhf.c (__ctanhf): Likewise.
2644 * math/s_ctanhl.c (__ctanhl): Likewise.
2645 * math/s_ctanl.c (__ctanl): Likewise.
2646 * math/libm-test.inc (ctan_test_tonearest): New function.
2647 (ctan_test_towardzero): Likewise.
2648 (ctan_test_downward): Likewise.
2649 (ctan_test_upward): Likewise.
2650 (ctanh_test_tonearest): Likewise.
2651 (ctanh_test_towardzero): Likewise.
2652 (ctanh_test_downward): Likewise.
2653 (ctanh_test_upward): Likewise.
2654 (main): Call these new functions.
2655 * sysdeps/i386/fpu/libm-test-ulps: Update.
2656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2658 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2660 * .gitignore: Delete /ports entry.
2662 2012-07-03 Andreas Jaeger <aj@suse.de>
2664 * po/bg.po: Update from translation team.
2665 * po/cs.po: Likewise.
2666 * po/de.po: Likewise.
2667 * po/hr.po: Likewise.
2668 * po/nl.pl: Likewise.
2669 * po/pl.po: Likewise.
2670 * po/vi.po: Likewise.
2672 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2674 * Makeconfig [!+link] (+link-before-libc): New variable.
2675 [!+link] (+link-after-libc): Likewise.
2676 [!+link] (+link-tests): Likewise.
2677 [!+link] (+link): Define in terms of $(+link-before-libc) and
2678 $(+link-after-libc).
2679 [!+link-static] (+link-static-before-libc): New variable.
2680 [!+link-static] (+link-static-after-libc): Likewise.
2681 [!+link-static] (+link-static-tests): Likewise.
2682 [!+link-static] (+link-static): Define in terms of
2683 $(+link-static-before-libc) and $(+link-static-after-libc).
2684 [build-shared] (link-libc-before-gnulib): New variable.
2685 [build-shared] (link-libc-tests): Likewise.
2686 [build-shared] (link-libc): Define in terms of
2687 $(link-libc-before-gnulib).
2688 [!build-shared] (link-libc-tests): New variable.
2689 (link-libc-static-tests): New variable.
2690 [!gnulib] (gnulib-arch): New variable.
2691 [!gnulib] (gnulib-tests): Likewise.
2692 [!gnulib] (static-gnulib-arch): Likewise.
2693 [!gnulib] (static-gnulib-tests): Likewise.
2694 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2695 Define with "=" instead of ":=".
2696 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2697 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2698 * Rules (binaries-all-notests): New variable.
2699 (binaries-all-tests): Likewise.
2700 (binaries-static-notests): Likewise.
2701 (binaries-static-tests): Likewise.
2702 (binaries-all): Define using $(binaries-all-notests) and
2703 $(binaries-all-tests).
2704 (binaries-static): Define using $(binaries-static-notests) and
2705 $(binaries-static-tests).
2706 (binaries-shared-tests): New variable.
2707 (binaries-shared-notests): Likewise.
2708 (binaries-shared): Remove variable.
2709 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2710 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2711 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2712 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2713 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2714 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2715 * elf/Makefile (sln-modules): New variable.
2716 (extra-objs): Add $(sln-modules:=.o).
2717 (ldconfig-modules): Add static-stubs.
2718 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2719 * elf/static-stubs.c: New file.
2722 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2723 by 7 not 8 to examine high bit of fractional part. Use volatile
2724 variables when splitting into final array of floats if
2725 __FLT_EVAL_METHOD__ != 0.
2726 * math/libm-test.inc (cos_test): Add another test.
2727 (sin_test): Likewise.
2728 * sysdeps/i386/fpu/libm-test-ulps: Update.
2731 * math/libm-test.inc (cosh_test): Add more tests.
2733 * version.h (RELEASE): Set to "development".
2734 (VERSION): Set to "2.16.90".
2736 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2738 * NEWS: Update copyright. Remove last-updated date.
2739 Mention math library bug fixes and timezone data changes.
2740 * README: Mention GNU/Hurd, x32, and HPPA support status.
2742 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2744 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2746 2012-06-27 Andreas Jaeger <aj@suse.de>
2748 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2750 2012-06-25 Andreas Jaeger <aj@suse.de>
2752 * sysdeps/s390/fpu/libm-test-ulps: Update.
2754 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2755 Thomas Schwinge <thomas@codesourcery.com>
2757 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2758 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2759 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2762 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2764 * sysdeps/mach/start.c: Remove file.
2765 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2766 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2767 * sysdeps/sh/init-first.c: Likewise.
2769 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2770 registers for frame unwinding purposes, add CFI directives.
2771 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2772 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2773 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2776 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2777 __fortify_fail returning.
2778 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2780 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2781 sysdeps/sh/____longjmp_chk.S.
2782 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2783 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2784 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2785 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2787 * sysdeps/sh/abort-instr.h: New file.
2788 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2789 process in case exit returns.
2791 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2792 initialize the GOT register before use.
2794 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2795 calculation of ARGC > 4.
2797 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2798 meaningful names to some local labels.
2800 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2801 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2803 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2804 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2805 (__arch_compare_and_exchange_val_16_acq): Likewise.
2806 (__arch_compare_and_exchange_val_32_acq): Likewise.
2807 (atomic_exchange_and_add): Fix gUSA sequence.
2808 (atomic_add): Likewise.
2809 (atomic_add_negative): Likewise.
2810 (atomic_add_zero): Likewise.
2811 (atomic_bit_test_set): Likewise.
2813 2012-06-22 Andreas Schwab <schwab@redhat.com>
2816 * include/link.h (struct link_map): Add l_free_initfini.
2817 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2819 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2820 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2821 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2824 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2826 * configure.in: Use AC_LANG_SOURCE.
2827 * configure: Regenerate.
2829 2012-06-22 Roland McGrath <roland@hack.frob.com>
2831 * configure.in (libc_cv_localstatedir): New substituted variable.
2832 * configure: Regenerated.
2833 * config.make.in (localstatedir): New variable, substituted from
2834 libc_cv_localstatedir.
2835 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2836 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2837 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2838 * sysdeps/gnu/configure: Regenerated.
2840 2012-06-21 Jeff Law <law@redhat.com>
2843 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2844 free. Simplify list management for _LIBC case.
2846 2012-06-21 Joseph Myers <joseph@codesourcery.com>
2849 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2850 Clear sign bit of 64-bit integer value before comparing against
2853 * sysdeps/mach/configure: Regenerated.
2855 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2858 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2860 2012-06-21 Jeff Law <law@redhat.com>
2863 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2864 uint16_t for elements in the "seen" array to avoid char overflows.
2865 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2866 * elf/dl-open.c (dl_open_worker): Likewise.
2868 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2870 * scripts/list-sources.sh: Scan PORTS for translations.
2871 * po/libc.pot: Regenerated.
2873 2012-06-21 Andreas Jaeger <aj@suse.de>
2876 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2878 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2879 * bits/byteswap-16.h (__bswap_16): Likewise.
2880 * bits/byteswap.h (__bswap_constant_16): Likewise.
2882 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2885 * sysdeps/i386/fpu_control.h: Removed.
2886 * sysdeps/x86_64/fpu_control.h: Moved to ...
2887 * sysdeps/x86/fpu_control.h: Here.
2889 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2890 (_FPU_SETCW): Likewise.
2892 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2895 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2896 * sysdeps/x86/fpu/bits/mathinline.h: This.
2897 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2901 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2902 functions if __x86_64__ is defined.
2904 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2906 * string/endian.h: Add !__ASSEMBLER__ condition for including
2907 conversion interfaces.
2909 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2912 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2913 of ABS(x) in calculating zero to negative powers other than odd
2915 * math/libm-test.inc (pow_test): Add more tests.
2917 2012-06-15 Andreas Jaeger <aj@suse.de>
2919 * manual/contrib.texi (Contributors): Update entry of Liubov
2920 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2923 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2925 * string/string.h: Add __wur to GNU version of strerror_r.
2927 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2930 * string/Makefile (tests): Add tst-strtok_r.
2931 * string/tst-strtok_r.c: New file.
2932 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2933 RAX_LP/RDX_LP on SAVE_PTR.
2935 2012-06-14 Roland McGrath <roland@hack.frob.com>
2937 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2939 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2941 * libm_test.inc (csqrt_test): Allow more spurious underflow
2943 (j0_test): Likewise.
2944 (j1_test): Likewise.
2945 (y0_test): Likewise.
2946 (y1_test): Likewise.
2948 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2950 * po/Makefile (libc.pot): Use UTF-8 charset.
2952 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2955 Suppress sign-conversion warning from FD_SET.
2956 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2957 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2958 not unsigned long int.
2959 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2961 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2965 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2966 __extern_always_inline instead of __extern_inline.
2967 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2968 (__signbit): Likewise.
2969 (__signbitl): Support C++ namespace.
2970 (lrintf): New inline function.
2972 (llrintf): Likewise.
2984 (nearbyint): Likewise.
2985 (nearbyintf): Likewise.
2987 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2989 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2990 non-default versions.
2992 2012-06-11 Roland McGrath <roland@hack.frob.com>
2995 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2997 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2999 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3000 (FE_UPWARD, FE_DOWNWARD): Don't define.
3001 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3002 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3004 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3006 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3007 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3009 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3011 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3012 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3013 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3014 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3016 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3019 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3020 * sysdeps/i386/fpu/Implies: New file.
3021 * sysdeps/x86_64/fpu/Implies: Likewise.
3022 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3023 * sysdeps/x86/fpu/bits/fenv.h: This.
3025 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3028 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3031 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3032 character 0xffff that matches the last element of the
3035 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3037 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3040 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3042 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3043 values higher than 25.6283.
3045 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3047 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3048 subnormal exponent extraction and add some __builtin_expect.
3049 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3050 Fix for subnormal mantissa calculation.
3052 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3054 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3055 cpu2 is -1 and errno is not ENOSYS.
3057 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3060 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3061 * sysdeps/x86/bits/string.h: This.
3062 * sysdeps/x86_64/bits/string.h: Removed.
3064 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3065 if not compiling for x86-64, but compiling for >= i486.
3067 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3068 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3070 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3071 New macro from Linux kernel 3.4.0.
3072 (FP_XSTATE_MAGIC2): Likewise.
3073 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3074 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3075 (struct _fpx_sw_bytes): New struct.
3076 (struct _xsave_hdr): Likewise.
3077 (struct _ymmh_state): Likewise.
3078 (struct _xstate): Likewise.
3080 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3081 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3082 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3083 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3084 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3085 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3087 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3088 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3089 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3090 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3091 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3092 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3094 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3097 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3098 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3099 (sysdep_headers): Include sys/platform/ppc.h.
3100 * sysdeps/powerpc/test-gettimebase.c: Test for
3101 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3102 * manual/Makefile (appendices): Include platform.texi.
3103 * manual/contrib.texi (Contributors): Update @node pointers.
3104 * manual/maint.texi (Maintenance): Likewise.
3105 (Platform): New node.
3106 * manual/platform.texi: New file. Document the new features.
3108 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3109 Jakub Jelinek <jakub@redhat.com>
3112 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3113 where __builtin_expect is unavailable.
3115 2012-06-03 David S. Miller <davem@davemloft.net>
3117 * stdlib/longlong.h: Updated from GCC.
3119 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3122 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3123 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3126 (GLIBC_2.16): Likewise.
3128 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3130 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3132 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3135 (default-abi): New variable.
3136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3137 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3139 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3141 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3143 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3146 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3147 definition. Document in comment.
3149 2012-06-01 David S. Miller <davem@davemloft.net>
3151 * stdlib/longlong.h: Updated from GCC.
3153 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3156 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3157 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3158 sys/debugreg.h sys/io.h here.
3159 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3160 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3162 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3163 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3164 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3165 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3166 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3167 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3169 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3170 Define only if __x86_64__ is defined.
3172 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3175 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3176 Use int64_t for variable i.
3177 * math/libm-test.inc (fmod_test): Add more tests.
3179 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3180 z computation is not scheduled after fetestexcept.
3181 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3182 Use math_force_eval instead of asm to ensure calculation scheduled
3183 before exception test.
3184 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3185 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3187 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3190 computation is not scheduled after fetestexcept.
3192 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3195 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3196 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3198 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3200 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3201 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3203 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3206 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3208 (__WCHAR_MIN): Support __WORDSIZE == 64.
3209 (__WCHAR_MAX): Likewise.
3211 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3212 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3215 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3216 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3219 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3220 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3222 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3223 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3225 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3226 Defined to 1 if __x86_64__ isn't defined.
3227 (_STAT_VER_LINUX_OLD): New.
3228 (st_atime): Remove duplicate.
3229 (st_mtime): Likewise.
3230 (st_ctime): Likewise.
3232 2012-05-31 David S. Miller <davem@davemloft.net>
3234 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3237 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3239 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3243 * elf/dl-reloc.c: Include <_itoa.h>.
3244 (_dl_reloc_bad_type): Remove use of INTUSE.
3245 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3246 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3247 * stdio-common/psiginfo.c (psiginfo): Likewise.
3248 * stdio-common/psignal.c (psignal): Likewise.
3249 * string/strsignal.c (strsignal): Likewise.
3250 * include/signal.h (_sys_siglist): Declare hidden proto.
3251 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3252 INTVARDEF with libc_hidden_data_def.
3253 * stdio-common/itoa-udigits.c: Likewise.
3254 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3255 (_itoa_lower_digits_internal): Remove declaration.
3256 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3257 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3258 (_sys_sigabbrev_internal): Remove aliases.
3259 (_sys_siglist): Define hidden alias.
3261 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3266 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3269 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3270 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3272 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3273 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3274 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3275 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3276 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3277 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3279 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3280 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3281 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3283 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3291 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3292 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3293 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3295 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3296 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3297 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3298 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3299 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3300 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3302 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3303 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3305 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3306 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3308 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3309 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3310 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3312 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3313 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3315 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3317 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3318 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3319 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3321 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3323 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3325 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3327 * math/math.h (M_El): Use two more decimal places.
3328 (M_LOG2El): Likewise.
3329 (M_LOG10El): Likewise.
3331 (M_LN10l): Likewise.
3333 (M_PI_2l): Likewise.
3334 (M_PI_4l): Likewise.
3335 (M_1_PIl): Likewise.
3336 (M_2_PIl): Likewise.
3337 (M_2_SQRTPIl): Likewise.
3338 (M_SQRT2l): Likewise.
3339 (M_SQRT1_2l): Likewise.
3341 2012-05-31 David S. Miller <davem@davemloft.net>
3343 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3344 values between float registers.
3345 * sysdeps/sparc/sparc64/memset.S: Likewise.
3346 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3348 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3350 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3351 -D_FORTIFY_SOURCE=1.
3352 (CPPFLAGS-tst-longjmp_chk.c): Define.
3353 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3354 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3355 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3356 CFLAGS-tst-wchar-h.c.
3358 2012-05-31 Marek Polacek <polacek@redhat.com>
3361 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3362 __endmntent_internal): Remove declaration.
3363 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3364 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3365 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3367 2012-05-30 David S. Miller <davem@davemloft.net>
3369 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3370 (___Q_simulate_exceptions): Use real FP ops rather than writing
3372 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3375 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3378 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3379 * sysdeps/x86/bits/xtitypes.h: This.
3381 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3382 * sysdeps/x86/bits/wordsize.h: This.
3384 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3385 * sysdeps/x86/bits/huge_vall.h: This.
3387 * sysdeps/i386/bits/select.h: Removed.
3388 * sysdeps/x86_64/bits/select.h: Renamed to ...
3389 * sysdeps/x86/bits/select.h: This.
3391 * sysdeps/i386/bits/setjmp.h: Removed.
3392 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3393 * sysdeps/x86/bits/setjmp.h: This.
3395 * sysdeps/i386/bits/mathdef.h: Removed.
3396 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3397 * sysdeps/x86/bits/mathdef.h: This.
3399 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3402 * include/sys/socket.h (__connect_internal)
3403 (__libc_sa_len_internal): Remove declaration.
3404 (__connect, __libc_sa_len): Declare hidden_proto.
3405 (SA_LEN): Remove use of INTUSE.
3406 * socket/connect.c: Add libc_hidden_def.
3407 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3408 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3409 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3411 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3412 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3413 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3414 of adding _internal alias.
3416 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3419 * sysdeps/i386/bits/link.h: Removed.
3420 * sysdeps/i386/bits/linkmap.h: Likewise.
3421 * sysdeps/x86_64/bits/link.h: Renamed to ...
3422 * sysdeps/x86/bits/link.h: This.
3423 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3424 * sysdeps/x86/bits/linkmap.h: This.
3426 * sysdeps/i386/bits/endian.h: Removed.
3427 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3428 * sysdeps/x86/bits/endian.h: This.
3430 * sysdeps/i386/bits/byteswap.h: Removed.
3431 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3432 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3433 * sysdeps/x86/bits/byteswap.h: This.
3434 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3435 * sysdeps/x86/bits/byteswap-16.h: This.
3436 * sysdeps/i386/Implies: Add x86.
3437 * sysdeps/x86_64/Implies: Likewise.
3439 2012-05-30 David S. Miller <davem@davemloft.net>
3441 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3442 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3443 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3444 (FP_TRAPPING_EXCEPTIONS): Define.
3445 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3446 (FP_TRAPPING_EXCEPTIONS): Define.
3447 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3448 subnormals only when inexact has been signalled or underflow
3449 exceptions are enabled.
3450 (_FP_PACK_CANONICAL): Likewise.
3452 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3455 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3456 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3458 2012-05-30 Richard Henderson <rth@twiddle.net>
3460 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3461 with #ifndef NOT_IN_libc.
3463 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3464 marked to avoid plt entry.
3466 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3469 * Makeconfig (default-abi): New macro.
3470 (abi-includes): Likewise.
3471 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3472 $(abi-$(default-abi)-lib-soname) for soname if defined.
3473 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3475 * Makefile (installed-stubs): Likewise.
3476 * include/stubs-biarch.h: Removed.
3477 * scripts/lib-names.awk: Only handle one library at a time.
3478 * scripts/soversions.awk: Remove WORDSIZE support.
3479 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3481 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3483 (syscall-list-default-condition): Likewise.
3484 (syscall-list-default-condition): Likewise.
3485 (syscall-list-includes): Likewise.
3486 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3487 syscall-list-* with abi-*. Handle undefined abi-variants.
3488 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3489 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3490 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3491 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3492 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3493 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3495 (syscall-list-32-options): Likewise.
3496 (syscall-list-32-condition): Likewise.
3497 (syscall-list-64-options): Likewise.
3498 (syscall-list-64-condition): Likewise.
3499 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3501 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3504 (abi-64-ld-soname): New macro.
3505 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3506 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3509 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3510 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3512 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3514 * sysdeps/unix/sysv/linux/kernel-features.h
3515 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3516 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3517 include <kernel-features.h>.
3518 [!__NR_ftruncate64]: Remove conditional code.
3519 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3520 [__NR_ftruncate64]: Make code unconditional.
3521 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3522 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3523 include <kernel-features.h>.
3524 [!__NR_ftruncate64]: Remove conditional code.
3525 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3526 [__NR_ftruncate64]: Make code unconditional.
3527 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3529 include <kernel-features.h>.
3530 [!__NR_ftruncate64]: Remove conditional code.
3531 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3532 [__NR_ftruncate64]: Make code unconditional.
3533 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3535 include <kernel-features.h>.
3536 [!__NR_ftruncate64]: Remove conditional code.
3537 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3538 [__NR_ftruncate64]: Make code unconditional.
3539 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3541 * configure.in (libc_cv_fpie): Weaken to a compile test using
3543 * configure: Regenerated.
3545 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3560 2012-05-27 David S. Miller <davem@davemloft.net>
3562 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3564 (__Q_simulate_exceptions): Return void. Change to simulate
3565 exceptions by writing into the %fsr.
3566 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3567 (__Qp_handle_exceptions): Likewise.
3569 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3570 __Qp_handle_exceptions.
3571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3572 __Qp_handle_exceptions.
3573 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3574 as unused and give dummy FP_RND_NEAREST initializer.
3575 (FP_INHIBIT_RESULTS): Define.
3576 (___Q_simulate_exceptions): Update declaration.
3577 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3579 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3580 as unused and give dummy FP_RND_NEAREST initializer.
3581 (__Qp_handle_exceptions): Update declaration.
3582 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3585 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3587 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3588 the temporary FPU control word.
3589 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3590 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3591 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3592 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3593 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3594 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3595 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3596 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3597 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3598 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3599 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3601 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3603 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3606 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3608 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3609 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3610 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3611 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3613 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3614 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3617 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3619 * po/h.po: Update from translation team.
3621 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3623 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3625 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3626 handling of denormals.
3627 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3628 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3629 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3630 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3631 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3632 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3633 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3636 2012-05-26 Marek Polacek <polacek@redhat.com>
3639 * math/libm-test.inc (fma_test): Don't always expect underflow
3642 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3645 * elf/tst-execstack.c: Include stackinfo.h.
3646 (do_test): Adjust test case to ensure that pthread_getattr_np
3647 behaviour remains the same after marking stack executable.
3649 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3651 * sysdeps/unix/sysv/linux/kernel-features.h
3652 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3653 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3655 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3656 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3657 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3659 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3660 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3662 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3664 * configure.in: Define the default includes to being none.
3665 * configure: Regenerated.
3667 2012-05-25 Roland McGrath <roland@hack.frob.com>
3669 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3670 * sysdeps/x86_64/setjmp.S: Likewise.
3671 * sysdeps/i386/bsd-setjmp.S: Likewise.
3672 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3673 * sysdeps/i386/setjmp.S: Likewise.
3674 * sysdeps/i386/__longjmp.S: Likewise.
3675 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3676 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3678 * include/stap-probe.h: New file.
3679 * configure.in: Handle --enable-systemtap.
3680 * configure: Regenerated.
3681 * config.h.in (USE_STAP_PROBE): New #undef.
3682 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3683 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3684 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3686 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3689 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3690 to 2.4.0 where earlier.
3691 * sysdeps/unix/sysv/linux/configure: Regenerated.
3692 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3693 <kernel-features.h>.
3694 [__ASSUME_32BITUIDS]: Make code unconditional.
3695 [!__ASSUME_32BITUIDS]: Remove conditional code.
3696 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3697 <kernel-features.h>.
3698 [__ASSUME_32BITUIDS]: Make code unconditional.
3699 [!__ASSUME_32BITUIDS]: Remove conditional code.
3700 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3701 [__ASSUME_32BITUIDS]: Make code unconditional.
3702 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3703 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3704 <kernel-features.h>.
3705 [__ASSUME_32BITUIDS]: Make code unconditional.
3706 [!__ASSUME_32BITUIDS]: Remove conditional code.
3707 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3708 <kernel-features.h>.
3709 [__ASSUME_32BITUIDS]: Make code unconditional.
3710 [!__ASSUME_32BITUIDS]: Remove conditional code.
3711 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3712 <kernel-features.h>.
3713 [__ASSUME_32BITUIDS]: Make code unconditional.
3714 [!__ASSUME_32BITUIDS]: Remove conditional code.
3715 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3716 <kernel-features.h>.
3717 [__ASSUME_32BITUIDS]: Make code unconditional.
3718 [!__ASSUME_32BITUIDS]: Remove conditional code.
3719 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3720 <kernel-features.h>.
3721 [__ASSUME_32BITUIDS]: Make code unconditional.
3722 [!__ASSUME_32BITUIDS]: Remove conditional code.
3723 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3724 <kernel-features.h>.
3725 [__ASSUME_32BITUIDS]: Make code unconditional.
3726 [!__ASSUME_32BITUIDS]: Remove conditional code.
3727 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3728 <kernel-features.h>.
3729 [__ASSUME_32BITUIDS]: Make code unconditional.
3730 [!__ASSUME_32BITUIDS]: Remove conditional code.
3731 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3732 <kernel-features.h>.
3733 [__ASSUME_32BITUIDS]: Make code unconditional.
3734 [!__ASSUME_32BITUIDS]: Remove conditional code.
3735 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3736 <kernel-features.h>.
3737 [__ASSUME_32BITUIDS]: Make code unconditional.
3738 [!__ASSUME_32BITUIDS]: Remove conditional code.
3739 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3740 <kernel-features.h>.
3741 [__ASSUME_32BITUIDS]: Make code unconditional.
3742 [!__ASSUME_32BITUIDS]: Remove conditional code.
3743 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3744 <kernel-features.h>.
3745 [__NR_setresgid] (__setresgid): Do not declare.
3746 [__ASSUME_32BITUIDS]: Make code unconditional.
3747 [!__ASSUME_32BITUIDS]: Remove conditional code.
3748 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3749 <kernel-features.h>.
3750 [__NR_setresuid] (__setresuid): Do not declare.
3751 [__ASSUME_32BITUIDS]: Make code unconditional.
3752 [!__ASSUME_32BITUIDS]: Remove conditional code.
3753 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3754 <kernel-features.h>.
3755 [__ASSUME_32BITUIDS]: Make code unconditional.
3756 [!__ASSUME_32BITUIDS]: Remove conditional code.
3757 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3758 <kernel-features.h>.
3759 [__ASSUME_32BITUIDS]: Make code unconditional.
3760 [!__ASSUME_32BITUIDS]: Remove conditional code.
3761 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3762 <kernel-features.h>.
3763 [__ASSUME_32BITUIDS]: Make code unconditional.
3764 [!__ASSUME_32BITUIDS]: Remove conditional code.
3765 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3766 <kernel-features.h>.
3767 [__ASSUME_32BITUIDS]: Make code unconditional.
3768 [!__ASSUME_32BITUIDS]: Remove conditional code.
3769 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3770 <kernel-features.h>.
3771 [__ASSUME_32BITUIDS]: Make code unconditional.
3772 [!__ASSUME_32BITUIDS]: Remove conditional code.
3773 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3774 <kernel-features.h>.
3775 [__ASSUME_32BITUIDS]: Make code unconditional.
3776 [!__ASSUME_32BITUIDS]: Remove conditional code.
3777 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3778 <kernel-features.h>.
3779 [__ASSUME_32BITUIDS]: Make code unconditional.
3780 [!__ASSUME_32BITUIDS]: Remove conditional code.
3781 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3782 <kernel-features.h>.
3783 [__ASSUME_32BITUIDS]: Make code unconditional.
3784 [!__ASSUME_32BITUIDS]: Remove conditional code.
3785 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3786 <kernel-features.h>.
3787 [__ASSUME_32BITUIDS]: Make code unconditional.
3788 [!__ASSUME_32BITUIDS]: Remove conditional code.
3789 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3790 <kernel-features.h>.
3791 [__ASSUME_32BITUIDS]: Make code unconditional.
3792 [!__ASSUME_32BITUIDS]: Remove conditional code.
3793 * sysdeps/unix/sysv/linux/kernel-features.h
3794 (__ASSUME_SETRESUID_SYSCALL): Remove.
3795 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3796 (__ASSUME_32BITUIDS): Likewise.
3797 (__ASSUME_LDT_WORKS): Likewise.
3798 (__ASSUME_O_DIRECTORY): Likewise.
3799 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3800 architecture but not kernel version.
3801 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3802 (__ASSUME_MMAP2_SYSCALL): Likewise.
3803 (__ASSUME_STAT64_SYSCALL): Likewise.
3804 (__ASSUME_IPC64): Likewise.
3805 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3806 <kernel-features.h>.
3807 [__ASSUME_32BITUIDS]: Make code unconditional.
3808 [!__ASSUME_32BITUIDS]: Remove conditional code.
3809 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3810 <kernel-features.h>.
3811 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3812 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3813 132096]: Remove conditional code.
3814 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3815 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3816 <kernel-features.h>.
3817 [__ASSUME_32BITUIDS]: Make code unconditional.
3818 [!__ASSUME_32BITUIDS]: Remove conditional code.
3819 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3820 <kernel-features.h>.
3821 [__ASSUME_32BITUIDS]: Make code unconditional.
3822 [!__ASSUME_32BITUIDS]: Remove conditional code.
3823 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3824 <kernel-features.h>.
3825 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3827 (__setresgid): Do not declare.
3828 [__ASSUME_32BITUIDS]: Make code unconditional.
3829 [!__ASSUME_32BITUIDS]: Remove conditional code.
3830 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3831 <kernel-features.h>.
3832 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3834 (__setresuid): Do not declare.
3835 [__ASSUME_32BITUIDS]: Make code unconditional.
3836 [!__ASSUME_32BITUIDS]: Remove conditional code.
3837 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3838 <kernel-features.h>.
3839 [__ASSUME_32BITUIDS]: Make code unconditional.
3840 [!__ASSUME_32BITUIDS]: Remove conditional code.
3841 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3842 <kernel-features.h>.
3843 [__ASSUME_32BITUIDS]: Make code unconditional.
3844 [!__ASSUME_32BITUIDS]: Remove conditional code.
3846 2012-05-25 Richard Henderson <rth@twiddle.net>
3848 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3849 dl_hwcap to ifunc resolver.
3850 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3852 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3853 dl_hwcap to ifunc resolver.
3854 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3856 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3859 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3860 for |x| <= 2**-26, not 2**-57.
3861 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3864 2012-05-24 Jeff Law <law@redhat.com>
3866 * stdio-common/Makefile (tests): Add bug25.
3867 * stdio-common/bug25.c: New test.
3869 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3872 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3873 multiple of MALLOC_ALIGNMENT in size.
3874 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3876 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3878 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3880 (FILENAME_MAX): Use macro-int-constant.
3881 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3882 (_IOFBF): Use macro-int-constant.
3885 (SEEK_CUR): Likewise.
3886 (SEEK_END): Likewise.
3887 (SEEK_SET): Likewise.
3888 (TMP_MAX): Likewise.
3889 (EOF): Use macro-int-constant. Require < 0.
3890 (NULL): Use macro-constant. Require == 0.
3891 (stdin): Require type to be FILE *.
3894 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3896 (EXIT_SUCCESS): Likewise.
3897 (NULL): Use macro-constant. Require == 0.
3898 (RAND_MAX): Use macro-int-constant.
3899 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3900 [C99-based standards] (strtof): Require function.
3901 [C99-based standards] (strtold): Likewise.
3902 [C99-based standards] (strtoll): Likewise.
3903 [C99-based standards] (strtoull): Likewise.
3904 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3905 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3906 [ISO || ISO99 || ISO11] (math.h): Likewise.
3907 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3908 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3909 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3911 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3914 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3915 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3916 * intl/dgettext.c (DCGETTEXT): Likewise.
3917 * intl/gettext.c (DCGETTEXT): Likewise.
3918 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3919 * posix/regex_internal.h (gettext): Likewise.
3920 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3922 * include/argz.h (__argz_count_internal)
3923 (__argz_stringify_internal): Remove declaration.
3924 (__argz_count, __argz_stringify): Declare hidden proto.
3925 * intl/dcgettext.c: Remove use of INTDEF.
3926 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3927 * string/argz-stringify.c: Likewise.
3928 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3929 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3930 Declare hidden proto.
3931 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3932 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3933 Declare hidden proto.
3934 * include/stdio.h (__asprintf_internal): Don't declare.
3935 (__asprintf): Don't define as macro. Declare hidden proto.
3936 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3937 (__fsetlocking): Declare hidden proto.
3938 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3939 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3941 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3942 (_IO_setlinebuf): Remove use of INTUSE.
3943 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3944 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3945 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3947 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3948 (_IO_do_flush): Remove use of INTUSE.
3949 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3950 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3951 (_IO_adjust_column, _IO_least_wmarker)
3952 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3953 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3954 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3955 (_IO_default_doallocate, _IO_wdefault_doallocate)
3956 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3957 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3958 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3959 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3960 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3961 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3962 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3963 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3964 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3965 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3966 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3967 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3968 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3970 (_IO_flush_all_internal, _IO_adjust_column_internal)
3971 (_IO_default_uflow_internal, _IO_default_finish_internal)
3972 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3973 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3974 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3975 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3976 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3977 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3978 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3979 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3980 (_IO_file_close_internal, _IO_file_close_it_internal)
3981 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3982 (_IO_file_init_internal, _IO_file_attach_internal)
3983 (_IO_file_fopen_internal, _IO_file_read_internal)
3984 (_IO_file_sync_internal, _IO_file_seek_internal)
3985 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3986 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3987 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3988 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3989 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3990 (_IO_list_all_internal, _IO_link_in_internal)
3991 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3992 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3993 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3994 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3995 (_IO_do_write_internal, _IO_padn_internal)
3996 (_IO_getline_info_internal, _IO_getline_internal)
3997 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3998 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3999 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4000 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4001 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4002 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4003 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4004 with libc_hidden_ver, remove use of INTUSE.
4005 * libio/genops.c: Likewise.
4006 * libio/freopen.c: Likewise.
4007 * libio/freopen64.c: Likewise.
4008 * libio/iofclose.c: Likewise.
4009 * libio/iofdopen.c: Likewise.
4010 * libio/iofflush.c: Likewise.
4011 * libio/iofflush_u.c: Likewise.
4012 * libio/iofgets.c: Likewise.
4013 * libio/iofgets_u.c: Likewise.
4014 * libio/iofopen.c: Likewise.
4015 * libio/iofopncook.c: Likewise.
4016 * libio/iofread.c: Likewise.
4017 * libio/iofread_u.c: Likewise.
4018 * libio/ioftell.c: Likewise.
4019 * libio/iofwrite.c: Likewise.
4020 * libio/iogetline.c: Likewise.
4021 * libio/iogets.c: Likewise.
4022 * libio/iogetwline.c: Likewise.
4023 * libio/iopadn.c: Likewise.
4024 * libio/iopopen.c: Likewise.
4025 * libio/ioseekoff.c: Likewise.
4026 * libio/ioseekpos.c: Likewise.
4027 * libio/iosetbuffer.c: Likewise.
4028 * libio/iosetvbuf.c: Likewise.
4029 * libio/ioungetc.c: Likewise.
4030 * libio/ioungetwc.c: Likewise.
4031 * libio/iovdprintf.c: Likewise.
4032 * libio/iovsprintf.c: Likewise.
4033 * libio/iovsscanf.c: Likewise.
4034 * libio/memstream.c: Likewise.
4035 * libio/obprintf.c: Likewise.
4036 * libio/oldfileops.c: Likewise.
4037 * libio/oldiofclose.c: Likewise.
4038 * libio/oldiofdopen.c: Likewise.
4039 * libio/oldiofopen.c: Likewise.
4040 * libio/oldiopopen.c: Likewise.
4041 * libio/oldstdfiles.c: Likewise.
4042 * libio/putc.c: Likewise.
4043 * libio/setbuf.c: Likewise.
4044 * libio/setlinebuf.c: Likewise.
4045 * libio/stdfiles.c: Likewise.
4046 * libio/strops.c: Likewise.
4047 * libio/vasprintf.c: Likewise.
4048 * libio/vscanf.c: Likewise.
4049 * libio/vsnprintf.c: Likewise.
4050 * libio/vswprintf.c: Likewise.
4051 * libio/wfiledoalloc.c: Likewise.
4052 * libio/wfileops.c: Likewise.
4053 * libio/wgenops.c: Likewise.
4054 * libio/wmemstream.c: Likewise.
4055 * libio/wstrops.c: Likewise.
4056 * libio/__fpurge.c: Likewise.
4057 * libio/__fsetlocking.c: Likewise.
4058 * assert/assert.c: Likewise.
4059 * debug/fgets_chk.c: Likewise.
4060 * debug/fgets_u_chk.c: Likewise.
4061 * debug/fread_chk.c: Likewise.
4062 * debug/fread_u_chk.c: Likewise.
4063 * debug/gets_chk.c: Likewise.
4064 * debug/obprintf_chk.c: Likewise.
4065 * debug/vasprintf_chk.c: Likewise.
4066 * debug/vdprintf_chk.c: Likewise.
4067 * debug/vsnprintf_chk.c: Likewise.
4068 * debug/vsprintf_chk.c: Likewise.
4069 * malloc/mtrace.c: Likewise.
4070 * misc/error.c: Likewise.
4071 * misc/syslog.c: Likewise.
4072 * stdio-common/asprintf.c: Likewise.
4073 * stdio-common/fxprintf.c: Likewise.
4074 * stdio-common/getw.c: Likewise.
4075 * stdio-common/isoc99_fscanf.c: Likewise.
4076 * stdio-common/isoc99_scanf.c: Likewise.
4077 * stdio-common/isoc99_vfscanf.c: Likewise.
4078 * stdio-common/isoc99_vscanf.c: Likewise.
4079 * stdio-common/isoc99_vsscanf.c: Likewise.
4080 * stdio-common/printf-prs.c: Likewise.
4081 * stdio-common/printf_fp.c: Likewise.
4082 * stdio-common/printf_fphex.c: Likewise.
4083 * stdio-common/printf_size.c: Likewise.
4084 * stdio-common/putw.c: Likewise.
4085 * stdio-common/scanf.c: Likewise.
4086 * stdio-common/sprintf.c: Likewise.
4087 * stdio-common/tmpfile.c: Likewise.
4088 * stdio-common/vfprintf.c: Likewise.
4089 * stdio-common/vfscanf.c: Likewise.
4090 * stdlib/strfmon_l.c: Likewise.
4091 * sunrpc/openchild.c: Likewise.
4092 * sunrpc/xdr_stdio.c: Likewise.
4093 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4094 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4096 2012-05-24 Roland McGrath <roland@hack.frob.com>
4098 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4100 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4101 in the third column, to generate for the shared library an IFUNC
4102 that uses _dl_vdso_vsym.
4103 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4104 * Makeconfig (object-suffixes-noshared): New variable.
4106 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4107 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4108 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4109 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4112 * include/sys/time.h (__gettimeofday): Remove macro.
4113 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4114 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4116 (__gettimeofday): Add libc_hidden_def.
4117 (gettimeofday): Add libc_hidden_weak.
4118 * sysdeps/mach/gettimeofday.c: Likewise.
4119 * sysdeps/posix/gettimeofday.c: Likewise.
4120 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4121 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4122 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4123 (__gettimeofday_internal): Remove strong_alias.
4124 (__gettimeofday): Add libc_hidden_def.
4125 (gettimeofday): Add libc_hidden_weak.
4126 * sysdeps/unix/syscalls.list (gettimeofday):
4127 Remove __gettimeofday_internal alias.
4129 2012-05-24 Daniel Jacobowitz <drow@false.org>
4130 H.J. Lu <hongjiu.lu@intel.com>
4133 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4134 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4135 (largebin_index_32_big): New.
4136 (largebin_index): Use it for 16-byte alignment.
4137 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4138 correction with front_misalign.
4140 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4168 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4169 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4171 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4175 * math/libm-test.inc (exp_test): Add test from bug 14036.
4176 (pow_test): Add test from bug 10846.
4178 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4180 (special_function): Do not include flags in test name.
4181 (parse_args): Likewise.
4182 * sysdeps/i386/fpu/libm-test-ulps: Update.
4183 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4184 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4185 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4188 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4190 * math/libm-test.inc ("Philosophy"): Update comment about
4192 (UNDERFLOW_EXCEPTION): New macro.
4193 (UNDERFLOW_EXCEPTION_OK): Likewise.
4194 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4195 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4196 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4197 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4198 (INVALID_EXCEPTION_OK): Update value.
4199 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4200 (OVERFLOW_EXCEPTION_OK): Likewise.
4201 (IGNORE_ZERO_INF_SIGN): Likewise.
4202 (test_exceptions): Handle underflow exceptions.
4203 (acos_test): Update for underflow exception expectations.
4204 (cexp_test): Likewise.
4205 (clog_test): Likewise.
4206 (clog10_test): Likewise.
4207 (csqrt_test): Likewise.
4208 (ctan_test): Likewise.
4209 (ctanh_test): Likewise.
4210 (exp_test): Likewise.
4211 (exp10_test): Likewise.
4212 (exp2_test): Likewise.
4213 (expm1_test): Likewise.
4214 (fma_test): Likewise.
4215 (j0_test): Likewise.
4216 (jn_test): Likewise.
4217 (nexttoward_test): Likewise.
4218 (pow_test): Likewise.
4219 (scalbn_test): Likewise.
4220 (scalbln_test): Likewise.
4221 (tan_test): Likewise.
4222 (y1_test): Likewise.
4223 * sysdeps/i386/fpu/libm-test-ulps: Update.
4224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4226 2012-05-23 David S. Miller <davem@davemloft.net>
4228 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4229 (__libc_sigaction): Remove unused local variables.
4231 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4233 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4235 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4237 mktime: avoid signed integer overflow
4238 * time/mktime.c (__mktime_internal): Do not mishandle the case
4239 where diff == INT_MIN.
4241 mktime: simplify computation of average
4242 * time/mktime.c (ranged_convert): Use new time_t_avg function
4243 instead of rolling our own (probably-slower) code.
4245 mktime: do not assume signed right shift propagates sign bit
4246 * time/mktime.c (isdst_differ): New static function.
4247 (__mktime_internal): No need to normalize tm_isdst now.
4248 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4251 mktime: merge another wrapv change from gnulib
4252 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4253 from some compilers.
4255 mktime: remove incorrect attempt at unusual arithmetics
4256 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4257 The code didn't really work on such machines anyway.
4258 (TYPE_MINIMUM): Assume two's complement.
4259 (twos_complement_arithmetic): Verify that long_int and time_t
4260 are two's complement (or unsigned, in the latter case).
4262 mktime: check signed shifts on long_int and time_t, too
4263 * time/mktime.c (SHR): Check that shifts work as desired
4264 on the types long_int and time_t too, as SHR is used on
4267 mktime: do not assume 'long' is wide enough
4268 * time/mktime.c (verify): Move decl up.
4269 (long_int): New type.
4270 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4271 to remove assumption in the code that 'long' is wide enough to
4272 store year values. This assumption is not true on x32 and on
4273 some non-glibc platforms.
4275 mktime: merge wrapv change from gnulib
4276 * time/mktime.c (WRAPV): New macro.
4277 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4278 (guess_time_tm, __mktime_internal): Do not assume that signed
4279 integer overflow wraps around; modern compilers generate code
4280 where this assumption is no longer valid.
4282 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4284 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4285 Replace "jmp L(pseudo_end)" with "ret".
4286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4289 2012-05-23 Andreas Jaeger <aj@suse.de>
4291 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4292 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4294 2012-05-23 Andreas Jaeger <aj@suse.de>
4295 Maximilian Attems <max@stro.at>
4297 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4300 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4302 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4303 code so that pseudo_end is just ret and the stack pointer is
4304 correct also for static library in error case.
4306 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4308 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4309 move to syscalls.list.
4310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4315 * manual/install.texi (Running make install): Do not mention Linux
4316 kernel version for which pt_chown is not needed.
4317 (Linux): Do not mention problems with nscd with 2.0 kernels.
4318 * INSTALL: Regenerated.
4320 2012-05-23 Andreas Jaeger <aj@suse.de>
4322 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4323 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4325 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4326 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4327 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4328 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4329 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4330 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4331 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4332 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4333 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4334 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4335 * sysdeps/unix/sysv/linux/bits/in.h
4336 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4338 2012-05-22 Roland McGrath <roland@hack.frob.com>
4340 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4341 (PREPARE_VERSION): Just use assert instead, it will be elided
4342 under [NDEBUG] anyway.
4344 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4346 * sysdeps/unix/sysv/linux/Makefile: Include
4347 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4348 (sysdep_routines): Remove sysctl.
4349 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4350 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4351 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4352 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4353 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4355 2012-05-22 Andreas Jaeger <aj@suse.de>
4357 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4358 that pseudo_end is just ret and the stack pointer is correct also
4359 for static library in error case.
4361 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4364 * nss/nsswitch.c (defconfig_entries): New variable.
4365 (__nss_database_lookup): Don't leak defconfig entries.
4366 (nss_parse_service_list): Don't leak on error paths.
4367 (free_database_entries): New function.
4368 (free_defconfig): New function.
4369 (free_mem): Move common code to free_database_entries.
4371 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4373 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4375 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4377 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4378 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4381 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4382 (INTERNAL_SYSCALL_TYPES): Likewise.
4383 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4384 (LOAD_REGS_TYPES_[1-6]): Likewise.
4385 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4386 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4388 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4390 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4391 copysignl for GLIBC_2_0.
4392 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4393 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4394 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4395 logbl for GLIBC_2_0.
4396 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4397 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4399 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4401 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4402 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4404 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4407 * time/mktime.c: Update copyright years.
4409 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4411 mktime: merge comment-quoting-style change from gnulib
4412 * time/mktime.c: Quote 'like this' in comments.
4413 The GNU coding standards suggest that we no longer quote `like this',
4414 as "`" and "'" are typically rendered asymmetrically nowadays.
4415 The typical gnulib style is to quote 'like this' when quoting
4416 code, and "like this" when quoting English.
4418 * time/mktime.c (compile-command): Add "-I.".
4420 mktime: merge mktime-internal.h change from gnulib
4421 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4423 mktime: merge time_r change from gnulib
4424 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4426 mktime: merge DEBUG change from gnulib
4427 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4428 case system <time.h> has a #define.
4430 mktime: merge <sys/types.h> change from gnulib
4431 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4432 since <time.t> is now guaranteed to define time_t.
4434 mktime: merge HAVE_CONFIG_H change from gnulib
4435 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4437 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4439 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4442 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4444 (struct rusage): Use anonymous union to pad each field to
4447 2012-05-21 David S. Miller <davem@davemloft.net>
4449 * Makefules (o-iterator): Remove .s cases.
4450 (compile-command.s): Delete.
4451 (COMPILE.s): Delete.
4452 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4454 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4456 * configure.in (libc_cv_predef_stack_protector): Only consider
4457 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4458 * configure: Regenerated.
4460 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4462 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4463 New macro. Use R*LP on int and pointer.
4464 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4465 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4466 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4467 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4469 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4470 [__WORDSIZE_TIME64_COMPAT32] instead of
4471 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4472 (struct utmp): Likewise.
4473 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4474 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4476 (__WORDSIZE_TIME64_COMPAT32): This.
4477 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4478 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4479 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4480 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4481 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4482 (__WORDSIZE_TIME64_COMPAT32): New macro.
4484 2012-05-21 Andreas Jaeger <aj@suse.de>
4486 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4487 only if [SHARED]. Add prototype for __wcschr_ia32.
4489 2012-05-21 Roland McGrath <roland@hack.frob.com>
4491 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4492 of %rbp unmolested in the jmp_buf while mangling the low bits.
4493 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4494 unmolested high bits of %rbp while demangling the low bits.
4495 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4497 2012-05-21 Andreas Jaeger <aj@suse.de>
4499 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4500 * sunrpc/svc_simple.c: Use it for registerrpc.
4501 * sunrpc/xcrypt.c: Use it for passwd2des.
4503 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4505 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4507 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4508 Don't define if [__SYSCALL_WORDSIZE != 32].
4509 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4512 2012-05-21 Bruno Haible <bruno@clisp.org>
4513 Andreas Jaeger <aj@suse.de>
4515 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4516 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4517 inptr and inend for must_buffer_ch.
4518 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4519 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4520 * stdio-common/Makefile (tests): Remove bug15.
4521 (bug15-ENV): Remove macro.
4522 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4525 2012-05-19 Andreas Jaeger <aj@suse.de>
4526 Roland McGrath <roland@hack.frob.com>
4528 * manual/contrib.texi: Completely rewritten. It contains now an
4529 alphabetical list of contributors and their contributions.
4531 2012-05-21 Richard Henderson <rth@twiddle.net>
4533 * misc/getauxval.c (__getauxval): Use unsigned long int.
4534 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4535 (getauxval): Use unsigned long int.
4537 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4539 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4541 2012-05-21 Roland McGrath <roland@hack.frob.com>
4543 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4544 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4545 __alignof__ (long double).
4547 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4551 2012-05-20 Richard Henderson <rth@twiddle.net>
4553 * misc/getauxval.c: New file.
4554 * misc/sys/auxv.h: New file.
4555 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4556 (routines): Add getauxval.
4557 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4558 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4559 * elf/dl-sysdep.c (_dl_auxv): Remove.
4560 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4561 * elf/dl-support.c (_dl_auxv): New variable.
4562 (_dl_aux_init): Initialize it.
4563 * manual/startup.texi (Auxiliary Vector): New node.
4564 * sysdeps/generic/bits/hwcap.h: New file.
4565 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4566 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4567 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4568 * sysdeps/sparc/sysdep.h: ... here. Include it.
4569 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4570 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4576 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4582 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4586 2012-05-19 David S. Miller <davem@davemloft.net>
4588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4590 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4593 * math/s_ccosh.c: Include <float.h>
4594 (__ccosh): Avoid internal overflow calculating sinh and cosh
4595 values before multiplying by sin and cos values.
4596 * math/s_ccoshf.c: Likewise.
4597 * math/s_ccoshl.c: Likewise.
4598 * math/s_csin.c: Likewise.
4599 * math/s_csinf.c: Likewise.
4600 * math/s_csinl.c: Likewise.
4601 * math/s_csinh.c: Likewise.
4602 * math/s_csinhf.c: Likewise.
4603 * math/s_csinhl.c: Likewise.
4604 * math/libm-test.inc (ccos_test): Add more tests.
4605 (ccosh_test): Likewise.
4606 (csin_test): Likewise.
4607 (csinh_test): Likewise.
4608 * sysdeps/i386/fpu/libm-test-ulps: Update.
4609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4611 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4613 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4614 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4616 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4618 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4620 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4621 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4622 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4623 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4624 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4625 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4626 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4627 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4628 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4629 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4630 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4631 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4632 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4633 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4634 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4635 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4636 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4637 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4638 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4639 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4640 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4641 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4642 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4643 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4644 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4645 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4646 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4647 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4648 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4649 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4650 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4652 2012-05-18 Andreas Jaeger <aj@suse.de>
4654 * csu/.gitignore: Delete.
4656 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4658 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4659 (timex): Use __syscall_slong_t.
4661 2012-05-18 Andreas Jaeger <aj@suse.de>
4662 Carlos O'Donell <carlos_odonell@mentor.com>
4664 * manual/install.texi (Configuring and compiling): Update
4665 description about files modified in the source directory.
4666 * INSTALL: Regenerated.
4668 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4670 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4671 value. Use "or" to set return value to -1.
4672 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4673 negate return value.
4675 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4677 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4678 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4679 failure if the compiler has Graphite support disabled.
4680 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4682 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4683 CFLAGS-memmove.c): Likewise.
4684 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4687 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4689 * sysdeps/x86_64/x32/_itoa.h: New file.
4691 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4692 getdents system call only if kernel and user dirents have the
4693 same d_ino and d_off.
4695 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4696 LLONG_MAX != LONG_MAX.
4697 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4698 (_fitoa_word): Likewise.
4700 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4702 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4703 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4704 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4706 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4707 include <bits/wordsize.h>. Check __x86_64__ instead of
4709 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4710 if __x86_64__ is defined. Use anonymous union on fpstate.
4712 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4715 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4717 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4718 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4719 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4720 Refer to _rtld_local_ro instead of _rtld_global_ro.
4721 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4723 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4725 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4727 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4728 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4729 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4731 * sysdeps/powerpc/powerpc32/dl-machine.c
4732 (__elf_machine_runtime_setup) [PROF]: Don't reference
4735 2012-05-18 Andreas Jaeger <aj@suse.de>
4737 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4738 function only available for GCCs before 3.4 since GCC 3.4
4739 introduced a builtin.
4741 (llrintf): Likewise.
4749 (nearbyint): Likewise.
4750 (nearbyintf): Likewise.
4756 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4758 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4759 on both fields and cast pointer to __syscall_ulong_t.
4761 * bits/types.h (__fsword_t): New type.
4762 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4763 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4764 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4765 (__FSWORD_T_TYPE): Likewise.
4766 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4767 (__FSWORD_T_TYPE): Likewise.
4768 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4769 (__FSWORD_T_TYPE): Likewise.
4770 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4771 (__FSWORD_T_TYPE): Likewise.
4772 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4773 __SWORD_TYPE with __fsword_t.
4774 (statfs64): Likewise.
4776 2012-05-17 David S. Miller <davem@davemloft.net>
4778 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4780 2012-05-17 Andreas Jaeger <aj@suse.de>
4782 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4785 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4787 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4789 2012-05-17 Andreas Jaeger <aj@suse.de>
4791 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4794 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4796 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4798 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4800 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4801 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4803 2012-05-17 Andreas Jaeger <aj@suse.de>
4804 Carlos O'Donell <carlos_odonell@mentor.com>
4807 * sysdeps/x86_64/multiarch/init-arch.h
4808 (bit_YMM_Usable): Rename to...
4809 (bit_AVX_Usable): ... this.
4810 (bit_FMA4_Usable): New macro.
4811 (bit_XMM_state): New macro.
4812 (bit_YMM_state): New macro.
4813 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4814 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4815 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4816 (CPUID_OSXSAVE): New macro.
4817 (CPUID_AVX): New macro.
4818 (CPUID_FMA4): New macro.
4819 (index_YMM_Usable): Rename to...
4820 (index_AVX_Usable): ... this.
4821 (HAS_AVX): Use HAS_ARCH_FEATURE.
4822 (HAS_FMA4): Likewise.
4823 (HAS_YMM_USABLE): Remove.
4824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4825 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4827 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4828 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4829 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4830 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4831 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4833 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4835 * math/libm-test.c: Support platforms without multiple rounding modes.
4836 * math/bug-nextafter.c: Support platforms without FP exceptions.
4837 * math/bug-nexttoward.c: Likewise.
4838 * math/test-fenv.c: Likewise.
4839 * math/test-misc.c: Likewise.
4840 * stdlib/bug-getcontext.c: Likewise.
4842 2012-05-17 Andreas Jaeger <aj@suse.de>
4844 * manual/examples/search.c (critter_cmp): Change signature to
4846 * manual/string.texi (Collation Functions): Likewise.
4848 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4850 * bits/types.h: Fold copyright years.
4851 * bits/typesizes.h: Likewise.
4852 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4853 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4854 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4855 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4856 * time/time.h: Likewise.
4858 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4861 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4862 in instead of returning them. Return void.
4863 (__libc_mallinfo): Accumulate over all arenas.
4864 (__malloc_stats): Adjust for change in int_mallinfo interface.
4866 2012-05-16 Roland McGrath <roland@hack.frob.com>
4869 * configure.in (NM): Add AC_CHECK_TOOL for it.
4870 (libc_extra_cflags): New substituted variable.
4871 Check for -fstack-protector being used implicitly.
4872 * configure: Regenerated.
4873 * config.make.in (config-extra-cflags): New variable,
4874 gets @libc_extra_cflags@.
4875 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4878 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4879 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4880 * configure: Regenerated.
4881 * config.make.in (CPPUNDEFS): New substituted variable.
4882 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4883 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4884 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4886 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4888 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4889 (mq_attr): Use __syscall_slong_t.
4891 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4893 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4894 Check __x86_64__ instead of __WORDSIZE.
4895 (_STAT_VER_LINUX): Likewise.
4896 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4897 __syscall_ulong_t and __syscall_slong_t.
4900 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4902 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4904 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4906 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4908 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4910 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4913 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4914 include <bits/wordsize.h>. Check __x86_64__ instead of
4916 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4918 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4920 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4921 include <bits/wordsize.h>. Check __x86_64__ instead of
4923 (user_regs_struct): Use "__extension__ unsigned long long"
4924 instead of "unsigned long" if __x86_64__ is defined.
4925 (user): Likewise. Pad after pointer field if __ILP32__ is
4928 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4930 * configure.in (makeinfo): Require version 4.5 or later. Allow
4932 * configure: Regenerated.
4933 * manual/install.texi (texinfo): Increase version requirement to
4935 * INSTALL: Regenerated.
4937 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4939 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4941 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4943 * sysdeps/x86_64/x32/ffs.c: New file.
4945 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4947 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4948 defined. Use __syscall_ulong_t.
4949 (shminfo): Use __syscall_ulong_t.
4950 (shm_info): Likewise.
4952 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4955 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4957 (msgqnum_t): Use __syscall_ulong_t.
4958 (msglen_t): Likewise.
4959 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4962 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4963 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4965 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4967 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4968 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4970 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4973 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4974 include <bits/wordsize.h>. Check __x86_64__ instead of
4977 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4978 "unsigned long long int" if __x86_64__ is defined.
4979 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4981 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4982 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4983 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4985 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4987 (GET_PC): Cast to uintptr_t first.
4988 (GET_FRAME): Likewise.
4989 (GET_STACK): Likewise.
4991 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4992 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4993 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4994 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4995 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4996 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4997 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4998 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4999 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5000 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5001 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5002 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5003 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5004 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5005 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5006 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5007 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5008 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5009 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5010 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5011 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5012 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5013 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5014 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5015 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5016 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5017 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5018 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5019 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5021 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5023 * Makerules (+depfiles): Also collect depfiles from .oS in
5025 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5026 .oS, $(libnldbl-routines)).
5028 * Makerules (native-compile-mkdep-flags): Define.
5029 * sunrpc/Makefile (extra-objs): Add $(addprefix
5030 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5031 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5032 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5033 calling $(make-target-directory).
5035 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5037 * bits/types.h (__snseconds_t): Removed.
5038 * time/time.h (struct timespec): Replace __snseconds_t with
5040 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5041 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5043 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5044 (__SNSECONDS_T_TYPE): Likewise.
5045 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5046 (__SNSECONDS_T_TYPE): Likewise.
5047 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5048 (__SNSECONDS_T_TYPE): Likewise.
5050 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5052 * sysdeps/mach/hurd/bits/typesizes.h
5053 (__SYSCALL_SLONG_TYPE): New macro.
5054 (__SYSCALL_ULONG_TYPE): Likewise.
5056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5058 * bits/types.h (__syscall_slong_t): New type.
5059 (__syscall_ulong_t): Likewise.
5061 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5062 (__SYSCALL_ULONG_TYPE): Likewise.
5063 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5064 (__SYSCALL_SLONG_TYPE): Likewise.
5065 (__SYSCALL_ULONG_TYPE): Likewise.
5066 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5067 (__SYSCALL_SLONG_TYPE): Likewise.
5068 (__SYSCALL_ULONG_TYPE): Likewise.
5069 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5070 (__SYSCALL_SLONG_TYPE): Likewise.
5071 (__SYSCALL_ULONG_TYPE): Likewise.
5073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5075 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5076 Add sigaltstack-offsets.sym.
5077 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5078 <sigaltstack-offsets.h>.
5079 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5080 longjmp_msg pointer.
5081 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5082 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5084 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5086 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5088 * elf/stackguard-macros.h: Remove file.
5089 * sysdeps/generic/stackguard-macros.h: New file.
5090 * sysdeps/i386/stackguard-macros.h: Likewise.
5091 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5092 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5093 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5094 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5095 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5096 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5097 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5098 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5099 <elf/stackguard-macros.h>.
5102 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5103 __aligned__ in attribute.
5104 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5105 (gregset_t): Likewise.
5107 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5109 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5110 * sysdeps/x86_64/64/Implies-after: Here. New file.
5111 * sysdeps/x86_64/x32/Implies-after: New file.
5113 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5115 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5116 and access return value for _dl_profile_fixup. Use R10_LP to
5119 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5121 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5123 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5125 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5126 * sysdeps/x86_64/x32/sysdep.h: New file.
5128 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5130 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5131 * sysdeps/x86_64/setjmp.S: Likewise.
5133 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5135 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5136 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5137 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5138 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5139 remove unused global constant.
5141 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5143 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5144 include of <not-cancel.h>.
5146 2012-05-15 Roland McGrath <roland@hack.frob.com>
5148 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5150 2012-05-15 Jeff Law <law@redhat.com>
5151 Andreas Jaeger <aj@suse.de>
5154 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5156 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5157 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5158 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5159 code changing __hst_map_handle.map.
5161 2012-05-15 Roland McGrath <roland@hack.frob.com>
5163 * configure.in (sysnames): Look for Implies-before and Implies-after
5165 * configure: Regenerated.
5167 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5169 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5170 8-byte data alignment with LP_SIZE alignment.
5172 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5174 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5179 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5183 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5184 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5185 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5187 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5189 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5191 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5192 (stackinfo_sub_sp): Likewise.
5194 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5196 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5199 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5201 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5204 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5206 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5209 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5211 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5213 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5215 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5216 into R11_LP and load __x86_64_shared_cache_size_half into
5219 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5221 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5224 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5226 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5228 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5230 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5232 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5233 powerpc32/power7/fpu/s_logb.c via #include.
5234 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5235 powerpc32/power7/fpu/s_logbf.c via #include.
5236 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5237 powerpc32/power7/fpu/s_logbl.c via #include.
5239 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5241 * README.libm: Remove file.
5243 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5245 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5246 count for x32. Use R*_LP and omit operand-size suffix.
5248 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5250 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5251 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5252 * sysdeps/x86_64/x32/shlib-versions: New file.
5254 2012-05-14 Roland McGrath <roland@hack.frob.com>
5256 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5257 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5258 Use _dl_fatal_printf instead.
5260 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5262 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5263 set if not set by the user. Do not allow for being unset.
5264 * sysdeps/unix/sysv/linux/configure: Regenerated.
5266 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5268 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5269 the `q' suffix from lea and replace .quad with ASM_ADDR.
5271 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5273 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5274 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5276 (PTR_DEMANGLE): Likewise.
5278 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5280 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5282 (ASM_ADDR): Likewise.
5300 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5302 * sysdeps/x86_64/x32/dl-machine.h: New file.
5304 2012-05-14 Andreas Jaeger <aj@suse.de>
5306 * manual/Makefile (subdir): Remove export of subdir.
5307 (all): Remove target.
5308 (.PHONY): Remove all from list.
5309 (mkinstalldirs): Remove.
5310 (.PHONY): Remove installdirs from list.
5311 ($(inst_infodir)/libc.info): Use make-target-directory.
5312 (installdirs): Remove.
5314 (glibc-targets): Remove.
5317 ($(objpfx)stubs ../po/manual.pot): Remove.
5318 ($(objpfx)stamp%): Remove.
5319 (make-target-directory): Remove.
5320 (subdir_install): Remove.
5328 * manual/.gitignore: Remove, it's not needed anymore.
5329 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5331 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5333 (texis): Renamed to $(objpfx)texis.
5334 (texis-path): New, contains path to generated files.
5335 (chapters.%): Use texis-path for complete path, add extra argument
5337 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5338 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5339 (summary,texi, stamp-summary): Use complete path of
5340 files. Generate files in build dir.
5341 (dir-add.texi): Build in build dir.
5342 (libm-err.texi,stamp-libm-err): Likewise.
5343 (version.texi, stamp-version): Likewise.
5344 (.%c.texi): Likewise.
5345 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5346 (mostlyclean): Remove target.
5347 (realclean): Remove target.
5348 (generated): Add new variable with contents from mostlyclean and
5349 realclean, remove entries duplicated in common-mostlyclean, add
5350 stamp-libm-err and stamp-version.
5351 (generated-dirs): Add libc directory.
5352 ($(inst_infodir)/libc.info): Install files from build dir.
5354 * manual/install.texi (Configuring and compiling): Adjust since
5355 the info files are not part of the tar ball anymore.
5357 2012-05-14 Andreas Jaeger <aj@suse.de>
5359 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5362 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5365 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5366 to 2.2.0 where earlier.
5367 * sysdeps/unix/sysv/linux/configure: Regenerated.
5368 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5369 Remove conditional code.
5370 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5371 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5372 Remove conditional code.
5373 [!__NR_lchown]: Likewise.
5374 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5375 [__NR_lchown]: Likewise.
5376 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5377 comment referencing __ASSUME_LCHOWN_SYSCALL.
5378 * sysdeps/unix/sysv/linux/i386/sigaction.c
5379 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5380 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5381 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5382 Remove conditional code.
5383 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5384 (__protocol_available): Remove #if 0 code.
5385 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5387 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5388 * sysdeps/unix/sysv/linux/kernel-features.h
5389 (__ASSUME_GETCWD_SYSCALL): Don't define.
5390 (__ASSUME_REALTIME_SIGNALS): Likewise.
5391 (__ASSUME_PREAD_SYSCALL): Likewise.
5392 (__ASSUME_PWRITE_SYSCALL): Likewise.
5393 (__ASSUME_POLL_SYSCALL): Likewise.
5394 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5395 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5397 (__ASSUME_SIOCGIFNAME): Don't define.
5398 (__ASSUME_MSG_NOSIGNAL): Likewise.
5399 (__ASSUME_SENDFILE): Define unconditionally.
5400 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5401 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5403 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5404 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5405 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5406 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5407 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5408 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5409 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5411 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5412 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5414 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5415 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5417 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5418 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5420 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5421 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5423 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5424 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5426 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5427 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5429 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5430 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5432 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5433 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5434 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5435 Remove conditional code.
5436 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5437 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5438 Remove conditional code.
5439 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5440 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5441 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5442 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5443 Remove conditional code.
5444 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5445 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5446 Remove conditional code.
5447 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5448 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5449 Remove conditional code.
5450 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5451 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5452 Remove conditional code.
5453 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5454 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5455 Remove conditional code.
5456 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5457 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5458 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5459 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5460 * sysdeps/unix/sysv/linux/sigaction.c
5461 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5462 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5463 * sysdeps/unix/sysv/linux/sigpending.c
5464 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5465 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5466 * sysdeps/unix/sysv/linux/sigprocmask.c
5467 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5468 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5469 * sysdeps/unix/sysv/linux/sigsuspend.c
5470 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5471 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5472 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5473 (__libc_missing_rt_sigs): Remove.
5474 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5475 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5476 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5477 Remove conditional code.
5478 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5479 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5481 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5482 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5483 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5484 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5486 2012-05-14 Andreas Jaeger <aj@suse.de>
5488 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5489 it's not used in glibc.
5490 (__coshm1): Likewise.
5491 (__acosh1p): Likewise.
5494 * manual/string.texi (Copying and Concatenation): Add missing
5495 variable in concat example.
5496 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5498 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5501 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5502 __builtin_clzl with __builtin_clzll.
5504 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5507 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5510 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5512 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5513 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5514 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5515 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5517 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5519 * NEWS: Update ia64 info.
5521 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5523 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5526 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5528 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5529 * sysdeps/unix/syscalls.list (dup3): Likewise.
5530 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5531 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5533 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5535 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5536 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5538 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5540 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5542 (TLS_IE): Use mov/add instead of movq/addq to load thread
5544 (TLS_GD_PREFIX): New.
5547 2012-05-11 David S. Miller <davem@davemloft.net>
5549 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5550 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5551 (_FPU_SETCW): Likewise.
5553 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5555 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5558 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5561 * iconvdata/gb18030.c: Update tables.
5562 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5563 characters specially.
5564 (BODY for TO_LOOP): Add encoding of missing ranges.
5566 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5569 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5570 * sysdeps/mach/hurd/dup3.c: Likewise.
5571 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5572 * sysdeps/powerpc/memmove.c:: Likewise.
5574 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5576 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5577 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5579 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5581 * elf/elf.h (R_X86_64_RELATIVE64): New.
5582 (R_X86_64_NUM): Updated.
5583 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5584 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5585 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5586 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5587 tst-quad1pie tst-quad2pie
5588 (modules-names): Add tst-quadmod1 tst-quadmod2.
5589 ($(objpfx)tst-quad1): New dependency.
5590 ($(objpfx)tst-quad2): Likewise.
5591 ($(objpfx)tst-quad1pie): Likewise.
5592 ($(objpfx)tst-quad2pie): Likewise.
5593 * sysdeps/x86_64/tst-quad1.c: New file.
5594 * sysdeps/x86_64/tst-quad1pie.c: New file.
5595 * sysdeps/x86_64/tst-quad2.c: Likewise.
5596 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5597 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5598 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5599 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5600 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5602 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5604 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5605 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5606 * streams/stropts.h (t_scalar_t): Define type.
5608 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5609 (_PATH_PRESERVE): Set to "/var/lib".
5610 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5612 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5615 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5616 if __dir_mkfile succeeded.
5618 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5619 checking for _hurd_dtablesize. Unlock it right after having
5620 finished _hurd_dtable allocation.
5622 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5624 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5625 * sysdeps/mach/hurd/configure: Regenerated.
5626 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5627 special-casing to...
5628 * sysdeps/gnu/configure.in: ... this new file.
5629 * sysdeps/unix/sysv/linux/configure: Regenerated.
5630 * sysdeps/gnu/configure: New generated file.
5632 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5633 for Linux: use nsec instead of usec, as well as:
5634 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5635 members of type struct timespec.
5636 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5638 (struct stat64): Likewise.
5639 (_STATBUF_ST_NSEC): New macro.
5640 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5642 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5643 __strtoul_internal rather than strtoul.
5645 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5647 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5650 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5652 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5653 which preserves existing values.
5654 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5656 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5658 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5659 TIMEOUT values. Return EINVAL for NFDS values either negative or
5660 greater than FD_SETSIZE.
5662 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5664 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5665 allocated, call __vm_protect to finish enabling the existing space, and
5666 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5667 allocate the remainder.
5669 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5671 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5672 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5674 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5676 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5677 sysdeps/mach/hurd/readlink.c.
5679 * posix/tst-sysconf.c (posix_options): Only use
5680 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5681 _POSIX_SYNCHRONIZED_IO when they are defined
5682 * sysdeps/mach/hurd/bits/posix_opt.h:
5683 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5684 (_XOPEN_REALTIME): Undefine macro.
5685 (_XOPEN_REALTIME_THREADS): Undefine macro.
5686 (_XOPEN_SHM): Undefine macro.
5687 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5689 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5691 (_POSIX_ASYNC_IO): Undefine macro.
5692 (_POSIX_PRIORITIZED_IO): Undefine macro.
5693 (_POSIX_SPIN_LOCKS): Define macro to -1.
5695 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5696 SA_NODEFER, SA_RESETHAND.
5697 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5698 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5701 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5703 * elf/Makefile (pldd-modules): Define unconditionally.
5705 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5707 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5709 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5711 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5712 Return ENOENT when name is empty.
5713 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5715 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5717 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5719 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5721 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5723 Fix mlock in all cases except non-readable pages.
5724 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5725 instead of VM_PROT_ALL as parameter to __vm_wire function.
5727 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5728 (__mkdir): When path is `/', just fail with EEXIST.
5729 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5731 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5733 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5734 <sys/uio.h> (for writev).
5735 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5736 and <sys/param.h> (for MIN).
5738 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5740 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5741 REQUESTED_TIME. Properly set the remaining time and return EINTR
5744 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5746 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5747 Depend on against $(link-rpcuserlibs).
5749 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5751 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5752 (__libc_stack_end): Do not use attribute_relro.
5753 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5754 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5755 to libthread-provided value.
5756 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5759 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5762 * bits/libc-lock.h (__libc_once_get): New macro.
5763 * sysdeps/mach/bits/libc-lock.h: Likewise.
5764 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5765 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5766 instead of using implementation details.
5768 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5769 * libio/freopen.c: Likewise.
5770 * libio/freopen64.c: Likewise.
5771 * misc/syslog.c: Likewise.
5772 * nscd/connections.c: Likewise.
5773 * nscd/netgroupcache.c: Likewise.
5774 * sysdeps/posix/getcwd.c: Likewise.
5776 2012-05-10 Roland McGrath <roland@hack.frob.com>
5778 * math/w_ilogbf.c: Add #include <limits.h>.
5780 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5782 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5783 path instead of returning without unlocking.
5785 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5786 immediate-write ioctls.
5787 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5789 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5791 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5792 __builtin_frame_address instead of making assumptions about the
5793 location of the return address relative to DATA. Force early load of
5795 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5796 __builtin_frame_address.
5799 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5800 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5801 implement dup3 and do some further code clean-ups.
5802 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5803 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5805 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5807 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5809 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5810 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5811 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5812 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5813 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5816 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5817 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5818 when handler == SIG_ERR, not when handler != SIG_ERR.
5820 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5822 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5823 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5826 accept4 for GNU Hurd.
5827 * include/sys/socket.h (__libc_accept4): New prototype.
5828 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5829 to implement __libc_accept4.
5830 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5832 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5834 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5835 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5836 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5839 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5841 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5843 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5845 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5846 assertion on O_CLOEXEC flag.
5847 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5848 * hurd/intern-fd.c: Likewise.
5849 * hurd/port2fd.c: Likewise.
5851 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5854 * bits/in.h (IPV6_PKTINFO): Define new macro.
5855 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5857 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5862 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5863 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5864 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5865 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5866 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5867 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5868 * math/libm-test.inc (logb_test) : Additional logb tests.
5870 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5871 Andreas Jaeger <aj@suse.de>
5873 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5874 * configure: Regenerated.
5875 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5876 * config.make.in (link-obsolete-rpc): New substituted variable.
5877 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5878 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5879 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5880 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5881 so that libc.a contains the symbols.
5882 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5883 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5884 * sunrpc/auth_none.c: Likewise.
5885 * sunrpc/auth_unix.c: Likewise.
5886 * sunrpc/authdes_prot.c: Likewise.
5887 * sunrpc/authuxprot.c: Likewise.
5888 * sunrpc/clnt_gen.c: Likewise.
5889 * sunrpc/clnt_perr.c: Likewise.
5890 * sunrpc/clnt_raw.c: Likewise.
5891 * sunrpc/clnt_simp.c: Likewise.
5892 * sunrpc/clnt_tcp.c: Likewise.
5893 * sunrpc/clnt_udp.c: Likewise.
5894 * sunrpc/clnt_unix.c: Likewise.
5895 * sunrpc/des_crypt.c: Likewise.
5896 * sunrpc/des_soft.c: Likewise.
5897 * sunrpc/get_myaddr.c: Likewise.
5898 * sunrpc/key_call.c: Likewise.
5899 * sunrpc/key_prot.c: Likewise.
5900 * sunrpc/netname.c: Likewise.
5901 * sunrpc/pm_getmaps.c: Likewise.
5902 * sunrpc/pm_getport.c: Likewise.
5903 * sunrpc/pmap_clnt.c: Likewise.
5904 * sunrpc/pmap_prot.c: Likewise.
5905 * sunrpc/pmap_prot2.c: Likewise.
5906 * sunrpc/pmap_rmt.c: Likewise.
5907 * sunrpc/publickey.c: Likewise.
5908 * sunrpc/rpc_cmsg.c: Likewise.
5909 * sunrpc/rpc_common.c: Likewise.
5910 * sunrpc/rpc_dtable.c: Likewise.
5911 * sunrpc/rpc_prot.c: Likewise.
5912 * sunrpc/rpc_thread.c: Likewise.
5913 * sunrpc/rtime.c: Likewise.
5914 * sunrpc/svc.c: Likewise.
5915 * sunrpc/svc_auth.c: Likewise.
5916 * sunrpc/svc_raw.c: Likewise.
5917 * sunrpc/svc_run.c: Likewise.
5918 * sunrpc/svc_tcp.c: Likewise.
5919 * sunrpc/svc_udp.c: Likewise.
5920 * sunrpc/svc_unix.c: Likewise.
5921 * sunrpc/svcauth_des.c: Likewise.
5922 * sunrpc/xcrypt.c: Likewise.
5923 * sunrpc/xdr.c: Likewise.
5924 * sunrpc/xdr_array.c: Likewise.
5925 * sunrpc/xdr_float.c: Likewise.
5926 * sunrpc/xdr_intXX_t.c: Likewise.
5927 * sunrpc/xdr_mem.c: Likewise.
5928 * sunrpc/xdr_rec.c: Likewise.
5929 * sunrpc/xdr_ref.c: Likewise.
5930 * sunrpc/xdr_sizeof.c: Likewise.
5931 * sunrpc/xdr_stdio.c: Likewise.
5933 2012-05-10 Roland McGrath <roland@hack.frob.com>
5935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5936 change. Update copyright years.
5938 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5940 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5942 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5943 Joseph Myers <joseph@codesourcery.com>
5944 Paul Pluzhnikov <ppluzhnikov@google.com>
5947 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5949 [cross-compiling] (extra-libs): Likewise.
5950 [cross-compiling] (extra-libs-others): Likewise.
5951 [cross-compiling] (librpcsvc-routines): Likewise.
5952 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5953 [cross-compiling] (omit-deps): Likewise.
5954 (sunrpc-CPPFLAGS): New variable.
5955 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5956 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5957 (cross-rpcgen-objs): New variable.
5958 (extra-objs): Append $(cross-rpcgen-objs).
5959 ($(cross-rpcgen-objs)): New rule.
5960 ($(objpfx)cross-rpcgen): Likewise.
5961 (rpcgen-cmd): Define to use $(built-program-file). Expand
5963 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5964 ($(objpfx)x%.stmp): Likewise.
5965 * sunrpc/proto.h [IS_IN_build] (_): Define.
5966 [IS_IN_build] (_libc_intl_domainname): Likewise.
5968 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5970 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5971 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5972 and R_X86_64_TPOFF64.
5974 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5976 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5977 sysdeps/unix/sysv/syscalls.list.
5980 * sysdeps/unix/sysv/syscalls.list: Remove file.
5982 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5985 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5986 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5987 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5988 (__LC_IDENTIFICATION): Make these macros useful in #if
5989 expressions, as required by C99.
5991 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5993 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5994 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5997 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5999 * stdlib/longlong.h: Updated from GCC.
6001 2012-05-09 Andreas Jaeger <aj@suse.de>
6003 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6004 default is first entry.
6005 (run_mode): Set type.
6006 (main): Remove informal message about syslog.
6007 (options): Fix typo.
6010 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6013 (llrintf): Likewise.
6017 (nearbyint): Likewise.
6018 (nearbyintf): Likewise.
6020 2012-05-09 Andreas Jaeger <aj@suse.de>
6021 Pedro Alves <palves@redhat.com>
6023 * nscd/nscd.c (run_mode): Use enum.
6024 (main): Cleanup coding style issue.
6026 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6027 Andreas Jaeger <aj@suse.de>
6029 * nscd/nscd.c (go_background): Replaced with...
6030 (run_mode): ... this.
6031 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6032 (options): Add -F --foreground.
6033 (main): Implement it.
6034 (parse_opt): Parse it.
6036 2012-05-09 Andreas Jaeger <aj@suse.de>
6039 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6040 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6041 -Wconversion warning.
6042 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6045 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6047 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6049 (LC_ALL): Use macro-int-constant.
6050 (LC_COLLATE): Likewise.
6051 (LC_CTYPE): Likewise.
6052 (LC_MESSAGES): Likewise.
6053 (LC_MONETARY): Likewise.
6054 (LC_NUMERIC): Likewise.
6055 (LC_TIME): Likewise.
6056 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6057 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6058 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6059 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6061 [C99-based standards] (float_t): Expect type.
6062 [C99-based standards] (double_t): Expect type.
6063 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6065 [C99-based standards] (HUGE_VALL): Likewise.
6066 [C99-based standards] (INFINITY): Likewise.
6067 [C99-based standards] (NAN): Likewise.
6068 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6069 [C99-based standards] (FP_NAN): Likewise.
6070 [C99-based standards] (FP_NORMAL): Likewise.
6071 [C99-based standards] (FP_SUBNORMAL): Likewise.
6072 [C99-based standards] (FP_ZERO): Likewise.
6073 [C99-based standards] (FP_FAST_FMA): Use
6074 optional-macro-int-constant. Specify type. Require == 1.
6075 [C99-based standards] (FP_FAST_FMAF): Likewise.
6076 [C99-based standards] (FP_FAST_FMAL): Likewise.
6077 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6078 [C99-based standards] (FP_ILOGBNAN): Likewise.
6079 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6081 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6082 [C99-based standards] (math_errhandling): Specify type.
6083 [ISO99 || ISO11] (signgam): Do not allow.
6084 [non-C99-based standards] (copysignf): Do not allow.
6085 [non-C99-based standards] (exp2f): Likewise.
6086 [non-C99-based standards] (log2f): Likewise.
6087 [non-C99-based standards] (modff): Allow.
6088 [non-C99-based standards] (erff): Do not allow.
6089 [non-C99-based standards] (erfcf): Likewise.
6090 [non-C99-based standards] (gammaf): Likewise.
6091 [non-C99-based standards] (hypotf): Likewise.
6092 [non-C99-based standards] (j0f): Likewise.
6093 [non-C99-based standards] (j1f): Likewise.
6094 [non-C99-based standards] (jnf): Likewise.
6095 [non-C99-based standards] (lgammaf): Likewise.
6096 [non-C99-based standards] (tgammaf): Likewise.
6097 [non-C99-based standards] (y0f): Likewise.
6098 [non-C99-based standards] (y1f): Likewise.
6099 [non-C99-based standards] (ynf): Likewise.
6100 [non-C99-based standards] (isnanf): Likewise.
6101 [non-C99-based standards] (acoshf): Likewise.
6102 [non-C99-based standards] (asinhf): Likewise.
6103 [non-C99-based standards] (atanhf): Likewise.
6104 [non-C99-based standards] (cbrtf): Likewise.
6105 [non-C99-based standards] (expm1f): Likewise.
6106 [non-C99-based standards] (ilogbf): Likewise.
6107 [non-C99-based standards] (log1pf): Likewise.
6108 [non-C99-based standards] (logbf): Likewise.
6109 [non-C99-based standards] (nextafterf): Likewise.
6110 [non-C99-based standards] (remainderf): Likewise.
6111 [non-C99-based standards] (rintf): Likewise.
6112 [non-C99-based standards] (scalbf): Likewise.
6113 [non-C99-based standards] (copysignl): Likewise.
6114 [non-C99-based standards] (exp2l): Likewise.
6115 [non-C99-based standards] (log2l): Likewise.
6116 [non-C99-based standards] (modfl): Allow.
6117 [non-C99-based standards] (erfl): Do not allow.
6118 [non-C99-based standards] (erfcl): Likewise.
6119 [non-C99-based standards] (gammal): Likewise.
6120 [non-C99-based standards] (hypotl): Likewise.
6121 [non-C99-based standards] (j0l): Likewise.
6122 [non-C99-based standards] (j1l): Likewise.
6123 [non-C99-based standards] (jnl): Likewise.
6124 [non-C99-based standards] (lgammal): Likewise.
6125 [non-C99-based standards] (tgammal): Likewise.
6126 [non-C99-based standards] (y0l): Likewise.
6127 [non-C99-based standards] (y1l): Likewise.
6128 [non-C99-based standards] (ynl): Likewise.
6129 [non-C99-based standards] (isnanl): Likewise.
6130 [non-C99-based standards] (acoshl): Likewise.
6131 [non-C99-based standards] (asinhl): Likewise.
6132 [non-C99-based standards] (atanhl): Likewise.
6133 [non-C99-based standards] (cbrtl): Likewise.
6134 [non-C99-based standards] (expm1l): Likewise.
6135 [non-C99-based standards] (ilogbl): Likewise.
6136 [non-C99-based standards] (log1pl): Likewise.
6137 [non-C99-based standards] (logbl): Likewise.
6138 [non-C99-based standards] (nextafterl): Likewise.
6139 [non-C99-based standards] (remainderl): Likewise.
6140 [non-C99-based standards] (rintl): Likewise.
6141 [non-C99-based standards] (scalbl): Likewise.
6142 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6143 [non-C99-based standards] (FP_*): Do not allow.
6144 [C99-based standards] (FP_*): Change to
6145 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6146 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6148 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6149 (SIG_ERR): Likewise.
6150 [X/Open-based standards] (SIG_HOLD): Likewise.
6151 (SIG_IGN): Likewise.
6152 (SIGABRT): Use macro-int-constant. Specify type. Require
6157 (SIGSEGV): Likewise.
6159 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6160 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6161 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6162 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6163 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6164 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6165 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6166 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6167 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6168 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6169 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6170 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6171 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6172 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6173 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6174 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6175 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6176 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6177 [X/Open-based standards] (SIGTRAP): Likewise.
6178 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6179 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6180 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6181 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6182 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6185 2012-05-08 Ian Wienand <ianw@vmware.com>
6188 * time/tzset.c (__tzset_parse_tz): Update default rules for
6189 daylight time changes in the Energy Policy Act of 2005.
6191 2012-05-09 Andreas Jaeger <aj@suse.de>
6194 * elf/ldconfig.c (parse_conf): Change string to make clear that
6195 ldconfig only issued a warning if ld.so.conf does not exist.
6197 2012-05-08 David S. Miller <davem@davemloft.net>
6199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6200 movxtod instead of popping the value on the stack.
6202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6204 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6206 * config.h.in: Add HAVE_ARM_PCS_VFP.
6208 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6211 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6212 checking but the checks are disabled for any reason.
6214 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6216 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6217 and ELF64_R_TYPE with ELFW(R_TYPE).
6219 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6221 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6224 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6225 (settimeofday): Likewise.
6227 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6229 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6230 a struct th_u2 inside the union, and move tu_block/tu_code into
6231 a new th_u3 union of tu_block/tu_code inside of that. Move
6232 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6233 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6234 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6235 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6236 (th_stuff): Change to th_u1.tu_stuff.
6238 (th_msg): Change to th_u1.th_u2.tu_data.
6240 2012-05-07 David S. Miller <davem@davemloft.net>
6242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6245 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6246 (SETUP_PIC_REG): Use it.
6247 (SETUP_PIC_REG_LEAF): Use it.
6249 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6253 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6255 (EXPL_FINITE): Likewise.
6257 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6258 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6260 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6262 (EXPL_FINITE): Likewise.
6264 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6265 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6267 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6268 test of -max_value argument for long double.
6269 * sysdeps/i386/fpu/libm-test-ulps: Update.
6270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6272 2012-05-06 David S. Miller <davem@davemloft.net>
6274 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6275 quad soft-float symbols whose references which are compiler
6277 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6279 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6283 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6285 (EXPL_FINITE): Likewise.
6289 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6290 Adjust comments for base varying.
6291 (__expl_finite): Change alias to EXPL_FINITE.
6292 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6294 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6295 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6296 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6297 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6298 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6300 (EXPL_FINITE): Likewise.
6304 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6305 Adjust comments for base varying.
6306 (__expl_finite): Change alias to EXPL_FINITE.
6307 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6312 * math/libm-test.inc (check_float_internal): Correct ulp
6313 calculation for subnormal expected results.
6315 2012-05-06 Andreas Jaeger <aj@suse.de>
6317 * Makeconfig (+math-flags): New, set to -frounding-math.
6318 (+cflags): Add +math-flags so that all of glibc gets compiled with
6321 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6323 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6325 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6331 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6332 (__ieee754_expl): Allow for and saturate large arguments.
6333 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6334 (u_threshold): Likewise.
6335 (__exp): Call __ieee754_exp before checking for overflow and
6337 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6338 (u_threshold): Likewise.
6339 (__expf): Call __ieee754_expf before checking for overflow and
6341 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6342 (u_threshold): Likewise.
6343 (__expl): Call __ieee754_expl before checking for overflow and
6345 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6346 (__ieee754_expl): Allow for and saturate large arguments.
6347 * math/libm-test.inc (exp_test): Add another test. Do not allow
6348 missing overflow exception on overflow.
6349 (expm1_test): Do not allow missing overflow exception on overflow.
6351 * sysdeps/i386/fpu/e_expl.c: Move to ...
6352 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6353 rather than using inline asm.
6354 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6355 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6356 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6358 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6365 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6367 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6368 sysdeps/unix/common/syscalls.list.
6371 (ftruncate): Likewise.
6372 (getrusage): Likewise.
6373 (gettimeofday): Likewise.
6374 (setpgid): Likewise.
6375 (setregid): Likewise.
6376 (setreuid): Likewise.
6377 (sigaction): Likewise.
6378 (truncate): Likewise.
6379 (vhangup): Likewise.
6380 * sysdeps/unix/common/syscalls.list: Remove file.
6381 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6382 * sysdeps/unix/sysv/linux/Implies: Likewise.
6384 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6386 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6388 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6392 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6395 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6398 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6401 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6404 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6407 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6410 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6414 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6418 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6421 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6425 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6429 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6431 * sysdeps/unix/common/bits/dirent.h: Remove file.
6432 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6434 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6435 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6436 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6437 * sysdeps/unix/bsd/isatty.c: Likewise.
6438 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6439 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6440 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6442 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6445 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6446 long double comparison inaccuracies.
6447 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6450 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6452 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6453 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6455 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6458 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6459 nonzero digits before rounding a hex value.
6460 * stdlib/tst-strtod.c (tests): Add another test.
6462 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6464 * sysdeps/s390/fpu/libm-test-ulps: Update.
6466 2012-05-03 Andreas Jaeger <aj@suse.de>
6468 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6469 does not get optimized out.
6470 (malloc_opt_barrier): New.
6472 2012-05-03 Andreas Jaeger <aj@suse.de>
6473 Roland McGrath <roland@hack.frob.com>
6475 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6476 intermediate file deletion.
6477 (generated): Add .symlist files.
6479 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6482 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6483 Redirect under this condition.
6484 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6485 [__USE_GNU] (__dprintf_chk): Not under this condition.
6486 [__USE_GNU] (__vdprintf_chk): Likewise.
6487 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6488 under this condition.
6489 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6490 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6491 [__USE_XOPEN2K8] (vdprintf): Likewise.
6492 [__USE_GNU] (__dprintf_chk): Not under this condition.
6493 [__USE_GNU] (__vdprintf_chk): Likewise.
6494 [__USE_GNU] (dprintf): Likewise.
6495 [__USE_GNU] (vdprintf): Likewise.
6497 2012-05-03 Roland McGrath <roland@hack.frob.com>
6499 * elf/Makefile (common-generated): Set this instead of generated for
6500 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6501 $(all-built-dso)-derived lists.
6503 2012-05-03 Andreas Jaeger <aj@suse.de>
6505 * sysdeps/i386/fpu/libm-test-ulps: Update.
6509 * scripts/gen-FAQ.pl: Likewise.
6510 * manual/install.texi (Installation): Point to online location of
6512 * Makefile (files-for-dist): Remove FAQ.
6515 2012-05-02 Allan McRae <allan@archlinux.org>
6517 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6518 (LDFLAGS-reldepmod5.so): Likewise.
6519 (LDFLAGS-reldep6mod1.so): Likewise.
6520 (LDFLAGS-reldep6mod4.so): Likewise.
6521 (LDFLAGS-reldep8mod3.so): Likewise.
6522 (LDFLAGS-unload4mod1.so): Likewise.
6523 (LDFLAGS-unload4mod2.so): Likewise.
6524 (LDFLAGS-tst-initorder): Likewise.
6525 (LDFLAGS-tst-initordera2.so): Likewise.
6526 (LDFLAGS-tst-initordera3.so): Likewise.
6527 (LDFLAGS-tst-initordera4.so): Likewise.
6528 (LDFLAGS-tst-initorderb2.so): Likewise.
6529 (LDFLAGS-noload): Likewise.
6530 (LDFLAGS-next): Likewise.
6531 (LDFLAGS-order2mod1.so): Likewise.
6532 (LDFLAGS-order2mod2.so): Likewise.
6533 (LDFLAGS-tst-initorder2): Likewise.
6534 (LDFLAGS-tst-initorder2a.so): Likewise.
6535 (LDFLAGS-tst-initorder2b.so): Likewise.
6536 (LDFLAGS-tst-initorder2c.so): Likewise.
6537 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6539 2012-05-02 David S. Miller <davem@davemloft.net>
6541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6543 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6546 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6548 2012-05-02 Andreas Jaeger <aj@suse.de>
6550 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6551 since we manipulate rounding mode.
6552 (CPPFLAGS-test-idouble.c): Likewise.
6553 (CPPFLAGS-test-ifloat.c): Likewise.
6554 (CFLAGS-test-ldouble.c): Likewise.
6555 (CFLAGS-test-double.c): Likewise.
6556 (CFLAGS-test-float.c): Likewise.
6557 (CFLAGS-test-misc.c): Likewise.
6558 (CFLAGS-test-test-fenv.c): Likewise.
6560 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6564 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6565 comparisons to determine direction to adjust input.
6567 2012-05-01 Roland McGrath <roland@hack.frob.com>
6569 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6570 output to the target.
6572 * scripts/localplt.awk: New file.
6573 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6574 (check-localplt-CFLAGS): Variable removed.
6575 ($(all-built-dso:=.jmprel)): New static pattern rule.
6576 (generated): Add those targets.
6577 (localplt-built-dso): New variable.
6578 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6580 * elf/check-localplt.c: File removed.
6582 * scripts/check-execstack.awk: New file.
6583 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6584 (check-execstack-CFLAGS): Variable removed.
6585 ($(objpfx)check-execstack.h): Target removed.
6586 ($(objpfx)execstack-default): New target.
6587 (generated): Add that instead of check-execstack.h.
6588 ($(all-built-dso:=.phdr)): New static pattern rule.
6589 (generated): Add those targets.
6590 * elf/check-execstack.c: File removed.
6592 * scripts/check-textrel.awk: New file.
6593 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6594 (check-textrel-CFLAGS): Variable removed.
6595 (all-built-dso): Use := to define.o
6596 ($(all-built-dso:=.dyn)): New static pattern rule.
6597 (generated): Add those targets.
6598 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6599 * config.make.in (READELF): New substituted variable.
6600 * elf/check-textrel.c: File removed.
6602 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6604 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6606 * conform/data/ctype.h-data [C99-based standards] (isblank):
6608 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6609 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6610 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6611 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6612 Specify type. Require positive value.
6615 [ISO || POSIX] (EILSEQ): Do not expect.
6616 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6617 Specify type. Require positive value.
6618 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6619 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6620 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6621 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6622 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6623 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6624 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6625 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6626 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6627 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6628 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6629 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6630 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6631 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6632 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6633 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6634 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6635 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6636 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6637 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6638 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6639 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6640 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6641 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6642 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6643 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6644 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6645 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6646 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6647 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6648 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6649 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6650 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6651 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6652 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6653 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6654 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6655 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6656 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6657 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6658 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6659 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6660 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6661 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6662 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6663 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6664 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6665 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6666 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6667 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6668 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6669 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6670 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6671 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6672 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6673 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6674 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6675 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6676 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6677 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6678 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6679 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6680 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6681 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6682 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6683 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6684 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6685 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6686 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6687 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6688 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6689 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6690 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6691 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6692 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6693 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6694 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6696 (FLT_ROUNDS): Expect as macro, not constant.
6697 (FLT_MANT_DIG): Use macro-int-constant.
6698 (DBL_MANT_DIG): Likewise.
6699 (LDBL_MANT_DIG): Likewise.
6700 (FLT_DIG): Likewise.
6701 (DBL_DIG): Likewise.
6702 (LDBL_DIG): Likewise.
6703 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6704 (DBL_MIN_EXP): Likewise.
6705 (LDBL_MIN_EXP): Likewise.
6706 (FLT_MAX_EXP): Use macro-int-constant.
6707 (DBL_MAX_EXP): Likewise.
6708 (LDBL_MAX_EXP): Likewise.
6709 (FLT_MAX_10_EXP): Likewise.
6710 (DBL_MAX_10_EXP): Likewise.
6711 (LDBL_MAX_10_EXP): Likewise.
6712 (FLT_MAX): Use macro-constant.
6713 (DBL_MAX): Likewise.
6714 (LDBL_MAX): Likewise.
6715 (FLT_EPSILON): Use macro-constant. Give upper bound.
6716 (DBL_EPSILON): Likewise.
6717 (LDBL_EPSILON): Likewise.
6718 (FLT_MIN): Likewise.
6719 (DBL_MIN): Likewise.
6720 (LDBL_MIN): Likewise.
6721 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6722 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6723 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6724 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6725 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6726 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6727 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6728 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6729 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6730 [ISO11] (FLT_TRUE_MIN): Likewise.
6731 [ISO11] (LDBL_TRUE_MIN): Likewise.
6732 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6733 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6734 (SCHAR_MIN): Use macro-int-constant. Specify type.
6735 (SCHAR_MAX): Likewise.
6736 (UCHAR_MAX): Likewise.
6737 (CHAR_MIN): Likewise.
6738 (CHAR_MAX): Likewise.
6739 (MB_LEN_MAX): Use macro-int-constant.
6740 (SHRT_MIN): Use macro-int-constant. Specify type.
6741 (SHRT_MAX): Likewise.
6742 (USHRT_MAX): Likewise.
6743 (INT_MAX): Likewise.
6744 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6746 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6748 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6750 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6751 bound negative. Suffix upper bound with "L".
6752 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6754 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6756 [C99-based standards] (LLONG_MAX): Likewise.
6757 [C99-based standards] (ULLONG_MAX): Likewise.
6758 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6760 [ISO11] (max_align_t): Require type.
6761 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6763 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6764 from $CFLAGS, without defining away __attribute__ calls.
6765 (checknamespace): Use $CFLAGS_namespace.
6767 * conform/conformtest.pl (@keywords): Only include C99 keywords
6768 for standards based on C99 or C11.
6770 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6772 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6775 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6776 usability of symbols in #if.
6778 * conform/conformtest.pl: If macro or constant types start
6779 "promoted:", expect the symbol to be of the following type
6780 promoted by the integer promotions.
6782 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6783 in one place. Also handle "macro-constant".
6785 * conform/conformtest.pl: Only accept expected macro values with
6786 "==". Parse all "macro" lines in one place.
6787 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6789 * conform/conformtest.pl: Handle braced types on "constant" lines
6790 instead of handling "typed-constant".
6791 * conform/data/signal.h-data: Use "constant" instead of
6794 * conform/conformtest.pl: Handle "optional-" at start of lines in
6795 one place rather than duplicating several cases. Handle each
6796 format of "macro" line with initial "optional-".
6798 * conform/conformtest.pl: Only accept expected constant or
6799 optional-constant values with "==". Parse all "constant" lines in
6800 one place. Parse all "optional-constant" lines in one place.
6801 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6802 * conform/data/fmtmsg.h-data: Likewise.
6803 * conform/data/netinet/in.h-data: Likewise.
6804 * conform/data/tar.h-data: Likewise.
6805 * conform/data/limits.h-data: Use "==" form on "constant" and
6806 "optional-constant" lines.
6808 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6809 Use -std=c99 for XOPEN2K.
6810 (@knownproblems): Remove.
6811 (newtoken): Don't check %isknown.
6813 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6814 Do not expect macro.
6815 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6816 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6817 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6818 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6819 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6820 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6821 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6822 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6823 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6824 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6825 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6826 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6827 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6828 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6829 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6830 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6831 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6832 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6833 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6834 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6835 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6836 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6837 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6838 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6839 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6840 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6841 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6842 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6843 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6844 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6845 [XPG3] (acosh): Likewise.
6846 [XPG3] (asinh): Likewise.
6847 [XPG3] (atanh): Likewise.
6848 [XPG3] (cbrt): Likewise.
6849 [XPG3] (expm1): Likewise.
6850 [XPG3] (ilogb): Likewise.
6851 [XPG3] (log1p): Likewise.
6852 [XPG3] (logb): Likewise.
6853 [XPG3] (nextafter): Likewise.
6854 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6855 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6856 [XPG3] (remainder): Likewise.
6857 [XPG3] (rint): Likewise.
6858 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6859 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6860 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6861 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6862 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6863 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6864 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6865 [UNIX98 || XOPEN2K] (scalb): Expect.
6866 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6867 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6868 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6869 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6870 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6871 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6872 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6873 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6874 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6875 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6876 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6877 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6878 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6879 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6880 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6881 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6882 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6883 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6884 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6885 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6886 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6887 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6888 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6889 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6890 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6891 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6892 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6893 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6894 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6895 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6896 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6897 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6898 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6899 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6900 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6901 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6902 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6903 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6904 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6905 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6906 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6907 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6908 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6909 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6910 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6911 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6912 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6913 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6914 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6915 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6916 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6917 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6918 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6919 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6920 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6921 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6922 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6923 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6924 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6925 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6926 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6927 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6928 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6929 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6930 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6931 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6932 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6933 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6934 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6935 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6936 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6937 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6938 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6939 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6940 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6941 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6942 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6943 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6944 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6945 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6946 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6947 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6948 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6949 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6950 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6951 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6952 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6953 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6954 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6955 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6956 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6957 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6958 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6959 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6960 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6961 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6962 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6963 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6964 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6965 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6966 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6967 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6968 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6969 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6970 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6971 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6972 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6973 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6974 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6975 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6976 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6977 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6978 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6979 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6980 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6981 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6982 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6983 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6984 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6985 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6986 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6987 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6988 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6989 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6990 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6991 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6992 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6993 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6994 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6995 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6996 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6997 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6998 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6999 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7000 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7001 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7002 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7004 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7005 _XOPEN_SOURCE_EXTENDED for XPG4.
7007 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7009 * Makeconfig (localtime): Remove variable.
7010 (inst_localtime-file): Likewise.
7012 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7033 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7037 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7038 comparisons to determine direction to adjust input.
7039 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7040 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7041 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7043 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7045 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7047 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7048 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7050 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7052 * math/libm-test.inc (nexttoward_test): Add more tests.
7054 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7057 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7058 in version GLIBC_2.1, not GLIBC_2.0.
7059 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7062 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7065 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7067 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7068 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7069 * math/libm-test.inc (acos_test): Add more tests.
7070 (asin_test): Likewise.
7071 * sysdeps/i386/fpu/libm-test-ulps: Update.
7072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7075 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7077 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7078 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7079 * math/libm-test.inc (acos_test_tonearest): New function.
7080 (acos_test_towardzero): Likewise.
7081 (acos_test_downward): Likewise.
7082 (acos_test_upward): Likewise.
7083 (asin_test_tonearest): Likewise.
7084 (asin_test_towardzero): Likewise.
7085 (asin_test_downward): Likewise.
7086 (asin_test_upward): Likewise.
7087 (main): Call the new functions.
7088 * sysdeps/i386/fpu/libm-test-ulps: Update.
7089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7093 * math/e_exp10.c: Include <float.h>.
7094 (__ieee754_exp10): Handle underflow here rather than multiplying
7095 large negative argument by M_LN10.
7096 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7098 * math/e_exp10l.c: Include <float.h>.
7099 (__ieee754_exp10l): Handle underflow here rather than multiplying
7100 large negative argument by M_LN10l.
7101 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7102 spurious overflow exception on underflow.
7104 2012-04-29 Marek Polacek <polacek@redhat.com>
7106 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7107 (__fortify_function): New macro.
7108 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7109 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7110 __extern_always_inline.
7111 * libio/bits/stdio2.h: Likewise.
7112 * libio/bits/stdio.h: Likewise.
7113 * string/string.h: Likewise.
7114 * string/bits/string3.h: Likewise.
7115 * include/stdio.h: Likewise.
7116 * stdlib/bits/stdlib.h: Likewise.
7117 * stdlib/stdlib.h: Likewise.
7118 * rt/bits/mqueue2.h: Likewise.
7119 * rt/mqueue.h: Likewise.
7120 * posix/bits/unistd.h: Likewise.
7121 * posix/unistd.h: Likewise.
7122 * io/bits/poll2.h: Likewise.
7123 * io/bits/fcntl2.h: Likewise.
7124 * io/fcntl.h: Likewise.
7125 * io/sys/poll.h: Likewise.
7126 * misc/bits/syslog.h: Likewise.
7127 * misc/bits/syslog-ldbl.h: Likewise.
7128 * misc/sys/syslog.h: Likewise.
7129 * socket/bits/socket2.h: Likewise.
7130 * socket/sys/socket.h: Likewise.
7131 * debug/tst-chk1.c: Likewise.
7132 * wcsmbs/bits/wchar2.h: Likewise.
7133 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7134 * wcsmbs/wchar.h: Likewise.
7136 2012-04-29 Andreas Jaeger <aj@suse.de>
7138 * Makerules (tests): Remove enable-check-abi protection.
7139 (check-abi-warn): Remove.
7140 (check-abi-%): Remove check-abi-warn usage.
7142 * configure.in: Remove check-abi configure option.
7143 * configure: Regenerated.
7144 * config.make.in (enable-check-abi): Remove.
7146 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7149 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7150 double functions to double *_finite functions.
7153 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7154 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7156 * stdio-common/Makefile (tests): Add tst-sprintf3.
7157 * stdio-common/tst-sprintf3.c: New file.
7159 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7160 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7162 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7164 * conform/conformtest.pl: Remove duplicate typed-constant
7167 2012-04-28 David S. Miller <davem@davemloft.net>
7169 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7170 (check-abi-%): Remove AWK script prerequisite and explicit
7172 (check-abi): Rewrite to just diff the symlist with the abilist.
7173 (config-tls, config-abi-config): Delete, no longer used.
7174 (update-abi-%): Remove AWK script and explicit abilist directory.
7175 (update-abi): Rewrite to simply compare and conditionally copy the
7176 symlist and the sysdep abilist file. Remove update-abi-config
7178 * abilist/ld.abilist: Remove.
7179 * abilist/libBrokenLocale.abilist: Remove.
7180 * abilist/libanl.abilist: Remove.
7181 * abilist/libcrypt.abilist: Remove.
7182 * abilist/libdl.abilist: Remove.
7183 * abilist/librt.abilist: Remove.
7184 * abilist/libthread_db.abilist: Remove.
7185 * abilist/libutil.abilist: Remove.
7186 * scripts/extract-abilist.awk: Remove.
7187 * scripts/merge-abilist.awk: Remove.
7188 * sysdeps/generic/libcidn.abilist: New file.
7189 * sysdeps/generic/libnss_compat.abilist: New file.
7190 * sysdeps/generic/libnss_db.abilist: New file.
7191 * sysdeps/generic/libnss_dns.abilist: New file.
7192 * sysdeps/generic/libnss_files.abilist: New file.
7193 * sysdeps/generic/libnss_hesiod.abilist: New file.
7194 * sysdeps/generic/libnss_nis.abilist: New file.
7195 * sysdeps/generic/libnss_nisplus.abilist: New file.
7196 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7197 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7198 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7200 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7201 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7202 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7203 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7204 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7205 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7206 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7207 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7208 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7210 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7211 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7212 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7213 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7215 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7216 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7217 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7218 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7219 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7220 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7222 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7223 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7224 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7226 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7227 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7229 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7231 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7233 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7235 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7239 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7243 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7245 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7247 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7249 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7251 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7329 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7330 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7331 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7333 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7334 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7335 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7336 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7337 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7338 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7339 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7340 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7341 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7342 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7394 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7396 * conform/conformtest.pl: Fix typo in handling typed-constant from
7399 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7401 * README: Cut down references to pre-2.6 Linux kernels and
7402 Linuxthreads. Update lists of configurations in libc and ports
7403 and sort alphabetically. Say "or newer" with Linux kernel version
7406 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7408 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7411 * math/libm-test.inc (logb_test_downward): New test to expose
7412 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7415 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7418 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7420 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7421 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7423 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7425 * sysdeps/unix/i386/brk.S: Remove file.
7426 * sysdeps/unix/i386/dl-brk.S: Likewise.
7427 * sysdeps/unix/i386/pipe.S: Likewise.
7428 * sysdeps/unix/i386/sigreturn.S: Likewise.
7429 * sysdeps/unix/i386/syscall.S: Likewise.
7430 * sysdeps/unix/i386/vfork.S: Likewise.
7431 * sysdeps/unix/i386/wait.S: Likewise.
7433 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7434 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7436 * configure.in (arm*-none*): Do not allow without
7437 --enable-hacker-mode.
7438 (netbsd*): Remove case setting base_os.
7439 (386bsd*): Likewise.
7440 (freebsd*): Likewise.
7444 (ultrix*): Likewise.
7445 (newsos*): Likewise.
7455 (solaris[2-9]*): Likewise.
7457 * configure: Regenerated.
7459 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7462 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7463 overflow or cancellation in calculating denominator.
7464 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7465 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7466 down expression to avoid unexpected rounding in newer GCCs.
7467 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7469 2012-04-26 David S. Miller <davem@davemloft.net>
7471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7472 long-double compat symbols.
7473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7487 2012-04-25 David S. Miller <davem@davemloft.net>
7489 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7490 HWCAP_* values only after the memory barriers have been defined.
7491 (atomic_full_barrier): Define.
7492 (atomic_read_barrier): Define.
7493 (atomic_write_barrier): Define.
7495 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7497 * shlib-versions: Add libgcc_s version information.
7498 * sysdeps/generic/libgcc_s.h: Remove.
7499 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7501 * sysdeps/gnu/unwind-resume.c: Likewise.
7502 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7504 2012-04-25 David S. Miller <davem@davemloft.net>
7506 * sysdeps/unix/sparc/brk.S: Delete.
7507 * sysdeps/unix/sparc/dl-brk.S: Delete.
7508 * sysdeps/unix/sparc/pipe.S: Delete.
7509 * sysdeps/unix/sparc/sysdep.S: Delete.
7510 * sysdeps/unix/sparc/sysdep.h: Delete.
7511 * sysdeps/unix/sparc/vfork.S: Delete.
7512 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7513 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7514 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7515 ret_ERRVAL, r0, r1, MOVE): Define.
7516 (JUMPTARGET): Remove.
7517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7518 sysdeps/unix/sparc/sysdep.h
7519 (ENTRY, END): Remove.
7520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7522 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7524 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7525 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7528 * timezone/README: Update upstream location and email address for
7530 * timezone/zdump.c: Update from tzcode 2012b.
7531 * timezone/zic.c: Likewise.
7533 * configure.in (libc_cv_as_needed): Remove test.
7534 * configure: Regenerated.
7535 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7536 conditional definition.
7537 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7538 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7539 * config.make.in (have-as-needed): Remove variable.
7541 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7542 Paul Pluzhnikov <ppluzhnikov@google.com>
7544 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7547 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7549 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7550 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7551 * sysdeps/sh/strlen.S: Likewise.
7553 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7555 * sysdeps/unix/fork.S: Remove file.
7556 * sysdeps/unix/i386/fork.S: Likewise.
7557 * sysdeps/unix/sparc/fork.S: Likewise.
7559 * sysdeps/unix/system.c: Remove file.
7560 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7562 * sysdeps/unix/getegid.S: Remove file.
7563 * sysdeps/unix/geteuid.S: Likewise.
7565 2012-04-24 Roland McGrath <roland@hack.frob.com>
7567 * scripts/check-localplt.awk: New file.
7568 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7570 * scripts/data/localplt-generic.data: Add a comment.
7572 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7573 NODE when __dir_mkfile failed.
7574 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7575 Reported by Ludovic Courtès <ludo@gnu.org>.
7577 2012-04-24 Andreas Jaeger <aj@suse.de>
7579 * Makerules (common-clean): Also remove gen-as-const-headers
7582 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7584 * Makerules (native-compile): Do not change working directory for
7585 build. Use $(OUTPUT_OPTION) in command.
7586 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7588 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7591 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7592 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7593 * math/libm-test.inc (floor_test): Add more tests.
7594 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7596 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7598 * sysdeps/unix/getdents.c: Remove file.
7599 * sysdeps/unix/sysv/getdents.c: Likewise.
7600 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7602 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7603 sysdeps/unix/mman/syscalls.list.
7605 (mprotect): Likewise.
7608 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7609 * sysdeps/unix/mman/syscalls.list: Remove.
7610 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7612 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7613 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7614 * configure: Regenerated.
7615 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7617 * config.make.in (libgcc_s_suffix): Remove variable.
7619 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7621 * sysdeps/unix/sysv/gethostname.c: Move to ...
7622 * sysdeps/posix/gethostname.c: ... here.
7624 * sysdeps/unix/execve.S: Remove file.
7626 * sysdeps/unix/_exit.S: Remove file.
7628 2012-04-23 Andreas Jaeger <aj@suse.de>
7631 * manual/Makefile: Remove make dist support, there's no
7632 need for a stand-alone documentation tar ball.
7633 (TEXI2DVI): Define always, it's not in Makeconfig.
7637 (glibc-doc-$(edition).tar): Removed
7641 (ETAGS): Remove, it's in Makeconfig.
7642 (move-if-change): Remove, it's in Makeconfig.
7644 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7647 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7648 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7649 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7650 (strtod_l, strtof_l, strtold_l): Remove __wur.
7651 It is not necessarily an error to ignore strtol's return value.
7652 One can reliably look at the stored endptr to decide whether
7653 the number had valid syntax.
7655 2012-04-21 Andreas Jaeger <aj@suse.de>
7658 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7660 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7662 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7663 * sysdeps/unix/sysv/Versions: Remove file.
7665 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7670 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7673 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7674 version from __vm86.
7676 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7678 * sysdeps/unix/common/lxstat.c: Remove file.
7679 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7681 * sysdeps/unix/sysv/Makefile: Remove file.
7683 * sysdeps/unix/sysv/direct.h: Remove file.
7685 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7686 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7687 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7688 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7689 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7690 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7691 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7693 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7695 * sysdeps/unix/xmknod.c: Remove file.
7696 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7698 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7700 * sysdeps/unix/sysv/i386/time.S: Remove file.
7702 * sysdeps/unix/fxstat.c: Remove file.
7703 * sysdeps/unix/xstat.c: Likewise.
7704 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7706 * sysdeps/unix/sysv/sigaction.c: Remove file.
7708 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7709 (sysdep_headers): Remove variable.
7710 [termio.h not in sysdep_headers] (generated): Likewise.
7711 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7712 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7713 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7714 * sysdeps/unix/sysv/tcflow.c: Likewise.
7715 * sysdeps/unix/sysv/tcflush.c: Likewise.
7716 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7717 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7718 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7719 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7720 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7722 * sysdeps/unix/siglist.c: Remove file.
7724 * sysdeps/unix/getppid.S: Remove file.
7726 * sysdeps/unix/mkdir.c: Remove file.
7727 * sysdeps/unix/rmdir.c: Likewise.
7729 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7731 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7733 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7734 errlist-compat value.
7736 2012-04-18 David S. Miller <davem@davemloft.net>
7738 * sysdeps/generic/memcopy.h (reg_char): Delete.
7739 * debug/strcat_chk.c: Use char, not reg_char.
7740 * debug/strcpy_chk.c: Likewise.
7741 * debug/strncat_chk.c: Likewise.
7742 * debug/strncpy_chk.c: Likewise.
7743 * string/memchr.c: Likewise.
7744 * string/memrchr.c: Likewise.
7745 * string/rawmemchr.c: Likewise.
7746 * string/strcat.c: Likewise.
7747 * string/strchr.c: Likewise.
7748 * string/strchrnul.c: Likewise.
7749 * string/strcmp.c: Likewise.
7750 * string/strcpy.c: Likewise.
7751 * string/strncat.c: Likewise.
7752 * string/strncmp.c: Likewise.
7753 * string/strncpy.c: Likewise.
7755 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7757 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7758 __builtin_memcopy is called when src and dest ranges are known to not
7761 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7763 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7764 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7765 fwd_align_merge macro call.
7766 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7767 bwd_align_merge macro call.
7768 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7770 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7772 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7773 bwd_align_merge macros.
7774 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7775 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7776 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7778 2012-04-18 David S. Miller <davem@davemloft.net>
7780 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7782 2012-04-18 Andreas Jaeger <aj@suse.de>
7785 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7786 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7787 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7789 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7790 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7791 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7793 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7794 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7795 Adjust for changed ldbl-128 files.
7797 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7798 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7799 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7801 2012-04-17 David S. Miller <davem@davemloft.net>
7803 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7805 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7807 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7808 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7809 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7810 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7811 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7812 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7814 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7817 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7818 * math/libm-test.inc: Add ilogb errno and exception tests.
7819 * math/w_ilogb.c: New file: ilogb wrapper.
7820 * math/w_ilogbf.c: New file: ilogbf wrapper.
7821 * math/w_ilogbl.c: New file: ilogbl wrapper.
7822 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7823 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7824 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7825 exception being thrown with 0.0 as argument.
7826 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7827 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7828 exception being thrown with 0.0 as argument.
7829 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7830 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7831 exception being thrown with 0.0 as argument.
7832 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7833 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7834 exception being thrown with 0.0 as argument.
7835 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7836 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7837 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7838 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7839 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7840 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7841 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7842 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7843 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7845 2012-04-17 Petr Baudis <pasky@ucw.cz>
7847 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7850 2012-04-16 Marek Polacek <polacek@redhat.com>
7852 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7854 2012-04-16 Marek Polacek <polacek@redhat.com>
7856 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7857 operands of fdivp instruction.
7859 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7861 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7862 * elf/tst-auditmod3b.c: Likewise.
7863 * elf/tst-auditmod4b.c: Likewise.
7864 * elf/tst-auditmod5b.c: Likewise.
7865 * elf/tst-auditmod6b.c: Likewise.
7866 * elf/tst-auditmod6c.c: Likewise.
7867 * elf/tst-auditmod7b.c: Likewise.
7868 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7869 * sysdeps/x86_64/preconfigure.in: Likewise.
7870 * sysdeps/x86_64/preconfigure: Regenerated.
7872 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7874 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7877 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
7879 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7880 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7882 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7885 * locale/iso-639.def: Fix gl language name. Spotted by
7888 2012-04-12 Roland McGrath <roland@hack.frob.com>
7891 * libio/libio.h (__io_write_fn): Update comment.
7893 2012-04-12 Petr Baudis <pasky@ucw.cz>
7896 * stdio.texi (Hook Functions): The user provided writer function
7897 is not allowed to return -1.
7899 2012-04-11 David S. Miller <davem@davemloft.net>
7901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7903 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7905 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7906 Add a leading slash to rtkaio.
7908 2012-04-11 Jim Meyering <meyering@redhat.com>
7911 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7912 It is not necessarily an error to ignore fwrite's return
7913 value. One can reliably use ferror to test for errors after
7916 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7918 * bits/types.h (__snseconds_t): New type.
7919 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7921 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7922 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7923 (__SNSECONDS_T_TYPE): Likewise.
7924 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7925 (__SNSECONDS_T_TYPE): Likewise.
7926 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7927 (__SNSECONDS_T_TYPE): Likewise.
7929 2012-04-10 Andreas Jaeger <aj@suse.de>
7932 * manual/time.texi (Processor Time): Return type of times is
7933 elapsed real time since an arbitrary point in the past.
7934 (CPU Time): Move CLK_TCK from here...
7935 (Processor Time): ...to here. Correct description.
7936 * manual/conf.texi (Constants for Sysconf): Correct description of
7939 2012-04-10 David S. Miller <davem@davemloft.net>
7942 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7943 where the is a gap between DT_REL(A) and DT_JMPREL.
7945 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7947 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7948 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7949 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7951 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7953 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7954 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7955 (dl_main): Handle --inhibit-cache.
7956 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7958 * elf/dl-load.c (_dl_map_object): Use it.
7959 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7961 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7964 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7965 (__ieee754_powl): Saturate large exponents rather than testing for
7966 overflow of y*log2(x).
7967 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7968 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7972 * math/s_ctan.c: Include <float.h>.
7973 (__ctan): Avoid internal overflow or cancellation in calculating
7975 * math/s_ctanf.c: Likewise.
7976 * math/s_ctanl.c: Likewise.
7977 * math/s_ctanh.c: Likewise.
7978 * math/s_ctanhf.c: Likewise.
7979 * math/s_ctanhl.c: Likewise.
7980 * math/libm-test.inc (ctan_test): Add more tests.
7981 (ctanh_test): Likewise.
7982 * sysdeps/i386/fpu/libm-test-ulps: Update.
7983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7985 2012-04-09 Andreas Jaeger <aj@suse.de>
7988 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7989 is an optional BSD extension.
7992 * manual/stdio.texi (Opening Streams): Document additional fopen
7995 2012-04-09 Roland McGrath <roland@hack.frob.com>
7997 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7998 %eax without telling the compiler.
8000 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8003 * manual/install.texi: Use sourceware.org.
8005 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8008 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8009 (__ieee754_pow): Generate overflow and underflow using huge*huge
8010 and tiny*tiny rather than just returning constant infinity or zero
8011 for large exponents.
8012 * math/libm-test.inc (pow_test): Require overflow exceptions for
8013 applicable cases of large exponents.
8016 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8017 (__ieee754_pow): Use iterative multiplication algorithm only for
8018 integer exponents with absolute value below 1024. Check for odd
8019 integer exponents when using algorithm for real exponents.
8020 * math/libm-test.inc (pow_test): Add more tests.
8021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8023 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8026 * math/libm-test.inc (exp_test): Do not allow overflow exception
8029 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8032 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8033 instead of __kernel_standard_f.
8035 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8037 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8038 * sysdeps/x86_64/memset_chk.S: Likewise.
8040 2012-04-08 Andreas Jaeger <aj@suse.de>
8043 * manual/startup.texi (Environment Access): Describe return value
8044 for putenv and setenv.
8047 * manual/filesys.texi (Directory Entries): Add description for
8051 * manual/filesys.texi (Directory Entries): Clarify that it's file
8052 system not operating system in the description of DT_UNKNOWN.
8055 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8057 2012-04-08 Stephen Compall <s11@member.fsf.org>
8060 * manual/llio.texi (Opening and Closing Files): Add cross
8061 reference to explain mode argument.
8063 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8065 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8066 * sysdeps/x86_64/memset_chk.S: Likewise.
8068 2012-04-07 David S. Miller <davem@davemloft.net>
8070 * elf/elf.h (R_SPARC_WDISP10): Define.
8071 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8073 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8074 R_SPARC_SIZE64 and R_SPARC_H34.
8076 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8078 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8079 conditions and remove no longer applicable assertion.
8081 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8083 * bits/byteswap.h: Include <features.h>.
8084 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8085 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8087 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8089 * bits/byteswap.h (__bswap_16): Removed.
8090 Include <bits/byteswap-16.h> to get __bswap_16.
8091 * sysdeps/i386/bits/byteswap.h: Likewise.
8092 * sysdeps/s390/bits/byteswap.h: Likewise.
8093 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8094 * bits/byteswap-16.h: New file.
8095 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8096 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8097 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8098 * string/Makefile (headers): Add bits/byteswap-16.h.
8100 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8103 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8105 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8106 * nss/tst-nss-static.c: New.
8108 2012-04-06 Robert Millan <rmh@gnu.org>
8111 * manual/llio.texi (File Position Primitive): lseek
8112 refers to WHENCE when it really means OFFSET.
8114 2012-04-06 Andreas Jaeger <aj@suse.de>
8116 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8117 strncmp declarations.
8119 * abilist/libc.abilist: Add __poll and __ppoll.
8121 2012-04-05 David S. Miller <davem@davemloft.net>
8123 * scripts/check-local-headers.sh: Accept a host triplet in the
8124 path matched by the exclude regexp.
8126 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8128 * sysdeps/powerpc/powerpc32/dl-machine.h
8129 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8130 * sysdeps/s390/s390-32/dl-machine.h
8131 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8132 * sysdeps/sparc/sparc32/dl-machine.h
8133 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8134 * sysdeps/sparc/sparc64/dl-machine.h
8135 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8137 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8139 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8140 undefined symbol errors.
8142 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8145 2012-04-05 Michael Matz <matz@suse.de>
8148 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8150 2012-04-05 Andreas Jaeger <aj@suse.de>
8153 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8156 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8158 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8159 which ROUND is no valid rounding mode.
8161 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8163 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8165 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8167 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8169 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8170 an exception using FPU order intentionally.
8172 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8174 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8175 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8176 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8177 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8179 2012-04-05 Simon Josefsson <simon@josefsson.org>
8182 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8183 EINVAL when BUFLEN is too smal.
8185 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8188 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8189 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8191 2012-04-03 Andreas Jaeger <aj@suse.de>
8194 * manual/setjmp.texi (System V contexts): Fix sentence.
8197 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8198 New macro for this case.
8199 [!__GNUC__] (__bswap_64): New inline function for this case.
8200 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8201 * bits/byteswap.h: Likewise.
8202 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8203 ull, guard with __GLIBC_HAVE_LONG_LONG.
8205 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8206 __GLIBC_HAVE_LONG_LONG.
8208 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8209 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8211 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8214 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8215 inptr and inend, rather than using last_ch.
8217 2012-04-02 David S. Miller <davem@davemloft.net>
8219 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8220 * stdio-common/printf-parse.h (read_int): Change return type to
8221 'int', return -1 on INT_MAX overflow.
8222 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8223 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8224 overflows INT_MAX. Check for overflow of in-format-string precision
8225 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8226 SIZE_MAX not INT_MAX for integer overflow test.
8227 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8228 skip the construct in the format string but do not record anything.
8229 * stdio-common/bug22.c: Adjust to test both width/prevision
8230 INT_MAX overflow as well as total length INT_MAX overflow. Check
8231 explicitly for proper errno values.
8233 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8235 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8237 * string/test-strcmp.c [! WIDE]: Likewise.
8238 * time/tst-mktime2.c: Likewise for INT_MAX.
8239 * string/test-string.h: #include <sys/param.h> for MIN.
8241 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8242 * sysdeps/i386/init-first.c (init): Likewise.
8243 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8244 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8245 * sysdeps/sh/init-first.c (init): Likewise.
8247 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8249 * po/ru.po: Update from translation team.
8250 * po/vi.po: Likewise.
8252 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8254 * resolv/nss_dns/dns-host.c: Merge copyright years.
8256 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8258 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8259 Optimize memcpy with prefetch if
8260 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8261 src, dst pointers have unequal 16 byte alignments.
8263 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8266 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8267 from a CNAME entry and return the minimum ttl for the query.
8268 (gaih_getanswer_slice): Likewise.
8270 2012-03-30 Jeff Law <law@redhat.com>
8272 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8274 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8275 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8277 * resolv/nss_dns/dns-host.c: Update copyright year.
8279 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8281 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8282 requests to save a system call. Fix check that all bytes are sent.
8284 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8285 comments for sendmmsg.
8287 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8290 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8291 with only 1 character between 0x0041 and 0x01b0.
8292 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8293 * wcsmbs/tst-mbsnrtowcs.c: New file.
8295 2012-03-29 David S. Miller <davem@davemloft.net>
8297 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8298 small copies by hand.
8300 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8303 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8304 _nss_compat_initgroups_dyn): Fall back to malloc/free
8305 for large group memberships.
8307 2012-03-28 David S. Miller <davem@davemloft.net>
8309 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8310 that branches into memcpy.
8311 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8312 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8313 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8314 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8315 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8317 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8319 * sysdeps/sparc/mempcpy.S: New file.
8321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8322 the IFUNC routine in the libc case.
8323 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8325 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8326 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8327 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8328 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8329 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8330 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8331 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8332 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8334 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8335 loop to 256 bytes instead of 64 bytes and fix test signedness.
8337 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8338 * sysdeps/sparc/sparc32/Makefile: rather than here...
8339 * sysdeps/sparc/sparc64/Makefile: and here.
8341 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8343 * malloc/mallocbug.c: Avoid warnings about unused variables.
8345 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8348 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8349 in the right place. Discard and retry query if response is
8350 larger than input buffer size.
8352 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8357 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8358 x for large integer exponent.
8359 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8360 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8361 sign of result as needed afterwards.
8362 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8363 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8364 result for underflowing pow the same as for overflow.
8365 (__kernel_standard_l): Handle powl overflow and underflow here
8366 rather than calling __kernel_standard.
8367 * math/libm-test.inc (pow_test): Add more tests.
8382 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8383 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8384 (__kernel_standard_l): New function.
8385 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8387 * math/w_acosl.c (__acosl): Likewise.
8388 * math/w_asinl.c (__asinl): Likewise.
8389 * math/w_atan2l.c (__atan2l): Likewise.
8390 * math/w_atanhl.c (__atanhl): Likewise.
8391 * math/w_coshl.c (__coshl): Likewise.
8392 * math/w_exp10l.c (__exp10l): Likewise.
8393 * math/w_exp2l.c (__exp2l): Likewise.
8394 * math/w_fmodl.c (__fmodl): Likewise.
8395 * math/w_hypotl.c (__hypotl): Likewise.
8396 * math/w_j0l.c (__j0l, __y0l): Likewise.
8397 * math/w_j1l.c (__j1l, __y1l): Likewise.
8398 * math/w_jnl.c (__jnl, __ynl): Likewise.
8399 * math/w_lgammal.c (__lgammal): Likewise.
8400 * math/w_log10l.c (__log10l): Likewise.
8401 * math/w_log2l.c (__log2l): Likewise.
8402 * math/w_logl.c (__logl): Likewise.
8403 * math/w_powl.c (__powl): Likewise.
8404 * math/w_remainderl.c (__remainderl): Likewise.
8405 * math/w_scalbl.c (sysv_scalbl): Likewise.
8406 * math/w_sinhl.c (__sinhl): Likewise.
8407 * math/w_sqrtl.c (__sqrtl): Likewise.
8408 * math/w_tgammal.c (__tgammal): Likewise.
8409 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8410 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8411 * math/libm-test.inc (acos_test): Add more tests.
8412 (acosh_test): Likewise.
8413 (asin_test): Likewise.
8414 (atanh_test): Likewise.
8415 (exp_test): Likewise.
8416 (exp10_test): Likewise.
8417 (exp2_test): Likewise.
8418 (expm1_test): Likewise.
8419 (lgamma_test): Likewise.
8420 (log_test): Likewise.
8421 (log10_test): Likewise.
8422 (log1p_test): Likewise.
8423 (log2_test): Likewise.
8424 (pow_test): Do not allow some spurious overflow exceptions.
8425 (sqrt_test): Add more tests.
8426 (tgamma_test): Likewise.
8427 (y0_test): Likewise.
8428 (y1_test): Likewise.
8429 (yn_test): Likewise.
8431 2012-03-27 Anton Blanchard <anton@samba.org>
8433 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8435 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8436 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8437 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8439 2012-03-27 David S. Miller <davem@davemloft.net>
8441 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8443 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8446 2012-03-27 Andreas Jaeger <aj@suse.de>
8448 * sysdeps/x86_64/elf/configure.in: Moved to ...
8449 * sysdeps/x86_64/configure.in: ... here.
8450 * sysdeps/x86_64/elf/start.S: Moved to ...
8451 * sysdeps/x86_64/start.S: ... here.
8452 * sysdeps/x86_64/elf/configure: Delete.
8454 * sysdeps/x86_64/configure.in: Merge contents from
8455 sysdeps/i386/configure.in (without i686 check).
8457 * sysdeps/i386/elf/Versions: Merge into ...
8458 * sysdeps/i386/Versions: ... this.
8459 * sysdeps/i386/elf/Versions: Delete file.
8460 * sysdeps/i386/elf/start.S: Moved to ...
8461 * sysdeps/i386/start.S: ...here.
8462 * sysdeps/i386/elf/configure.in: Merge into...
8463 * sysdeps/i386/configure.in: ...here.
8464 * sysdeps/i386/elf/configure.in: Delete file.
8465 * sysdeps/i386/elf/configure: Delete file.
8467 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8468 * debug/backtracesyms.c: ... here.
8469 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8470 * debug/backtracesymsfd.c: ... here.
8471 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8472 * sysdeps/generic/ifunc-sel.h: ... here.
8474 * sysdeps/unix/i386/start.c: Delete file.
8475 * sysdeps/unix/sparc/start.c: Delete file.
8476 * sysdeps/unix/start.c: Delete file.
8478 * sysdeps/sh/elf/configure.in: Moved to ...
8479 * sysdeps/sh/configure.in: ... here.
8480 * sysdeps/sh/elf/start.S: Moved to ...
8481 * sysdeps/sh/start.S: ... here.
8482 * sysdeps/sh/elf/configure: Delete file.
8484 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8485 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8486 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8487 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8488 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8489 * sysdeps/powerpc/powerpc64/start.S: here.
8490 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8491 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8492 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8493 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8494 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8496 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8497 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8498 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8499 * sysdeps/powerpc/powerpc32/start.S: ... here.
8500 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8501 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8502 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8504 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8505 * sysdeps/powerpc/ifunc-sel.h: ... here.
8506 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8507 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8509 * sysdeps/sparc/elf/configure.in: Moved to ...
8510 * sysdeps/sparc/configure.in: ... here.
8511 * sysdeps/sparc/elf/configure: Delete file.
8512 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8513 * sysdeps/sparc/sparc32/start.S: ... here.
8514 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8515 * sysdeps/sparc/sparc64/start.S: ... here.
8516 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8517 * sysdeps/sparc/sparc32/Makefile: ... this.
8518 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8519 * sysdeps/sparc/sparc64/Makefile: ... this.
8521 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8522 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8523 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8524 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8525 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8526 * sysdeps/s390/s390-32/setjmp.S: ... here.
8527 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8528 * sysdeps/s390/s390-32/configure.in: ... here.
8529 * sysdeps/s390/s390-32/elf/configure: Delete file.
8530 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8531 * sysdeps/s390/s390-32/start.S: ... here.
8533 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8534 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8535 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8536 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8537 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8538 * sysdeps/s390/s390-64/setjmp.S: ... here.
8539 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8540 * sysdeps/s390/s390-64/configure.in: ... here
8541 * sysdeps/s390/s390-64/elf/configure: Delete file.
8542 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8543 * sysdeps/s390/s390-64/start.S: ... here.
8544 * sysdeps/s390/s390-64/elf/configure: Delete.
8546 * configure.in: Remove support for elf directories in sysdeps.
8548 * configure: Regenerated.
8549 * sysdeps/i386/configure: Regenerated.
8550 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8551 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8552 * sysdeps/s390/s390-32/configure: Regenerated.
8553 * sysdeps/s390/s390-64/configure: Regenerated.
8554 * sysdeps/sh/configure: Regenerated.
8555 * sysdeps/sparc/configure: Regenerated.
8556 * sysdeps/x86_64/configure: Regenerated.
8558 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8562 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8563 denormal result into account.
8565 2012-03-25 Roland McGrath <roland@hack.frob.com>
8567 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8568 Reported by Allan McRae <allan@archlinux.org>.
8570 2012-03-23 Jeff Law <law@redhat.com>
8572 * nss/getnssent.c (__nss_getent): Fix typo.
8574 2012-03-23 David S. Miller <davem@davemloft.net>
8576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8578 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8580 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8581 to pad to uint64_t for each field.
8582 (dl_tls_index): Replace unsigned long with uint64_t.
8584 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8585 Paul Pluzhnikov <ppluzhnikov@google.com>
8588 * grp/Makefile (otherlibs): Don't set it.
8589 * inet/Makefile (otherlibs): Likewise.
8590 * login/Makefile (otherlibs): Likewise.
8591 * nscd/Makefile (otherlibs): Likewise.
8592 * posix/Makefile (otherlibs): Likewise.
8593 * pwd/Makefile (otherlibs): Likewise.
8594 * rt/Makefile (otherlibs): Likewise.
8595 * sunrpc/Makefile (otherlibs): Likewise.
8596 * nss/Makefile (otherlibs): Likewise.
8597 Add libnss_files to routines and static-only-routines.
8598 ($(objpfx)getent): Remove rule.
8599 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8600 static-only-routines.
8602 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8605 * math/s_cexp.c: Include <float.h>.
8606 (__cexp): Handle exp result overflowing not necessarily
8607 overflowing both real and imaginary parts of result.
8608 * math/s_cexpf.c: Likewise.
8609 * math/s_cexpl.c: Likewise.
8610 * math/libm-test.inc (cexp_test): Add more tests.
8611 * sysdeps/i386/fpu/libm-test-ulps: Update.
8612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8614 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8616 * include/link.h (ELFW): New macro.
8617 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8618 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8620 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8622 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8625 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8627 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8629 (struct La_x32_retval): Likewise.
8631 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8633 * sysdeps/x86_64/preconfigure.in: New file.
8634 * sysdeps/x86_64/preconfigure: New generated file.
8636 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8639 * math/e_exp2l.c: Include <float.h>.
8640 (__ieee754_exp2l): Handle overflow and underflow cases
8641 separately. Only pass fractional part of argument to
8643 * math/libm-test.inc (exp2_test): Add more tests.
8645 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8646 negating x to take absolute value.
8647 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8649 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8650 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8652 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8653 computing low part if x was negated.
8654 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8656 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8658 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8660 (pltexit): Cast int_retval to ptrdiff_t.
8661 * elf/tst-auditmod3b.c: Likewise.
8662 * elf/tst-auditmod4b.c: Likewise.
8663 * elf/tst-auditmod5b.c: Likewise.
8664 * elf/tst-auditmod6b.c: Likewise.
8665 * elf/tst-auditmod6c.c: Likewise.
8666 * elf/tst-auditmod7b.c: Likewise.
8668 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8669 and x32_gnu_pltexit.
8671 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8673 (La_x32_regs): New macro.
8674 (La_x32_retval): Likewise.
8675 (la_x32_gnu_pltenter): New function prototype.
8676 (la_x32_gnu_pltexit): Likewise.
8678 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8680 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8685 * configure.in (libc_cv_cc_nofma): Check for option to disable
8686 generation of FMA instructions.
8687 * configure: Regenerate.
8688 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8689 * sysdeps/ieee754/dbl-64/Makefile: New file.
8690 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8691 Remove brandred-fma4.
8692 (CFLAGS-brandred-fma4.c): Remove.
8693 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8694 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8696 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8699 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8701 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8702 LLONG_MAX != LONG_MAX.
8703 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8704 (_fitoa_word): Likewise.
8705 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8706 LLONG_MAX != LONG_MAX.
8707 * stdio-common/_itowa.h: Include <_itoa.h>.
8708 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8709 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8710 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8711 only if not defined.
8712 (_ITOA_WORD_TYPE): Likewise.
8713 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8714 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8716 2012-03-21 David S. Miller <davem@davemloft.net>
8718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8720 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8722 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8723 of x86_64 when setting libc_cv_slibdir, libdir and
8725 * sysdeps/unix/sysv/linux/configure: Regenerated.
8727 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8729 * manual/lang.texi (Old Varargs): Remove section.
8730 (How Variadic): Update menu.
8731 (va_start): Do not mention varargs.h.
8733 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8734 Joseph Myers <joseph@codesourcery.com>
8736 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8738 * configure: Regenerated.
8740 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8742 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8743 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8746 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8749 * Makefile (files-for-dist): Remove NOTES.
8750 (NOTES): Remove rule.
8751 * README: Don't refer to NOTES.
8752 * manual/creature.texi: Don't include macros.texi.
8753 * manual/intro.texi (creature.texi): Remove comment referring to
8756 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8757 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8758 * configure: Regenerated.
8759 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8761 (libc_cv_as_i686): Likewise.
8762 (libc_cv_cc_avx): Likewise.
8763 (libc_cv_cc_sse2avx): Likewise.
8764 (libc_cv_cc_fma4): Likewise.
8765 (libc_cv_cc_novzeroupper): Likewise.
8766 * sysdeps/i386/configure: Regenerated.
8769 * sysdeps/i386/fpu/s_cexp.S: Remove.
8770 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8771 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8772 * math/libm-test.inc (cexp_test): Add more tests.
8773 * sysdeps/i386/fpu/libm-test-ulps: Update.
8774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8776 2012-03-21 Allan McRae <allan@archlinux.org>
8778 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8780 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8783 * math/w_exp2.c: Do not include <float.h>.
8784 (o_threshold, u_threshold): Remove.
8785 (__exp2): Calculate result before checking finiteness and calling
8787 * math/w_exp2f.c: Likewise.
8788 * math/w_exp2l.c: Likewise.
8789 * math/libm-test.inc (exp2_test): Require overflow exception for
8793 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8794 range of signed 64-bit integers before using fistpll. Remove
8795 checks for whether integers fit in mantissa bits.
8796 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8797 the range of signed 32-bit integers before using fistpl. Remove
8798 checks for whether integers fit in mantissa bits.
8799 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8800 (__ieee754_powl): Test for y outside the range of signed 64-bit
8801 integers before using fistpll. Reduce 64-bit values to 63-bit
8803 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8804 divide-by-zero is raised for zero to large negative powers.
8805 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8806 (__ieee754_powl): Test for y outside the range of signed 64-bit
8807 integers before using fistpll. Reduce 64-bit values to 63-bit
8809 * math/libm-test.inc (pow_test): Add more tests.
8811 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8813 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8814 <stdio-common/_itoa.h>.
8815 * debug/segfault.c: Likewise.
8816 * elf/dl-cache.c: Likewise.
8817 * elf/dl-minimal.c: Likewise.
8818 * elf/dl-misc.c: Likewise.
8819 * elf/dl-sysdep.c: Likewise.
8820 * elf/dl-version.c: Likewise.
8821 * elf/rtld.c: Likewise.
8822 * hurd/hurdsock.c: Likewise.
8823 * hurd/lookup-retry.c: Likewise.
8824 * malloc/malloc.c: Likewise.
8825 * malloc/mtrace.c: Likewise.
8826 * nscd/nscd_getgr_r.c: Likewise.
8827 * nscd/nscd_getpw_r.c: Likewise.
8828 * nscd/nscd_getserv_r.c: Likewise.
8829 * posix/getopt_init.c: Likewise.
8830 * posix/wordexp.c: Likewise.
8831 * stdio-common/_itoa.c: Likewise.
8832 * stdio-common/printf_fphex.c: Likewise.
8833 * stdio-common/vfprintf.c: Likewise.
8834 * string/_strerror.c: Likewise.
8835 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8836 * sysdeps/i386/i686/hp-timing.h: Likewise.
8837 * sysdeps/mach/_strerror.c: Likewise.
8838 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8839 * sysdeps/mach/hurd/sethostid.c: Likewise.
8840 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8841 * sysdeps/mach/xpg-strerror.c: Likewise.
8842 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8843 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8844 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8845 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8846 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8847 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8848 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8849 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8850 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8851 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8852 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8853 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8854 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8855 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8856 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8857 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8858 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8859 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8860 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8861 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8862 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8864 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8866 * stdio-common/_itoa.h: Moved to ...
8867 * sysdeps/generic/_itoa.h: Here.
8869 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8871 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8872 instead of "_itoa.h" and "_itowa.h".
8873 * stdio-common/vfprintf.: Likewise.
8875 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8877 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8879 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8880 (__signbit): Likwise.
8884 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8886 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8889 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8891 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8892 OVERFLOW_EXCEPTION_OK.
8893 * math/libm-test.inc ("Philosophy"): Update comment about
8895 (OVERFLOW_EXCEPTION): Define.
8896 (OVERFLOW_EXCEPTION_OK): Likewise.
8897 (INVALID_EXCEPTION_OK): Renumber.
8898 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8899 (IGNORE_ZERO_INF_SIGN): Likewise.
8900 (test_exceptions): Handle FE_OVERFLOW.
8901 (exp10_test): Expect overflow exceptions.
8902 (exp2_test): Likewise.
8903 (expm1_test): Likewise.
8904 (nextafter_test): Likewise.
8905 (pow_test): Likewise.
8906 (scalbn_test): Likewise.
8907 (scalbln_test): Likewise.
8909 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8911 * sysdeps/x86_64/bits/atomic.h
8912 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8914 (atomic_exchange_acq): Likewise.
8915 (__arch_exchange_and_add_body): Likewise.
8916 (__arch_add_body): Likewise.
8917 (atomic_add_negative): Likewise.
8918 (atomic_add_zero): Likewise.
8920 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8922 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8923 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8925 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8927 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8928 Check __x86_64__ instead of __WORDSIZE.
8930 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8932 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8934 2012-03-19 David S. Miller <davem@davemloft.net>
8936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8938 * sysdeps/sparc/fpu/fenv_private.h: New file.
8939 * sysdeps/sparc/fpu/math_private.h: Use it.
8940 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8942 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8943 (libc_feholdexcept_setroundl): Remove.
8944 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8946 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8947 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8949 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8951 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8952 int64_t instead of long int.
8953 (INSERT_WORDS64): Likwise.
8955 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8957 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8958 _Unwind_GetCFA return to _Unwind_Ptr first.
8960 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8963 * math/s_clog.c: Include <float.h>.
8964 (__clog): Scale large or subnormal inputs.
8965 * math/s_clogf.c: Likewise.
8966 * math/s_clogl.c: Likewise.
8967 * math/s_clog10.c: Include <float.h>.
8968 (M_LOG10_2): Define.
8969 (__clog10): Scale large or subnormal inputs.
8970 * math/s_clog10f.c: Likewise.
8971 * math/s_clog10l.c: Likewise.
8972 * math/libm-test.inc (clog_test): Add more tests.
8973 (clog10_test): Likewise.
8974 * sysdeps/i386/fpu/libm-test-ulps: Update.
8975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8978 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8980 * math/libm-test.inc (atan2_test): Add another test.
8982 * Makerules (common-objdir-compile): Remove.
8983 * sysdeps/unix/Makefile (config-generated): Do not add
8984 $(unix-generated) to variable.
8985 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8986 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8988 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8990 [generic bits/local_lim.h] (before-compile): Do not append to
8992 [generic bits/local_lim.h] (common-generated): Likewise.
8993 [generic sys/param.h] (before-compile): Do not append to variable.
8994 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8995 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8996 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8997 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8999 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9000 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9001 [generic sys/param.h] ($(addprefix
9002 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9003 [generic sys/param.h] (common-generated): Do not append to
9005 [generic sys/param.h] (sysdep_headers): Likewise.
9006 [generic bits/errno.h] (before-compile): Do not append to
9008 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9010 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9011 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9012 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9013 [generic bits/errno.h] (common-generated): Do not append to
9015 [generic bits/ioctls.h] (before-compile): Do not append to
9017 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9019 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9020 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9021 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9023 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9024 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9025 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9026 [generic bits/ioctls.h] (common-generated): Do not append to
9028 [generic sys/syscall.h] (syscall.h): Remove variable.
9029 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9031 [generic sys/syscall.h] (before-compile): Do not append to
9033 [generic sys/syscall.h] (common-generated): Likewise.
9034 * sysdeps/unix/errnos-tmpl.c: Remove file.
9035 * sysdeps/unix/errnos.awk: Likewise.
9036 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9037 * sysdeps/unix/ioctls.awk: Likewise.
9038 * sysdeps/unix/mk-local_lim.c: Likewise.
9039 * sysdeps/unix/snarf-ioctls: Likewise.
9041 2012-03-19 Richard Henderson <rth@twiddle.net>
9043 * sysdeps/i386/fpu/fenv_private.h: New file.
9044 * sysdeps/i386/fpu/math_private.h: Use it.
9045 (math_opt_barrier, math_force_eval): Remove.
9046 (libc_feholdexcept_setround_53bit): Remove.
9047 (libc_feupdateenv_53bit): Remove.
9048 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9049 (math_opt_barrier, math_force_eval): Remove.
9050 (libc_feholdexcept): Remove.
9051 (libc_feholdexcept_setround): Remove.
9052 (libc_fetestexcept, libc_fesetenv): Remove.
9053 (libc_feupdateenv_test): Remove.
9054 (libc_feupdateenv, libc_feholdsetround): Remove.
9055 (libc_feresetround): Remove.
9057 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9058 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9060 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9061 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9062 (libc_feupdateenv_testl): New.
9063 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9064 (libc_feupdateenv_testf): New.
9065 (libc_feupdateenv): Use libc_feupdateenv_test.
9066 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9067 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9069 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9070 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9071 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9072 (libc_feresetround_noex): New.
9073 (libc_feresetround_noexf): New.
9074 (libc_feresetround_noexl): New.
9075 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9076 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9077 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9078 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9080 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9081 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9083 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9084 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9085 SET_RESTORE_ROUND_NOEX.
9086 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9087 SET_RESTORE_ROUND_NOEXF.
9088 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9089 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9090 (libc_feholdsetroundf): New.
9091 (libc_feresetround, libc_feresetroundf): New.
9093 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9094 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9095 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9097 * sysdeps/generic/math_private.h: Include <fenv.h>.
9098 (default_libc_feholdexcept): New.
9099 (default_libc_feholdexcept_setround): New.
9100 (default_libc_fesetenv, default_libc_feupdateenv): New.
9101 (libc_feholdexcept): Only define if undefined.
9102 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9103 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9104 (libc_feholdexcept_setroundl): Likewise.
9105 (libc_feholdexcept_setround_53bit): Likewise.
9106 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9107 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9108 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9109 (libc_feupdateenv_53bit): Likewise.
9110 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9111 (libc_feholdexcept): Convert from macro to inline function.
9112 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9113 (libc_fesetenv, libc_feupdateenv): Likewise.
9115 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9116 not previously defined.
9117 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9118 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9119 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9120 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9121 * sysdeps/ieee754/flt-32/math_private.h: New file.
9122 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9123 math_private.h below SET_FLOAT_WORD.
9124 (__isnan, __isinf_ns, __finite): Remove.
9125 (__isnanf, __isinf_nsf, __finitef): Remove.
9127 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9131 2012-03-17 David S. Miller <davem@davemloft.net>
9134 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9137 2012-03-16 David S. Miller <davem@davemloft.net>
9139 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9143 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9145 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9146 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9147 sysdep_routines when subdir is sysvipc.
9148 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9151 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9153 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9155 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9158 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9160 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9161 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9162 (__lround): Renamed to ...
9163 (__llround): This. Replace long int with long long int.
9164 Define lround functions as aliases of llround functions.
9165 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9167 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9169 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9170 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9171 adresses to uintptr_t. Replace "long int" and "unsigned long
9172 int" with "greg_t" on va_arg.
9174 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9176 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9177 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9179 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9180 Move e_machine check before EI_CLASS check. Handle x32
9181 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9182 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9183 SKIP_EM_IA_64 and include
9184 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9186 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9187 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9188 (add_system_dir): New macro.
9190 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9191 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9193 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9204 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9206 * math/w_j0f.c (j0f): Likewise.
9208 * math/w_j0l.c (__j0l): Likewise.
9210 * math/w_j1.c (j1): Likewise.
9212 * math/w_j1f.c (j1f): Likewise.
9214 * math/w_j1l.c (__j1l): Likewise.
9216 * math/w_jn.c (jn): Likewise.
9218 * math/w_jnf.c (jnf): Likewise.
9220 * math/w_jnl.c (__jnl): Likewise.
9222 * math/libm-test.inc (j0_test): Add more tests.
9223 (j1_test): Likewise.
9224 (jn_test): Likewise. Add trailing semicolon to existing test.
9225 (y0_test): Likewise.
9226 (y1_test): Likewise.
9227 * sysdeps/i386/fpu/libm-test-ulps: Update.
9228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9232 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9233 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9234 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9235 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9236 (__tanl): Set errno for infinite argument.
9237 * sysdeps/i386/fpu/mptan.c: Remove.
9238 * sysdeps/i386/fpu/s_tan.S: Likewise.
9239 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9240 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9241 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9242 * math/libm-test.inc (tan_test): Add more tests and enable more
9243 tests for double and long double.
9244 * sysdeps/i386/fpu/libm-test-ulps: Update.
9245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9247 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9249 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9250 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9252 2012-03-16 Roland McGrath <roland@hack.frob.com>
9254 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9255 * configure.in: Use it for both main tree and add-ons.
9256 * configure: Regenerated.
9258 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9260 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9262 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9264 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9268 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9269 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9270 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9272 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9274 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9275 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9277 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9278 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9279 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9280 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9281 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9282 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9283 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9284 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9285 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9286 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9287 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9288 * math/libm-test.inc (cos_test): Add more tests and enable more
9289 tests for long double.
9290 (sin_test): Likewise.
9291 (sincos_test): Likewise.
9292 * sysdeps/i386/fpu/libm-test-ulps: Update.
9293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9295 2012-03-16 David S. Miller <davem@davemloft.net>
9297 * sysdeps/sparc/fpu/math_private.h: New file.
9299 2012-03-15 David S. Miller <davem@davemloft.net>
9301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9311 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9315 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9316 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9318 * sysdeps/sparc/sparc-ifunc.h: New file.
9319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9344 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9345 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9346 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9357 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9358 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9359 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9360 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9361 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9362 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9364 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9366 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9370 2012-03-15 Andreas Jaeger <aj@suse.de>
9373 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9374 ieee754/flt-32 implementation for sin, cos and sincos.
9375 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9376 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9377 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9378 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9379 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9380 ieee754/flt-32 implementation for tan.
9382 * math/libm-test.inc (cos_test): Enable some large input tests for
9384 (sin_test): Likewise.
9385 (sincos_test): Likewise.
9386 (tan_test): Add tests for large input.
9388 * sysdeps/i386/fpu/libm-test-ulps: Update.
9390 2012-03-15 Andreas Jaeger <aj@suse.de>
9393 * math/libm-test.inc (cos_test): Add more test cases.
9394 (sin_test): Likewise.
9395 (sincos_test): Likewise.
9397 2012-03-15 Andreas Jaeger <aj@suse.de>
9400 * math/libm-test.inc (cos_test): Add a test case for large input
9402 (sin_test): Likewise.
9403 (sincos_test): Likewise.
9405 2012-03-15 Andreas Jaeger <aj@suse.de>,
9406 Joseph Myers <joseph@codesourcery.com>
9409 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9410 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9411 * sysdeps/i386/fpu/branred.c: Likewise.
9412 * sysdeps/i386/fpu/dosincos.c: Likewise.
9413 * sysdeps/i386/fpu/mpa.c: Likewise.
9414 * sysdeps/i386/fpu/s_cos.S: Likewise.
9415 * sysdeps/i386/fpu/s_sin.S: Likewise.
9416 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9417 * sysdeps/i386/fpu/sincos32.c: Likewise.
9419 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9421 (libc_feupdateenv_53bit): Define.
9422 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9424 (libc_feupdateenv_53bit): Define.
9426 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9427 53 bit (without extend i386 double precision).
9429 * math/libm-test.inc (sincos_test): Add tests for large input.
9433 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9435 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9439 2012-03-15 David S. Miller <davem@davemloft.net>
9441 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9442 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9443 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9444 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9468 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9469 fmin/fmax sysdep routines.
9470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9472 2012-03-14 David S. Miller <davem@davemloft.net>
9474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9475 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9476 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9477 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9478 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9479 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9480 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9481 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9485 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9494 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9495 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9496 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9497 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9498 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9499 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9500 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9501 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9502 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9546 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9551 * sysdeps/sparc/configure.in: New file.
9552 * sysdeps/sparc/configure: Generate.
9553 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9554 * configure: Regenerate.
9555 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9556 * config.make.in (have-as-vis3): New.
9557 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9558 available use -Av9d instead of -Av9a.
9559 * sysdeps/sparc/sparc64/Makefile: Likewise.
9560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9569 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9572 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9573 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9575 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9576 fzeros/fnegs to load 0x80000000 into a float register instead of
9578 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9580 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9584 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9585 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9586 ($(inst_includedir)/bits/syscall.h): Remove rule.
9587 ($(objpfx)bits/syscall.d): Include instead of
9588 $(objpfx)syscall-list.d.
9589 (generated): Change syscall-list.h and syscall-list.d to
9590 bits/syscall.h and bits/syscall.d.
9592 2012-03-14 Roland McGrath <roland@hack.frob.com>
9595 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9597 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9600 * math/s_csqrt.c: Include <float.h>.
9601 (__csqrt): Scale large or subnormal inputs.
9602 * math/s_csqrtf.c: Likewise.
9603 * math/s_csqrtl.c: Likewise.
9604 * math/libm-test.inc (csqrt_test): Add more tests.
9605 * sysdeps/i386/fpu/libm-test-ulps: Update.
9606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9609 * math/libm-test.inc (hypot_test): Add more tests.
9611 2012-03-13 David S. Miller <davem@davemloft.net>
9614 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9615 double-precision for the calculation instead of scaling.
9617 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9619 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9620 manipulate bits before adding and subtracting TWO52[sx].
9621 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9622 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9624 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9626 2012-03-13 David S. Miller <davem@davemloft.net>
9628 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9629 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9630 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9631 rtld-global-offsets.h
9632 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9634 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9637 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9639 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9640 'err' in the ifdef scope in which it is actually used.
9642 * nss/nss_db/db-init.c: Include string.h
9644 2012-03-12 David S. Miller <davem@davemloft.net>
9646 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9647 masking out of the most significant byte of random value used.
9648 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9649 Fix coding style in previous change.
9651 * sysdeps/unix/sysv/linux/kernel-features.h
9652 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9653 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9655 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9658 2012-03-11 David S. Miller <davem@davemloft.net>
9660 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9661 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9662 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9663 for 'resultvar' otherwise things get truncated on 64-bit.
9665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9666 Fix masking out of the most significant byte of random value used.
9668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9670 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9674 2012-03-09 David S. Miller <davem@davemloft.net>
9676 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9677 variables with appropriate CPP guards.
9678 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9679 frame pointer, not the stack pointer. Correct layout comments. Fix test
9680 on resulting framesize and the management of the outregs buffer for pltexit.
9681 Preserve floating point return values across _dl_call_pltexit call.
9682 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9683 framesize and the management of the outregs buffer for pltexit.
9684 Preserve floating point return values across _dl_call_pltexit
9686 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9687 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9688 (print_exit): Fix format string for return register value.
9690 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9692 * sunrpc/Makefile (others): Add rpcgen.
9693 ($(objpfx)rpcgen): Remove special build rule and dependency on
9695 * sunrpc/rpcgen.c: New file.
9697 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9700 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9701 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9702 * sysdeps/i386/crti.S: Likewise.
9703 * sysdeps/i386/crtn.S: Likewise.
9704 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9705 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9706 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9707 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9708 * sysdeps/sh/crti.S: Likewise.
9709 * sysdeps/sh/crtn.S: Likewise.
9710 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9713 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9715 * locale/programs/locfile-kw.gperf: Likewise.
9716 * locale/programs/charmap-kw.h: Regenerated.
9717 * locale/programs/locfile-kw.h: Likewise.
9720 * intl/plural.y: Replace FSF snail mail address with URL.
9721 * intl/plural.c: Regenerated.
9723 2012-03-09 Richard Henderson <rth@twiddle.net>
9725 * include/math_private.h: Remove file.
9726 * math/math_private.h: Move file ...
9727 * sysdeps/generic/math_private.h: ... here.
9729 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9730 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9731 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9733 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9734 and <math_private.h>.
9735 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9736 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9737 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9738 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9739 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9740 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9741 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9742 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9743 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9744 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9745 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9746 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9747 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9748 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9749 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9750 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9751 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9752 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9753 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9754 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9756 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9757 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9758 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9759 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9760 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9761 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9762 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9763 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9764 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9765 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9766 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9767 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9768 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9769 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9770 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9771 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9772 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9773 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9774 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9775 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9776 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9777 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9778 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9779 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9780 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9781 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9782 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9783 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9784 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9785 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9786 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9787 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9788 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9789 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9790 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9791 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9792 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9793 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9794 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9795 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9796 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9797 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9798 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9799 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9800 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9801 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9802 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9803 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9804 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9805 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9806 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9807 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9808 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9809 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9810 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9811 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9812 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9813 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9814 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9815 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9816 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9817 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9818 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9819 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9820 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9821 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9822 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9823 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9824 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9825 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9826 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9827 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9828 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9829 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9830 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9831 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9832 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9833 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9834 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9835 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9836 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9837 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9838 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9839 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9840 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9841 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9842 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9843 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9844 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9845 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9846 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9847 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9848 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9849 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9850 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9851 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9852 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9853 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9854 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9855 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9856 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9857 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9858 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9859 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9860 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9861 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9862 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9863 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9864 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9865 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9866 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9867 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9868 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9869 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9870 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9871 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9872 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9873 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9874 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9875 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9876 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9877 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9878 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9879 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9880 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9881 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9882 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9883 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9884 * sysdeps/ieee754/k_standard.c: Likewise.
9885 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9886 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9887 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9889 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9890 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9891 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9892 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9893 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9894 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9895 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9896 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9897 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9898 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9899 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9900 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9901 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9902 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9903 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9904 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9905 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9906 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9907 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9908 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9909 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9910 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9911 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9912 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9913 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9914 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9915 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9916 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9917 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9918 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9919 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9920 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9921 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9922 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9923 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9924 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9925 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9926 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9927 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9928 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9929 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9930 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9931 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9932 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9933 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9934 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9935 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9936 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9937 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9938 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9939 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9940 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9941 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9942 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9943 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9944 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9945 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9946 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9947 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9948 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9949 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9950 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9951 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9952 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9953 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9954 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9955 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9956 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9957 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9958 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9959 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9960 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9961 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9962 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9963 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9964 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9965 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9966 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9967 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9968 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9969 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9970 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9971 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9972 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9973 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9974 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9975 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9976 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9977 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9978 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9979 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9980 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9981 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9982 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9983 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9984 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9985 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9986 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9987 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9988 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9989 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9990 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9991 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9992 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9993 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9994 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9995 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9996 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9997 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9998 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9999 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10000 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10001 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10002 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10003 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10004 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10005 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10006 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10007 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10008 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10009 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10010 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10011 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10012 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10013 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10014 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10015 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10016 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10017 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10018 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10019 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10020 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10021 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10022 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10023 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10024 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10025 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10026 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10027 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10028 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10029 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10030 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10031 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10032 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10033 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10034 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10035 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10036 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10037 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10038 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10039 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10040 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10041 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10042 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10043 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10044 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10045 * sysdeps/ieee754/s_lib_version.c: Likewise.
10046 * sysdeps/ieee754/s_matherr.c: Likewise.
10047 * sysdeps/ieee754/s_signgam.c: Likewise.
10048 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10049 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10050 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10051 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10052 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10053 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10054 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10055 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10056 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10057 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10058 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10059 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10060 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10061 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10062 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10063 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10064 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10065 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10066 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10067 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10068 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10070 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10072 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10073 * sunrpc/rpc_main.c: Likewise.
10074 * sunrpc/rpc_svcout.c: Likewise.
10076 2012-03-09 David S. Miller <davem@davemloft.net>
10078 * include/math_private.h: New file.
10080 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10082 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10083 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10084 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10085 from <bits/socket_type.h>.
10086 (enum __socket_type): Don't define here.
10087 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10089 bits/socket_type.h.
10092 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10093 checking __USE_GNU.
10095 * Makerules ($(inst_includedir)/%.h): New rule.
10096 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10097 (install-others): Remove variable setting.
10098 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10100 2012-03-08 Richard Henderson <rth@twiddle.net>
10102 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10103 from macro to inline function; merge with the
10104 !__LIBC_INTERNAL_MATH_INLINES version.
10105 (__ieee754_sqrtf): Likewise.
10107 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10108 to inline function.
10109 (__rintf, __floor, __floorf): Likewise.
10111 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10112 macro to inline function.
10113 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10115 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10116 not <math/math_private.h>.
10118 2012-03-08 David S. Miller <davem@davemloft.net>
10120 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10122 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10124 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10126 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10128 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10129 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10131 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10133 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10134 be defined individually, they must be defined as a block. Define
10135 S for printing a string instead of hidint the different by using a
10136 macro for adding the 'l'.
10137 * stdio-common/tst-fphex-wide.c: Adjust.
10139 2012-03-07 Marek Polacek <polacek@redhat.com>
10141 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10143 2012-03-08 Marek Polacek <polacek@redhat.com>
10146 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10147 * stdio-common/tst-fphex.c: Define a few macros to make the
10148 test reusable. Use them.
10149 * stdio-common/tst-fphex-wide.c: New file.
10151 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10154 * manual/macros.texi (gnusystems): New macro.
10155 (nongnusystems): Likewise.
10156 (gnulinuxhurdsystems): Likewise.
10157 (gnuhurdsystems): Likewise..
10158 (gnulinuxsystems): Likewise.
10159 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10160 variants of the GNU system, not "GNU system".
10161 * manual/conf.texi: Likewise.
10162 * manual/errno.texi: Likewise. Update example of errno macro
10164 * manual/filesys.texi: Likewise.
10165 (getumask): Document as specific to GNU/Hurd.
10166 * manual/install.texi: Likewise. Reword some references to
10168 * manual/intro.texi: Likewise.
10169 * manual/io.texi: Likewise.
10170 (File Name Portability): Detail which constraints are inapplicable
10171 to all GNU systems and which are only inapplicable to GNU/Hurd.
10172 * manual/job.texi: Likewise.
10173 * manual/llio.texi: Likewise.
10174 (O_NOCTTY): Document as present on GNU/Linux.
10175 * manual/maint.texi: Likewise.
10176 * manual/memory.texi: Likewise.
10177 * manual/pattern.texi: Likewise.
10178 * manual/pipe.texi: Likewise.
10179 * manual/process.texi: Likewise.
10180 * manual/resource.texi: Likewise.
10181 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10183 * manual/setjmp.texi: Likewise.
10184 * manual/signal.texi: Likewise.
10185 * manual/startup.texi: Likewise.
10186 * manual/stdio.texi: Likewise.
10187 * manual/terminal.texi: Likewise.
10188 (ONLCR): Document as POSIX.
10189 (OXTABS): Document availability on GNU/Linux as XTABS.
10190 (ONOEOT): Document availability separately from other bits.
10191 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10192 * manual/time.texi: Likewise.
10193 * manual/users.texi: Likewise.
10194 * INSTALL: Regenerated.
10195 * sysdeps/gnu/errlist.c: Regenerated.
10197 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10198 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10199 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10201 * configure: Regenerated.
10203 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10205 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10206 default includes instead of AC_HEADER_CHECK.
10207 * sysdeps/i386/configure: Regenerated.
10210 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10211 * math/s_cacoshf.c (__cacoshf): Likewise.
10212 * math/s_cacoshl.c (__cacoshl): Likewise.
10213 * math/s_casinh.c (__casinh): Set signs of result from argument.
10214 * math/s_casinhf.c (__casinhf): Likewise.
10215 * math/s_casinhl.c (__casinhl): Likewise.
10216 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10217 (casinh_test): Add more tests.
10218 * sysdeps/i386/fpu/libm-test-ulps: Update.
10219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10221 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10223 * po/zh_TW.po: Update from translation team.
10225 * login/Makefile (distribute): Remove variable.
10226 * catgets/Makefile: Likewise.
10227 * mach/Makefile: Likewise.
10228 * malloc/Makefile: Likewise.
10229 * misc/Makefile: Likewise.
10230 * iconv/Makefile: Likewise.
10231 * nscd/Makefile: Likewise.
10232 * hurd/Makefile: Likewise.
10233 * manual/Makefile: Likewise.
10234 * locale/Makefile: Likewise.
10235 * intl/Makefile: Likewise.
10236 * conform/Makefile: Likewise.
10237 * nss/Makefile: Likewise.
10238 * time/Makefile: Likewise.
10239 * soft-fp/Makefile: Likewise.
10240 * dirent/Makefile: Likewise.
10241 * gmon/Makefile: Likewise.
10242 * po/Makefile: Likewise.
10243 * rt/Makefile: Likewise.
10244 * socket/Makefile: Likewise.
10245 * math/Makefile: Likewise.
10246 * signal/Makefile: Likewise.
10247 * debug/Makefile: Likewise.
10248 * elf/Makefile: Likewise.
10249 * timezone/Makefile: Likewise.
10250 * stdlib/Makefile: Likewise.
10251 * iconvdata/Makefile: Likewise.
10252 * sunrpc/Makefile: Likewise.
10253 * io/Makefile: Likewise.
10254 * argp/Makefile: Likewise.
10255 * inet/Makefile: Likewise.
10256 * hesiod/Makefile: Likewise.
10257 * grp/Makefile: Likewise.
10258 * csu/Makefile: Likewise.
10259 * wctype/Makefile: Likewise.
10260 * crypt/Makefile: Likewise.
10261 * libio/Makefile: Likewise.
10262 * string/Makefile: Likewise.
10263 * nis/Makefile: Likewise.
10264 * resolv/Makefile: Likewise.
10265 * stdio-common/Makefile: Likewise.
10266 * wcsmbs/Makefile: Likewise.
10267 * dlfcn/Makefile: Likewise.
10268 * posix/Makefile: Likewise.
10271 * timezone/Makefile: Don't install timezone files, just the programs
10274 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10276 * nss/databases.def: Add missing gshadow entry.
10278 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10280 2012-03-06 Marek Polacek <polacek@redhat.com>
10283 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10284 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10285 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10286 * stdio-common/tst-long-dbl-fphex.c: New file.
10288 2012-03-06 David S. Miller <davem@davemloft.net>
10290 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10291 (set_obp_int): New function.
10292 (get_obp_int): New function.
10293 (__get_clockfreq_via_dev_openprom): Likewise.
10294 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10295 Avoid unused variable warnings on 'val' and use builtin_expect.
10296 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10298 (INLINE_CLONE_SYSCALL): Likewise.
10300 2012-03-05 David S. Miller <davem@davemloft.net>
10302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10304 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10308 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10309 only for |x| >= 40.
10310 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10312 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10314 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10315 Replace gettimeofday with __vdso_gettimeofday.
10317 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10318 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10319 __vdso_clock_gettime and __vdso_getcpu.
10321 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10322 time with __vdso_time.
10324 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10326 * manual/lang.texi (size_t): Note types to which size_t may be
10327 equivalent with the GNU C Library, but do not describe when
10328 differences between them are significant.
10330 2012-03-05 Andreas Jaeger <aj@suse.de>
10332 * sysdeps/i386/fpu/libm-test-ulps: Update.
10334 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10337 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10338 (__ieee754_pow): Save and restore rounding mode and use
10339 round-to-nearest for main computations.
10340 * math/libm-test.inc (pow_test_tonearest): New function.
10341 (pow_test_towardzero): Likewise.
10342 (pow_test_downward): Likewise.
10343 (pow_test_upward): Likewise.
10344 (main): Call the new functions.
10345 * sysdeps/i386/fpu/libm-test-ulps: Update.
10346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10349 * math/libm-test.inc (cosh_test_tonearest): New function.
10350 (cosh_test_towardzero): Likewise.
10351 (cosh_test_downward): Likewise.
10352 (cosh_test_upward): Likewise.
10353 (sinh_test_tonearest): Likewise.
10354 (sinh_test_towardzero): Likewise.
10355 (sinh_test_downward): Likewise.
10356 (sinh_test_upward): Likewise.
10357 (main): Call the new functions.
10358 * sysdeps/i386/fpu/libm-test-ulps: Update.
10359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10361 2012-03-05 Tom de Vries <tom@codesourcery.com>
10363 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10364 default stack guard is set in last bytes.
10365 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10367 2012-03-05 Kees Cook <keescook@chromium.org>
10369 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10372 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10373 possibly allocate from heap instead of stack.
10374 * stdio-common/bug-vfprintf-nargs.c: New file.
10375 * stdio-common/Makefile (tests): Add nargs overflow test.
10377 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10381 2012-03-03 Marek Polacek <polacek@redhat.com>
10383 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10384 * math/math_private.h: Likewise.
10385 * stdlib/tst-strtod.c: Likewise.
10386 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10387 * sysdeps/x86_64/bits/atomic.h: Likewise.
10389 2012-03-02 David S. Miller <davem@davemloft.net>
10391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10395 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10396 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10397 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10398 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10400 2012-03-02 Roland McGrath <roland@hack.frob.com>
10403 * manual/examples/README: New file, says the example source files
10404 can be used under GPL>=2.
10405 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10406 line containing just "*/".
10407 * manual/examples/add.c: Add copyright header (GPL>=2).
10408 * manual/examples/argp-ex1.c: Likewise.
10409 * manual/examples/argp-ex2.c: Likewise.
10410 * manual/examples/argp-ex3.c: Likewise.
10411 * manual/examples/argp-ex4.c: Likewise.
10412 * manual/examples/atexit.c: Likewise.
10413 * manual/examples/db.c: Likewise.
10414 * manual/examples/dir.c: Likewise.
10415 * manual/examples/dir2.c: Likewise.
10416 * manual/examples/execinfo.c: Likewise.
10417 * manual/examples/filecli.c: Likewise.
10418 * manual/examples/filesrv.c: Likewise.
10419 * manual/examples/fmtmsgexpl.c: Likewise.
10420 * manual/examples/genpass.c: Likewise.
10421 * manual/examples/inetcli.c: Likewise.
10422 * manual/examples/inetsrv.c: Likewise.
10423 * manual/examples/isockad.c: Likewise.
10424 * manual/examples/longopt.c: Likewise.
10425 * manual/examples/memopen.c: Likewise.
10426 * manual/examples/memstrm.c: Likewise.
10427 * manual/examples/mkfsock.c: Likewise.
10428 * manual/examples/mkisock.c: Likewise.
10429 * manual/examples/mygetpass.c: Likewise.
10430 * manual/examples/pipe.c: Likewise.
10431 * manual/examples/popen.c: Likewise.
10432 * manual/examples/rprintf.c: Likewise.
10433 * manual/examples/search.c: Likewise.
10434 * manual/examples/select.c: Likewise.
10435 * manual/examples/setjmp.c: Likewise.
10436 * manual/examples/sigh1.c: Likewise.
10437 * manual/examples/sigusr.c: Likewise.
10438 * manual/examples/stpcpy.c: Likewise.
10439 * manual/examples/strdupa.c: Likewise.
10440 * manual/examples/strftim.c: Likewise.
10441 * manual/examples/strncat.c: Likewise.
10442 * manual/examples/subopt.c: Likewise.
10443 * manual/examples/swapcontext.c: Likewise.
10444 * manual/examples/termios.c: Likewise.
10445 * manual/examples/testopt.c: Likewise.
10446 * manual/examples/testpass.c: Likewise.
10447 * manual/examples/timeval_subtract.c: Likewise.
10450 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10452 * manual/timeval_subtract.c.texi: ... here, new file.
10454 2012-03-02 David S. Miller <davem@davemloft.net>
10456 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10458 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10461 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10462 (__sin): Save and restore rounding mode and use round-to-nearest
10463 for all computations.
10464 (__cos): Save and restore rounding mode and use round-to-nearest
10465 for all computations.
10466 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10468 (tan): Save and restore rounding mode and use round-to-nearest for
10470 * math/libm-test.inc (cos_test_tonearest): New function.
10471 (cos_test_towardzero): Likewise.
10472 (cos_test_downward): Likewise.
10473 (cos_test_upward): Likewise.
10474 (sin_test_tonearest): Likewise.
10475 (sin_test_towardzero): Likewise.
10476 (sin_test_downward): Likewise.
10477 (sin_test_upward): Likewise.
10478 (tan_test_tonearest): Likewise.
10479 (tan_test_towardzero): Likewise.
10480 (tan_test_downward): Likewise.
10481 (tan_test_upward): Likewise.
10482 (main): Call the new functions.
10483 * sysdeps/i386/fpu/libm-test-ulps: Update.
10484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10487 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10488 small n, then large n, before computing and testing k+n.
10489 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10490 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10492 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10494 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10495 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10496 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10497 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10498 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10499 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10500 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10501 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10502 * math/libm-test.inc (scalbn_test): Add more tests.
10503 (scalbln_test): Likewise.
10505 * manual/filesys.texi (mode_t): Describe constraints on size and
10506 signedness, not exact equivalence to a particular type.
10508 (ino64_t): Likewise.
10510 (nlink_t): Likewise.
10511 (blkcnt_t): Likewise.
10512 (blkcnt64_t): Likewise.
10513 * manual/llio.texi (off_t): Likewise.
10516 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10517 (__ieee754_exp): Save and restore rounding mode and use
10518 round-to-nearest for all computations.
10519 * math/libm-test.inc (exp_test_tonearest): New function.
10520 (exp_test_towardzero): Likewise.
10521 (exp_test_downward): Likewise.
10522 (exp_test_upward): Likewise.
10523 (main): Call the new functions.
10524 * sysdeps/i386/fpu/libm-test-ulps: Update.
10525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10527 2012-03-01 Chris Demetriou <cgd@google.com>
10529 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10530 have predictable order.
10532 2012-03-01 David S. Miller <davem@davemloft.net>
10534 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10536 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10537 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10538 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10539 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10541 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10542 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10543 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10545 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10546 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10547 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10548 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10549 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10553 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10554 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10555 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10557 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10558 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10559 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10560 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10561 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10562 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10563 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10564 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10565 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10566 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10567 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10568 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10569 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10570 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10571 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10572 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10573 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10574 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10575 * sysdeps/sparc/elf/configure: Regenerated.
10577 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10579 * configure.in (AS, LD): Require binutils 2.20 or later.
10580 * configure: Regenerated.
10581 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10582 as required minimum version.
10583 * INSTALL: Regenerated.
10587 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10588 before squaring exponent.
10589 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10590 bottom long double and 27 bits of top long double before squaring
10592 * math/libm-test.inc (erfc_test): Add more tests.
10593 * sysdeps/i386/fpu/libm-test-ulps: Update.
10594 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10597 2012-03-01 Kai Tietz <ktietz@redhat.com>
10599 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10600 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10601 containing bit-fields.
10602 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10603 * soft-fp/single.h (_FP_UNION_S): Likewise.
10604 * soft-fp/double.h (_FP_UNION_D): Likewise.
10606 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10609 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10610 not include ../strcmp.S.
10611 [USE_AS_STRNCASECMP_L]: Likewise.
10612 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10613 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10614 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10615 (__strncasecmp_l_ia32): Define as alias to
10616 __strncasecmp_l_nonascii.
10619 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10620 * sysdeps/i386/fpu/libm-test-ulps: Update.
10621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10623 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10626 2012-02-29 Jeff Law <law@redhat.com>
10628 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10629 out of bounds read.
10631 2012-02-29 Marek Polacek <polacek@redhat.com>
10634 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10635 * elf/Makefile: Add rules to run tst-unused-dep.out.
10637 2012-02-28 David S. Miller <davem@davemloft.net>
10639 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10640 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10641 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10642 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10643 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10644 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10646 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10648 * math/libm-test.inc (llround_test): Move one test from
10649 lround_test. Use TEST_f_L in moved test.
10650 (lround_test): Move misplaced test to llround_test. Add testcase
10653 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10655 * sysdeps/x86_64/fpu/e_expf.S: New file.
10656 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10658 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10661 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10662 of remain_len that may cause incomplete multi-byte character and
10664 * posix/bug-regex33.c: New file.
10665 * posix/Makefile (tests): Add bug-regex33.
10667 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10669 * manual/macros.texi: New file.
10670 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10671 * manual/libc.texinfo: Include macros.texi.
10672 * manual/creatute.texi: Likewise.
10673 * manual/install.texi: Likewise.
10674 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10675 @glibcadj{} in references to the GNU C Library.
10676 * manual/charset.texi: Likewise.
10677 * manual/conf.texi: Likewise.
10678 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10679 when not using those macros.
10680 * manual/creature.texi: Likewise.
10681 * manual/crypt.texi: Likewise.
10682 * manual/errno.texi: Likewise.
10683 * manual/filesys.texi: Likewise.
10684 * manual/header.texi: Likewise.
10685 * manual/install.texi: Likewise.
10686 * manual/intro.texi: Likewise.
10687 * manual/io.texi: Likewise.
10688 * manual/job.texi: Likewise.
10689 * manual/lang.texi: Likewise.
10690 * manual/libc.texiinfo: Likewise.
10691 * manual/llio.texi: Likewise.
10692 * manual/locale.texi: Likewise.
10693 * manual/maint.texi: Likewise.
10694 * manual/math.texi: Likewise.
10695 * manual/memory.texi: Likewise.
10696 * manual/message.texi: Likewise.
10697 * manual/nss.texi: Likewise.
10698 * manual/pattern.texi: Likewise.
10699 * manual/process.texi: Likewise.
10700 * manual/resource.texi: Likewise.
10701 * manual/search.texi: Likewise.
10702 * manual/setjmp.texi: Likewise.
10703 * manual/signal.texi: Likewise.
10704 * manual/socket.texi: Likewise.
10705 * manual/startup.texi: Likewise.
10706 * manual/stdio.texi: Likewise.
10707 * manual/string.texi: Likewise.
10708 * manual/sysinfo.texi: Likewise.
10709 * manual/syslog.texi: Likewise.
10710 * manual/terminal.texi: Likewise.
10711 * manual/time.texi: Likewise.
10712 * manual/users.texi: Likewise.
10713 * INSTALL: Regenerated.
10714 * NOTES: Regenerated.
10715 * sysdeps/gnu/errlist.c: Regenerated.
10717 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10719 * include/dirent.h: Include <dirstream.h> before
10722 2012-02-28 David S. Miller <davem@davemloft.net>
10724 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10725 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10726 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10727 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10729 2012-02-27 David S. Miller <davem@davemloft.net>
10731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10733 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10734 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10737 frame pointer instead of stack pointer relative arg slot.
10738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10739 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10740 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10742 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10745 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10747 2012-02-27 David S. Miller <davem@davemloft.net>
10749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10753 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10754 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10755 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10756 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10758 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10760 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10761 later. Allow versions 5-9.
10762 * configure: Regenerated.
10763 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10764 required minimum version and 4.6 as recommended version. Do not
10765 mention bugs in GCC 2.7 and 2.8.
10766 * INSTALL: Regenerated.
10768 2012-02-27 David S. Miller <davem@davemloft.net>
10770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10774 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10775 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10776 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10777 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10779 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10780 manipulate bits before adding and subtracting TWO112[sx].
10781 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10783 2012-02-27 Roland McGrath <roland@hack.frob.com>
10786 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10787 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10788 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10789 being in POSIX, because they are in 1003.1-2008.
10791 * rt/tst-aio.c: Include <fcntl.h>.
10792 * rt/tst-aio7.c: Likewise.
10793 * rt/tst-aio64.c: Likewise.
10795 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10797 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10799 * manual/install.texi (--with-headers): Describe headers as
10800 interface headers, not private headers.
10801 (Specific advice for GNU/Linux systems): Describe use of headers
10802 from "make headers_install", not private headers from older
10804 * INSTALL: Regenerated.
10805 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10807 * sysdeps/unix/sysv/linux/configure: Regenerated.
10809 * manual/llio.texi (fclean): Remove documentation.
10811 * manual/Makefile (libc-texi-generated): New variable. Include
10813 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10814 $(libc-texi-generated), not duplicated list of files.
10815 (version.texi, stamp-version): New rules.
10816 (realclean): Remove $(libc-texi-generated), not individual files
10817 from that list. Do not remove dir-add.texinfo.
10818 * manual/libc.texinfo: Comment out uses of edition numbers and
10819 references to printed manual. Remove last-updated dates.
10820 (EDITION): Comment out.
10822 (VERSION, UPDATED): Remove.
10823 (version.texi): Include.
10825 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10827 * sysdeps/posix/spawni.c: Include <signal.h>.
10828 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10829 * sysdeps/pthread/aio_fsync.c: Likewise.
10831 2012-02-26 Ulrich Drepper <drepper@gmail.com>
10833 * conform/Makefile (tests): Run only when not cross-compiling and
10834 when fast-check is not defined.
10836 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10837 * conform/data/limits.h-data: Fixes for POSIX2008.
10838 * conform/run-conformtest.sh: Run all tests.
10839 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10841 * include/bits/dlfcn.h: Likewise.
10842 * include/langinfo.h: Likewise.
10843 * include/monetary.h: Likewise.
10844 * include/sys/poll.h: Likewise.
10846 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10848 * posix/spawn.h: Define __need_sigset_t.
10849 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10850 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10851 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10852 to get sigevent_t only.
10853 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10854 only for __USE_GNU.
10855 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10856 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10857 process_vm_writev only for __USE_GNU.
10858 * termios/termios.h: Declare tcgetsid also for POSIX2008.
10860 * conform/Makefile: For now ignore errors from run-conformtest.
10861 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10862 POSIX to avoid namespace pollution. Don't prepend headers.
10863 * conform/data/aio.h-data: Fixes for POSIX testing.
10864 * conform/data/fcntl.h-data: Likewise.
10865 * conform/data/glob.h-data: Likewise.
10866 * conform/data/grp.h-data: Likewise.
10867 * conform/data/pthread.h-data: Likewise.
10868 * conform/data/pwd.h-data: Likewise.
10869 * conform/data/signal.h-data: Likewise.
10870 * conform/data/spawn.h-data: Likewise.
10871 * conform/data/stdio.h-data: Likewise.
10872 * conform/data/stdlib.h-data: Likewise.
10873 * conform/data/stropts.h-data: Likewise.
10874 * conform/data/sys/mman.h-data: Likewise.
10875 * conform/data/sys/stat.h-data: Likewise.
10876 * conform/data/sys/types.h-data: Likewise.
10877 * conform/data/sys/wait.h-data: Likewise.
10878 * conform/data/time.h-data: Likewise.
10879 * conform/data/unistd.h-data: Likewise.
10880 * conform/data/utime.h-data: Likewise.
10882 * io/sys/stat.h: fchmod was always in POSIX.
10883 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10884 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10885 * rt/aio.h: Define __need_timespec before including <time.h>.
10886 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10887 struct. Add forward declaration of pthread_attr_t and use it in
10889 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10890 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10891 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10892 always remove CLK_TCK definition.
10894 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10896 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10898 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10900 * conform/run-conformtest.sh: New file.
10901 * conform/Makefile: Run run-conformtest for tests.
10902 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10905 * conform/data/uchar.h-data: New file.
10906 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10907 * conform/data/arpa/inet.h-data: Likewise.
10908 * conform/data/assert.h-data: Likewise.
10909 * conform/data/complex.h-data: Likewise.
10910 * conform/data/cpio.h-data: Likewise.
10911 * conform/data/ctype.h-data: Likewise.
10912 * conform/data/dirent.h-data: Likewise.
10913 * conform/data/dlfcn.h-data: Likewise.
10914 * conform/data/errno.h-data: Likewise.
10915 * conform/data/fcntl.h-data: Likewise.
10916 * conform/data/float.h-data: Likewise.
10917 * conform/data/fmtmsg.h-data: Likewise.
10918 * conform/data/fnmatch.h-data: Likewise.
10919 * conform/data/ftw.h-data: Likewise.
10920 * conform/data/glob.h-data: Likewise.
10921 * conform/data/grp.h-data: Likewise.
10922 * conform/data/iconv.h-data: Likewise.
10923 * conform/data/inttypes.h-data: Likewise.
10924 * conform/data/langinfo.h-data: Likewise.
10925 * conform/data/libgen.h-data: Likewise.
10926 * conform/data/limits.h-data: Likewise.
10927 * conform/data/locale.h-data: Likewise.
10928 * conform/data/math.h-data: Likewise.
10929 * conform/data/monetary.h-data: Likewise.
10930 * conform/data/mqueue.h-data: Likewise.
10931 * conform/data/ndbm.h-data: Likewise.
10932 * conform/data/net/if.h-data: Likewise.
10933 * conform/data/netdb.h-data: Likewise.
10934 * conform/data/netinet/in.h-data: Likewise.
10935 * conform/data/nl_types.h-data: Likewise.
10936 * conform/data/poll.h-data: Likewise.
10937 * conform/data/pthread.h-data: Likewise.
10938 * conform/data/pwd.h-data: Likewise.
10939 * conform/data/regex.h-data: Likewise.
10940 * conform/data/sched.h-data: Likewise.
10941 * conform/data/search.h-data: Likewise.
10942 * conform/data/semaphore.h-data: Likewise.
10943 * conform/data/setjmp.h-data: Likewise.
10944 * conform/data/signal.h-data: Likewise.
10945 * conform/data/spawn.h-data: Likewise.
10946 * conform/data/stdarg.h-data: Likewise.
10947 * conform/data/stdio.h-data: Likewise.
10948 * conform/data/stdlib.h-data: Likewise.
10949 * conform/data/string.h-data: Likewise.
10950 * conform/data/strings.h-data: Likewise.
10951 * conform/data/stropts.h-data: Likewise.
10952 * conform/data/sys/ipc.h-data: Likewise.
10953 * conform/data/sys/mman.h-data: Likewise.
10954 * conform/data/sys/msg.h-data: Likewise.
10955 * conform/data/sys/resource.h-data: Likewise.
10956 * conform/data/sys/select.h-data: Likewise.
10957 * conform/data/sys/sem.h-data: Likewise.
10958 * conform/data/sys/shm.h-data: Likewise.
10959 * conform/data/sys/socket.h-data: Likewise.
10960 * conform/data/sys/stat.h-data: Likewise.
10961 * conform/data/sys/statvfs.h-data: Likewise.
10962 * conform/data/sys/time.h-data: Likewise.
10963 * conform/data/sys/timeb.h-data: Likewise.
10964 * conform/data/sys/times.h-data: Likewise.
10965 * conform/data/sys/types.h-data: Likewise.
10966 * conform/data/sys/uio.h-data: Likewise.
10967 * conform/data/sys/un.h-data: Likewise.
10968 * conform/data/sys/utsname.h-data: Likewise.
10969 * conform/data/sys/wait.h-data: Likewise.
10970 * conform/data/syslog.h-data: Likewise.
10971 * conform/data/tar.h-data: Likewise.
10972 * conform/data/termios.h-data: Likewise.
10973 * conform/data/utime.h-data: Likewise.
10974 * conform/data/utmpx.h-data: Likewise.
10975 * conform/data/varargs.h-data: Likewise.
10976 * conform/data/wchar.h-data: Likewise.
10977 * conform/data/wctype.h-data: Likewise.
10978 * conform/data/wordexp.h-data: Likewise.
10980 * include/stropts.h: New file.
10981 * include/uchar.h: New file.
10982 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10983 * include/assert.h: Likewise.
10984 * include/ctype.h: Likewise.
10985 * include/dirent.h: Likewise.
10986 * include/dlfcn.h: Likewise.
10987 * include/fcntl.h: Likewise.
10988 * include/fnmatch.h: Likewise.
10989 * include/glob.h: Likewise.
10990 * include/grp.h: Likewise.
10991 * include/libio.h: Likewise.
10992 * include/locale.h: Likewise.
10993 * include/math.h: Likewise.
10994 * include/net/if.h: Likewise.
10995 * include/netdb.h: Likewise.
10996 * include/netinet/in.h: Likewise.
10997 * include/pthread.h: Likewise.
10998 * include/pwd.h: Likewise.
10999 * include/regex.h: Likewise.
11000 * include/sched.h: Likewise.
11001 * include/search.h: Likewise.
11002 * include/setjmp.h: Likewise.
11003 * include/signal.h: Likewise.
11004 * include/stdio.h: Likewise.
11005 * include/stdlib.h: Likewise.
11006 * include/string.h: Likewise.
11007 * include/sys/cdefs.h: Likewise.
11008 * include/sys/mman.h: Likewise.
11009 * include/sys/msg.h: Likewise.
11010 * include/sys/resource.h: Likewise.
11011 * include/sys/select.h: Likewise.
11012 * include/sys/socket.h: Likewise.
11013 * include/sys/stat.h: Likewise.
11014 * include/sys/statvfs.h: Likewise.
11015 * include/sys/time.h: Likewise.
11016 * include/sys/times.h: Likewise.
11017 * include/sys/uio.h: Likewise.
11018 * include/sys/utsname.h: Likewise.
11019 * include/sys/wait.h: Likewise.
11020 * include/termios.h: Likewise.
11021 * include/time.h: Likewise.
11022 * include/ulimit.h: Likewise.
11023 * include/unistd.h: Likewise.
11024 * include/utime.h: Likewise.
11025 * include/wchar.h: Likewise.
11026 * include/wctype.h: Likewise.
11027 * include/wordexp.h: Likewise.
11029 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11031 * time/time.h: TIME_UTC must be a macro.
11032 Make timespec_get available for ISO C11 only as well.
11034 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11036 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11037 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11039 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11041 * configure.in: Use -o not -a in test for unsupported multi-arch.
11043 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11045 * manual/texinfo.tex: Update to version 2012-01-19.16.
11047 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11049 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11051 2012-02-24 Roland McGrath <roland@hack.frob.com>
11054 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11055 * manual/fdl-1.3.texi: New file.
11056 * manual/fdl-1.1.texi: File removed.
11059 * manual/libc.texinfo (FDL_VERSION): New @set.
11060 Use it for mention of FDL in cover text.
11061 (Documentation License): Use it in @include file name.
11063 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11064 Roland McGrath <roland@hack.frob.com>
11067 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11068 not LONG_LONG_MAX and LONG_LONG_MIN.
11069 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11070 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11072 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11074 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11078 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11079 manipulate bits before adding and subtracting TWO23[sx].
11080 * math/libm-test.inc (nearbyint_test): Add more tests.
11082 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11085 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11086 bits before adding and subtracting TWO23[sx].
11087 * math/libm-test.inc (rint_test): Add more tests.
11088 (rint_test_tonearest): Likewise.
11089 (rint_test_towardzero): Likewise.
11090 (rint_test_downward): Likewise.
11091 (rint_test_upward: Likewise.
11093 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11096 * include/stdc-predef.h: New file. Extracted from features.h.
11097 * include/features.h: Include stdc-predef.h.
11098 * Makefile (headers): Add stdc-predef.h.
11099 * CONFORMANCE (Compiler limitations): Update.
11101 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11103 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11105 2012-02-21 David S. Miller <davem@davemloft.net>
11107 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11108 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11110 2012-02-20 David S. Miller <davem@davemloft.net>
11112 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11113 using a normal save/restore sequence, rather than allocating a
11114 dummy stack frame just to store a frame pointer and restore.
11115 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11117 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11119 * manual/install.texi: Fix stray word in line-wrapped comment.
11121 2012-02-20 David S. Miller <davem@davemloft.net>
11123 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11124 both binutils and gcc support GOTDATA.
11126 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11127 "rd %pc" in the PIC register setup sequences.
11129 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11130 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11131 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11132 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11133 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11134 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11135 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11136 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11137 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11138 (SYSCALL_ERROR_HANDLER): Likewise.
11139 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11140 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11141 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11142 (SYSCALL_ERROR_HANDLER): Likewise.
11144 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11145 (HAVE_GCC_GOTDATA): New.
11146 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11147 relocation support in both binutils and gcc.
11148 * sysdeps/sparc/elf/configure: Regenerate.
11150 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11151 * sysdeps/sparc/sparc32/elf/configure: Delete.
11152 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11153 * sysdeps/sparc/sparc64/elf/configure: Delete.
11154 * sysdeps/sparc/elf/configure.in: New file.
11155 * sysdeps/sparc/elf/configure: Generate.
11157 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11158 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11159 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11160 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11161 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11163 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11165 * manual/install.texi: Do not mention specific glibc version
11167 * manual/libc.texinfo (VERSION, UPDATED): Update.
11168 (@copying): Use @copyright{} and range of years.
11170 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11173 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11174 [crti.S not in sysdirs] (generated): Do not append.
11175 [crti.S not in sysdirs] (omit-deps): Likewise.
11176 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11177 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11178 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11179 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11180 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11182 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11183 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11184 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11185 * csu/defs.awk: Remove file.
11186 * sysdeps/generic/initfini.c: Likewise.
11187 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11189 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11192 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11194 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11195 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11196 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11197 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11198 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11199 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11201 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11202 (__EPOLL_PACKED): Define to empty if not defined by
11204 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11208 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11210 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11211 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11212 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11213 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11215 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11219 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11221 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11223 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11224 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11225 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11228 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11230 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11231 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11233 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11235 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11236 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11238 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11240 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11243 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11245 * math/w_acos.c: Use non-signaling floating-point comparisons.
11246 * math/w_acosf.c: Likewise.
11247 * math/w_acosh.c: Likewise.
11248 * math/w_acoshf.c: Likewise.
11249 * math/w_acoshl.c: Likewise.
11250 * math/w_acosl.c: Likewise.
11251 * math/w_asin.c: Likewise.
11252 * math/w_asinf.c: Likewise.
11253 * math/w_asinl.c: Likewise.
11254 * math/w_atanh.c: Likewise.
11255 * math/w_atanhf.c: Likewise.
11256 * math/w_atanhl.c: Likewise.
11257 * math/w_exp2.c: Likewise.
11258 * math/w_exp2f.c: Likewise.
11259 * math/w_exp2l.c: Likewise.
11260 * math/w_j0.c: Likewise.
11261 * math/w_j0f.c: Likewise.
11262 * math/w_j0l.c: Likewise.
11263 * math/w_j1.c: Likewise.
11264 * math/w_j1f.c: Likewise.
11265 * math/w_j1l.c: Likewise.
11266 * math/w_jn.c: Likewise.
11267 * math/w_jnf.c: Likewise.
11268 * math/w_log.c: Likewise.
11269 * math/w_log10.c: Likewise.
11270 * math/w_log10f.c: Likewise.
11271 * math/w_log10l.c: Likewise.
11272 * math/w_log2.c: Likewise.
11273 * math/w_log2f.c: Likewise.
11274 * math/w_log2l.c: Likewise.
11275 * math/w_logf.c: Likewise.
11276 * math/w_logl.c: Likewise.
11277 * math/w_sqrt.c: Likewise.
11278 * math/w_sqrtf.c: Likewise.
11279 * math/w_sqrtl.c: Likewise.
11280 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11281 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11282 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11283 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11284 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11286 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11289 * manual/string.texi (strnlen): Use correct parameter name in
11290 equivalent expression.
11292 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11295 * manual/users.texi (seteuid): Consistently use neweuid for
11298 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11301 * manual/nss.texi (Services in the NSS configuration): Correct
11302 list of services in example configuration file.
11304 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11307 * manual/arith.texi: Remove statements about negative zero
11308 behaving identically to zero.
11310 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11313 * manual/install.texi: Do not document upgrading from libc5.
11315 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11318 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11320 2012-02-18 David S. Miller <davem@davemloft.net>
11322 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11323 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11324 %o7 across the call.
11325 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11327 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11328 SETUP_PIC_REG_LEAF.
11329 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11330 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11331 * sysdeps/sparc/crtn.S: Likewise.
11333 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11335 * aout/Makefile: Remove.
11337 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11340 * manual/examples/argp-ex1.c (main): Format definition in GNU
11342 * manual/examples/argp-ex2.c (main): Likewise.
11343 * manual/examples/argp-ex3.c (main): Likewise.
11344 * manual/examples/argp-ex4.c (main): Likewise.
11345 * manual/examples/longopt.c (main): Use new-style prototype
11347 * manual/examples/strncat.c (main): Specify return type and use
11348 (void) for arguments.
11349 * manual/examples/subopt.c (main): Use char **argv argument.
11351 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11354 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11357 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11360 * manual/string.texi (strchr): Change when strchrnul is
11363 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11366 * manual/locale.texi (setlocale): Document LOCPATH.
11368 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11371 * manual/process.texi (execle): Move @dots{} before last argument.
11373 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11376 * manual/charset.texi (Generic Charset Conversion): Fix typo
11377 (LC_TYPE -> LC_CTYPE).
11379 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11382 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11383 (scalbnf): Likewise.
11384 (scalbnl): Likewise.
11385 (scalbln): Likewise.
11386 (scalblnf): Likewise.
11387 (scalblnl): Likewise.
11388 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11389 (vwarnx): Likewise.
11392 * manual/filesys.texi (telldir): Use braces around return type.
11393 * manual/llio.texi (mmap): Add space after comma.
11394 (mmap64): Likewise.
11395 * manual/math.texi (jn): Use @var{} on parameter names.
11401 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11403 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11405 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11406 (sched_get_priority_max): Likewise.
11407 * manual/signal.texi (sigvec): Add space after comma.
11408 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11410 (if_indextoname): Likewise.
11411 (if_freenameindex): Likewise.
11412 (sendto): Use ',' instead of '.' in prototype.
11413 * manual/startup.texi (syscall): Use @dots{} instead of literal
11415 * manual/stdio.texi (__fpending): Separate initial words of
11416 paragraph from @deftypefun line.
11417 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11419 (vsyslog): Use @var{} on parameter names.
11420 * manual/terminal.texi (stty): Use @var{} on parameter names.
11421 * manual/users.texi (getutmp): Use @var{} on parameter names.
11422 (getutmpx): Likewise.
11424 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11427 * manual/stdio.texi (fopen): Fix typos in description of
11430 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11433 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11434 get clock_id definition.
11436 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11439 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11440 (madvise): Cast every argument to void on its own.
11442 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11445 * manual/startup.texi (Exit Status): Fix typo.
11447 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11450 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11451 * manual/examples/argp-ex2.c: Likewise.
11452 * manual/examples/argp-ex3.c: Likewise.
11454 2012-02-16 Richard Henderson <rth@redhat.com>
11456 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11457 * sysdeps/s390/s390-32/initfini.c: Remove.
11458 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11459 * sysdeps/s390/s390-64/initfini.c: Remove.
11461 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11463 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11464 compiler output for sysdeps/generic/initfini.c.
11465 * sysdeps/sh/elf/initfini.c: Remove file.
11467 2012-02-16 David S. Miller <davem@davemloft.net>
11470 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11472 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11473 * sysdeps/sparc/crti.S: New file.
11474 * sysdeps/sparc/crtn.S: New file.
11475 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11476 * sysdeps/sparc/sparc64/Makefile: Likewise.
11478 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11481 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11483 2012-02-15 Roland McGrath <roland@hack.frob.com>
11486 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11488 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11489 (write, read, close): Likewise.
11490 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11492 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11494 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11495 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11496 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11497 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11499 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11500 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11503 2012-02-14 Marek Polacek <polacek@redhat.com>
11505 * sysdeps/x86_64/crti.S: New file.
11506 * sysdeps/x86_64/crtn.S: New file.
11507 * sysdeps/x86_64/elf/initfini.c: Remove file.
11509 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11511 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11512 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11513 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11514 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11516 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11520 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11522 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11523 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11524 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11525 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11527 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11528 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11531 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11533 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11534 __feraiseexcept instead of feraiseexcept.
11536 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11537 nanosleep invocations.
11538 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11539 strings, and add error checking for a nanosleep invocations.
11541 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11543 Replace FSF snail mail address with URLs, as per GNU coding standards.
11544 Most of the snail mail addresses were wrong anyway, and omitting
11545 them makes the source code easier to maintain. Almost all of the
11546 changes are to license notices and to locale LC_IDENTIFICATION
11547 addresses, except for this one:
11548 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11549 not its snail mail address.
11551 2012-02-09 Richard Henderson <rth@twiddle.net>
11553 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11554 of kernel-features.h.
11556 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11558 2012-02-08 Marek Polacek <polacek@redhat.com>
11560 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11561 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11562 * sysdeps/gnu/_G_config.h: Likewise.
11563 * sysdeps/generic/_G_config.h: Likewise.
11565 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11567 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11571 * sysdeps/powerpc/powerpc32/crti.S: New file.
11572 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11573 * sysdeps/powerpc/powerpc64/crti.S: New file.
11574 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11576 * Makeconfig (have-initfini): Don't set.
11577 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11578 * configure.in (nopic_initfini): Don't substitute.
11579 * config.h.in (HAVE_INITFINI): Don't #undef.
11580 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11581 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11583 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11585 Support crti.S and crtn.S provided directly by architectures.
11586 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11587 [crti.S in sysdirs] (omit-deps): Likewise.
11588 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11589 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11590 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11591 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11592 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11593 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11594 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11595 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11596 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11597 compiler output for sysdeps/generic/initfini.c.
11598 * sysdeps/i386/elf/Makefile: Remove file.
11599 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11601 2012-02-07 Marek Polacek <polacek@redhat.com>
11603 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11604 * sysdeps/gnu/_G_config.h: Likewise.
11605 * sysdeps/mach/hurd/_G_config.h: Likewise.
11607 2012-02-07 Marek Polacek <polacek@redhat.com>
11609 * math/Makefile (tests): Add tst-CMPLX2.
11610 * math/tst-CMPLX2.c: New file.
11612 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11614 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11616 * math/libm-test.inc (jn_test): Add missing L suffix.
11618 2012-02-06 Marek Polacek <polacek@redhat.com>
11620 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11621 * sysdeps/i386/fpu/e_powf.S: Likewise.
11622 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11623 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11624 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11625 * sysdeps/i386/fpu/e_pow.S: Likewise.
11626 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11627 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11628 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11629 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11630 * sysdeps/i386/fpu/e_log2.S: Likewise.
11631 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11632 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11633 * sysdeps/i386/fpu/e_powl.S: Likewise.
11634 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11635 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11636 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11637 * sysdeps/i386/fpu/e_logl.S: Likewise.
11638 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11639 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11640 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11641 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11642 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11643 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11644 * sysdeps/i386/fpu/e_log.S: Likewise.
11645 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11646 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11647 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11648 * sysdeps/i386/fpu/e_logf.S: Likewise.
11649 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11650 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11651 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11652 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11653 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11654 * sysdeps/i386/fpu/e_log10.S: Likewise.
11655 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11656 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11657 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11658 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11659 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11660 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11661 * sysdeps/i386/asm-syntax.h: Likewise.
11662 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11663 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11664 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11665 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11666 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11667 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11668 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11669 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11670 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11671 * sysdeps/powerpc/sysdep.h: Likewise.
11672 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11673 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11675 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11678 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11680 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11682 * sysdeps/i386/sysdep.h: Include <features.h>.
11683 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11686 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11688 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11690 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11693 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11695 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11696 (SETUP_PIC_REG): Use GET_PC_THUNK.
11697 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11700 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11702 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11703 for non-PIC compilation.
11704 (SETUP_PIC_REG): Add .p2align directive.
11705 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11706 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11707 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11708 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11709 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11710 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11711 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11712 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11713 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11714 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11715 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11716 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11717 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11718 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11719 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11720 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11721 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11722 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11723 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11724 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11725 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11726 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11727 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11728 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11729 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11730 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11731 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11732 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11733 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11734 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11735 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11736 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11737 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11738 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11739 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11740 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11741 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11742 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11743 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11744 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11745 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11747 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11749 * math/tst-CMPLX.c: Include <stdio.h>.
11751 2012-01-31 Joseph Myers <joseph@codesourcery.com>
11753 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11755 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11756 * sysdeps/sparc/bits/mathdef.h: Likewise.
11758 2012-01-31 Marek Polacek <polacek@redhat.com>
11760 * libio/libio.h: Don't define _PARAMS.
11761 * locale/programs/config.h: Don't define PARAMS.
11762 * stdlib/strtol_l.c: Likewise.
11763 (__strtol_l): Remove PARAMS from the prototype.
11765 2012-01-31 Ulrich Drepper <drepper@gmail.com>
11767 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11768 names. Just use the correct names. Remove unnecessary wrapper
11770 * malloc/arena.c: Likewise.
11771 * malloc/hooks.c: Likewise.
11773 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11774 ARENA_TEST says not to. Simplify test for creation of a new arena.
11775 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11777 2012-01-30 Ulrich Drepper <drepper@gmail.com>
11779 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11781 (update_get_addr): New function.
11782 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11783 GET_ADDR_MODULE parameter.
11785 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11787 * crypt/cert.c: Remove __STDC__ conditionals.
11788 * crypt/crypt-entry.c: Likewise.
11789 * crypt/crypt_util.c: Likewise.
11790 * libio/filedoalloc.c: Likewise.
11791 * libio/fileops.c: Likewise.
11792 * libio/genops.c: Likewise.
11793 * libio/iofclose.c: Likewise.
11794 * libio/iofdopen.c: Likewise.
11795 * libio/iofopen.c: Likewise.
11796 * libio/iofopen64.c: Likewise.
11797 * libio/iogetdelim.c: Likewise.
11798 * libio/iopopen.c: Likewise.
11799 * libio/obprintf.c: Likewise.
11800 * libio/oldfileops.c: Likewise.
11801 * libio/oldiofclose.c: Likewise.
11802 * libio/oldiofdopen.c: Likewise.
11803 * libio/oldiofopen.c: Likewise.
11804 * libio/oldiopopen.c: Likewise.
11805 * libio/wfiledoalloc.c: Likewise.
11806 * libio/wgenops.c: Likewise.
11807 * locale/programs/xmalloc.c: Likewise.
11808 * misc/syslog.c: Likewise.
11809 * stdio-common/xbug.c: Likewise.
11810 * string/memchr.c: Likewise.
11811 * string/memcmp.c: Likewise.
11812 * string/memrchr.c: Likewise.
11813 * string/rawmemchr.c: Likewise.
11814 * sysdeps/posix/getcwd.c: Likewise.
11815 * time/strftime_l.c: Likewise.
11817 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11819 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11820 * config.make.in (config-cflags-sse2avx): Define.
11821 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11824 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11826 * scripts/config.guess: Update from upstream config git repository.
11827 * scripts/config.sub: Likewise.
11829 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11831 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11833 (R_TILEPRO_*, R_TILEGX_*): New macros.
11835 * scripts/firstversions.awk: Fix bug in version range handling.
11837 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11839 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11841 * include/sys/epoll.h: New file.
11842 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11845 2012-01-28 Ulrich Drepper <drepper@gmail.com>
11847 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11848 Avoid unnecessary __WORDSIZE == 64 test.
11849 (fmaxf): Use VEX format if possible.
11854 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11855 * math/math_private.h: Remove libc_fegetround* and
11857 * sysdeps/i386/configure.in: Check for -msse2avx.
11858 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11859 also if SSE2AVX is defined.
11860 Remove libc_fegetround* and libc_fesetround*.
11861 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11862 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11863 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11865 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11866 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11867 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11868 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11869 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11871 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11873 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11875 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11877 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11879 2012-01-27 Ulrich Drepper <drepper@gmail.com>
11882 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11884 * Makeconfig (libm): Define.
11885 * elf/Makefile: Add rules to build and run tst-relsort1.
11886 * elf/tst-relsort1.c: New file.
11887 * elf/tst-relsort1mod1.c: New file.
11888 * elf/tst-relsort1mod2.c: New file.
11890 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11892 * math/s_ldexp.c: Remove __STDC__ conditionals.
11893 * math/s_ldexpf.c: Likewise.
11894 * math/s_ldexpl.c: Likewise.
11895 * math/s_nextafter.c: Likewise.
11896 * math/s_nexttowardf.c: Likewise.
11897 * math/s_significand.c: Likewise.
11898 * math/s_significandf.c: Likewise.
11899 * math/s_significandl.c: Likewise.
11900 * math/w_jnl.c: Likewise.
11901 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11902 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11903 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11904 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11905 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11906 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11907 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11908 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11909 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11910 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11911 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11912 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11913 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11914 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11915 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11916 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11917 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11918 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11919 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11920 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11921 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11922 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11923 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11924 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11925 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11926 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11927 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11928 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11929 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11930 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11931 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11932 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11933 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11934 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11935 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11936 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11937 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11938 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11939 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11940 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11941 * sysdeps/ieee754/k_standard.c: Likewise.
11942 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11943 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11944 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11945 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11946 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11947 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11948 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11949 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11950 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11951 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11952 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11953 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11954 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11955 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11956 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11957 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11958 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11959 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11960 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11961 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11962 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11963 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11964 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11965 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11966 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11967 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11968 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11969 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11970 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11971 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11972 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11973 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11974 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11975 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11976 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11977 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11978 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11979 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11980 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11981 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11982 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11983 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11984 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11985 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11986 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11987 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11988 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11989 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11990 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11991 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11992 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11993 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11994 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11995 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11996 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11997 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11998 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11999 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12000 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12001 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12002 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12003 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12004 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12005 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12006 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12007 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12008 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12009 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12010 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12011 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12012 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12013 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12014 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12015 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12016 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12017 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12018 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12019 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12020 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12021 * sysdeps/ieee754/s_matherr.c: Likewise.
12022 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12023 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12024 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12025 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12027 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12029 * crypt/md5.h: Remove __STDC__ conditionals.
12030 * libio/libioP.h: Likewise.
12031 * locale/programs/config.h: Likewise.
12032 * sysdeps/generic/sysdep.h: Likewise.
12033 * sysdeps/i386/asm-syntax.h: Likewise.
12034 * sysdeps/s390/asm-syntax.h: Likewise.
12035 * sysdeps/unix/sysdep.h: Likewise.
12036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12039 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12041 * libio/libio.h: Remove __STDC__ conditionals.
12042 * malloc/obstack.h: Likewise.
12043 * math/complex.h: Likewise.
12044 * math/math.h: Likewise.
12045 * sysdeps/generic/_G_config.h: Likewise.
12046 * sysdeps/gnu/_G_config.h: Likewise.
12047 * sysdeps/mach/hurd/_G_config.h: Likewise.
12048 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12049 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12050 * sysdeps/sparc/bits/mathdef.h: Likewise.
12052 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12055 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12056 Clean up HAS_* macros.
12057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12058 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12060 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12062 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12063 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12064 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12065 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12066 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12068 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12070 * elf/tst-unique3.cc (gets): Remove declaration.
12071 * elf/tst-unique3lib.cc (gets): Likewise.
12072 * elf/tst-unique3lib2.cc (gets): Likewise.
12073 * elf/tst-unique4.cc (gets): Likewise.
12075 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12077 * include/stdio.h: Add C++ protection. Add gets declarations and
12079 * debug/tst-chk1.c: Don't declare gets here.
12080 * stdio-common/tst-gets.c: Likewise.
12082 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12084 * posix/glob: Remove directory.
12086 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12088 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12090 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12092 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12093 of the non-standard EPFNOSUPPORT.
12095 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12097 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12098 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12099 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12101 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12103 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12105 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12107 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12109 * nscd/grpcache.c (cache_addgr): Likewise.
12110 * nscd/hstcache.c (cache_addhst): Likewise.
12111 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12112 * nscd/pwdcache.c (cache_addpw): Likewise.
12113 * nscd/servicescache.c (cache_addserv): Likewise.
12115 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12117 * malloc/malloc.c: Various cleanups.
12118 * malloc/hooks.c: Likewise.
12120 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12121 * stdlib/bug-fmtmsg1.c: New file.
12123 * stdlib/fmtmsg.c (init): Add missing unlock.
12124 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12126 2012-01-12 Marek Polacek <polacek@redhat.com>
12128 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12131 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12133 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12134 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12135 macro to ensure uniqueness of label name.
12136 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12137 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12139 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12141 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12143 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12144 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12145 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12146 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12148 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12150 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12152 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12153 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12154 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12156 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12158 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12159 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12160 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12161 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12163 * math/bits/math-finite.h: Add ldexp support.
12165 2012-01-10 Marek Polacek <polacek@redhat.com>
12167 * locale/programs/localedef.h (show_archive_content): Add noreturn
12170 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12172 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12174 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12176 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12178 * io/Makefile (headers): Add bits/poll2.h.
12180 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12183 typo #include statement.
12185 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12187 * include/sys/cdefs.h: Define __attribute_alloc_size.
12188 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12189 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12190 * elf/pldd.c: Likewise.
12191 * iconv/iconv_charmap.c: Likewise.
12192 * iconv/iconvconfig.c: Likewise.
12193 * iconv/strtab.c: Likewise.
12194 * locale/programs/locale.c: Likewise.
12195 * locale/programs/localedef.h: Likewise.
12196 * locale/programs/simple-hash.c: Likewise.
12197 * nscd/nscd.h: Likewise.
12198 * nss/makedb.c: Likewise.
12199 * sysdeps/generic/ldconfig.h: Likewise.
12200 * locale/programs/localedef.c: Remove xmalloc prototype.
12201 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12203 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12205 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12208 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12210 * math/Makefile (tests): Add tst-CMPLX.
12211 * math/tst-CMPLX.c: New file.
12213 * math/complex.h (CMPLXL): Fix typo.
12215 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12216 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12218 * debug/tst-chk1.c: Add poll and ppoll tests.
12219 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12220 * include/sys/poll.h: Add hidden proto for ppoll.
12221 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12222 * sysdeps/mach/hurd/ppoll.c: Likewise.
12223 * io/ppoll.c: Likewise.
12224 * debug/poll_chk.c: New file.
12225 * debug/ppoll_chk.c: New file.
12226 * include/bits/poll2.h: New file.
12227 * io/bits/poll2.h: New file.
12230 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12232 * configure.in: static is always set to yes. Remove.
12233 * config.make.in: Don't set build-static.
12234 * Makeconfig: Remove use of build-static.
12235 * dlfcn/Makefile: Likewise.
12236 * elf/Makefile: Likewise.
12237 * math/Makefile: Likewise.
12238 * misc/Makefile: Likewise.
12239 * nptl/Makefile: Likewise.
12240 * sysdeps/mach/hurd/Makefile: Likewise.
12242 * configure.in: PWD_P is not used anymore.
12243 * config.make.in: Remove PWD_P entry.
12245 * configure.in: Remove last remnants of RANLIB.
12246 No need to check for signed size_t anymore.
12247 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12249 Remove __builtin_expect test because we require at least gcc 3.4.
12250 * aclocal.m4: Likewise.
12252 * wcsmbs/mbrtoc16.c: Implement using towc function.
12253 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12254 * wcsmbs/wcsmbsload.c: Likewise.
12255 * iconv/gconv_simple.c: Likewise.
12256 * iconv/gconv_int.h: Likewise.
12257 * iconv/gconv_builtin.h: Likewise.
12258 * iconv/iconv_prog.c: Remove CHAR16 handling.
12260 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12262 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12264 * configure.in: Remove --with-elf and --enable-bounded options.
12265 Dont set base_machine for ia64. More non-ELF conditions removed.
12266 Remove testing and setting of leading underscore information.
12267 * config.make.in (build-bounded): Set to no.
12268 * config.h.in: Remove NO_UNDERSCORES entry.
12269 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12271 * csu/start.c: Remove !NO_UNDERSCORE code.
12272 * locale/localeinfo.h: Likewise.
12273 * sysdeps/generic/machine-gmon.h: Likewise.
12274 * sysdeps/generic/sysdep.h: Likewise.
12275 * sysdeps/i386/sysdep.h: Likewise.
12276 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12277 * sysdeps/mach/sysdep.h: Likewise.
12278 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12279 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12280 * sysdeps/sh/sysdep.h: Likewise.
12281 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12282 * sysdeps/unix/i386/sysdep.S: Likewise.
12283 * sysdeps/unix/sparc/start.c: Likewise.
12284 * sysdeps/unix/sparc/sysdep.S: Likewise.
12285 * sysdeps/unix/sparc/sysdep.h: Likewise.
12286 * sysdeps/unix/start.c: Likewise.
12287 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12288 * sysdeps/x86_64/sysdep.h: Likewise.
12290 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12293 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12295 * argp/argp-fmtstream.h: Use const instead __const.
12296 * argp/argp.h: Likewise.
12297 * assert/assert.h: Likewise.
12298 * bits/fenv.h: Likewise.
12299 * bits/sched.h: Likewise.
12300 * bits/sigset.h: Likewise.
12301 * bits/sigthread.h: Likewise.
12302 * catgets/nl_types.h: Likewise.
12303 * conform/data/pthread.h-data: Likewise.
12304 * crypt/crypt-private.h: Likewise.
12305 * crypt/crypt.h: Likewise.
12306 * crypt/crypt_util.c: Likewise.
12307 * ctype/ctype.h: Likewise.
12308 * debug/execinfo.h: Likewise.
12309 * debug/mbsnrtowcs_chk.c: Likewise.
12310 * debug/mbsrtowcs_chk.c: Likewise.
12311 * debug/wcsnrtombs_chk.c: Likewise.
12312 * debug/wcsrtombs_chk.c: Likewise.
12313 * debug/wcstombs_chk.c: Likewise.
12314 * dirent/dirent.h: Likewise.
12315 * dlfcn/dlfcn.h: Likewise.
12316 * elf/neededtest4.c: Likewise.
12317 * grp/grp.h: Likewise.
12318 * gshadow/gshadow.h: Likewise.
12319 * iconv/gconv.h: Likewise.
12320 * iconv/gconv_int.h: Likewise.
12321 * iconv/gconv_simple.c: Likewise.
12322 * iconv/iconv.h: Likewise.
12323 * iconv/loop.c: Likewise.
12324 * iconv/skeleton.c: Likewise.
12325 * include/aio.h: Likewise.
12326 * include/aliases.h: Likewise.
12327 * include/argz.h: Likewise.
12328 * include/arpa/inet.h: Likewise.
12329 * include/assert.h: Likewise.
12330 * include/dirent.h: Likewise.
12331 * include/dlfcn.h: Likewise.
12332 * include/execinfo.h: Likewise.
12333 * include/fcntl.h: Likewise.
12334 * include/fenv.h: Likewise.
12335 * include/glob.h: Likewise.
12336 * include/grp.h: Likewise.
12337 * include/libintl.h: Likewise.
12338 * include/mntent.h: Likewise.
12339 * include/netdb.h: Likewise.
12340 * include/pwd.h: Likewise.
12341 * include/rpc/netdb.h: Likewise.
12342 * include/sched.h: Likewise.
12343 * include/search.h: Likewise.
12344 * include/shadow.h: Likewise.
12345 * include/signal.h: Likewise.
12346 * include/stdio.h: Likewise.
12347 * include/stdlib.h: Likewise.
12348 * include/string.h: Likewise.
12349 * include/sys/socket.h: Likewise.
12350 * include/sys/stat.h: Likewise.
12351 * include/sys/statfs.h: Likewise.
12352 * include/sys/statvfs.h: Likewise.
12353 * include/sys/syslog.h: Likewise.
12354 * include/sys/time.h: Likewise.
12355 * include/sys/uio.h: Likewise.
12356 * include/time.h: Likewise.
12357 * include/unistd.h: Likewise.
12358 * include/utmp.h: Likewise.
12359 * include/wchar.h: Likewise.
12360 * include/wctype.h: Likewise.
12361 * inet/aliases.h: Likewise.
12362 * inet/arpa/inet.h: Likewise.
12363 * inet/netinet/ether.h: Likewise.
12364 * inet/netinet/in.h: Likewise.
12365 * intl/libintl.h: Likewise.
12366 * io/bits/fcntl2.h: Likewise.
12367 * io/fcntl.h: Likewise.
12368 * io/ftw.h: Likewise.
12369 * io/sys/poll.h: Likewise.
12370 * io/sys/stat.h: Likewise.
12371 * io/sys/statfs.h: Likewise.
12372 * io/sys/statvfs.h: Likewise.
12373 * io/utime.h: Likewise.
12374 * libio/bits/stdio.h: Likewise.
12375 * libio/bits/stdio2.h: Likewise.
12376 * libio/libio.h: Likewise.
12377 * libio/libioP.h: Likewise.
12378 * libio/stdio.h: Likewise.
12379 * locale/lc-ctype.c: Likewise.
12380 * locale/locale.h: Likewise.
12381 * login/utmp.h: Likewise.
12382 * malloc/arena.c: Likewise.
12383 * malloc/malloc.c: Likewise.
12384 * malloc/malloc.h: Likewise.
12385 * malloc/mcheck.c: Likewise.
12386 * malloc/mtrace.c: Likewise.
12387 * math/bits/mathcalls.h: Likewise.
12388 * math/fenv.h: Likewise.
12389 * math/math_private.h: Likewise.
12390 * misc/bits/error.h: Likewise.
12391 * misc/bits/syslog.h: Likewise.
12392 * misc/err.h: Likewise.
12393 * misc/error.h: Likewise.
12394 * misc/fstab.h: Likewise.
12395 * misc/mntent.h: Likewise.
12396 * misc/regexp.h: Likewise.
12397 * misc/search.h: Likewise.
12398 * misc/sgtty.h: Likewise.
12399 * misc/sys/mman.h: Likewise.
12400 * misc/sys/syslog.h: Likewise.
12401 * misc/sys/uio.h: Likewise.
12402 * misc/sys/xattr.h: Likewise.
12403 * misc/ttyent.h: Likewise.
12404 * nis/rpcsvc/ypclnt.h: Likewise.
12405 * nss/nss.h: Likewise.
12406 * posix/bits/unistd.h: Likewise.
12407 * posix/fnmatch.h: Likewise.
12408 * posix/glob.h: Likewise.
12409 * posix/sched.h: Likewise.
12410 * posix/spawn.h: Likewise.
12411 * posix/sys/wait.h: Likewise.
12412 * posix/unistd.h: Likewise.
12413 * posix/wordexp.h: Likewise.
12414 * pwd/pwd.h: Likewise.
12415 * resolv/netdb.h: Likewise.
12416 * resource/sys/resource.h: Likewise.
12417 * rt/aio.h: Likewise.
12418 * rt/bits/mqueue2.h: Likewise.
12419 * rt/mqueue.h: Likewise.
12420 * shadow/shadow.h: Likewise.
12421 * signal/signal.h: Likewise.
12422 * socket/send.c: Likewise.
12423 * socket/sendto.c: Likewise.
12424 * socket/sys/socket.h: Likewise.
12425 * stdio-common/printf.h: Likewise.
12426 * stdlib/bits/stdlib.h: Likewise.
12427 * stdlib/fmtmsg.h: Likewise.
12428 * stdlib/monetary.h: Likewise.
12429 * stdlib/stdlib.h: Likewise.
12430 * stdlib/ucontext.h: Likewise.
12431 * streams/stropts.h: Likewise.
12432 * string/argz.h: Likewise.
12433 * string/bits/string2.h: Likewise.
12434 * string/string.h: Likewise.
12435 * string/strings.h: Likewise.
12436 * sunrpc/rpc/auth.h: Likewise.
12437 * sunrpc/rpc/auth_des.h: Likewise.
12438 * sunrpc/rpc/clnt.h: Likewise.
12439 * sunrpc/rpc/netdb.h: Likewise.
12440 * sunrpc/rpc/pmap_clnt.h: Likewise.
12441 * sunrpc/rpc/xdr.h: Likewise.
12442 * sysdeps/generic/inttypes.h: Likewise.
12443 * sysdeps/generic/net/if.h: Likewise.
12444 * sysdeps/generic/sys/swap.h: Likewise.
12445 * sysdeps/gnu/net/if.h: Likewise.
12446 * sysdeps/gnu/utmpx.h: Likewise.
12447 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12448 * sysdeps/i386/i486/bits/string.h: Likewise.
12449 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12450 * sysdeps/s390/bits/string.h: Likewise.
12451 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12452 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12453 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12454 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12455 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12456 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12457 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12458 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12459 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12460 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12461 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12462 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12463 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12464 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12465 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12466 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12467 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12468 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12469 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12470 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12471 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12472 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12473 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12474 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12475 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12476 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12477 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12478 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12479 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12480 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12481 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12482 * sysvipc/sys/ipc.h: Likewise.
12483 * sysvipc/sys/msg.h: Likewise.
12484 * sysvipc/sys/sem.h: Likewise.
12485 * sysvipc/sys/shm.h: Likewise.
12486 * termios/termios.h: Likewise.
12487 * time/sys/time.h: Likewise.
12488 * time/time.h: Likewise.
12489 * wcsmbs/bits/wchar2.h: Likewise.
12490 * wcsmbs/uchar.h: Likewise.
12491 * wcsmbs/wchar.h: Likewise.
12492 * wctype/wctype.h: Likewise.
12495 * Makeconfig: Remove all but ELF support including AIX support.
12496 * Makerules: Likewise.
12497 * config.h.in: Likewise.
12498 * config.make.in: Likewise.
12499 * configure: Likewise.
12500 * configure.in: Likewise.
12501 * csu/Makefile: Likewise.
12502 * csu/version.c: Likewise.
12503 * debug/Makefile: Likewise.
12504 * dlfcn/Makefile: Likewise.
12505 * elf/Makefile: Likewise.
12506 * extra-lib.mk: Likewise.
12507 * iconv/Makefile: Likewise.
12508 * include/libc-symbols.h: Likewise.
12509 * include/shlib-compat.h: Likewise.
12510 * resolv/Makefile: Likewise.
12511 * resolv/res_libc.c: Likewise.
12512 * rt/Makefile: Likewise.
12513 * sysdeps/i386/asm-syntax.h: Likewise.
12514 * sysdeps/i386/sysdep.h: Likewise.
12515 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12516 * sysdeps/mach/sysdep.h: Likewise.
12517 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12518 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12519 * sysdeps/s390/asm-syntax.h: Likewise.
12520 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12521 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12522 * sysdeps/sh/sysdep.h: Likewise.
12523 * sysdeps/unix/sparc/sysdep.h: Likewise.
12524 * sysdeps/wordsize-32/divdi3.c: Likewise.
12525 * sysdeps/x86_64/sysdep.h: Likewise.
12527 * argp/Versions: Remove _argp_unlock_xxx.
12530 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12531 * abilist/libBrokenLocale.abilist: Likewise.
12532 * abilist/libanl.abilist: Likewise.
12533 * abilist/libc.abilist: Likewise.
12534 * abilist/libcrypt.abilist: Likewise.
12535 * abilist/libdl.abilist: Likewise.
12536 * abilist/libm.abilist: Likewise.
12537 * abilist/libnsl.abilist: Likewise.
12538 * abilist/libpthread.abilist: Likewise.
12539 * abilist/libresolv.abilist: Likewise.
12540 * abilist/librt.abilist: Likewise.
12541 * abilist/libthread_db.abilist: Likewise.
12542 * abilist/libutil.abilist: Likewise.
12543 * abilist/libnss_db.abilist: New file.
12545 * scripts/abilist.awk: Add support for indirect functions.
12547 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12549 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12551 * shlib-versions: Remove entries for ports architectures.
12553 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12555 * elf/stackguard-macros.h: Remove support for IA-64.
12556 * elf/tst-auditmod1.c: Likewise.
12557 * sysdeps/generic/ldsodefs.h: Likewise.
12559 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12560 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12564 * configure.in: Remove --enable-omitfp support.
12566 * config.make.in: Likewise.
12567 * Makeconfig: Likewise.
12568 * manual/install.texi: Likewise.
12570 In case anyone cares, the IA-64 architecture could move to ports.
12571 * sysdeps/ia64/*: Removed.
12572 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12573 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12576 * configure.in: Remove entries for unsupported architectures.
12579 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12580 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12582 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12583 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12584 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12585 fall back to using wcrtomb.
12586 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12587 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12589 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12590 * wcsmbs/tst-c16c32-1.c: New file.
12592 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12595 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12597 * elf/tst-unique3.cc: Add explicit declaration of gets.
12598 * elf/tst-unique3lib.cc: Likewise.
12599 * elf/tst-unique3lib2.cc: Likewise.
12600 * elf/tst-unique4.cc: Likewise.
12602 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12604 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12607 * assert/assert.h (static_assert): Don't define for C++.
12608 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12609 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12611 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12613 * iconv/loop.c (single loop): Fix assertion in storing of
12616 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12618 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12620 * posix/getconf.c: Update copyright year.
12621 * nss/getent.c: Likewise.
12622 * nss/makedb.c: Likewise.
12623 * iconv/iconvconfig.c: Likewise.
12624 * iconv/iconv_prog.c: Likewise.
12625 * elf/ldconfig.c: Likewise.
12626 * elf/pldd.c: Likewise.
12627 * elf/sotruss.ksh: Likewise.
12628 * catgets/gencat.c: Likewise.
12629 * csu/version.c: Likewise.
12630 * elf/ldd.bash.in: Likewise.
12631 * elf/sprof.c (print_version): Likewise.
12632 * locale/programs/locale.c: Likewise.
12633 * locale/programs/localedef.c: Likewise.
12634 * login/programs/pt_chown.c: Likewise.
12635 * nscd/nscd.c (print_version): Likewise.
12636 * debug/xtrace.sh: Likewise.
12637 * malloc/memusage.sh: Likewise.
12638 * malloc/mtrace.pl: Likewise.
12639 * debug/catchsegv.sh: Likewise.
12641 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12643 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12646 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12649 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12650 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12652 * iconv/gconv_int.h: Likewise.
12653 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12654 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12655 from libc for GLIBC_2.16.
12656 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12657 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12658 * wcsmbs/uchar.h: Really define mbstate_t.
12659 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12660 * wcsmbs/c16rtomb.c: New file.
12661 * wcsmbs/mbrtoc16.c: New file.
12662 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12663 for C/POSIX locale.
12664 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12665 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12667 * wcsmbs/wchar.h: Add missing __restrict.
12669 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12672 * time/Makefile (routines): Add timespec_get.
12673 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12674 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12675 timespec for ISO C11.
12676 * time/timespec_get.c: New file.
12677 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12678 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12681 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12682 * stdlib/stdlib.h: Declare aligned_alloc.
12683 * Versions.def: Add GLIBC_2.16 for libc.
12684 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12687 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12690 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12694 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12697 * assert/assert.h (static_assert): Define.
12699 * version.h: Update for 2.16 development version.
12702 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12705 * version.h (RELEASE): Bump for 2.15 release.
12706 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12708 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12709 Patch by Marek Polacek <mpolacek@redhat.com>.
12711 * bits/byteswap.h: Protect long long constants with __extension__.
12712 * sysdeps/i386/bits/byteswap.h: Likewise.
12713 * sysdeps/ia64/bits/byteswap.h: Likewise.
12714 * sysdeps/s390/bits/byteswap.h: Likewise.
12715 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12717 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12720 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12721 destination buffer.
12722 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12724 2011-12-23 Marek Polacek <polacek@redhat.com>
12726 * elf/dl-addr.c (determine_info): Add inline keyword.
12727 * elf/tst-auditmod4b.c (check_avx): Likewise.
12728 * elf/tst-auditmod6b.c (check_avx): Likewise.
12729 * elf/tst-auditmod6c.c (check_avx): Likewise.
12730 * elf/tst-auditmod7b.c (check_avx): Likewise.
12732 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12734 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12737 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12740 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12741 processing for last bytes.
12743 2011-08-06 Bruno Haible <bruno@clisp.org>
12746 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12747 U+0385, not to U+1FEE.
12750 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12751 entry for U+00A5 U+0301.
12753 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12756 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12757 buffer for the output is too small.
12759 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12763 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12764 SSE flags if possible.
12766 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12769 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12770 processing for last bytes.
12772 2011-12-22 Joseph Myers <joseph@codesourcery.com>
12774 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12775 (syscall-list-default-options, syscall-list-default-condition)
12776 (syscall-list-includes): Define.
12777 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12778 list of ABIs and options and #if conditions for each ABI. Do not
12779 handle common syscalls between ABIs specially.
12780 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12782 (syscall-list-variants, syscall-list-32bit-options)
12783 (syscall-list-32bit-condition, syscall-list-64bit-options)
12784 (syscall-list-64bit-condition): Define.
12785 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12786 (syscall-list-variants, syscall-list-32bit-options)
12787 (syscall-list-32bit-condition, syscall-list-64bit-options)
12788 (syscall-list-64bit-condition): Define.
12789 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12791 (syscall-list-variants, syscall-list-32bit-options)
12792 (syscall-list-32bit-condition, syscall-list-64bit-options)
12793 (syscall-list-64bit-condition): Define.
12794 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12796 (syscall-list-variants, syscall-list-32bit-options)
12797 (syscall-list-32bit-condition, syscall-list-64bit-options)
12798 (syscall-list-64bit-condition): Define.
12800 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12802 * locale/iso-639.def: Add brx entry.
12805 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12806 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12808 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12809 __feraiseexcept_renamed.
12811 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12814 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12815 EPOLLET with unsigned values.
12816 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12817 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12819 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12820 to large cancellation.
12821 * math/s_cacoshf.c: Likewise.
12822 * math/s_cacoshl.c: Likewise.
12824 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12828 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12829 * math/s_cacoshf.c: Likewise.
12830 * math/s_cacoshl.c: Likewise.
12832 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12835 * iconv/gconv.h: Define __GCONV_SWAP.
12836 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12837 * iconvdata/utf-16.c: Likewise.
12838 * iconvdata/utf-32.c: Likewise.
12840 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12843 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12844 numerator after shifting it by one limb.
12846 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12848 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12849 under [__USE_EXTERN_INLINES].
12851 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12854 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12856 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12858 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12859 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12861 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12862 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12863 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12864 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12865 for strncasecmp/strncasecmp_l compilation.
12866 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12867 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12869 2011-12-08 Marek Polacek <mpolacek@redhat.com>
12872 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12875 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12878 * time/tzfile.c (__tzfile_read): Check values from file header.
12880 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12882 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12883 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12884 * powerpc/powerpc32/dl-start.S: Likewise.
12885 * powerpc/powerpc32/elf/start.S: Likewise.
12886 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12887 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12888 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12889 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12890 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12891 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12892 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12893 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12894 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12895 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12896 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12897 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12898 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12899 * powerpc/powerpc32/memset.S: Likewise.
12900 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12901 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12902 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12903 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12904 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12905 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12906 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12907 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12908 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12909 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12910 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12911 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12912 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12914 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12916 * math/libm-test.inc: Added more nearbyint tests.
12917 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12918 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12919 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12920 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12922 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12924 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12927 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12929 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12930 Add wcscpy-ssse3 wcscpy-c.
12931 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12932 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12933 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12934 * sysdeps/x86_64/wcschr.S: New file.
12935 * sysdeps/x86_64/wcsrchr.S: New file.
12936 * string/test-strcmp.c: Remove checking of wcscmp function for
12938 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12939 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12940 wcsrchr-sse2 wcsrchr-c.
12941 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12942 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12943 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12944 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12945 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12946 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12947 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12948 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12949 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12950 * wcsmbc/wcschr.c (WCSCHR): New macro.
12952 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12954 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12955 * wcsmbs/test-wcsrchr.c: New file.
12956 * string/test-strrchr.c: Add wcsrchr support.
12958 * wcsmbs/test-wcscpy.c: New file.
12959 * string/test-strcpy.c: Add wcscpy support.
12962 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12964 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12967 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12970 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12972 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12974 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12975 Minor optimizations.
12977 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12978 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12979 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12981 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12983 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12984 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12985 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12986 for gcc to avoid warnings.
12987 * inet/Makefile (tests): Add tst-checks.
12988 * inet/tst-checks.c: New file.
12990 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12993 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12996 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12997 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12999 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13001 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13003 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13006 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13008 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13010 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13011 conditional on GCC version.
13012 (__arch_compare_and_exchange_val_8_acq)
13013 (__arch_compare_and_exchange_val_16_acq)
13014 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13015 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13016 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13018 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13020 * sysdeps/sh/backtrace.c: New file.
13022 2011-12-02 Andreas Schwab <schwab@redhat.com>
13024 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13027 2011-12-01 Andreas Schwab <schwab@redhat.com>
13029 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13030 falling back to utime.
13032 2011-11-30 Andreas Schwab <schwab@redhat.com>
13034 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13035 expectations for float.
13037 2011-11-29 Andreas Schwab <schwab@redhat.com>
13039 * locale/weight.h (findidx): Add parameter len.
13040 * locale/weightwc.h (findidx): Likewise.
13041 * posix/fnmatch_loop.c (FCT): Adjust caller.
13042 * posix/regcomp.c (build_equiv_class): Likewise.
13043 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13044 * posix/regexec.c (check_node_accept_bytes): Likewise.
13045 * string/strcoll_l.c (STRCOLL): Likewise.
13046 * string/strxfrm_l.c (STRXFRM): Likewise.
13048 2011-11-17 Ulrich Drepper <drepper@gmail.com>
13050 * Makefile.in: Remove CVSOPT handling.
13051 * configure.in: Remove use of AC_REVISION.
13052 * iconvdata/Makefile (distribute): No need to filter out CVS.
13053 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13056 2011-11-16 Andreas Schwab <schwab@redhat.com>
13058 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13059 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13060 [USE_AS_STRNCASECMP_L]: Likewise.
13061 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13062 NO_TLS_DIRECT_SEG_REFS.
13063 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13064 Fix argument offsets for non-PIC.
13065 [USE_AS_STRNCASECMP_L]: Likewise.
13066 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13067 NO_TLS_DIRECT_SEG_REFS.
13069 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13071 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13073 * locale/loadlocale.c (_nl_load_locale): Likewise.
13075 2011-11-15 Andreas Schwab <schwab@redhat.com>
13077 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13078 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13079 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13080 (SYSCALL_GETTIME): Set errno on error.
13082 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13083 count references to noai6ai_cached.
13085 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13087 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13089 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13090 FD_CLOEXEC for /proc/self/maps.
13092 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13093 FD_CLOEXEC for /proc/meminfo.
13095 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13098 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13099 FD_CLOEXEC for given file.
13101 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13103 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13104 FD_CLOEXEC for /etc/hosts.
13105 (_gethtent): Likewise.
13107 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13109 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13110 cancellation and set FD_CLOEXEC for /etc/netgroup.
13112 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13113 reading /etc/publickey.
13115 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13116 allow cancellation when reading /etc/group.
13118 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13120 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13122 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13123 when using data file.
13125 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13127 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13128 (write_nis_obj): Use "c" and "e" in fopen.
13130 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13132 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13134 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13136 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13138 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13141 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13143 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13145 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13147 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13148 file parsing and set FD_CLOEXEC.
13150 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13152 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13154 2011-11-14 Andreas Schwab <schwab@redhat.com>
13156 * malloc/arena.c (arena_get2): Don't call reused_arena when
13157 _int_new_arena failed.
13159 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13161 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13162 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13163 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13164 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13165 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13166 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13167 to compile strcasecmp and strncasecmp.
13168 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13169 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13171 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13173 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13175 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13176 locale-defines.sym to gen-as-const-headers.
13177 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13178 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13179 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13180 to compile strcasecmp and strncasecmp.
13181 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13182 strcasecmp_l and strncasecmp_l.
13183 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13184 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13185 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13186 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13187 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13188 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13189 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13190 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13191 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13192 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13193 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13195 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13197 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13198 result of SYSDEP_GETTIME_CPU to retval.
13199 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13200 parameter list to macro. Remove trailing semicolon. Adjust users.
13202 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13205 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13207 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13209 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13210 from unused variable.
13212 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13214 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13217 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13220 * sunrpc/rpc_prot.c (rejected): Fix case value.
13222 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13223 unsigned long long int to avoid warnings in shift.
13225 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13227 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13230 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13231 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13232 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13234 * nis/nis_table.c (nis_list): Use variable of correct type for
13235 result of __follow_path call.
13237 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13239 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13240 of math functions ceil, trunc, floor, round, and sqrt, when
13241 avaliable on the platform.
13242 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13244 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13245 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13246 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13248 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13250 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13251 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13253 2011-11-11 Roland McGrath <roland@hack.frob.com>
13255 * include/unistd.h: Fix __readlink return type.
13256 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13258 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13260 * stdlib/ucontext.h: Undo last change for makecontext.
13262 2011-11-11 Andreas Schwab <schwab@redhat.com>
13264 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13266 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13267 * setjmp/setjmp.h: Mark functions as non-leaf.
13268 * setjmp/bits/setjmp2.h: Likewise.
13269 * stdlib/ucontext.h: Likewise.
13271 2011-11-10 Andreas Schwab <schwab@redhat.com>
13273 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13274 (reused_arena): Don't check arena limit.
13275 (arena_get2): Atomically check arena limit.
13277 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13279 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13280 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13282 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13285 2011-11-07 Andreas Schwab <schwab@redhat.com>
13287 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13288 handler when locking.
13290 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13291 Fix size of allocated buffer.
13293 2011-11-04 Andreas Schwab <schwab@redhat.com>
13296 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13297 declarations for long double functions.
13298 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13300 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13302 2011-11-03 Andreas Schwab <schwab@redhat.com>
13304 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13307 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13310 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13312 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13314 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13316 * include/alloca.h (stackinfo_alloca_round): Define.
13317 (extend_alloca): Use it.
13318 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13319 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13322 * scripts/check-local-headers.sh: Ignore libaudit.h.
13324 * nscd/Makefile (extra-objs): Make recursively expanded.
13326 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13328 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13329 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13331 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13332 * posix/tst-rfc3484-2.c: Likewise.
13333 * posix/tst-rfc3484-3.c: Likewise.
13335 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13337 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13339 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13340 process_vm_writev from libc using GLIBC_2.15 version.
13342 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13344 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13346 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13349 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13352 * nss/getent.c (initgroups_keys): Show error message in case no group
13355 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13356 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13357 __bump_nl_timestamp.
13358 * nscd/connections (nscd_init): When host database is served open
13359 netlink socket and request notification about configuration changes.
13360 (main_loop_poll): Track netlink file descriptor and bump timestamp
13361 in case data becomes available.
13362 (main_loop_epoll): Likewise.
13363 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13364 (database_pers_head): Add extra_data fileds.
13365 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13366 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13367 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13369 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13370 in6ai data, call __free_in6ai.
13371 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13372 Add -DHAVE_NETLINK.
13373 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13374 interface information. Reuse previous data if netlink timestamp
13376 (__bump_nl_timestamp): New function.
13377 (__free_in6ai): New function.
13379 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13381 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13382 close_not_cancel_no_status here.
13383 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13385 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13388 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13391 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13392 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13393 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13395 2011-07-03 Andreas Jaeger <aj@suse.de>
13398 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13399 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13400 * math/libm-test.inc (sin_test): Add test case.
13402 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13405 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13406 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13408 * elf/chroot_canon.c (chroot_canon): Cleanups.
13410 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13413 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13414 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13416 * string/test-strchr.c: Make usable for strchrnul testing.
13417 * string/test-strchrnul.c: New file.
13418 * string/Makefile (strop-tests): Add strchrnul.
13420 * po/it.po: Update from translation team.
13421 * po/es.po: Likewise.
13423 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13425 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13426 the three constants needed as parameters. Drop the others.
13427 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13428 __m128i_strloadu_tolower.
13429 Create and initialize variable zero and use it in all the places
13430 where _mm_setzero_si128 was used.
13432 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13433 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13434 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13435 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13437 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13438 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13439 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13440 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13441 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13442 __mpranred, __mptan.
13443 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13444 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13445 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13446 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13447 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13448 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13449 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13450 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13451 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13453 2011-10-28 Andreas Schwab <schwab@redhat.com>
13455 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13456 redefine if SHARED.
13457 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13459 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13460 wide char related routines to wcsmbs subdir.
13462 2011-10-27 Andreas Schwab <schwab@redhat.com>
13465 * misc/sys/cdefs.h (__THROWNL): Define.
13466 * posix/unistd.h: Use __THREADNL instead of __THREAD
13467 for memory synchronization functions.
13469 2011-10-26 Roland McGrath <roland@hack.frob.com>
13472 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13474 * manual/stdio.texi (Obstack Streams): Node removed.
13476 2011-10-26 Andreas Schwab <schwab@redhat.com>
13478 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13479 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13480 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13482 * math/math_private.h (math_force_eval): Allow non-addressable
13484 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13486 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13488 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13489 file is not needed.
13491 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13492 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13493 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13494 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13495 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13496 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13497 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13498 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13500 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13501 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13502 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13503 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13504 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13505 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13506 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13507 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13508 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13509 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13510 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13511 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13512 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13513 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13514 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13515 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13516 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13517 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13518 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13520 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13521 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13523 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13524 place. Use VEX encoding when compiling for AVX.
13526 2011-10-25 Andreas Schwab <schwab@redhat.com>
13528 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13529 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13531 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13533 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13535 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13536 useless if() expression.
13537 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13538 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13539 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13540 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13541 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13542 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13543 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13544 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13545 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13546 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13547 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13548 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13549 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13550 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13551 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13552 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13553 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13554 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13555 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13557 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13559 2011-10-25 Andreas Schwab <schwab@redhat.com>
13561 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13563 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13565 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13567 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13568 .text section. Avoid duplicate constants.
13569 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13571 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13572 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13573 * sysdeps/ieee754/dbl-64/e_exp.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/halfulp.c: Likewise.
13577 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13578 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13579 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13580 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13581 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13582 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13583 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13584 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13585 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13586 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13587 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13588 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13589 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13590 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13591 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13592 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13593 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13594 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13595 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13596 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13597 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13598 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13599 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13600 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13601 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13602 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13603 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13604 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13605 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13606 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13607 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13608 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13609 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13610 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13611 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13612 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13613 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13615 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13617 * sysdeps/x86_64/dla.h: Move to ...
13618 * sysdeps/x86_64/fpu/dla.h: ...here.
13619 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13620 situations. Use __builtin_fma only for gcc 4.6 and up.
13622 * config.make.in: Add have-mfma4 entry.
13623 * configure.in: Substitute libc_cv_cc_fma4.
13624 * math/Makefile (dbl-only-routines): Add sincostab.
13625 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13626 Use __sincostab not sincos.
13627 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13629 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13630 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13631 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13632 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13634 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13635 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13636 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13637 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13639 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13640 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13642 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13643 define aliases when function name is a macro.
13644 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13645 sysdeps/ieee754/dbl-64/sincos.tbl.
13646 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13647 fma4-enabled routines.
13648 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13649 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13650 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13651 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13652 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13653 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13654 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13655 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13656 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13657 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13658 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13659 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13660 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13661 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13662 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13663 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13664 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13665 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13666 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13667 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13668 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13669 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13670 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13671 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13672 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13673 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13674 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13675 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13676 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13677 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13679 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13681 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13682 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13683 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13684 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13685 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13686 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13687 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13688 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13690 2011-10-24 Andreas Schwab <schwab@redhat.com>
13692 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13694 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13696 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13698 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13700 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13702 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13703 Remove unused variable magic_bits.
13704 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13706 * string/strnlen.c: Define and use STRNLEN macro.
13707 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13708 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13709 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13710 * wcsmbs/wcslen.c: Define and use WCSLEN.
13711 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13712 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13713 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13714 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13715 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13716 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13717 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13719 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13721 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13722 strnlen-sse2-no-bsf.
13723 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13724 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13725 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13726 Add strnlen support.
13727 (USE_AS_STRNLEN): New macro.
13728 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13729 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13730 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13731 * sysdeps/x86_64/wcslen.S: New file.
13733 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13735 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13736 XMM-moves are used for copying on small sizes.
13738 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13740 * wcsmbs/Makefile (strop-tests): Add wcschr.
13741 * wcsmbs/test-wcschr.c: New file.
13742 * string/test-strchr.c: Update.
13743 Add wcschr support.
13746 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13748 * wcsmbs/Makefile (strop-tests): Add wcslen.
13749 * wcsmbs/test-wcslen.c: New file.
13750 * string/test-strlen.c: Update.
13751 Add wcslen support.
13754 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13756 * po/it.po: Update from translation team.
13758 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13760 * sysdeps/x86_64/wcscmp.S: Update.
13761 Fix wrong comparison semantics.
13762 wcscmp shall use signed comparison not unsigned.
13763 Don't use substraction to avoid overflow bug.
13764 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13765 * wcsmbc/wcscmp.c: Likewise.
13766 * string/test-strcmp.c: Likewise.
13767 Add new tests to check cases with negative values.
13769 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13771 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13772 * sysdeps/x86_64/dla.h: ...here. New file.
13773 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13774 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13776 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13777 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13778 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13779 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13780 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13781 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13783 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13785 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13786 __ynl_finite aliases.
13788 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13792 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13794 [DLA_FMA] (EMULV): Use DLA_FMA.
13795 [DLA_FMA] (MUL12): Use EMULV.
13796 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13797 that are not needed.
13798 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13799 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13800 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13801 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13802 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13803 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13804 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13806 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13808 * math/s_nan.c: Undef __nan.
13809 * math/s_nanf.c: Undef __nanf.
13810 * math/s_nanl.c: Undef __nanl.
13811 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13814 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13816 * math/s_catan.c: Add branch predictions.
13817 * math/s_catanf.c: Likewise.
13818 * math/s_catanh.c: Likewise.
13819 * math/s_catanhf.c: Likewise.
13820 * math/s_catanhl.c: Likewise.
13821 * math/s_catanl.c: Likewise.
13822 * math/s_cexp.c: Likewise.
13823 * math/s_cexpf.c: Likewise.
13824 * math/s_cexpl.c: Likewise.
13825 * math/s_clog.c: Likewise.
13826 * math/s_clog10.c: Likewise.
13827 * math/s_clog10f.c: Likewise.
13828 * math/s_clog10l.c: Likewise.
13829 * math/s_clogf.c: Likewise.
13830 * math/s_clogl.c: Likewise.
13831 * math/s_csqrt.c: Likewise.
13832 * math/s_csqrtf.c: Likewise.
13833 * math/s_csqrtl.c: Likewise.
13834 * math/s_ctanf.c: Likewise.
13835 * math/s_ctanh.c: Likewise.
13836 * math/s_ctanhf.c: Likewise.
13837 * math/s_ctanhl.c: Likewise.
13838 * math/s_ctanl.c: Likewise.
13840 * math/math_private.h: Define __nan, __nanf, __nanl.
13841 * math/s_cacosh.c: Include <math_private.h>.
13842 * math/s_cacoshl.c: Likewise.
13843 * math/s_casinh.c: Likewise.
13844 * math/s_casinhf.c: Likewise.
13845 * math/s_casinhl.c: Likewise.
13846 * math/s_ccos.c: Rely entire on ccosh.
13847 * math/s_ccosf.c: Rely entire on ccoshf.
13848 * math/s_ccosl.c: Rely entirely on ccoshl.
13849 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13850 Remove tests for FE_INVALID.
13851 * math/s_ccoshf.c: Likewise.
13852 * math/s_ccoshl.c: Likewise.
13853 * math/s_csin.c: Likewise.
13854 * math/s_csinf.c: Likewise.
13855 * math/s_csinh.c Likewise.
13856 * math/s_csinhf.c: Likewise.
13857 * math/s_csinhl.c: Likewise.
13858 * math/s_csinl.c: Likewise.
13859 * math/s_ctan.c: Likewise.
13860 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13861 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13862 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13864 2011-10-21 Ulrich Drepper <drepper@gmail.com>
13866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13867 compilation problems.
13869 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13872 2011-10-20 Ulrich Drepper <drepper@gmail.com>
13874 * sysdeps/i386/configure.in: Test for -mfma4 option.
13875 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13876 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13877 COMMON_CPUID_INDEX_80000001.
13878 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13879 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13880 use it if FMA3 is not supported.
13881 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13883 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13884 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13886 2011-10-20 Andreas Schwab <schwab@redhat.com>
13889 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13890 it would create a cycle with a link time dependency.
13892 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13894 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13896 * string/Makefile (strop-tests): Add rawmemchr.
13897 * string/test-rawmemchr.c: New file.
13899 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13900 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13901 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13902 when compiling str{,n}casecmp and when AVX is available. Hook up
13903 new optimized code in initializers.
13905 2011-10-19 Andreas Schwab <schwab@redhat.com>
13907 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13908 __feraiseexcept instead of feraiseexcept.
13910 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13912 * math/math_private.h: Define defaults for libc_fetestexcept and
13914 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13915 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13916 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13917 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13918 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13919 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13920 libc_fetestexcept and libc_feupdateenv.
13922 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13923 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13924 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13925 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13926 libc_feholdexcept_setround.
13928 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13929 Add s_nearbyint-c and s_nearbyintf-c.
13930 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13931 nearbyintf inlines.
13932 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13933 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13934 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13935 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13937 * math/math_private.h: Define defaults for libc_fegetround,
13938 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13939 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13940 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13941 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13942 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13943 standard functions.
13944 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13945 Remove comments and hacks for old compiler versions.
13946 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13947 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13948 libc_feholdexceptl.
13950 2011-10-18 Andreas Schwab <schwab@redhat.com>
13952 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13953 (__feraiseexcept_renamed): Add __NTH.
13954 (feraiseexcept): Add __NTH. Rename local variables to fix
13955 namespace violations.
13957 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13959 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13961 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13963 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13964 recently added interfaces.
13965 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13967 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13968 about macro parameter expansion.
13970 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13971 __NO_MATH_INLINES is defined. Cleanups.
13973 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13974 and __floorf is target has SSE4.1.
13975 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13976 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13977 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13978 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13980 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13982 (floorf): Likewise.
13984 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13986 2011-10-17 Andreas Schwab <schwab@redhat.com>
13988 * misc/sys/cdefs.h: Fix last change.
13990 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13993 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13995 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13997 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13998 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13999 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14000 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14001 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14002 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14003 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14004 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14005 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14006 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14007 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14008 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14009 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14010 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14011 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14012 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14013 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14014 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14015 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14016 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14017 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14018 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14020 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14021 ceil, ceilf, floor, floorf.
14023 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14024 Perform IRELATIVE relocations last.
14026 * elf/do-rel.h: Add another parameter nrelative, replacing the
14027 local variable with the same name. Change name of the function
14028 to end in Rel or Rela (uppercase).
14029 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14030 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14031 elf_dynamic_do_##reloc function.
14033 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14035 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14036 is sufficient, at least on modern CPUs.
14038 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14040 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14041 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14043 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14045 * math/bits/math-finite.h: Add entries for exp.
14046 * math/e_expl.c: Add __*_finite alias.
14047 * sysdeps/i386/fpu/e_exp.S: Likewise.
14048 * sysdeps/i386/fpu/e_expf.S: Likewise.
14049 * sysdeps/i386/fpu/e_expl.c: Likewise.
14050 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14051 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14052 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14053 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14054 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14055 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14056 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14058 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14059 is sufficient, at least on modern CPUs.
14061 * ctype/ctype-info.c (__ctype_init): Define.
14062 * include/ctype.h (__ctype_init): Declare.
14063 (__ctype_b_loc): The variable is always initialized.
14064 (__ctype_toupper_loc): Likewise.
14065 (__ctype_tolower_loc): Likewise.
14066 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14067 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14069 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14071 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14073 * configure.in: Also look in $cxxmachine/include for C++ system
14076 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14078 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14079 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14080 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14081 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14082 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14083 (USE_AS_WMEMCMP): New macro.
14085 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14086 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14087 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14088 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14089 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14090 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14091 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14092 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14093 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14094 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14095 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14096 (USE_AS_WMEMCMP): New macro.
14097 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14098 * sysdeps/string/test-memcmp.c: Update.
14099 Fix simple_wmemcmp.
14101 * wcsmbs/wmemcmp.c: Update.
14102 (WMEMCMP): New macro.
14105 2011-10-12 Andreas Jaeger <aj@suse.de>
14108 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14110 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14112 * libio/iofwide.c (do_length): Avoid warning.
14114 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14116 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14118 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14120 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14121 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14122 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14123 * sysdeps/i386/i686/fpu/e_log.S: New file.
14124 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14125 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14127 * ctype/ctype.h: Add support for inlined isXXX functions when
14128 compiling C++ code.
14130 2011-10-14 Andreas Schwab <schwab@redhat.com>
14132 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14134 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14136 2011-10-13 Roland McGrath <roland@hack.frob.com>
14139 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14141 2011-10-13 Andreas Schwab <schwab@redhat.com>
14143 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14144 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14147 * sysdeps/x86_64/memrchr.S: Check for zero size.
14149 * string/stratcliff.c: Add memrchr tests.
14151 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14154 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14155 rawmemchr-sse2 rawmemchr-sse2-bsf.
14156 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14157 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14158 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14159 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14160 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14161 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14162 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14163 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14164 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14165 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14166 * string/memrchr.c (MEMRCHR): New macro.
14168 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14170 Add integration with gcc's -ffinite-math-only and optimize wrapper
14172 * Versions.def: Define GLIBC_2.15 version for libm.
14173 * math/Makefile (headers): Add bits/math-finite.h.
14174 * math/bits/math-finite.h: New file.
14175 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14176 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14177 * math/e_acoshl.c: Add __*_finite alias.
14178 * math/e_acosl.c: Likewise.
14179 * math/e_asinl.c: Likewise.
14180 * math/e_atan2l.c: Likewise.
14181 * math/e_atanhl.c: Likewise.
14182 * math/e_coshl.c: Likewise.
14183 * math/e_exp10.c: Likewise.
14184 * math/e_exp10f.c: Likewise.
14185 * math/e_exp10l.c: Likewise.
14186 * math/e_exp2l.c: Likewise.
14187 * math/e_fmodl.c: Likewise.
14188 * math/e_gammal_r.c: Likewise.
14189 * math/e_hypotl.c: Likewise.
14190 * math/e_j0l.c: Likewise.
14191 * math/e_j1l.c: Likewise.
14192 * math/e_jnl.c: Likewise.
14193 * math/e_lgammal_r.c: Likewise.
14194 * math/e_log10l.c: Likewise.
14195 * math/e_log2l.c: Likewise.
14196 * math/e_logl.c: Likewise.
14197 * math/e_powl.c: Likewise.
14198 * math/e_sinhl.c: Likewise.
14199 * math/e_sqrtl.c: Likewise.
14200 * math/e_scalb.c: Completely rewritten and optimized.
14201 * math/e_scalbf.c: Likewise.
14202 * math/e_scalbl.c: Likewise.
14203 * math/w_acos.c: Likewise.
14204 * math/w_acosf.c: Likewise.
14205 * math/w_acosl.c: Likewise.
14206 * math/w_acosh.c: Likewise.
14207 * math/w_acoshf.c: Likewise.
14208 * math/w_acoshl.c: Likewise.
14209 * math/w_asin.c: Likewise.
14210 * math/w_asinf.c: Likewise.
14211 * math/w_asinl.c: Likewise.
14212 * math/w_atan2.c: Likewise.
14213 * math/w_atan2f.c: Likewise.
14214 * math/w_atan2l.c: Likewise.
14215 * math/w_atanh.c: Likewise.
14216 * math/w_atanhf.c: Likewise.
14217 * math/w_atanhl.c: Likewise.
14218 * math/w_exp10.c: Likewise.
14219 * math/w_exp10f.c: Likewise.
14220 * math/w_exp10l.c: Likewise.
14221 * math/w_fmod.c: Likewise.
14222 * math/w_fmodf.c: Likewise.
14223 * math/w_fmodl.c: Likewise.
14224 * math/w_j0.c: Likewise.
14225 * math/w_j0f.c: Likewise.
14226 * math/w_j0l.c: Likewise.
14227 * math/w_j1.c: Likewise.
14228 * math/w_j1f.c: Likewise.
14229 * math/w_j1l.c: Likewise.
14230 * math/w_jn.c: Likewise.
14231 * math/w_jnf.c: Likewise.
14232 * math/w_log.c: Likewise.
14233 * math/w_logf.c: Likewise.
14234 * math/w_logl.c: Likewise.
14235 * math/w_log10.c: Likewise.
14236 * math/w_log10f.c: Likewise.
14237 * math/w_log10l.c: Likewise.
14238 * math/w_log2.c: Likewise.
14239 * math/w_log2f.c: Likewise.
14240 * math/w_log2l.c: Likewise.
14241 * math/w_pow.c: Likewise.
14242 * math/w_powf.c: Likewise.
14243 * math/w_powl.c: Likewise.
14244 * math/w_remainder.c: Likewise.
14245 * math/w_remainderf.c: Likewise.
14246 * math/w_remainderl.c: Likewise.
14247 * math/w_scalb.c: Likewise.
14248 * math/w_scalbf.c: Likewise.
14249 * math/w_scalbl.c: Likewise.
14250 * math/w_sqrt.c: Likewise.
14251 * math/w_sqrtf.c: Likewise.
14252 * math/w_sqrtl.c: Likewise.
14253 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14254 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14256 * math/math_private.h: Declare __kernel_standard_f.
14257 * math/w_cosh.c: Remove cruft and optimize a bit.
14258 * math/w_coshf.c: Likewise.
14259 * math/w_coshl.c: Likewise.
14260 * math/w_exp2.c: Likewise.
14261 * math/w_exp2f.c: Likewise.
14262 * math/w_exp2l.c: Likewise.
14263 * math/w_hypot.c: Likewise.
14264 * math/w_hypotf.c: Likewise.
14265 * math/w_hypotl.c: Likewise.
14266 * math/w_lgamma.c: Likewise.
14267 * math/w_lgamma_r.c: Likewise.
14268 * math/w_lgammaf.c: Likewise.
14269 * math/w_lgammaf_r.c: Likewise.
14270 * math/w_lgammal.c: Likewise.
14271 * math/w_lgammal_r.c: Likewise.
14272 * math/w_sinh.c: Likewise.
14273 * math/w_sinhf.c: Likewise.
14274 * math/w_sinhl.c: Likewise.
14275 * math/w_tgamma.c: Likewise.
14276 * math/w_tgammaf.c: Likewise.
14277 * math/w_tgammal.c: Likewise.
14278 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14279 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14280 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14281 Minor optimizations. Pretty printing. Remove cruft.
14282 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14283 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14284 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14285 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14286 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14287 * sysdeps/i386/fpu/e_asin.S: Likewise.
14288 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14289 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14290 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14291 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14292 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14293 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14294 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14295 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14296 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14297 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14298 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14299 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14300 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14301 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14302 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14303 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14304 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14305 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14306 * sysdeps/i386/fpu/e_log.S: Likewise.
14307 * sysdeps/i386/fpu/e_log10.S: Likewise.
14308 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14309 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14310 * sysdeps/i386/fpu/e_log2.S: Likewise.
14311 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14312 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14313 * sysdeps/i386/fpu/e_logf.S: Likewise.
14314 * sysdeps/i386/fpu/e_logl.S: Likewise.
14315 * sysdeps/i386/fpu/e_pow.S: Likewise.
14316 * sysdeps/i386/fpu/e_powf.S: Likewise.
14317 * sysdeps/i386/fpu/e_powl.S: Likewise.
14318 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14319 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14320 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14321 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14322 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14323 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14324 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14325 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14326 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14327 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14328 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14329 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14330 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14331 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14332 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14333 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14334 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14335 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14336 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14337 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14338 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14339 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14340 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14341 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14342 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14343 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14344 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14345 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14346 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14347 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14348 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14349 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14350 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14351 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14352 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14353 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14354 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14355 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14356 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14357 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14358 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14359 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14360 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14361 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14362 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14363 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14364 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14365 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14366 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14367 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14368 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14369 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14370 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14371 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14372 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14373 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14374 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14375 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14376 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14377 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14378 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14379 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14380 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14381 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14382 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14383 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14384 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14385 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14386 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14387 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14388 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14389 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14390 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14391 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14392 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14393 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14394 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14395 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14396 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14397 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14398 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14399 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14400 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14401 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14402 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14403 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14404 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14405 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14406 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14407 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14408 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14409 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14410 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14411 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14412 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14413 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14414 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14415 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14416 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14417 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14418 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14419 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14420 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14421 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14422 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14423 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14424 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14425 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14426 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14427 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14428 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14429 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14430 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14431 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14432 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14433 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14434 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14435 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14436 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14437 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14438 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14439 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14440 (__isnanf): Likewise.
14441 (__isinf_ns): Likewise.
14442 (__isinf_nsf): Likewise.
14443 (__finite): Likewise.
14444 (__finitef): Likewise.
14445 (__ieee754_sqrt): Define as macro.
14446 (__ieee754_sqrtf): Define as macro.
14447 (__ieee754_sqrtl): Define as macro.
14448 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14450 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14451 __FINITE_MATH_ONLY__ consistent.
14452 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14454 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14456 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14459 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14461 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14463 * po/ja.po: Update from translation team.
14465 2011-10-08 Roland McGrath <roland@hack.frob.com>
14467 * locale/programs/locarchive.c (prepare_address_space): New function.
14468 (create_archive, enlarge_archive, open_archive): Use it.
14470 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14471 inside [SHARED], where it is used.
14473 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14475 * nss/getent.c (netgroup_keys): Remove unused variable.
14476 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14478 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14480 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14481 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14482 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14483 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14484 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14485 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14486 * math/Makefile (libm-calls): Add s_isinf_ns.
14487 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14488 * math/multc3.c: Likewise.
14489 * math/s_casin.c: Likewise.
14490 * math/s_casinf.c: Likewise.
14491 * math/s_casinl.c: Likewise.
14492 * math/s_ccos.c: Likewise.
14493 * math/s_ccosf.c: Likewise.
14494 * math/s_ccosl.c: Likewise.
14495 * math/s_ctan.c: Likewise.
14496 * math/s_ctanf.c: Likewise.
14497 * math/s_ctanh.c: Likewise.
14498 * math/s_ctanhf.c: Likewise.
14499 * math/s_ctanhl.c: Likewise.
14500 * math/s_ctanl.c: Likewise.
14501 * math/w_fmod.c: Likewise.
14502 * math/w_fmodf.c: Likewise.
14503 * math/w_fmodl.c: Likewise.
14504 * math/w_remainder.c: Likewise.
14505 * math/w_remainderf.c: Likewise.
14506 * math/w_remainderl.c: Likewise.
14507 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14508 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14509 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14510 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14511 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14512 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14513 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14514 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14516 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14518 * stdio-common/printf_fphex.c: Likewise.
14519 * stdio-common/printf_size.c: Likewise.
14521 * math/e_exp10.c: Include math_private.h using <...> not "...".
14522 * math/e_exp10f.c: Likewise.
14523 * math/e_exp10l.c: Likewise.
14524 * math/e_exp2l.c: Likewise.
14525 * math/e_j0l.c: Likewise.
14526 * math/e_j1l.c: Likewise.
14527 * math/e_jnl.c: Likewise.
14528 * math/e_lgammal_r.c: Likewise.
14529 * math/e_rem_pio2l.c: Likewise.
14530 * math/e_scalb.c: Likewise.
14531 * math/e_scalbf.c: Likewise.
14532 * math/e_scalbl.c: Likewise.
14533 * math/k_cosl.c: Likewise.
14534 * math/k_sinl.c: Likewise.
14535 * math/k_tanl.c: Likewise.
14536 * math/s_cacoshf.c: Likewise.
14537 * math/s_catan.c: Likewise.
14538 * math/s_catanf.c: Likewise.
14539 * math/s_catanh.c: Likewise.
14540 * math/s_catanhf.c: Likewise.
14541 * math/s_catanhl.c: Likewise.
14542 * math/s_catanl.c: Likewise.
14543 * math/s_ccosh.c: Likewise.
14544 * math/s_ccoshf.c: Likewise.
14545 * math/s_ccoshl.c: Likewise.
14546 * math/s_cexp.c: Likewise.
14547 * math/s_cexpf.c: Likewise.
14548 * math/s_cexpl.c: Likewise.
14549 * math/s_clog.c: Likewise.
14550 * math/s_clog10.c: Likewise.
14551 * math/s_clog10f.c: Likewise.
14552 * math/s_clog10l.c: Likewise.
14553 * math/s_clogf.c: Likewise.
14554 * math/s_clogl.c: Likewise.
14555 * math/s_csin.c: Likewise.
14556 * math/s_csinf.c: Likewise.
14557 * math/s_csinh.c: Likewise.
14558 * math/s_csinhf.c: Likewise.
14559 * math/s_csinhl.c: Likewise.
14560 * math/s_csinl.c: Likewise.
14561 * math/s_csqrt.c: Likewise.
14562 * math/s_csqrtf.c: Likewise.
14563 * math/s_csqrtl.c: Likewise.
14564 * math/s_ctan.c: Likewise.
14565 * math/s_ctanf.c: Likewise.
14566 * math/s_ctanh.c: Likewise.
14567 * math/s_ctanhf.c: Likewise.
14568 * math/s_ctanhl.c: Likewise.
14569 * math/s_ctanl.c: Likewise.
14570 * math/s_ldexp.c: Likewise.
14571 * math/s_ldexpf.c: Likewise.
14572 * math/s_ldexpl.c: Likewise.
14573 * math/s_significand.c: Likewise.
14574 * math/s_significandf.c: Likewise.
14575 * math/s_significandl.c: Likewise.
14576 * math/w_acos.c: Likewise.
14577 * math/w_acosf.c: Likewise.
14578 * math/w_acosh.c: Likewise.
14579 * math/w_acoshf.c: Likewise.
14580 * math/w_acoshl.c: Likewise.
14581 * math/w_acosl.c: Likewise.
14582 * math/w_asin.c: Likewise.
14583 * math/w_asinf.c: Likewise.
14584 * math/w_asinl.c: Likewise.
14585 * math/w_atan2.c: Likewise.
14586 * math/w_atan2f.c: Likewise.
14587 * math/w_atan2l.c: Likewise.
14588 * math/w_atanh.c: Likewise.
14589 * math/w_atanhf.c: Likewise.
14590 * math/w_atanhl.c: Likewise.
14591 * math/w_cosh.c: Likewise.
14592 * math/w_coshf.c: Likewise.
14593 * math/w_coshl.c: Likewise.
14594 * math/w_dremf.c: Likewise.
14595 * math/w_exp10.c: Likewise.
14596 * math/w_exp10f.c: Likewise.
14597 * math/w_exp10l.c: Likewise.
14598 * math/w_exp2.c: Likewise.
14599 * math/w_exp2f.c: Likewise.
14600 * math/w_fmod.c: Likewise.
14601 * math/w_fmodf.c: Likewise.
14602 * math/w_fmodl.c: Likewise.
14603 * math/w_hypot.c: Likewise.
14604 * math/w_hypotf.c: Likewise.
14605 * math/w_hypotl.c: Likewise.
14606 * math/w_j0.c: Likewise.
14607 * math/w_j0f.c: Likewise.
14608 * math/w_j0l.c: Likewise.
14609 * math/w_j1.c: Likewise.
14610 * math/w_j1f.c: Likewise.
14611 * math/w_j1l.c: Likewise.
14612 * math/w_jn.c: Likewise.
14613 * math/w_jnf.c: Likewise.
14614 * math/w_jnl.c: Likewise.
14615 * math/w_lgamma.c: Likewise.
14616 * math/w_lgamma_r.c: Likewise.
14617 * math/w_lgammaf.c: Likewise.
14618 * math/w_lgammaf_r.c: Likewise.
14619 * math/w_lgammal.c: Likewise.
14620 * math/w_lgammal_r.c: Likewise.
14621 * math/w_log.c: Likewise.
14622 * math/w_log10.c: Likewise.
14623 * math/w_log10f.c: Likewise.
14624 * math/w_log10l.c: Likewise.
14625 * math/w_log2.c: Likewise.
14626 * math/w_log2f.c: Likewise.
14627 * math/w_log2l.c: Likewise.
14628 * math/w_logf.c: Likewise.
14629 * math/w_logl.c: Likewise.
14630 * math/w_pow.c: Likewise.
14631 * math/w_powf.c: Likewise.
14632 * math/w_powl.c: Likewise.
14633 * math/w_remainder.c: Likewise.
14634 * math/w_remainderf.c: Likewise.
14635 * math/w_remainderl.c: Likewise.
14636 * math/w_scalb.c: Likewise.
14637 * math/w_scalbf.c: Likewise.
14638 * math/w_scalbl.c: Likewise.
14639 * math/w_sinh.c: Likewise.
14640 * math/w_sinhf.c: Likewise.
14641 * math/w_sinhl.c: Likewise.
14642 * math/w_sqrt.c: Likewise.
14643 * math/w_sqrtf.c: Likewise.
14644 * math/w_sqrtl.c: Likewise.
14645 * math/w_tgamma.c: Likewise.
14646 * math/w_tgammaf.c: Likewise.
14647 * math/w_tgammal.c: Likewise.
14649 * po/ja.po: Update from translation team.
14651 2011-09-29 Andreas Jaeger <aj@suse.de>
14654 * sunrpc/netname.c (netname2host): Fix logic.
14658 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14660 * math/w_remainder.c (__remainder): Likewise.
14661 * math/w_remainderf.c (__remainderf): Likewise.
14662 * math/libm-test.inc (remainder_test): Add test cases.
14664 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14666 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14669 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14671 * string/test-memcmp.c: Avoid unncessary #defines.
14672 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14674 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14676 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14677 Use new sse2 version for core i3 - i7 as it's faster
14678 than sse42 version.
14679 (bit_Prefer_PMINUB_for_stringop): New.
14680 * sysdeps/x86_64/rawmemchr.S: Update.
14681 Replace with faster SSE2 version.
14682 * sysdeps/x86_64/memrchr.S: New file.
14683 * sysdeps/x86_64/memchr.S: Update.
14684 Replace with faster SSE2 version.
14686 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14688 * elf/dl-load.c (lose): Add cast to avoid warning.
14690 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14692 * po/ca.po: Update from translation team.
14694 * inet/getnetgrent_r.c: Hook up nscd.
14695 * nscd/Makefile (routines): Add nscd_netgroup.
14696 (nscd-modules): Add netgroupcache.
14697 (CFLAGS-netgroupcache.c): Define.
14698 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14699 (cache_search): Add const to second parameter.
14700 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14702 (dbs): Add netgrdb entry.
14703 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14704 (verify_persistent_db): Handle netgrdb.
14705 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14706 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14708 (netgroup_response_header): Define.
14709 (innetgroup_response_header): Define.
14710 (datahead): Add netgroup_response_header and innetgroup_response_header
14712 * nscd/nscd.conf: Add entries for netgroup cache.
14713 * nscd/nscd.h (dbtype): Add netgrdb.
14714 (_PATH_NSCD_NETGROUP_DB): Define.
14715 (netgroup_iov_disabled): Declare.
14716 (xmalloc, xcalloc, xrealloc): Move declarations here.
14717 (cache_search): Adjust prototype.
14718 Add netgroup-related prototypes.
14719 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14720 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14721 (__nscd_innetgr): Declare.
14722 * nscd/selinux.c (perms): Use access_vector_t as element type and
14723 add netgroup-related initializers.
14724 * nscd/netgroupcache.c: New file.
14725 * nscd/nscd_netgroup.c: New file.
14726 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14727 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14728 For four parameters use innetgr.
14729 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14730 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14731 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14732 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14734 * nscd/connections.c (register_traced_file): Don't register file
14735 for disabled databases.
14737 2011-10-06 Ulrich Drepper <drepper@gmail.com>
14739 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14741 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14742 from tree and freeing node.
14744 2011-09-25 Jiri Olsa <jolsa@redhat.com>
14746 * nss/nsswitch.c (__nss_database_lookup): Handle
14747 nss_parse_service_list out of memory case.
14749 2011-09-15 Jiri Olsa <jolsa@redhat.com>
14751 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14752 out of memory case.
14754 2011-10-04 Andreas Schwab <schwab@redhat.com>
14756 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14757 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14759 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14760 elf_machine_rela, elf_machine_lazy_rel.
14761 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14762 (ELF_DYNAMIC_DO_REL): Likewise.
14763 (ELF_DYNAMIC_DO_RELA): Likewise.
14764 (ELF_DYNAMIC_RELOCATE): Likewise.
14765 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14766 to ELF_DYNAMIC_DO_REL.
14767 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14768 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14769 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14771 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14772 skip_ifunc, don't call ifunc function if non-zero.
14773 (elf_machine_rela): Likewise.
14774 (elf_machine_lazy_rel): Likewise.
14775 (elf_machine_lazy_rela): Likewise.
14776 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14777 (elf_machine_lazy_rel): Likewise.
14778 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14780 (elf_machine_lazy_rel): Likewise.
14781 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14783 (elf_machine_lazy_rel): Likewise.
14784 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14785 (elf_machine_lazy_rel): Likewise.
14786 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14787 (elf_machine_lazy_rel): Likewise.
14788 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14789 (elf_machine_lazy_rel): Likewise.
14790 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14791 (elf_machine_lazy_rel): Likewise.
14792 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14793 (elf_machine_lazy_rel): Likewise.
14794 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14795 (elf_machine_lazy_rel): Likewise.
14797 2011-09-28 Ulrich Drepper <drepper@gmail.com>
14799 * nss/nss_files/files-init.c (_nss_files_init): Use static
14800 initialization for all the *_traced_file variables.
14802 2011-09-28 Andreas Schwab <schwab@redhat.com>
14804 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14806 2011-09-27 Roland McGrath <roland@hack.frob.com>
14809 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14811 2011-09-27 Andreas Schwab <schwab@redhat.com>
14813 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14814 Reread the line before reparsing it.
14816 2011-09-26 Andreas Schwab <schwab@redhat.com>
14818 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14820 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14821 Maxim Kuvyrkov <maxim@codesourcery.com>
14822 Joseph Myers <joseph@codesourcery.com>
14824 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14825 if needed for __stack_chk_guard.
14827 2011-09-19 Roland McGrath <roland@hack.frob.com>
14829 * sysdeps/posix/spawni.c (script_execute): Always define it.
14830 It will be optimized away if unused.
14831 (maybe_script_execute): New function.
14832 (__spawni): Call it.
14834 * Makerules: Don't include tls.make.
14835 (config-tls): Always set to thread.
14836 * tls.make.c: File removed.
14838 2011-09-19 Mike Frysinger <vapier@gentoo.org>
14840 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14841 * config.make.in (CPPFLAGS-config): New substituted variable.
14843 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14845 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14848 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14849 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14851 2011-09-15 Roland McGrath <roland@hack.frob.com>
14853 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14854 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14855 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14856 (CALL_FAIL): Likewise.
14857 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14858 (CALL_FAIL): Macro removed.
14859 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14861 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14863 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14864 for __FINITE_MATH_ONLY__ == 1.
14866 2011-09-15 Andreas Schwab <schwab@redhat.com>
14868 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14869 __ieee754_sqrt instead of sqrt.
14870 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14871 __ieee754_sqrtf instead of sqrtf.
14872 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14873 __floorf instead of floorf.
14874 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14875 __floorf, __truncf instead of floorf, truncf.
14877 2011-09-14 Ulrich Drepper <drepper@gmail.com>
14879 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14881 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14882 __extern_always_inline.
14883 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14886 2011-09-14 Andreas Schwab <schwab@redhat.com>
14888 * elf/rtld.c (dl_main): Also relocate in dependency order when
14889 doing symbol dependency testing.
14891 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14893 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14894 Always define `refsym'.
14896 2011-09-13 Andreas Schwab <schwab@redhat.com>
14898 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14899 (__FD_ELT): Renamed from __FDELT.
14900 * misc/bits/select2.h (__FD_ELT): Likewise.
14901 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14902 __FD_MASK instead of __FDELT, __FDMASK.
14903 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14905 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14908 * elf/Makefile (gen-ldd): Fix pattern.
14910 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14911 (init_tls): Likewise.
14913 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14915 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14917 2011-09-12 Andreas Schwab <schwab@redhat.com>
14919 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14920 `struct cmsghdr *' instead of `void *'.
14921 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14924 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14926 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14928 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14929 ldd_rewrite_script.
14931 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14933 * configure.in: Remove --with-tls option.
14934 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14935 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14936 out in case it is missing.
14937 * sysdeps/ia64/elf/configure.in: Likewise.
14938 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14939 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14940 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14941 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14942 * sysdeps/sh/elf/configure.in: Likewise.
14943 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14944 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14945 * sysdeps/x86_64/elf/configure.in: Likewise.
14946 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14947 * sysdeps/mach/hurd/tls.h: Likewise.
14950 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14953 * configure.in: Fix use of AC_INIT.
14955 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14957 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14959 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14961 * malloc/hooks.c: Likewise.
14964 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14965 variables statically.
14966 (narenas): Initialize.
14967 (list_lock): Initialize.
14968 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14969 initializtion of main_arena and list_lock. Small cleanups.
14970 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14971 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14972 Add initializers to main_arena and mp_.
14973 (malloc_state): Remove pagesize member. Change all users to use
14976 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14977 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14978 is always initialized.
14980 * malloc/malloc.c: Removed unused configurations and dead code.
14981 * malloc/arena.c: Likewise.
14982 * malloc/hooks.c: Likewise.
14983 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14985 * include/tls.h: Removed. USE___THREAD must always be defined.
14986 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14987 * elf/dl-libc.c: Likewise.
14988 * elf/dl-tsd.c: Likewise.
14989 * include/errno.h: Likewise.
14990 * include/netdb.h: Likewise.
14991 * include/resolv.h: Likewise.
14992 * inet/herrno-loc.c: Likewise.
14993 * inet/herrno.c: Likewise.
14994 * malloc/arena.c: Likewise.
14995 * malloc/hooks.c: Likewise.
14996 * malloc/malloc.c: Likewise.
14997 * resolv/res-state.c: Likewise.
14998 * resolv/res_libc.c: Likewise.
14999 * sysdeps/i386/dl-machine.h: Likewise.
15000 * sysdeps/ia64/dl-machine.h: Likewise.
15001 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15002 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15003 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15004 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15005 * sysdeps/sh/dl-machine.h: Likewise.
15006 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15007 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15008 * sysdeps/unix/i386/sysdep.S: Likewise.
15009 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15010 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15011 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15012 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15013 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15014 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15015 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15016 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15017 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15018 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15019 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15020 * sysdeps/x86_64/dl-machine.h: Likewise.
15021 * tls.make.c: Likewise.
15023 * configure.in: Remove --with-__thread option. Make tests for
15024 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15025 tls_model attribute fail if no support is available. Remove
15027 * Makeconfig: Adjust for dropped configure option. All features are
15029 * Makerules: Likewise.
15030 * Versions.def: Likewise.
15031 * argp/argp-fmtstream.c: Likewise.
15032 * argp/argp-fmtstream.h: Likewise.
15033 * argp/argp-help.c: Likewise.
15034 * assert/assert.c: Likewise.
15035 * config.h.in: Likewise.
15036 * config.make.in: Likewise.
15037 * configure: Likewise.
15038 * configure.in: Likewise.
15039 * csu/Versions: Likewise.
15040 * csu/init.c: Likewise.
15041 * elf/tst-audit2.c: Likewise.
15042 * elf/tst-tls10.c: Likewise.
15043 * elf/tst-tls10.h: Likewise.
15044 * elf/tst-tls11.c: Likewise.
15045 * elf/tst-tls12.c: Likewise.
15046 * elf/tst-tls14.c: Likewise.
15047 * elf/tst-tlsmod11.c: Likewise.
15048 * elf/tst-tlsmod12.c: Likewise.
15049 * elf/tst-tlsmod13.c: Likewise.
15050 * elf/tst-tlsmod13a.c: Likewise.
15051 * elf/tst-tlsmod14a.c: Likewise.
15052 * elf/tst-tlsmod15b.c: Likewise.
15053 * elf/tst-tlsmod16a.c: Likewise.
15054 * elf/tst-tlsmod16b.c: Likewise.
15055 * elf/tst-tlsmod7.c: Likewise.
15056 * elf/tst-tlsmod8.c: Likewise.
15057 * elf/tst-tlsmod9.c: Likewise.
15058 * gmon/gmon.c: Likewise.
15059 * grp/fgetgrent_r.c: Likewise.
15060 * grp/putgrent.c: Likewise.
15061 * hurd/fopenport.c: Likewise.
15062 * include/libc-symbols.h: Likewise.
15063 * include/tls.h: Likewise.
15064 * intl/gettextP.h: Likewise.
15065 * intl/loadinfo.h: Likewise.
15066 * locale/global-locale.c: Likewise.
15067 * locale/localeinfo.h: Likewise.
15068 * mach/devstream.c: Likewise.
15069 * malloc/arena.c: Likewise.
15070 * malloc/set-freeres.c: Likewise.
15071 * misc/err.c: Likewise.
15072 * misc/getttyent.c: Likewise.
15073 * misc/mntent_r.c: Likewise.
15074 * posix/getopt.c: Likewise.
15075 * posix/wordexp.c: Likewise.
15076 * pwd/fgetpwent_r.c: Likewise.
15077 * resolv/Versions: Likewise.
15078 * resolv/res_hconf.c: Likewise.
15079 * shadow/fgetspent_r.c: Likewise.
15080 * shadow/putspent.c: Likewise.
15081 * stdio-common/printf_fphex.c: Likewise.
15082 * stdio-common/tmpfile.c: Likewise.
15083 * stdlib/abort.c: Likewise.
15084 * stdlib/fmtmsg.c: Likewise.
15085 * sunrpc/auth_unix.c: Likewise.
15086 * sunrpc/clnt_perr.c: Likewise.
15087 * sunrpc/clnt_tcp.c: Likewise.
15088 * sunrpc/clnt_udp.c: Likewise.
15089 * sunrpc/clnt_unix.c: Likewise.
15090 * sunrpc/openchild.c: Likewise.
15091 * sunrpc/svc_simple.c: Likewise.
15092 * sunrpc/svc_tcp.c: Likewise.
15093 * sunrpc/svc_udp.c: Likewise.
15094 * sunrpc/svc_unix.c: Likewise.
15095 * sunrpc/xdr.c: Likewise.
15096 * sunrpc/xdr_array.c: Likewise.
15097 * sunrpc/xdr_rec.c: Likewise.
15098 * sunrpc/xdr_ref.c: Likewise.
15099 * sunrpc/xdr_stdio.c: Likewise.
15101 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15103 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15105 2011-07-03 Andreas Jaeger <aj@suse.de>
15107 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15108 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15109 regenerate with gen-libm-tests.pl.
15111 2010-05-12 Petr Baudis <pasky@suse.cz>
15114 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15115 around j0() zero points by switching to j1().
15116 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15117 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15118 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15119 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15121 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15123 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15125 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15128 Patch in part by Pavel Roskin <proski@gnu.org>.
15131 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15133 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15134 Free memory block if necessary.
15137 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15138 be NULL. Don't lock in this case.
15140 2011-09-09 Roland McGrath <roland@hack.frob.com>
15142 * elf/elf.h (ELFOSABI_GNU): New macro.
15143 (ELFOSABI_LINUX): Define to that.
15145 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15147 * string/strncat.c (strncat): Undef the symbol in case it has been
15148 defined in bits/string.h.
15150 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15152 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15154 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15157 2011-08-17 Andreas Jaeger <aj@suse.de>
15159 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15161 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15162 Ian Lance Taylor <iant@google.com>
15164 * math/libm-test.inc (lround_test): New testcase.
15165 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15167 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15169 * Makefile: Remove support for automatic cvs check-ins.
15170 * Makerules: Likewise.
15171 * config.make.in: Likewise.
15172 * configure.in: Likewise.
15173 * intl/Makefile: Likewise.
15174 * locale/Makefile: Likewise.
15175 * po/Makefile: Likewise.
15176 * posix/Makefile: Likewise.
15177 * sysdeps/gnu/Makefile: Likewise.
15178 * sysdeps/mach/hurd/Makefile: Likewise.
15179 * sysdeps/sparc/sparc32/Makefile: Likewise.
15182 * posix/Makefile (bug-regex32-ENV): Define.
15183 Patch by John Stanley <jpsinthemix@verizon.net>.
15185 * misc/Makefile (headers): Add bits/select2.h.
15186 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15187 * misc/bits/select2.h: New file.
15188 * include/bits/select2.h: New file.
15189 * debug/Makefile (routines): Add fdelt_chk.
15190 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15191 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15193 * debug/fdelt_chk.c: New file.
15195 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15196 * wcsmbs/test-wmemcmp.c: Likewise.
15197 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15198 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15200 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15202 * string/Makefile (strop-tests): Add memcmp.
15203 * string/test-wmemcmp.c: New file.
15204 * string/test-memcmp.c: Add wmemcmp support.
15206 2011-09-08 Roland McGrath <roland@hack.frob.com>
15209 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15212 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15213 garbage value in a __mach_port_mod_refs call in the cases of the
15214 task-self and thread-self ports.
15216 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15218 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15220 2011-09-08 Andreas Schwab <schwab@redhat.com>
15222 * elf/dl-load.c (lose): Check for non-null L.
15224 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15226 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15228 * elf/dl-libc.c (dlerror_run): Pass back error code from
15232 * elf/dl-load.c (lose): Free l_origin if it is valid.
15234 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15236 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15237 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15238 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15239 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15240 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15241 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15243 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15245 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15246 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15247 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15248 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15249 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15250 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15251 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15252 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15253 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15254 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15256 2011-08-15 Alan Modra <amodra@gmail.com>
15259 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15260 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15261 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15262 ppc_mcount to static-only-routines.
15263 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15265 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15266 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15268 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15270 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15271 for finite and infinity parameters.
15273 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15275 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15276 and add nop instructions for throughput optimization.
15277 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15279 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15281 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15282 aligned copy for power7 with vector-scalar instructions.
15283 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15285 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15287 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15290 2011-09-07 Andreas Schwab <schwab@redhat.com>
15293 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15296 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15298 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15299 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15300 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15301 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15304 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15306 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15307 Forgot to demangle the pointer.
15309 * sysdeps/i386/sysdep.h: Define atom_text_section.
15310 * sysdeps/x86_64/sysdep.h: Likewise.
15311 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15312 section with atom_text_section.
15313 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15314 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15315 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15316 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15317 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15319 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15320 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15321 already be defined. Change to take two parameters and don't assign
15322 result to variable. Adjust all users.
15323 Define INTERNAL_GETTIME if not already defined.
15324 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15326 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15327 HAVE_CLOCK_GETTIME_VSYSCALL.
15328 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15330 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15331 gettimeofday vsyscall, just use time.
15333 2011-09-06 Andreas Schwab <schwab@redhat.com>
15335 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15338 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15340 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15342 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15344 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15345 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15346 syscall if possible.
15348 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15350 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15351 e_ident. Don't pass to find_mapsXX.
15352 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15354 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15357 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15358 * sysdeps/x86_64/multiarch/strchr.S: Update.
15359 Check bit_slow_BSF bit.
15360 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15361 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15362 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15364 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15367 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15369 (tryshell): Define.
15370 (__spawni): Change last parameter to be flag. Test
15371 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15372 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15373 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15374 * posix/spawni.c: Likewise.
15375 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15376 * posix/spawnp.c: Likewise. Change normal version to use
15377 SPAWN_XFLAGS_USE_PATH.
15378 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15379 SPAWN_XFLAGS_TRY_SHELL.
15382 * posix/glob.h: Remove gcc 1.x support.
15385 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15387 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15390 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15392 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15393 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15394 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15395 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15396 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15397 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15399 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15401 * sysdeps/x86_64/wcscmp.S: New file.
15403 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15404 wcscmp-c wcscmp-sse2
15405 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15406 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15407 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15408 * wcsmbs/wcscmp.c: Allow renaming.
15410 2011-09-05 David S. Miller <davem@davemloft.net>
15412 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15413 stack slot, rather than the struct return pointer slot.
15414 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15415 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15417 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15419 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15421 * po/ja.po: Update from translation team.
15424 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15425 kernel in 64-bit binaries.
15427 2011-09-01 David S. Miller <davem@davemloft.net>
15429 * elf/elf.h (HWCAP_SPARC_*): Move to..
15430 * sysdeps/sparc/sysdep.h: this new file and add new values.
15431 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15432 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15433 _DL_HWCAP_COUNT to 24.
15434 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15436 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15437 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15438 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15439 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15440 instead of magic constants.
15441 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15443 2011-08-31 David S. Miller <davem@davemloft.net>
15445 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15446 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15447 Reimplement to do errno handling inline.
15448 (SYSCALL_ERROR_HANDLER): New macro.
15449 (__SYSCALL_STRING): Do not do errno handling in asm.
15450 (__CLONE_SYSCALL_STRING): Delete.
15451 (__INTERNAL_SYSCALL_STRING): Delete.
15452 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15453 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15454 (PSEUDO): Reimplement to do errno handling inline.
15455 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15456 (SYSCALL_ERROR_HANDLER): New macro.
15457 (__SYSCALL_STRING): Do not do errno handling in asm.
15458 (__CLONE_SYSCALL_STRING): Delete.
15459 (__INTERNAL_SYSCALL_STRING): Delete.
15460 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15461 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15463 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15464 (inline_syscall*): Add 'err' argument.
15465 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15466 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15467 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15468 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15470 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15471 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15473 2011-08-30 Andreas Schwab <schwab@redhat.com>
15475 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15477 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15479 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15482 2011-08-24 David S. Miller <davem@davemloft.net>
15484 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15486 2011-08-24 Andreas Schwab <schwab@redhat.com>
15488 * elf/Makefile: Add rules to build and run unload8 test.
15489 * elf/unload8.c: New file.
15490 * elf/unload8mod1.c: New file.
15491 * elf/unload8mod1x.c: New file.
15492 * elf/unload8mod2.c: New file.
15493 * elf/unload8mod3.c: New file.
15495 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15498 2011-08-23 David S. Miller <davem@davemloft.net>
15500 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15501 subtract stack bias.
15502 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15503 %sp not %fp in calculations.
15504 (_JMPBUF_UNWINDS_ADJ): Likewise.
15506 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15507 (aio_suspend): Call it to force an exception region around the
15508 AIO_MISC_WAIT() invocation.
15510 2011-08-23 Andreas Schwab <schwab@redhat.com>
15512 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15515 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15517 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15519 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15520 and <dl-machine.h>.
15521 (Elf64_FuncDesc): Remove.
15523 2011-08-22 David S. Miller <davem@davemloft.net>
15525 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15526 sigaltstack check, add missing cfi directives.
15527 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15528 missing cfi directives, and sigaltstack handling.
15530 2011-08-16 Andreas Schwab <schwab@redhat.com>
15533 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15534 object is seen twice.
15535 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15537 * elf/Makefile (distribute): Add tst-initorder2.c.
15538 (tests): Add tst-initorder2.
15539 (modules-names): Add tst-initorder2a tst-initorder2b
15540 tst-initorder2c tst-initorder2d. Add rules to build them.
15541 ($(objpfx)tst-initorder2.out): New rule.
15542 * elf/tst-initorder2.c: New file.
15543 * elf/tst-initorder2.exp: New file.
15545 2011-08-22 Andreas Schwab <schwab@redhat.com>
15547 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15549 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15550 dependencies back to end of function.
15552 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15553 $(elfobjdir)/ld.so.
15555 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15557 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15558 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15559 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15560 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15561 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15562 of __vdso_gettimeofday.
15563 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15564 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15566 (_libc_vdso_platform_setup): Remove initialization of
15567 __vdso_gettimeofday and __vdso_time.
15569 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15571 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15572 and fgetc_unlocked.
15573 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15576 * elf/dl-open.c (add_to_global): Report additions to the global scope
15577 for LD_DEBUG=scopes.
15578 (dl_open_worker): Also print scope of newly loaded dependencies.
15579 (_dl_show_scope): Indicate if there is no scope.
15582 * stdio-common/Makefile (tests): Add bug24.
15583 * stdio-common/bug24.c: New file.
15585 2011-08-19 Andreas Jaeger <aj@suse.de>
15588 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15589 non-existant file when using close-on-exec mode.
15591 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15593 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15594 the very first instruction.
15596 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15597 the CFI state in the end.
15598 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15599 inclusion of dl-trampoline.h.
15600 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15602 2011-08-19 Andreas Schwab <schwab@redhat.com>
15604 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15605 expectations for long double.
15607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15608 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15610 2011-08-14 David S. Miller <davem@davemloft.net>
15612 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15613 artificual limit depends upon the system page size.
15615 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15617 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15618 * resolv/Makefile: Define CFLAGS-libresolv.
15620 2011-08-17 Andreas Schwab <schwab@redhat.com>
15622 * nss/makedb.c (compute_tables): Make variables used in nested
15625 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15627 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15628 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15629 if buffer was too small.
15631 * elf/pldd.c (main): Attach to all threads in the process.
15632 Rewrite /proc handling to use *at functions.
15634 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15636 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15637 specifies first scope to show.
15638 (dl_open_worker): Update callers. Move printing scope of new
15639 object to before the relocation.
15640 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15641 * sysdeps/generic/ldsodefs.h: Update declaration.
15643 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15644 string for the scope number.
15646 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15648 * nscd/servicescache.c (cache_addserv): Make sure written is always
15651 2011-08-14 Roland McGrath <roland@hack.frob.com>
15653 * sysdeps/i386/i486/bits/atomic.h
15654 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15655 statement expression, so as to suppress "set but not used" warning.
15656 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15658 * string/strncat.c (STRNCAT): Use prototype definition.
15660 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15661 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15663 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15664 (localedef-modules): Add localedef.
15665 (locale-modules): Add locale.
15667 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15668 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15669 to avoid a warning.
15671 2011-08-14 David S. Miller <davem@davemloft.net>
15673 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15674 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15676 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15678 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15679 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15680 * elf/rtld.c (dl_main): Set l_name of vDSO.
15681 Call _dl_show_scope when DL_DEBUG_SCOPES.
15682 (process_dl_debug): Recognize scopes flag and also set it for all.
15683 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15684 Declare _dl_show_scope.
15686 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15687 (do_dlopen): Pass caller_dlopen to dl_open.
15688 (__libc_dlopen_mode): Initialize caller_dlopen.
15690 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15691 of libc. Make tolower call locale-independent. Optimize a bit by
15692 using isdigit instead of isalnum.
15693 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15695 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15697 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15698 was a dependency or dynamically loaded.
15700 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15702 * intl/l10nflist.c: Allow architecture-specific pop function.
15703 * sysdeps/x86_64/l10nflist.c: New file.
15705 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15708 2011-08-10 Andreas Schwab <schwab@redhat.com>
15710 * include/dirent.h: Add libc_hidden_proto for scandirat and
15711 scandirat64. Don't declare __scandirat64.
15712 * dirent/scandirat.c: Add libc_hidden_def.
15713 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15714 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15716 2011-08-10 David S. Miller <davem@davemloft.net>
15718 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15720 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15721 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15722 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15724 2011-08-09 Ulrich Drepper <drepper@gmail.com>
15726 * Versions.def [libc]: Add GLIBC_2.15.
15727 * dirent/Makefile (routines): Add scandirat and scandirat64.
15728 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15730 * dirent/dirent.h: Declare scandirat and scandirat64.
15731 * dirent/scandirat.c: New file.
15732 * dirent/scandirat64.c: New file.
15733 * sysdeps/wordsize-64/scandirat.c: New file.
15734 * sysdeps/wordsize-64/scandirat64.c: New file.
15735 * dirent/opendir.c: Define opendirat.
15736 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15738 * dirent/scandir64.c: Adjust for scandir.c change.
15739 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15740 __scandirat64, and __scandir_cancel_handler.
15741 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15742 additional parameter and use openat instead of open (outside of ld.so).
15743 Add new __opendir as wrapper around __opendirat.
15744 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15745 here without requiring old scandirat implementation.
15747 2011-08-08 Ulrich Drepper <drepper@gmail.com>
15749 * dirent/scandir.c (cancel_handler): Renamed to
15750 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15751 defined. Adjust users.
15752 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15753 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15755 2011-08-04 Ulrich Drepper <drepper@gmail.com>
15757 * string/test-string.h (IMPL): Use __STRING to expand name and then
15760 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15763 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15765 * string/Makefile: Update.
15766 (strop-tests): Append strncat.
15767 * string/test-wcscmp.c: New file.
15768 New comprehensive test for wcscmp.
15769 * string/test-strcmp.c: Update.
15770 (WIDE): New define.
15772 2011-07-22 Andreas Schwab <schwab@redhat.com>
15774 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15777 2011-07-26 Andreas Schwab <schwab@redhat.com>
15779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15780 encoding to ACE if AI_IDN.
15782 2011-08-01 Jakub Jelinek <jakub@redhat.com>
15784 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15785 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15787 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15789 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15790 Fix overflow bug in strncat.
15791 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15793 * string/test-strncat.c: Update.
15794 Add new tests for checking overflow bugs.
15796 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15798 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15799 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15800 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15801 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15802 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15803 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15804 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15805 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15806 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15808 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15809 (USE_AS_STRCAT): Define.
15810 Add strcat and strncat support.
15811 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15813 2011-07-25 Andreas Schwab <schwab@redhat.com>
15815 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15816 __n bigger than INT_MAX+1.
15817 (__strncmp_g): Likewise.
15819 2011-07-23 Ulrich Drepper <drepper@gmail.com>
15821 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15822 * libio/stido.h: Likewise.
15824 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15826 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15829 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15830 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15831 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15832 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15833 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15836 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15839 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15841 (_dl_x86_64_save_sse): Likewise.
15843 2011-07-22 Ulrich Drepper <drepper@gmail.com>
15845 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15847 (_dl_x86_64_save_sse): Likewise.
15849 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15851 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15853 2011-07-21 Andreas Schwab <schwab@redhat.com>
15855 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15857 (_dl_x86_64_save_sse): Use correct AVX check.
15859 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15861 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15862 bug in strncpy/strncat.
15863 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15865 2011-07-21 Ulrich Drepper <drepper@gmail.com>
15867 * string/tester.c (test_strcat): Add tests for different alignments
15868 of source and destination.
15869 (test_strncat): Likewise.
15871 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15874 * posix/glob.c (glob): Check passed in values before using them in
15875 expressions to avoid some overflows.
15876 (glob_in_dir): Likewise.
15879 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15880 check for AVX enablement so that we don't crash with old kernels and
15882 * elf/tst-audit4.c: Add same checks here.
15883 * elf/tst-audit6.c: Likewise.
15885 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15887 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15889 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15891 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15893 * po/cs.po: Update from translation team.
15894 * po/bg.po: Likewise.
15896 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15898 * misc/sys/cdefs.h: Add support for const attribute.
15899 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15900 to gnu_dev_{major,minor,makedev} functions.
15902 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15904 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15906 2011-07-20 Andreas Schwab <schwab@redhat.com>
15908 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15911 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15913 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15914 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15915 register in order to avoid conflicts with the soft frame pointer
15916 being held in r11 when necessary.
15917 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15918 (INTERNAL_VSYSCALL_NCS): Likewise.
15920 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15922 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15923 * elf/dl-fini.c (_dl_fini): Adjust caller.
15924 * elf/dl-close.c (_dl_close_worker): Likewise.
15925 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15927 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15929 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15930 "aux_cache->nlibs < 0".
15932 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15933 in the reload-count case.
15935 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15937 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15938 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15939 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15940 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15941 * sysdeps/x86_64/multiarch/strcat.S: New file.
15942 * sysdeps/x86_64/multiarch/strncat.S: New file.
15943 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15944 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15945 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15946 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15947 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15948 (USE_AS_STRCAT): Define.
15949 Add strcat and strncat support.
15950 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15951 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15952 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15953 * string/strncat.c: Update.
15954 (USE_AS_STRNCAT): Define.
15955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15956 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15958 * sysdeps/x86_64/multiarch/init-arch.h
15959 (bit_Prefer_PMINUB_for_stringop): New.
15960 (index_Prefer_PMINUB_for_stringop): Likewise.
15961 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15962 bit_Prefer_PMINUB_for_stringop.
15964 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15966 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15968 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15969 of casting of buffer.
15970 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15971 buffer32 and buffer64.
15972 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15973 writes instead of casting of buffer.
15974 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15976 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15979 2011-07-19 Andreas Schwab <schwab@redhat.com>
15981 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15983 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15985 * nscd/nscd.c (termination_handler): Don't do anything for a database
15986 if it has not yet been initialized.
15988 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15990 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15992 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15994 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15996 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15998 * po/nl.po: Update from translation team.
15999 * po/sv.po: Likewise.
16001 2011-07-16 Roland McGrath <roland@hack.frob.com>
16003 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16004 now disallowed by GCC.
16006 * configure.in (use-default-link): Default to yes if a test -shared
16007 link meets our qualifications.
16008 * configure: Regenerated.
16010 * config.make.in (output-format): New variable.
16011 * configure.in: Check for ld --print-output-format support.
16012 * configure: Regenerated.
16013 * Makerules ($(common-objpfx)format.lds)
16014 [$(output-format) != unknown]: Just use $(output-format),
16015 instead of the linker-script munging.
16017 2011-07-14 Roland McGrath <roland@hack.frob.com>
16019 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16020 of $(common-objpfx)shlib.lds.
16021 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16023 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16024 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16026 * configure.in (-z relro check): Adjust test code to add a large
16027 writable data section after it.
16028 * configure: Regenerated.
16030 2011-07-11 Roland McGrath <roland@hack.frob.com>
16032 * configure.in (-z relro check): Fix test code to make the variable
16034 * configure: Regenerated.
16036 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16038 * nscd/nscd.h (struct traced_file): Define.
16039 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16040 elements. Add traced_files.
16041 (inotify_fd): Declare.
16042 (register_traced_file): Declare.
16043 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16044 (inotify_fd): Export.
16045 (resolv_conf_descr): Remove.
16046 (nscd_init): Move inotify descriptor creation to main.
16047 Don't register files for notification here.
16048 (register_traced_file): New function.
16049 (invalidate_cache): Don't use reset_res to determine whether to call
16050 res_init, go through the list of registered files.
16051 (main_loop_poll): The inotify descriptors are now stored in the
16052 structures for the traced files.
16053 (main_loop_epoll): Likewise
16054 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16055 to __nss_disable_nscd.
16056 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16057 for a database anymore. Check the records for all the registered
16059 * nss/Makefile (libnss_files-routines): Add files-init.
16060 (libnss_db-routines): Add db-init.
16061 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16062 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16063 * nss/nss_db/db-init.c: New file.
16064 * nss/nss_files/files-init.c: New file.
16065 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16066 __nss_lookup_function.
16067 (__nss_lookup_function): Call nss_load_library.
16068 (nss_load_all_libraries): New function.
16069 (__nss_disable_nscd): Take parameter with callback function for files
16070 to register. Set is_nscd. Load all the DSOs for the NSS modules
16071 used for the cached services.
16072 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16073 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16074 options for features to all the files in nscd.
16076 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16078 2011-07-10 Roland McGrath <roland@hack.frob.com>
16080 * csu/elf-init.c (__libc_csu_init): Comment typo.
16082 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16084 * po/pl.po: Update from translation team.
16085 * po/ja.po: Likewise.
16086 * po/ru.po: Likewise.
16087 * po/ko.po: Likewise.
16088 * po/fr.po: Likewise.
16090 2011-07-09 Roland McGrath <roland@hack.frob.com>
16092 * configure.in (.ctors/.dtors header and trailer check):
16093 Use an empirical test on a built program.
16094 * configure: Regenerated.
16096 * configure.in (-z relro check): Use an empirical test on a built DSO.
16097 Detect, but do not require, on ia64.
16098 * configure: Regenerated.
16100 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16101 Update tests that use readelf to use $READELF instead.
16102 * configure: Regenerated.
16104 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16106 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16107 if the result is not used.
16109 2011-07-05 Andreas Jaeger <aj@suse.de>
16112 * stdlib/tst-strtod.c: Add testcase.
16114 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16116 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16117 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16118 The latter has a higher limit. Take additional parameter to pass to
16120 (__pathconf): Pass file to __statfs_link_max.
16121 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16123 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16127 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16128 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16130 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16131 (__statfs_filesize_max): Likewise.
16132 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16134 2011-07-05 Andreas Jaeger <aj@suse.de>
16136 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16138 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16140 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16142 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16145 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16147 * Makefile (strop-tests): Add strncat.
16148 * string/test-strncat.c: New file.
16150 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16152 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16154 2011-06-21 Andreas Jaeger <aj@suse.de>
16156 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16157 Copy rule from iconvdata/Makefile.
16159 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16162 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16163 but no long options are defined, just return 'W'.
16165 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16168 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16170 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16172 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16174 (innetgr): Likewise.
16176 2011-07-05 Roland McGrath <roland@hack.frob.com>
16178 * config.make.in (install_root): Default to $(DESTDIR).
16180 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16182 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16184 2011-07-02 Roland McGrath <roland@hack.frob.com>
16186 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16188 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16189 containing directory rather than embedding absolute directory names.
16191 * scripts/check-local-headers.sh: Rewritten using awk.
16192 Match by word, not by line. Print error messages for matches.
16193 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16195 * Makerules [shlib-lds-flags empty]:
16196 ($(common-objpfx)libc_pic.opts): New target.
16197 ($(common-objpfx)libc_pic.os.clean): New target.
16198 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16200 * config.make.in (OBJCOPY): New variable.
16201 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16202 * configure: Regenerated.
16204 * config.make.in (use-default-link): New variable.
16205 * configure.in (use_default_link): Grok --with-default-link to set it.
16206 * configure: Regenerated.
16207 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16208 (shlib-lds, shlib-lds-flags): Define to empty.
16210 * Makerules (shlib-lds): New variable.
16211 (shlib-lds-flags): New variable.
16212 (build-shlib, build-moduile, build-module-asneeded): Use it.
16213 ($(common-objpfx)libc.so): Use $(shlib-lds).
16214 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16215 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16217 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16218 DT_FLAGS/DT_FLAGS_1 with zero flags.
16220 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16221 linker script munging.
16223 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16225 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16227 * crypt/sha512.c (sha512_process_block): Perform total addition using
16228 128-bit if possible.
16229 (__sha512_finish_ctx): Likewise.
16230 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16232 * crypt/sha256.c (SWAP64): Define.
16233 (sha256_process_block): Perform total addition using 64-bit if
16235 (__sha256_finish_ctx): Likewise.
16237 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16239 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16240 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16241 * nscd/hstcache.c (cache_addhst): Likewise.
16242 * nscd/grpcache.c (cache_addgr): Likewise.
16243 * nscd/aicache.c (addhstaiX): Likewise
16244 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16246 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16248 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16249 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16250 * nscd/hstcache.c (cache_addhst): Likewise.
16251 * nscd/grpcache.c (cache_addgr): Likewise.
16252 * nscd/aicache.c (addhstaiX): Likewise
16254 2011-07-01 Andreas Schwab <schwab@redhat.com>
16256 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16257 domain only when needed.
16259 2011-06-30 Andreas Schwab <schwab@redhat.com>
16261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16262 is always restored.
16264 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16266 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16267 are re-adding the entry.
16268 * nscd/servicescache.c (cache_addserv): Likewise.
16270 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16272 * sysdeps/generic/dl-irel.h: fix protection against multiple
16274 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16276 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16279 * malloc/memusage.sh: Fix quoting in message.
16280 * debug/xtrace.sh: Likewise.
16282 * configure.in: Remove support for --experimental-malloc option, make
16284 * config.make.in: Likewise.
16285 * malloc/Makefile: Likewise.
16287 2011-06-27 Andreas Schwab <schwab@redhat.com>
16289 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16290 two-byte characters.
16292 2011-06-27 Roland McGrath <roland@hack.frob.com>
16294 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16295 AC_CACHE_CHECK invocation.
16296 * configure: Regenerated.
16298 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16300 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16303 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16304 bit from old_res_options.
16306 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16308 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16309 value type for setfct.
16311 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16313 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16314 __gettimeofday instead of gettimeofday.
16316 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16318 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16320 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16322 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16324 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16327 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16330 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16331 strcpy-sse2-unaligned strncpy-sse2-unaligned
16332 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16333 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16334 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16335 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16336 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16337 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16338 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16339 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16340 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16341 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16342 (STRCPY): Support SSE2 and SSSE3 versions.
16344 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16347 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16348 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16349 kernels which artificially limit size of requests.
16351 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16354 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16355 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16356 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16357 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16358 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16359 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16360 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16361 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16362 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16363 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16364 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16365 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16366 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16367 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16369 Enable unaligned load optimization for Intel Core i3, i5 and i7
16371 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16373 (index_Fast_Unaligned_Load): Define.
16374 (HAS_FAST_UNALIGNED_LOAD): Define.
16376 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16378 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16380 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16383 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16384 until it is clear that the information is realy needed.
16385 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16387 2011-06-22 Andreas Schwab <schwab@redhat.com>
16389 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16391 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16393 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16394 /sys/devices/system/cpu/online if it is usable.
16396 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16397 reading the information from the /proc filesystem to once a second.
16399 2011-06-21 Andreas Jaeger <aj@suse.de>
16401 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16402 NULL after inclusion of kernel headers.
16404 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16406 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16407 calls to internal_setent.
16410 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16411 addresses using gethostbyname4_r ignore IPv4 addresses.
16413 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16414 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16416 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16418 2011-06-20 David S. Miller <davem@davemloft.net>
16420 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16422 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16424 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16425 (elf_irel): Use it.
16426 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16427 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16428 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16429 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16430 * sysdeps/x86_64/dl-irel.h: Likewise.
16432 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16433 * elf/dl-sym.c: Likewise.
16435 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16437 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16438 need to dereference resplen2.
16440 2011-06-14 Andreas Schwab <schwab@redhat.com>
16442 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16444 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16446 * Makeconfig: Define vardbdir and inst_vardbdir.
16447 * nss/Makefile: Add rules to install db-Makefile.
16449 * nss/nss_db/db-XXX.c: Cleanup.
16451 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16452 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16454 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16455 * nss/makedb.c: Implement -g option to specify that value strings
16456 are generated and should not be added to table iterated over for
16458 * nss/nss_db/db-initgroups.c: New file.
16460 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16463 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16464 (internal_getgrouplist): Adjust to name change.
16465 Update use_initgroups_entry if this is not the first call.
16466 * nss/databases.def: Add initgroups entry.
16468 * nss/makedb.c (compute_tables): Check result of multiple hash table
16469 sizes to minimize maximum chain length.
16471 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16473 * Versions.def: Add entry for libnss_db.
16474 * shlib-versions: Likewise.
16475 * nss/Makefile: Add rules to build libnss_db.
16476 * nss/Versions: Add libnss_db information. Organize libnss_files
16478 * nss/db-Makefile: Add gshadow support. Change rules for the new
16479 makedb progra. Some minor improvements to generate smaller files.
16480 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16482 * nss/makedb.c: ...here.
16483 Improve database format to be smaller and require less memory at
16485 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16487 * nss/nss_db/db-netgrp.c: Likewise.
16488 * nss/nss_db/db-open.c: Likewise.
16489 * nss/nss_files/flies-XXX.x: Adjust comments.
16490 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16491 * nss/nss_files/files-grp.c: Likewise.
16492 * nss/nss_files/files-hosts.c: Likewise.
16493 * nss/nss_files/files-network.c: Likewise.
16494 * nss/nss_files/files-proto.c: Likewise.
16495 * nss/nss_files/files-pwd.c: Likewise.
16496 * nss/nss_files/files-rpc.c: Likewise.
16497 * nss/nss_files/files-service.c: Likewise.
16498 * nss/nss_files/files-sgrp.c: Likewise.
16499 * nss/nss_files/files-spwd.c: Likewise.
16500 * nss/nss_db/db-alias.c: Removed.
16501 * nss/nss_db/dummy-db.h: Removed.
16503 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16505 * nss/makedb.c: Rewritten to not use database library.
16506 * nss/Makefile: Update to build new makedb program.
16508 2011-06-14 Andreas Jaeger <aj@suse.de>
16510 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16511 memset declaration.
16513 2011-06-10 Andreas Schwab <schwab@redhat.com>
16515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16518 2011-06-10 Roland McGrath <roland@hack.frob.com>
16520 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16521 * elf/Makefile ($(objpfx)ld.so): Likewise.
16523 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16524 Don't list ld.so twice in dependencies.
16526 * posix/bug-regex31.c: Include <stdlib.h>.
16528 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16530 * nis/nss_compat/compat-spwd.c
16531 (getspent_next_nss_netgr): Remove unused variable.
16532 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16534 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16535 nonmembers" output to use the right array.
16537 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16539 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16541 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16542 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16543 * catgets/gencat.c (read_input_file): Likewise.
16544 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16546 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16547 variable definition inside #if's controlling its use.
16549 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16551 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16553 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16555 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16558 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16560 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16561 * configure: Regenerated.
16563 * Makerules: Revert last change.
16564 * elf/Makefile: Likewise.
16566 2011-06-09 Roland McGrath <roland@hack.frob.com>
16568 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16569 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16570 (reloc-link): Likewise.
16572 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16574 * elf/Makefile: Add rules to build pldd.
16575 * elf/pldd.c: New file.
16576 * elf/pldd-xx.c: New file.
16578 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16580 * version.h: Update for 2.15 development version.
16582 2011-06-07 David S. Miller <davem@davemloft.net>
16584 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16586 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16587 elf_machine_lazy_rel): Likewise.
16588 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16589 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16590 elf_machine_lazy_rel): Likewise.
16591 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16592 dl_hwcap via passed in argument.
16593 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16596 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16598 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16600 2011-06-06 Roland McGrath <roland@hack.frob.com>
16603 * manual/fdl-1.1.texi: New file, verbatim from:
16604 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16605 * manual/lgpl-2.1.texi: New file, verbatim from:
16606 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16607 * manual/Makefile (licenses): New variable, list those new file names.
16609 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16611 * manual/fdl.texi: File removed.
16612 * manual/lesser.texi: File removed.
16613 * manual/libc.texinfo (Copying, Documentation License):
16614 Use new @include file names, put @appendix directive before @include.
16616 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16619 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16620 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16621 (mq_open): Add __NTH.
16623 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16626 Assume Intel Core i3/i5/i7 processor if AVX is available.
16628 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16630 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16633 2011-05-31 Andreas Schwab <schwab@redhat.com>
16635 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16636 memory. Use alloca_account. Fix memory leak when retrying.
16638 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16640 * version.h (RELEASE): Bump for 2.14 release.
16641 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16643 * config.make.in (RANLIB): Remove entry.
16645 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16647 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16648 (libc.pot): Work around missing support for .ksh extension in xgettext.
16651 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16652 if both request failed.
16653 (send_dg): In case of server errors clear resplen or *resplen2.
16656 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16657 when there are multiple maps.
16658 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16659 (_dl_fini): Remove test here.
16661 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16663 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16666 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16667 bit from old_res_options.
16668 (gaih_inet): Likewise.
16671 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16674 * resolv/res_init.c (res_setoptions): Make the code more compact.
16677 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16681 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16683 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16686 * malloc/malloc.h: Declare malloc hook variables as volatile.
16688 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16692 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16693 raise in the comment.
16694 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16695 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16696 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16698 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16701 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16702 grow the buffers more if it already has to be sufficient.
16703 (build_wcs_upper_buffer): Likewise.
16704 * posix/regexec.c (check_matching): Likewise.
16705 (clean_state_log_if_needed): Likewise.
16706 (extend_buffers): Don't enlarge buffers beyond size of the input
16708 Patches mostly by Emil Wojak <emil@wojak.eu>.
16709 * posix/bug-regex32.c: New file.
16710 * posix/Makefile (tests): Add bug-regex32.
16712 * locale/findlocale.c (_nl_find_locale): Return right away if
16713 _nl_explode_name failed.
16714 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16716 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16718 * debug/xtrace.sh: Unify messages.
16719 * malloc/memusage.sh: Likewise.
16722 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16723 time symbol from vDSO. Substitute with vsyscall if not available.
16724 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16727 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16728 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16729 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16730 Add sendmmsg and internal_sendmmsg.
16731 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16732 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16733 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16735 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16736 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16737 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16739 2011-05-27 Ulrich Drepper <drepper@gmail.com>
16742 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16743 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16745 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16749 * iconvdata/Makefile (tests): Add bug-iconv9.
16750 * iconvdata/bug-iconv9.c: New file.
16752 2011-05-27 Andreas Schwab <schwab@redhat.com>
16755 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16757 2011-05-25 Jakub Jelinek <jakub@redhat.com>
16759 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16760 (struct user_regs_struct): Change intcs field back to cs.
16762 2011-05-25 Ulrich Drepper <drepper@gmail.com>
16764 * po/ja.po: Update from translation team.
16766 2011-05-23 Ulrich Drepper <drepper@gmail.com>
16769 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16770 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16772 2011-05-20 Andreas Schwab <schwab@redhat.com>
16774 * stdlib/longlong.h: Update from GCC.
16776 2011-05-23 Andreas Schwab <schwab@redhat.com>
16778 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16780 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16781 Add parameter name.
16782 (__sysconf): Pass it down.
16784 2011-05-22 Ulrich Drepper <drepper@gmail.com>
16787 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16789 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16790 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16791 add in in __libc_use_alloca calls. Adjust callers.
16792 (glob): Use malloc in some situations.
16794 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16795 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16798 2011-05-21 Ulrich Drepper <drepper@gmail.com>
16800 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16801 and CLOCK_BOOTTIME_ALARM.
16804 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16807 * string/_strerror.c (__strerror_r): Print negative errors as signed
16811 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16812 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16813 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16815 * configure.in: Fix typo in redirection and correct removal of test
16816 files in two cases.
16819 * locale/setlocale.c (new_composite_name): Fix test to check for
16820 identical name of all categories.
16823 * libio/filedoalloc.c (local_isatty): New function.
16824 (_IO_file_doallocate): Use local_isatty.
16825 * stdio-common/perror.c (perror): In case a new stream is used
16826 forward the stream error.
16827 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16830 2011-05-20 Ulrich Drepper <drepper@gmail.com>
16833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16835 * include/alloca.h (extend_alloca_account): Define.
16838 * posix/regex.h: Fix comments with documentation of user-accessible
16839 fields after compilation and describe correct free'ing of pattern
16840 after re_compile_pattern.
16841 Patch by Reuben Thomas <rrt@sc3d.org>.
16843 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16845 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16846 and -mno-altivec to prevent the compiler from using Altivec and/or
16847 VSX instructions when the corresponding registers are not available.
16849 2011-05-19 Andreas Schwab <schwab@redhat.com>
16851 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16853 2011-05-19 Ulrich Drepper <drepper@gmail.com>
16855 * libio/freopen.c (freopen): Use __dup2, not dup2.
16856 * libio/freopen64.c (freopen64): Likewise.
16858 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16861 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16862 * math/Makefile (tests): Add test-powl.
16863 (CFLAGS-test-powl.c): Define.
16864 * math/test-powl.c: New file.
16866 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16868 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16870 2011-05-17 Ulrich Drepper <drepper@gmail.com>
16873 * iconvdata/gb18030.c: Update to GB18020-2005.
16875 2011-05-16 Ulrich Drepper <drepper@gmail.com>
16877 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16878 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16879 Patch by Aharon Robbins <arnold@skeeve.com>.
16882 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16886 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16887 through underflows.
16890 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16891 point to strings before performing equality test for error_one_per_line
16895 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16898 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16899 (struct user_fpregs_struct): Avoid __uint*_t types.
16902 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16903 symbol info. Use it instead of calling _dl_addr locally.
16904 (lock_and_info): New function.
16905 (tr_freehook): Call lock_and_info and pass symbol info as additional
16906 parameter to tr_where.
16907 (tr_mallochook): Likewise.
16908 (tr_reallochook): Likewise.
16909 (tr_memalignhook): Likewise.
16911 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16912 used and couldn't be at all thread-safe.
16914 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16916 * libio/freopen.c (freopen): Don't close old file descriptor
16917 before the new one is opened. Instead dup the new file descriptor
16918 to the old one after the new stream is created.
16919 * libio/freopen64.c (freopen64): Likewise.
16920 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16921 * libio/fileops.c (_IO_new_file_close_it): Handle new
16922 _IO_FLAGS2_NOCLOSE flag.
16923 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16924 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16925 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16926 _IO_FLAGS2_NOCLOSE flag.
16927 * include/unistd.h: Add hidden_proto for dup3.
16928 Define __have_dup3.
16929 * io/dup3.c: Define hidden symbol.
16930 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16933 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16934 when an incomplete long option is used.
16935 * posix/tst-getopt_long1.c: New file.
16936 * posix/Makefile (tests): Add tst-getopt_long1.
16939 * scripts/config.guess: Update from autoconf-2.68.
16940 * scripts/config.sub: Likewise.
16943 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16945 (has_cpuclock): ...this. New function.
16946 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16947 macro here based on has_cpuclock code.
16950 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16951 First byte (not low byte) is now always NUL.
16952 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16954 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16955 Use non-cancelable interfaces.
16958 * locale/iso-639.def: Add entry for Sorani.
16961 * include/stdlib.h: Move include protection to the right place.
16962 Define abort_msg_s. Declare __abort_msg with it.
16963 * stdlib/abort.c (__abort_msg): Adjust type.
16964 * assert/assert.c (__assert_fail_base): New function. Majority
16965 of code from __assert_fail. Allocate memory for __abort_msg with
16967 (__assert_fail): Now call __assert_fail_base.
16968 * assert/assert-perr.c: Remove bulk of implementation. Use
16969 __assert_fail_base.
16970 * include/assert.hL Declare __assert_fail_base.
16971 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16973 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16975 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16979 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16980 until all modules are registered in the DTV.
16981 * elf/Makefile: Add rules to build and run tst-tls19.
16982 * elf/tst-tls19.c: New file.
16983 * elf/tst-tls19mod1.c: New file.
16984 * elf/tst-tls19mod2.c: New file.
16985 * elf/tst-tls19mod3.c: New file.
16986 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16989 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16993 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16994 two-byte sequence errors.
16995 * iconvdata/Makefile (tests): Add bug-iconv8.
16996 * iconvdata/bug-iconv8.c: New file.
16999 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17002 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17005 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17006 (dummy_getcfa): New function.
17007 (init): Get _Unwind_GetCFA address, use dummy if not found.
17008 (backtrace_helper): In recursion check, also check whether CFA changes.
17009 (__backtrace): Completely initialize arg.
17011 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17012 storing incomplete byte sequence in state object. Avoid testing for
17013 guaranteed too small input if we know there is enough data available.
17015 2011-05-11 Andreas Schwab <schwab@redhat.com>
17017 * Makeconfig (+link-pie): Indent.
17018 * Rules (binaries-pie): Define if $(have-fpie) and
17020 (binaries-shared): Also filter out $(binaries-pie).
17021 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17022 * nscd/Makefile (others-pie): Add nscd.
17023 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17024 ($(objpfx)nscd): Remove command override.
17025 * login/Makefile (others-pie): Add pt_chown.
17026 ($(objpfx)pt_chown): Remove command override.
17027 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17028 remove command overrides.
17030 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17032 * libio/tst_putwc.c: Fix error messages.
17035 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17036 currently writing and seek to current position when not.
17037 * libio/Makefile (tests): Add bug-fclose1.
17038 * libio/bug-fclose1.c: New file.
17040 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17043 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17044 don't set DF_1_NODELETE here.
17045 (do_lookup_x): When entering new entry test for copy relocation
17046 and if necessary set DF_1_NODELETE flag.
17047 * elf/tst-unique4.cc: New file.
17048 * elf/tst-unique4.h: New file.
17049 * elf/tst-unique4lib.cc: New file.
17050 * elf/Makefile: Add rules to build and run tst-unique4.
17051 Patch by Piotr Bury <pbury@goahead.com>.
17053 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17056 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17059 * misc/mntent_r.c (addmntent): Flush the stream after the output
17062 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17063 (is_trusted_path_normalize): Skip initial colon. Append slash
17064 to empty buffer. Duplicate is_trusted_path code but allow
17065 constructed patch to be prefix.
17066 (is_dst): Allow $ORIGIN followed by /.
17067 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17068 Correct testing of result of is_trusted_path_normalize
17069 (decompose_rpath): Fix warning.
17071 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17074 * grp/initgroups.c (internal_getgrouplist): When we found the service
17075 list through the initgroups entry in nsswitch.conf do not always
17076 continue on a successful lookup. Don't always use the
17077 __nss_group_database value if it is set.
17078 * nss/nsswitch.conf (initgroups): Change action for successful db
17079 lookup to continue for compatibility.
17081 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17084 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17086 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17088 * iconvdata/tst-tables.sh: Likewise.
17089 * iconvdata/cp770.c: New file.
17090 * iconvdata/cp771.c: New file.
17091 * iconvdata/cp772.c: New file.
17092 * iconvdata/cp773.c: New file.
17093 * iconvdata/cp774.c: New file.
17094 * iconvdata/testdata/CP770: New file.
17095 * iconvdata/testdata/CP770..UTF8: New file.
17096 * iconvdata/testdata/CP771: New file.
17097 * iconvdata/testdata/CP771..UTF8: New file.
17098 * iconvdata/testdata/CP772: New file.
17099 * iconvdata/testdata/CP772..UTF8: New file.
17100 * iconvdata/testdata/CP773: New file.
17101 * iconvdata/testdata/CP773..UTF8: New file.
17102 * iconvdata/testdata/CP774: New file.
17103 * iconvdata/testdata/CP774..UTF8: New file.
17105 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17107 * iconvdata/gen-8bit-gap.sh: Likewise.
17108 * iconvdata/gen-8bit.sh: Likewise.
17110 * locale/iso-639.def: Add ary entry.
17113 * locale/C-translit.h.in: Add U20A1 transliteration.
17116 * locale/iso-639.def: Add wae entry.
17117 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17120 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17124 * locale/C-translit.h.in: Add entry for U20B9.
17125 Patch by pravin.d.s@gmail.com.
17127 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17130 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17131 ENAMETOOLONG use generic getcwd.
17132 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17133 in rtld. Use *stat64.
17134 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17135 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17136 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17137 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17138 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17139 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17140 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17141 __fstatat64 macros.
17142 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17143 * dirent/rewinddir.c: Add libc_hidden_def.
17144 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17145 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17147 * include/dirent.h (__alloc_dir): Add flags parameter.
17148 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17149 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17151 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17152 from fdopendir if O_CLOEXEC is already set.
17154 2011-03-15 Alan Modra <amodra@gmail.com>
17156 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17157 l_tls_firstbyte_offset non-zero. Save padding offset in
17158 l_tls_firstbyte_offset for later use.
17159 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17160 freeing static tls block.
17162 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17164 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17165 where #ifdef was intended. The intent is to prevent ARG_MAX from
17166 being defined by the kernel headers.
17168 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17171 * resolv/resolv.h: Define RES_NOTLDQUERY.
17172 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17173 no-tld-query and set RES_NOTLDQUERY.
17174 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17175 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17176 modern BIND to search name as TLD unless forbidden.
17178 2011-05-07 Petr Baudis <pasky@suse.cz>
17179 Ulrich Drepper <drepper@gmail.com>
17182 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17183 (is_trusted_path): ...to here.
17184 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17185 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17186 using is_trusted_path_normalize() in setuid scripts.
17188 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17190 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17191 __BEGIN/__END_DECLS.
17193 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17195 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17196 NSS_STATUS_NOTFOUND if no record was found.
17198 2011-05-05 Andreas Schwab <schwab@redhat.com>
17200 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17201 (headers-not-in-tirpc): Remove rpc/netdb.h
17202 * resolv/netdb.h: Revert last change.
17204 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17206 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17207 circular dependency between libgcc.a and libc.a.
17209 2011-05-05 Andreas Schwab <schwab@redhat.com>
17211 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17212 * nis/Makefile: Don't install rpcsvc/*.
17213 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17214 instead of <rpc/types.h>.
17215 (MAXHOSTNAMELEN): Define.
17217 2011-05-03 Andreas Schwab <schwab@redhat.com>
17219 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17221 2011-04-28 Maciej Babinski <mbabinski@google.com>
17224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17225 gethostbyname4_r when IPv6 results are possible.
17227 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17230 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17231 _PC_PIPE_BUF handling.
17233 2011-04-30 Bruno Haible <bruno@clisp.org>
17236 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17237 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17239 * inet/getnameinfo.c (getnameinfo): Likewise.
17241 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17243 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17244 to groups setting in database lookup.
17245 * nss/nsswitch.conf: Add initgroups entry.
17247 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17250 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17252 Patch by Eric Blake <eblake@redhat.com>.
17254 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17256 * sunrpc/Makefile (need-export-routines): Add svc_run.
17257 (routines): Remove svc_run.
17258 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17259 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17260 * sunrpc/svc_run.c (svc_run): Likewise.
17261 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17263 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17265 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17266 problem in reallocation in last patch.
17268 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17270 * sunrpc/Makefile: Move inclusion of Rules.
17272 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17274 * nss/nss_files/files-initgroups.c: New file.
17275 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17276 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17277 _nss_files_initgroups_dyn.
17279 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17281 * elf/elf.h (R_ARM_IRELATIVE): Define.
17283 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17285 * po/ru.po: Update from translation team.
17287 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17289 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17292 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17295 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17296 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17297 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17298 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17299 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17301 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17303 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17305 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17306 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17307 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17309 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17312 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17314 * stdlib/bug-getcontext.c: New file.
17315 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17317 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17319 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17320 instructions into .machine "z9-109".
17321 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17322 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17324 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17326 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17327 between environment variables and auxiliary vector.
17329 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17331 * Makefile: Add rules to build linkobj/libc.so.
17332 * include/libc-symbols.h: Define libc_hidden_nolink.
17333 * include/rpc/auth.h: Mark functions which are to be hidden.
17334 * include/rpc/auth_des.h: Likewise.
17335 * include/rpc/auth_unix.h: Likewise.
17336 * include/rpc/clnt.h: Likewise.
17337 * include/rpc/des_crypt.h: Likewise.
17338 * include/rpc/key_prot.h: Likewise.
17339 * include/rpc/pmap_clnt.h: Likewise.
17340 * include/rpc/pmap_prot.h: Likewise.
17341 * include/rpc/pmap_rmt.h: Likewise.
17342 * include/rpc/rpc_msg.h: Likewise.
17343 * include/rpc/svc.h: Likewise.
17344 * include/rpc/svc_auth.h: Likewise.
17345 * include/rpc/xdr.h: Likewise.
17346 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17347 * nss/Makefile: Likewise.
17348 * sunrpc/Makefile: Don't install headers. Build library with normal
17349 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17350 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17351 for the compat linking library. Remove use of INTDEF/INTUSE.
17352 * sunrpc/auth_none.c: Likewise.
17353 * sunrpc/auth_unix.c: Likewise.
17354 * sunrpc/authdes_prot.c: Likewise.
17355 * sunrpc/authuxprot.c: Likewise.
17356 * sunrpc/clnt_gen.c: Likewise.
17357 * sunrpc/clnt_perr.c: Likewise.
17358 * sunrpc/clnt_raw.c: Likewise.
17359 * sunrpc/clnt_simp.c: Likewise.
17360 * sunrpc/clnt_tcp.c: Likewise.
17361 * sunrpc/clnt_udp.c: Likewise.
17362 * sunrpc/clnt_unix.c: Likewise.
17363 * sunrpc/des_crypt.c: Likewise.
17364 * sunrpc/des_soft.c: Likewise.
17365 * sunrpc/get_myaddr.c: Likewise.
17366 * sunrpc/key_call.c: Likewise.
17367 * sunrpc/key_prot.c: Likewise.
17368 * sunrpc/netname.c: Likewise.
17369 * sunrpc/pm_getmaps.c: Likewise.
17370 * sunrpc/pm_getport.c: Likewise.
17371 * sunrpc/pmap_clnt.c: Likewise.
17372 * sunrpc/pmap_prot.c: Likewise.
17373 * sunrpc/pmap_prot2.c: Likewise.
17374 * sunrpc/pmap_rmt.c: Likewise.
17375 * sunrpc/publickey.c: Likewise.
17376 * sunrpc/rpc_cmsg.c: Likewise.
17377 * sunrpc/rpc_common.c: Likewise.
17378 * sunrpc/rpc_dtable.c: Likewise.
17379 * sunrpc/rpc_prot.c: Likewise.
17380 * sunrpc/rpc_thread.c: Likewise.
17381 * sunrpc/rtime.c: Likewise.
17382 * sunrpc/svc.c: Likewise.
17383 * sunrpc/svc_auth.c: Likewise.
17384 * sunrpc/svc_authux.c: Likewise.
17385 * sunrpc/svc_raw.c: Likewise.
17386 * sunrpc/svc_run.c: Likewise.
17387 * sunrpc/svc_simple.c: Likewise.
17388 * sunrpc/svc_tcp.c: Likewise.
17389 * sunrpc/svc_udp.c: Likewise.
17390 * sunrpc/svc_unix.c: Likewise.
17391 * sunrpc/svcauth_des.c: Likewise.
17392 * sunrpc/xcrypt.c: Likewise.
17393 * sunrpc/xdr.c: Likewise.
17394 * sunrpc/xdr_array.c: Likewise.
17395 * sunrpc/xdr_float.c: Likewise.
17396 * sunrpc/xdr_intXX_t.c: Likewise.
17397 * sunrpc/xdr_mem.c: Likewise.
17398 * sunrpc/xdr_rec.c: Likewise.
17399 * sunrpc/xdr_ref.c: Likewise.
17400 * sunrpc/xdr_sizeof.c: Likewise.
17401 * sunrpc/xdr_stdio.c: Likewise.
17403 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17406 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17407 * sysdeps/ia64/dl-tls.h: Likewise.
17408 * sysdeps/powerpc/dl-tls.h: Likewise.
17409 * sysdeps/s390/dl-tls.h: Likewise.
17410 * sysdeps/sh/dl-tls.h: Likewise.
17411 * sysdeps/sparc/dl-tls.h: Likewise.
17412 * sysdeps/x86_64/dl-tls.h: Likewise.
17413 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17415 2011-03-14 Andreas Schwab <schwab@redhat.com>
17417 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17418 rpath element also skip the following colon.
17419 (expand_dynamic_string_token): Add is_path parameter and pass
17420 down to DL_DST_REQUIRED and _dl_dst_substitute.
17421 (decompose_rpath): Call expand_dynamic_string_token with
17422 non-zero is_path. Ignore empty rpaths.
17423 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17426 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17431 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17434 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17435 Patch by Filipe David Manana <fdmanana@apache.org>.
17437 2011-04-07 Andreas Schwab <schwab@redhat.com>
17439 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17440 Maintain aligned stack.
17441 (CHECK_RSP): Remove unused macro.
17443 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17445 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17446 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17448 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17450 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17452 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17454 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17457 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17458 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17459 * sysdeps/x86_64/memmove.c: New file.
17460 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17461 (memcpy): Renamed to ...
17462 (__new_memcpy): This.
17463 (memcpy): Provide GLIBC_2_14 memcpy.
17464 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17465 (memcpy): Provide GLIBC_2_2_5 memcpy.
17467 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17470 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17472 2011-03-30 Andreas Schwab <schwab@redhat.com>
17474 * misc/syncfs.c: New file.
17475 * misc/Makefile (routines): Add syncfs.
17476 * posix/unistd.h: Declare syncfs.
17477 * sysdeps/unix/syscalls.list: Add syncfs.
17479 2011-04-01 Andreas Schwab <schwab@redhat.com>
17481 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17483 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17484 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17486 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17487 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17488 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17489 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17491 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17493 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17494 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17495 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17496 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17497 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17498 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17499 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17501 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17502 sync_file_range.c with -fexceptions.
17503 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17504 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17505 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17506 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17507 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17508 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17509 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17510 sync_file_range as cancellation point
17511 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17512 now a wrapper around __call_sync_file_range with cancellation handling.
17513 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17514 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17515 function name to __call_sync_file_range.
17516 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17517 Add call_sync_file_range.
17519 2011-04-01 Andreas Schwab <schwab@redhat.com>
17521 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17524 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17526 * iconv/iconv.h: Fix typo in comment.
17527 * io/fcntl.h: Likewise.
17528 * libio/stdio.h: Likewise.
17529 * posix/spawn.h: Likewise.
17530 * posix/unistd.h: Likewise.
17531 * stdlib/stdlib.h: Likewise.
17532 * time/time.h: Likewise.
17533 * wcsmbs/wchar.h: Likewise.
17535 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17536 open_by_handle): Add.
17537 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17538 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17539 Augment a few comments.
17540 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17541 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17542 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17543 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17544 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17545 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17548 * io/fcntl.h (AT_EMPTY_PATH): Define.
17550 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17552 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17553 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17554 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17556 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17557 * Versions.def: Add GLIBC_2.14.
17558 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17561 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17563 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17565 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17567 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17570 * string/test-strncmp.c (do_page_test): New function.
17571 (check2): Likewise.
17572 (test_main): Call check2.
17573 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17575 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17578 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17579 Handle cache information in CPU leaf 4.
17580 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17582 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17585 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17586 character representation.
17587 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17589 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17591 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17592 END(__isnan) to END(__isnanf) to match function entry point/label
17593 EALIGN(__isnanf,...).
17595 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17597 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17599 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17602 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17603 copy from the symbol referenced in the relocation to initialize the
17605 Patch by Piotr Bury <pbury@goahead.com>.
17606 * elf/Makefile: Add rules to build and tst-unique3.
17607 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17608 * elf/tst-unique3.cc: New file.
17609 * elf/tst-unique3.h: New file.
17610 * elf/tst-unique3lib.cc: New file.
17611 * elf/tst-unique3lib2.cc: New file.
17613 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17615 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17617 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17618 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17621 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17623 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17624 to-be-loaded object along a path to loader is ld.so.
17626 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17627 Ulrich Drepper <drepper@gmail.com>
17629 * sysdeps/x86_64/memset.S: After aligning destination, code
17630 branches to different locations depending on the value of
17631 misalignment, when multiarch is enabled. Fix this.
17633 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17635 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17636 Set _x86_64_preferred_memory_instruction for AMD processsors.
17637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17638 Set bit_Prefer_SSE_for_memop for AMD processors.
17640 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17642 * libio/fmemopen.c (fmemopen): Optimize a bit.
17644 2011-03-03 Andreas Schwab <schwab@redhat.com>
17646 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17648 2011-03-03 Roland McGrath <roland@redhat.com>
17650 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17652 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17654 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17655 __bzero_ultra1 instead of __memset_ultra1.
17657 2011-02-23 Andreas Schwab <schwab@redhat.com>
17658 Ulrich Drepper <drepper@gmail.com>
17661 * include/link.h (struct link_map): Add l_orig_initfini.
17662 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17663 returning unsuccessfully.
17664 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17665 close of a file loaded at startup, restore the original l_initfini
17667 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17668 list, store the pointer.
17669 * elf/Makefile ($(objpfx)noload-mem): New rule.
17670 (noload-ENV): Define.
17671 (tests): Add $(objpfx)noload-mem.
17672 * elf/noload.c: Include <memcheck.h>.
17673 (main): Call mtrace. Close all opened handles.
17675 2011-02-17 Andreas Schwab <schwab@redhat.com>
17678 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17679 dependencies are missing.
17681 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17683 Fix __if_freereq crash: Unlike the generic version which uses free,
17685 * sysdeps/mach/hurd/ifreq.h: New file.
17687 2011-01-27 Petr Baudis <pasky@suse.cz>
17688 Ulrich Drepper <drepper@gmail.com>
17691 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17692 to extend_alloca().
17693 * stdio-common/bug23.c: New file.
17694 * stdio-common/Makefile (tests): Add bug23.
17696 2010-09-28 Andreas Schwab <schwab@redhat.com>
17697 Ulrich Drepper <drepper@gmail.com>
17700 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17701 before performing relro protection. At old place add assertion
17702 to make sure nothing changed.
17704 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17705 Glauber de Oliveira Costa <glommer@gmail.com>
17707 * elf/elf.h: Add new ARM TLS relocs.
17709 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17712 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17714 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17716 * sysdeps/wordsize-64/tst-writev.c: New file.
17718 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17720 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17721 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17722 insns in _dl_start to prevent a TOC reference before relocs are
17725 2011-02-15 Ulrich Drepper <drepper@gmail.com>
17728 * Makeconfig: Remove RANLIB definition.
17729 * Makerules: Don't use RANLIB.
17730 * aclocal.m4: Remove ranlib test.
17731 * configure.in: No need to check for ranlib.
17732 * elf/rtld-Rules: Don't use RANLIB.
17734 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17736 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17738 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17739 inclusion protection macro.
17741 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17742 SIGRTMIN and SIGRTMAX and print information in that case only when
17743 SIGRTMIN is defined.
17745 2011-02-11 Jakub Jelinek <jakub@redhat.com>
17747 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17748 arginfo fn returning -1.
17750 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17751 and thousands string is zero terminated.
17753 2011-02-03 Andreas Schwab <schwab@redhat.com>
17755 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17756 sysdeps/unix/sysv/linux/bits/socket.h.
17758 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17760 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17761 (__CPU_COUNT): Remove old macros.
17762 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17763 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17764 (__CPU_ALLOC, __CPU_FREE): Add macros.
17765 (__sched_cpualloc, __sched_cpufree): Add declarations.
17767 2011-02-05 Ulrich Drepper <drepper@gmail.com>
17769 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17770 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17771 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17772 (readdhstai): Return value of addhstaiX call.
17773 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17774 (addgrbyX): Return value returned by cache_addgr.
17775 (readdgrbyname): Return value returned by addgrbyX.
17776 (readdgrbygid): Likewise.
17777 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17778 (addpwbyX): Return value returned by cache_addpw.
17779 (readdpwbyname): Return value returned by addhstbyX.
17780 (readdpwbyuid): Likewise.
17781 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17782 (addservbyX): Return value returned by cache_addserv.
17783 (readdservbyname): Return value returned by addservbyX:
17784 (readdservbyport): Likewise.
17785 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17786 (addhstbyX): Return value returned by cache_addhst.
17787 (readdhstbyname): Return value returned by addhstbyX.
17788 (readdhstbyaddr): Likewise.
17789 (readdhstbynamev6): Likewise.
17790 (readdhstbyaddrv6): Likewise.
17791 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17792 (readdinitgroups): Return value returned by addinitgroupsX.
17793 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17794 (prune_cache): Keep track of timeout value of re-added entries.
17795 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17796 * nscd/nscd.h: Adjust prototypes of readd* functions.
17798 2011-02-04 Roland McGrath <roland@redhat.com>
17800 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17801 (nis_stats): Likewise.
17802 * nis/nis_modify.c (nis_modify): Likewise.
17803 * nis/nis_remove.c (nis_remove): Likewise.
17804 * nis/nis_add.c (nis_add): Likewise.
17806 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17808 * posix/fnmatch_loop.c: Add some consts.
17810 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17812 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17815 * config.make.in (config-cflags-novzeroupper): Define.
17816 * configure.in: Substitute libc_cv_cc_novzeroupper.
17817 * elf/Makefile (AVX-CFLAGS): Define.
17818 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17819 (CFLAGS-tst-auditmod4a.c): Likewise.
17820 (CFLAGS-tst-auditmod4b.c): Likewise.
17821 (CFLAGS-tst-auditmod6b.c): Likewise.
17822 (CFLAGS-tst-auditmod6c.c): Likewise.
17823 (CFLAGS-tst-auditmod7b.c): Likewise.
17824 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17826 2011-02-02 Ulrich Drepper <drepper@gmail.com>
17828 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17829 function to the callback.
17830 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17832 2011-02-02 Andreas Schwab <schwab@redhat.com>
17834 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17837 2011-01-19 Ulrich Drepper <drepper@gmail.com>
17840 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17842 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17844 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17847 * elf/Makefile: Add rules to build and run new test.
17848 * elf/tst-initorder.c: New file.
17849 * elf/tst-initorder.exp: New file.
17850 * elf/tst-initordera1.c: New file.
17851 * elf/tst-initordera2.c: New file.
17852 * elf/tst-initordera3.c: New file.
17853 * elf/tst-initordera4.c: New file.
17854 * elf/tst-initorderb1.c: New file.
17855 * elf/tst-initorderb2.c: New file.
17856 * elf/tst-order-a1.c: New file.
17857 * elf/tst-order-a2.c: New file.
17858 * elf/tst-order-a3.c: New file.
17859 * elf/tst-order-a4.c: New file.
17860 * elf/tst-order-b1.c: New file.
17861 * elf/tst-order-b2.c: New file.
17862 * elf/tst-order-main.c: New file.
17863 New test case by George Gensure <werkt0@gmail.com>.
17865 2010-10-01 Andreas Schwab <schwab@redhat.com>
17867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17868 decoding ACE if AI_CANONIDN.
17870 2011-01-18 Ulrich Drepper <drepper@gmail.com>
17872 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17874 2011-01-17 Ulrich Drepper <drepper@gmail.com>
17876 * version.h (RELEASE): Bump for 2.13 release.
17877 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17879 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17881 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17883 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17884 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17885 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17886 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17887 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17888 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17890 * posix/getconf.c: Update copyright year.
17891 * catgets/gencat.c: Likewise.
17892 * csu/version.c: Likewise.
17893 * debug/catchsegv.sh: Likewise.
17894 * debug/xtrace.sh: Likewise.
17895 * elf/ldconfig.c: Likewise.
17896 * elf/ldd.bash.in: Likewise.
17897 * elf/sprof.c (print_version): Likewise.
17898 * iconv/iconv_prog.c: Likewise.
17899 * iconv/iconvconfig.c: Likewise.
17900 * locale/programs/locale.c: Likewise.
17901 * locale/programs/localedef.c: Likewise.
17902 * malloc/memusage.sh: Likewise.
17903 * malloc/mtrace.pl: Likewise.
17904 * nscd/nscd.c (print_version): Likewise.
17905 * nss/getent.c: Likewise.
17907 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17908 PF_CAIF, and PF_ALG.
17909 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17911 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17913 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17914 (modules-names): Use them.
17915 (ifunc-test-modules, ifunc-pie-tests): Define.
17916 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17917 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17918 (test-extras): Likewise.
17919 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17920 $(compile-command.c).
17921 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17922 (all-built-dso): Define.
17923 (check-textrel.out, check-execstack.out): Depend on it.
17925 * configure.in: Don't override --enable-multi-arch.
17927 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17930 * nscd/hstcache.c (tryagain): Define.
17931 (cache_addhst): Return tryagain not notfound for temporary errors.
17932 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17935 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17938 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17939 to make the syscall.
17940 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17943 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17944 and fall back to matching as normal character if the string ends before
17945 the matching ']' is found. This is what POSIX requires.
17946 * posix/testfnm.c: Adjust test result.
17947 * posix/globtest.sh: Adjust test result. Add new test.
17948 * posix/tst-fnmatch.input: Likewise.
17949 * posix/tst-fnmatch2.c: Add new test.
17951 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17953 * elf/Makefile (check-execstack): Revert last change. Depend on
17955 (check-execstack.h): New target.
17956 (generated): Add check-execstack.h.
17957 * elf/check-execstack.c: Include "check-execstack.h".
17958 (main): Revert last change.
17959 (handle_file): Return zero if GNU_STACK is absent and
17960 DEFAULT_STACK_PERMS doesn't include PF_X.
17962 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17964 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17965 in child fails because the descriptor is already closed.
17966 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17967 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17968 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17971 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17975 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17976 temporary buffer used to handle multi lookups locally.
17977 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17979 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17981 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17984 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17986 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17987 alignment for SSE2.
17989 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17992 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17993 characters. When rounding increased number of integer digits recompute
17995 * stdio-common/tst-grouping.c: New file.
17996 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17998 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18000 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18001 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18003 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18005 * bits/select.h: Likewise.
18007 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18009 * po/ja.po: Update from translation team.
18011 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18014 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18015 implementation just like for lxstat, fxstatat, et al.
18017 2010-12-27 Jim Meyering <meyering@redhat.com>
18020 * posix/regexec.c (build_trtable): Return failure indication upon
18021 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18023 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18026 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18027 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18028 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18029 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18032 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18035 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18036 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18038 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18040 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18041 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18042 script has SORT_BY_INIT_PRIORITY.
18043 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18044 NO_CTORS_DTORS_SECTIONS is defined.
18045 * elf/soinit.c: Likewise.
18046 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18047 NO_CTORS_DTORS_SECTIONS is defined.
18048 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18049 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18050 * sysdeps/sh/init-first.c: Likewise.
18051 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18053 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18055 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18056 always use the slow path.
18058 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18060 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18061 similar rule which adds the sysdep directories to the header search in
18062 order to pick up the correct platform stackinfo.h.
18063 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18064 perform test if it is, otherwise return successfully without testing.
18065 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18066 DEFAULT_STACK_PERMS define in stackinfo.h.
18067 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18068 defined in stackinfo.h.
18069 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18070 DEFAULT_STACK_PERMS defined in stackinfo.h.
18071 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18072 * sysdeps/ia64/stackinfo.h: Likewise.
18073 * sysdeps/s390/stackinfo.h: Likewise.
18074 * sysdeps/sh/stackinfo.h: Likewise.
18075 * sysdeps/sparc/stackinfo.h: Likewise.
18076 * sysdeps/x86_64/stackinfo.h: Likewise.
18077 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18078 PF_X for powerpc64. Retain PF_X for powerpc32.
18080 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18082 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18084 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18085 GETDENTS_64BIT_ALIGNED.
18087 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18089 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18091 2010-12-10 Andreas Schwab <schwab@redhat.com>
18093 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18096 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18097 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18099 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18100 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18102 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18105 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18108 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18110 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18112 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18114 * po/it.po: Update from translation team.
18116 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18118 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18121 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18123 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18125 2010-11-24 Andreas Schwab <schwab@redhat.com>
18127 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18129 (gaih_getanswer_slice): Likewise.
18131 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18133 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18135 2010-05-31 Petr Baudis <pasky@suse.cz>
18138 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18139 silently even in the chroot mode.
18141 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18143 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18144 last patch a bit. Pretty printing
18146 2010-05-31 Petr Baudis <pasky@suse.cz>
18149 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18150 initialization of skip_initgroups_dyn.
18152 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18154 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18155 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18157 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18159 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18161 2010-11-11 Andreas Schwab <schwab@redhat.com>
18163 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18164 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18165 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18166 ($(objpfx)tst-fnmatch-mem): New rule.
18167 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18168 * posix/tst-fnmatch.c (main): Call mtrace.
18170 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18173 Support Intel processor model 6 and model 0x2c.
18175 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18177 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18180 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18183 * string/test-strncasecmp.c (check_result): New function.
18184 (do_one_test): Use it.
18185 (check1): New function.
18186 (test_main): Use it.
18187 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18188 Support strcasecmp and strncasecmp.
18190 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18193 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18194 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18196 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18198 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18200 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18202 * sysdeps/x86_64/multiarch/bzero.S: New file.
18203 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18204 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18205 * sysdeps/x86_64/multiarch/memset.S: New file.
18206 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18208 Set bit_Prefer_SSE_for_memop for Intel processors.
18209 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18211 (index_Prefer_SSE_for_memop): Define.
18212 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18214 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18216 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18217 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18219 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18222 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18223 (__x86_64_raw_data_cache_size_half): Likewise.
18224 (__x86_64_raw_shared_cache_size): Likewise.
18225 (__x86_64_raw_shared_cache_size_half): Likewise.
18227 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18228 (__x86_64_raw_data_cache_size_half): Likewise.
18229 (__x86_64_raw_shared_cache_size): Likewise.
18230 (__x86_64_raw_shared_cache_size_half): Likewise.
18231 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18232 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18233 and __x86_64_raw_shared_cache_size_half. Round
18234 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18235 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18236 to multiple of 256 bytes.
18238 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18241 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18242 of inacessible symlinks. Verify result of symlink before returning it.
18243 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18244 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18246 2010-10-28 Erich Ritz <erichritz@gmail.com>
18248 * math/math.h (isinf): Fix typo in comment.
18250 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18252 * po/da.po: Update from translation team.
18254 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18256 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18257 is added to the list.
18259 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18260 Ulrich Drepper <drepper@gmail.com>
18262 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18263 the global list here. Move code to...
18264 (_dl_add_to_namespace_list): ...here. New function.
18265 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18266 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18267 * elf/dl-load.c (lose): Don't remove the element from the list.
18268 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18269 (_dl_map_object): Likewise.
18271 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18274 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18275 into all bytes of SSE register.
18276 Patch by Richard Li <richardpku@gmail.com>.
18278 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18281 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18284 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18286 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18287 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18288 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18289 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18294 2010-10-22 Andreas Schwab <schwab@redhat.com>
18296 * include/dlfcn.h (__RTLD_SECURE): Define.
18297 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18298 mode & __RTLD_SECURE instead.
18299 (open_path): Rename preloaded parameter to secure.
18300 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18301 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18302 * elf/dl-deps.c (openaux): Likewise.
18303 * elf/rtld.c (struct map_args): Remove is_preloaded.
18304 (map_doit): Don't use it.
18305 (dl_main): Likewise.
18306 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18307 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18309 2010-09-09 Andreas Schwab <schwab@redhat.com>
18311 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18312 (sysd-rules-targets): Remove duplicates.
18313 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18314 rtld-%.$o dependency.
18316 2010-10-18 Andreas Schwab <schwab@redhat.com>
18318 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18319 _dl_map_object do it.
18321 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18323 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18324 fast fma builtins, define the macros in the C99 standard.
18325 (FP_FAST_FMAF): Likewise.
18326 (FP_FAST_FMAL): Likewise.
18327 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18329 * bits/mathdef.h: Update copyright year.
18330 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18332 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18334 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18335 builtins, define the macros in the C99 standard.
18336 (FP_FAST_FMAF): Likewise.
18337 (FP_FAST_FMAL): Likewise.
18338 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18340 (FP_FAST_FMAF): Likewise.
18342 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18345 * math/libm-test.inc (fma_test): Some new testcases.
18346 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18347 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18348 y and infinite z. Do multiplication by C already in long double.
18349 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18351 y and infinite z. Do bitwise or of inexact bit into u.d.
18352 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18353 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18354 * sysdeps/i386/fpu/s_fma.S: Removed.
18355 * sysdeps/i386/fpu/s_fmal.S: Removed.
18357 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18360 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18361 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18362 computation is not scheduled after fetestexcept. Fix value
18363 of minimum denormal long double.
18365 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18368 * math/libm-test.inc (fma_test): Add some more tests.
18369 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18372 2010-10-15 Andreas Schwab <schwab@redhat.com>
18374 * scripts/data/localplt-s390-linux-gnu.data: New file.
18375 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18377 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18380 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18381 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18383 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18385 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18386 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18387 if one of x and y is very large and the other is subnormal.
18388 * sysdeps/s390/fpu/s_fmaf.c: New file.
18389 * sysdeps/s390/fpu/s_fma.c: New file.
18390 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18391 * sysdeps/powerpc/fpu/s_fma.S: New file.
18392 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18393 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18394 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18396 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18399 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18401 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18402 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18403 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18404 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18405 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18406 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18407 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18409 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18412 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18413 * posix/bug-regex31.input: Add test case.
18415 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18417 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18418 * posix/bug-regex31.input: New file.
18421 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18422 (parse_sub_exp): Fix last change, use postorder.
18424 * posix/bug-regex31.c: New file.
18425 * posix/Makefile: Add rules to build and run bug-regex31.
18427 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18430 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18433 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18434 to have entries in sys_siglist.
18437 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18440 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18443 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18444 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18445 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18446 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18447 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18448 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18449 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18450 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18451 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18452 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18453 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18454 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18455 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18456 * math/ftestexcept.c (fetestexcept): Likewise.
18457 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18458 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18459 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18460 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18461 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18462 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18463 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18465 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18468 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18471 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18473 * string/bug-strstr1.c: New file.
18474 * string/Makefile: Add rules to build and run bug-strstr1.
18476 2010-10-05 Eric Blake <eblake@redhat.com>
18479 * string/str-two-way.h (two_way_long_needle): Always clear memory
18480 when skipping input due to the shift table.
18482 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18485 * malloc/mcheck.c: Handle large requests.
18488 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18489 for strncmp and strncasecmp.
18490 * string/stratcliff.c: Add tests for strcmp and strncmp.
18491 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18493 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18495 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18498 2010-09-30 Andreas Jaeger <aj@suse.de>
18500 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18501 (CGROUP_SUPER_MAGIC): Define.
18502 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18503 Handle btrfs and cgroup file systems.
18504 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18507 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18509 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18510 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18512 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18515 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18516 trying to locate the ELF header.
18518 2010-09-27 Andreas Schwab <schwab@redhat.com>
18521 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18522 Mask out sign-bit copies when constructing f_fsid.
18524 2010-09-24 Petr Baudis <pasky@suse.cz>
18526 * debug/stack_chk_fail_local.c: Add missing licence exception.
18527 * debug/warning-nop.c: Likewise.
18529 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18531 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18532 implementing getdents64 using getdents syscall, set d_type if
18533 __ASSUME_GETDENTS32_D_TYPE.
18535 2010-09-16 Andreas Schwab <schwab@redhat.com>
18537 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18538 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18540 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18543 * posix/unistd.h: Undo change of feature selection for ftruncate from
18546 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18548 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18551 2010-09-20 Andreas Schwab <schwab@redhat.com>
18553 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18555 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18557 2010-09-14 Andreas Schwab <schwab@redhat.com>
18559 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18560 variables after CHECK_SP call.
18561 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18563 2010-09-13 Andreas Schwab <schwab@redhat.com>
18564 Ulrich Drepper <drepper@redhat.com>
18566 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18567 re-relocationg ld.so.
18568 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18569 _dl_init_paths call.
18570 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18573 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18575 * resolv/res_init.c (__res_vinit): Count the default server we added.
18577 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18578 Ulrich Drepper <drepper@redhat.com>
18581 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18582 (____longjmp_chk): Use %ebx for saving value across system call.
18585 2010-09-06 Andreas Schwab <schwab@redhat.com>
18587 * manual/Makefile: Don't mix pattern rules with normal rules.
18589 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18591 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18593 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18594 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18595 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18596 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18597 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18600 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18603 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18604 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18606 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18608 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18609 * sysdeps/x86_64/addmul_1.S: Likewise.
18610 * sysdeps/x86_64/lshift.S: Likewise.
18611 * sysdeps/x86_64/mul_1.S: Likewise.
18612 * sysdeps/x86_64/rshift.S: Likewise.
18613 * sysdeps/x86_64/sub_n.S: Likewise.
18614 * sysdeps/x86_64/submul_1.S: Likewise.
18616 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18618 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18619 Define __sched_param instead of SCHED_* and sched_param when
18620 <bits/sched.h> is included with __need_schedparam defined.
18621 * bits/sched.h [__need_schedparam]
18622 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18623 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18624 (__defined_schedparam): Define to 1.
18625 (__sched_param): New structure, identical to sched_param.
18626 (__need_schedparam): Undefine.
18628 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18630 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18631 (epoll_create1): Declare.
18633 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18635 2010-08-31 Andreas Schwab <schwab@redhat.com>
18638 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18639 shifting retval into place.
18641 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18643 * nis/rpcsvc/nis.h: Update copyright notice.
18644 * nis/rpcsvc/nis.x: Likewise.
18645 * nis/rpcsvc/nis_callback.h: Likewise.
18646 * nis/rpcsvc/nis_callback.x: Likewise.
18647 * nis/rpcsvc/nis_object.x: Likewise.
18648 * nis/rpcsvc/nis_tags.h: Likewise.
18649 * nis/rpcsvc/yp.h: Likewise.
18650 * nis/rpcsvc/yp.x: Likewise.
18651 * nis/rpcsvc/ypupd.h: Likewise.
18652 * nis/yp_xdr.c: Likewise.
18653 * nis/ypupdate_xdr.c: Likewise.
18655 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18656 mainly the body of pmap_getport. Add parameters to specify timeouts.
18657 (pmap_getport): Use __libc_rpc_getport.
18658 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18659 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18660 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18662 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18667 2010-08-27 Roland McGrath <roland@redhat.com>
18669 * sysdeps/i386/i686/multiarch/Makefile
18670 (CFLAGS-varshift.c): New variable.
18672 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18674 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18675 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18677 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18679 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18681 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18683 * sysdeps/x86_64/strlen.S: Unroll the loop.
18684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18685 strlen-sse2 strlen-sse2-bsf.
18686 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18687 __strlen_no_bsf if bit_Slow_BSF is set.
18688 (__strlen_sse42): Removed.
18689 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18690 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18692 2010-08-25 Roland McGrath <roland@redhat.com>
18694 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18695 * sysdeps/x86_64/multiarch/varshift.c: New file.
18696 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18697 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18698 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18699 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18701 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18703 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18704 strlen-sse2 strlen-sse2-bsf.
18705 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18706 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18707 (__strlen_sse2): Removed.
18708 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18709 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18711 bit_Slow_BSF for Atom.
18712 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18713 (index_Slow_BSF): Define.
18714 (HAS_SLOW_BSF): Define.
18716 2010-08-25 Ulrich Drepper <drepper@redhat.com>
18719 * resolv/res_init.c (__res_vinit): When no server address at all
18720 is given default to loopback.
18722 2010-08-24 Roland McGrath <roland@redhat.com>
18724 * configure.in: Remove config-name.h generation.
18725 * configure: Regenerated.
18726 * config-name.in: File removed.
18727 * scripts/config-uname.sh: New file.
18728 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18729 ($(objdir)config-name.h): New target.
18731 * sunrpc/rpc_parse.h: Avoid nested comment.
18733 2010-08-24 Richard Henderson <rth@redhat.com>
18734 Ulrich Drepper <drepper@redhat.com>
18735 H.J. Lu <hongjiu.lu@intel.com>
18737 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18738 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18739 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18740 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18741 _mm_alignr_epi8 with _mm_loadu_si128.
18742 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18743 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18744 (__m128i_shift_right): Removed.
18745 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18746 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18747 * sysdeps/x86_64/multiarch/varshift.h: New file.
18748 * sysdeps/x86_64/multiarch/varshift.S: New file.
18750 2010-08-21 Mike Frysinger <vapier@gentoo.org>
18752 * configure.in: Move assembler checks to before sysdep dir checking.
18754 2010-08-20 Petr Baudis <pasky@suse.cz>
18756 * LICENSES: Sync the sunrpc license.
18758 2010-08-19 Ulrich Drepper <drepper@redhat.com>
18760 * sunrpc/auth_des.c: Update copyright notice once again.
18761 * sunrpc/auth_none.c: Likewise.
18762 * sunrpc/auth_unix.c: Likewise.
18763 * sunrpc/authdes_prot.c: Likewise.
18764 * sunrpc/authuxprot.c: Likewise.
18765 * sunrpc/bindrsvprt.c: Likewise.
18766 * sunrpc/clnt_gen.c: Likewise.
18767 * sunrpc/clnt_perr.c: Likewise.
18768 * sunrpc/clnt_raw.c: Likewise.
18769 * sunrpc/clnt_simp.c: Likewise.
18770 * sunrpc/clnt_tcp.c: Likewise.
18771 * sunrpc/clnt_udp.c: Likewise.
18772 * sunrpc/clnt_unix.c: Likewise.
18773 * sunrpc/des_crypt.c: Likewise.
18774 * sunrpc/des_soft.c: Likewise.
18775 * sunrpc/get_myaddr.c: Likewise.
18776 * sunrpc/getrpcport.c: Likewise.
18777 * sunrpc/key_call.c: Likewise.
18778 * sunrpc/key_prot.c: Likewise.
18779 * sunrpc/openchild.c: Likewise.
18780 * sunrpc/pm_getmaps.c: Likewise.
18781 * sunrpc/pm_getport.c: Likewise.
18782 * sunrpc/pmap_clnt.c: Likewise.
18783 * sunrpc/pmap_prot.c: Likewise.
18784 * sunrpc/pmap_prot2.c: Likewise.
18785 * sunrpc/pmap_rmt.c: Likewise.
18786 * sunrpc/rpc/auth.h: Likewise.
18787 * sunrpc/rpc/auth_unix.h: Likewise.
18788 * sunrpc/rpc/clnt.h: Likewise.
18789 * sunrpc/rpc/des_crypt.h: Likewise.
18790 * sunrpc/rpc/key_prot.h: Likewise.
18791 * sunrpc/rpc/netdb.h: Likewise.
18792 * sunrpc/rpc/pmap_clnt.h: Likewise.
18793 * sunrpc/rpc/pmap_prot.h: Likewise.
18794 * sunrpc/rpc/pmap_rmt.h: Likewise.
18795 * sunrpc/rpc/rpc.h: Likewise.
18796 * sunrpc/rpc/rpc_des.h: Likewise.
18797 * sunrpc/rpc/rpc_msg.h: Likewise.
18798 * sunrpc/rpc/svc.h: Likewise.
18799 * sunrpc/rpc/svc_auth.h: Likewise.
18800 * sunrpc/rpc/types.h: Likewise.
18801 * sunrpc/rpc/xdr.h: Likewise.
18802 * sunrpc/rpc_clntout.c: Likewise.
18803 * sunrpc/rpc_cmsg.c: Likewise.
18804 * sunrpc/rpc_common.c: Likewise.
18805 * sunrpc/rpc_cout.c: Likewise.
18806 * sunrpc/rpc_dtable.c: Likewise.
18807 * sunrpc/rpc_hout.c: Likewise.
18808 * sunrpc/rpc_main.c: Likewise.
18809 * sunrpc/rpc_parse.c: Likewise.
18810 * sunrpc/rpc_parse.h: Likewise.
18811 * sunrpc/rpc_prot.c: Likewise.
18812 * sunrpc/rpc_sample.c: Likewise.
18813 * sunrpc/rpc_scan.c: Likewise.
18814 * sunrpc/rpc_scan.h: Likewise.
18815 * sunrpc/rpc_svcout.c: Likewise.
18816 * sunrpc/rpc_tblout.c: Likewise.
18817 * sunrpc/rpc_util.c: Likewise.
18818 * sunrpc/rpc_util.h: Likewise.
18819 * sunrpc/rpcinfo.c: Likewise.
18820 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18821 * sunrpc/rpcsvc/key_prot.x: Likewise.
18822 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18823 * sunrpc/rpcsvc/mount.x: Likewise.
18824 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18825 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18826 * sunrpc/rpcsvc/rex.x: Likewise.
18827 * sunrpc/rpcsvc/rstat.x: Likewise.
18828 * sunrpc/rpcsvc/rusers.x: Likewise.
18829 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18830 * sunrpc/rpcsvc/spray.x: Likewise.
18831 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18832 * sunrpc/rtime.c: Likewise.
18833 * sunrpc/svc.c: Likewise.
18834 * sunrpc/svc_auth.c: Likewise.
18835 * sunrpc/svc_authux.c: Likewise.
18836 * sunrpc/svc_raw.c: Likewise.
18837 * sunrpc/svc_run.c: Likewise.
18838 * sunrpc/svc_simple.c: Likewise.
18839 * sunrpc/svc_tcp.c: Likewise.
18840 * sunrpc/svc_udp.c: Likewise.
18841 * sunrpc/svc_unix.c: Likewise.
18842 * sunrpc/svcauth_des.c: Likewise.
18843 * sunrpc/xcrypt.c: Likewise.
18844 * sunrpc/xdr.c: Likewise.
18845 * sunrpc/xdr_array.c: Likewise.
18846 * sunrpc/xdr_float.c: Likewise.
18847 * sunrpc/xdr_mem.c: Likewise.
18848 * sunrpc/xdr_rec.c: Likewise.
18849 * sunrpc/xdr_ref.c: Likewise.
18850 * sunrpc/xdr_sizeof.c: Likewise.
18851 * sunrpc/xdr_stdio.c: Likewise.
18853 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18856 2010-08-19 Andreas Schwab <schwab@redhat.com>
18858 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18860 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
18862 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18863 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18864 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18865 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18866 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18867 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18868 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18869 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18870 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18871 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18872 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18873 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18874 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18875 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18877 2010-07-26 Anton Blanchard <anton@samba.org>
18879 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18880 * malloc/arena.c (heap_trim): Likewise.
18882 2010-08-16 Ulrich Drepper <drepper@redhat.com>
18884 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18886 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18887 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18889 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18891 * sysdeps/i386/elf/Makefile: New file.
18893 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18895 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18896 from fanotify_init.
18897 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18898 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18900 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18902 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18904 * sysdeps/multiarch/strcmp.S: Likewise.
18906 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18908 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18909 strncase_l-nonascii.
18910 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18911 Add strncase_l-ssse3.
18912 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18913 * sysdeps/x86_64/strcmp.S: Likewise.
18914 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18915 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18916 * sysdeps/x86_64/strncase.S: New file.
18917 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18918 * sysdeps/x86_64/strncase_l.S: New file.
18919 * string/Makefile (strop-tests): Add strncasecmp.
18920 * string/test-strncasecmp.c: New file.
18922 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18925 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18926 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18928 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18930 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18932 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18934 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18935 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18936 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18938 2010-05-01 Alan Modra <amodra@gmail.com>
18940 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18941 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18942 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18943 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18944 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18945 tidying. Don't tail-call __sigjmp_save for static lib.
18946 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18948 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18949 (CALL_MCOUNT): Add eh info, and nop after bl.
18950 (TAIL_CALL_SYSCALL_ERROR): New macro.
18951 (PSEUDO_RET): Use it.
18952 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18953 Correct save location of integer regs and cr.
18954 (_dl_profile_resolve): Correct cr save location. Delete nops
18955 after bl when SHARED. Reduce cfi size a little by better
18956 placement of cfi directives.
18957 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18958 make a stack frame. Instead use parm save area as a temp.
18959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18960 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18962 Don't make a stack frame for parent, use parm save area.
18963 Increase child stack frame to 112 bytes. Don't save unused reg,
18964 and adjust reg usage. Set up cfi on error recovery and
18965 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18967 (__makecontext): Add dummy nop after jump to exit.
18968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18969 Use correct parm save area and cr save, reduce stack frame.
18970 Correct cfi for possible PSEUDO_RET frame setup.
18971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18972 Branch to local label emitted by PSEUDO_RET rather than
18975 2010-08-12 Andreas Schwab <schwab@redhat.com>
18978 * locale/programs/locale.c (print_assignment): New function.
18979 (show_locale_vars): Use it.
18981 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18983 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18985 (struct statfs64): Likewise.
18986 (_STATFS_F_FLAGS): Define.
18987 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18988 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18989 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18990 (ST_VALID): Define locally.
18991 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18992 __statvfs_getflags, use the provided value.
18993 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18994 __ASSUME_STATFS_F_FLAGS.
18996 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18998 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18999 Add sys/fanotify.h.
19000 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19001 fanotify_mask for GLIBC_2.13.
19002 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19003 fanotify_init and fanotify_mark.
19004 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19005 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19007 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19009 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19010 prlimit64 for GLIBC_2.13.
19011 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19013 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19016 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19017 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19018 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19019 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19021 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19024 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19025 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19027 * nss/Makefile: Add rules to build and run tst-nss-test1.
19028 * shlib-versions: Add entry for libnss_test1.
19029 * nss/nss_test1.c: New file.
19030 * nss/tst-nss-test1.c: New file.
19032 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19033 (__nss_configure_lookup): Set appropriate entry in
19034 __nss_configure_lookup to true.
19035 * nss/nsswitch.h: Define enum with indeces of databases in
19036 databases and __nss_database_custom arrays. Declare
19037 __nss_database_custom.
19038 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19039 to avoid using nscd when custom rules are installed.
19040 * nss/getXXbyYY_r.c: Likewise.
19041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19043 * nss/nss_files/files-parse.c: Whitespace fixes.
19045 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19048 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19049 * posix/fnmatch_loop.c: Likewise.
19051 2010-07-17 Andi Kleen <ak@linux.intel.com>
19053 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19054 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19055 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19056 * Versions.def [GLIBC_2.13]: Add.
19058 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19060 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19061 Also fail if tpwd after pwuid call is NULL.
19063 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19065 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19066 when converting to ms.
19068 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19070 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19071 EOPNOTSUPP errors with ENOTTY.
19072 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19073 EOPNOTSUPP errors with ENOTTY.
19075 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19077 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19078 Add strcasecmp_l-ssse3.
19079 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19081 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19082 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19083 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19085 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19087 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19089 * string/Makefile (strop-tests): Add strcasecmp.
19090 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19091 strcasecmp_l-nonascii.
19092 (gen-as-const-headers): Add locale-defines.sym.
19093 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19094 * sysdeps/x86_64/strcasecmp.S: New file.
19095 * sysdeps/x86_64/strcasecmp_l.S: New file.
19096 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19097 * sysdeps/x86_64/locale-defines.sym: New file.
19098 * string/test-strcasecmp.c: New file.
19100 * string/test-strcasestr.c: Test both ends of the range of characters.
19101 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19103 2010-07-29 Roland McGrath <roland@redhat.com>
19106 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19108 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19110 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19113 2010-07-27 Andreas Schwab <schwab@redhat.com>
19115 * manual/memory.texi (Malloc Tunable Parameters): Document
19118 2010-07-26 Roland McGrath <roland@redhat.com>
19121 * configure.in (-fgnu89-inline check): Set and substitute
19122 gnu89_inline, not libc_cv_gnu89_inline.
19123 * configure: Regenerated.
19124 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19126 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19128 * string/test-strnlen.c: New file.
19129 * string/Makefile (strop-tests): Add strnlen.
19130 * string/tester.c (test_strnlen): Add a few more test cases.
19131 * string/tst-strlen.c: Better error reporting.
19133 * sysdeps/x86_64/strnlen.S: New file.
19135 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19137 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19138 lower-latency instructions.
19140 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19142 * string/test-strcasestr.c: New file.
19143 * string/test-strstr.c: New file.
19144 * string/Makefile (strop-tests): Add strstr and strcasestr.
19145 * string/str-two-way.h: Don't undefine MAX.
19146 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19148 2010-07-21 Andreas Schwab <schwab@redhat.com>
19150 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19151 strcasestr-nonascii.
19152 (CFLAGS-strcasestr-nonascii.c): Define.
19153 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19154 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19155 Remove unused attribute.
19157 2010-07-20 Roland McGrath <roland@redhat.com>
19159 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19160 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19161 ld.so.cache was broken. With it, there is no way to disable dsocaps
19162 like LD_HWCAP_MASK can disable hwcaps.
19164 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19166 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19168 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19170 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19171 call in strcasestr.
19172 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19173 __strcasestr_sse42_nonascii.
19174 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19175 strcasestr-nonascii.c.
19176 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19178 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19180 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19181 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19182 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19183 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19185 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19187 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19190 2010-07-06 Andreas Schwab <schwab@redhat.com>
19193 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19196 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19198 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19199 _PC_PIPE_BUF using F_GETPIPE_SZ.
19201 2010-07-05 Roland McGrath <roland@redhat.com>
19203 * manual/arith.texi (Rounding Functions): Fix rint description
19204 implicit in round description.
19206 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19208 * elf/Makefile: Fix linking for a few tests to make recent linker
19211 2010-06-30 Andreas Schwab <schwab@redhat.com>
19213 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19214 $(common-objpfx)libc_nonshared.a.
19216 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19218 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19219 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19220 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19221 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19222 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19223 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19224 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19225 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19240 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19241 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19242 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19243 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19244 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19245 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19246 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19247 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19248 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19249 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19250 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19251 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19267 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19269 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19270 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19271 * string/memmove.c (memmove): Renamed to ...
19272 (MEMMOVE): ...this. Default to memmove.
19273 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19274 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19277 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19278 mempcpy-ssse3-back memmove-ssse3-back.
19279 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19280 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19281 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19282 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19283 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19284 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19285 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19286 * sysdeps/x86_64/multiarch/memmove.c: New file.
19287 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19288 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19289 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19290 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19291 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19292 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19294 (index_Fast_Copy_Backward): Define.
19295 (HAS_ARCH_FEATURE): Define.
19296 (HAS_FAST_REP_STRING): Define.
19297 (HAS_FAST_COPY_BACKWARD): Define.
19299 2010-06-21 Andreas Schwab <schwab@redhat.com>
19301 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19302 Restore proper fallback handling.
19304 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19307 * posix/group_member.c (__group_member): Correct checking loop.
19309 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19310 OOM in getpwuid_r correctly. Return error number when the caller
19311 should return, otherwise -1.
19312 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19313 call returning > 0 value.
19314 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19316 2010-06-07 Andreas Schwab <schwab@redhat.com>
19318 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19319 libc_nonshared.a from targets in modules-names.
19321 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19323 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19326 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19328 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19329 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19330 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19331 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19333 2010-06-02 Andreas Schwab <schwab@redhat.com>
19335 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19337 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19339 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19341 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19342 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19344 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19345 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19346 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19348 2010-06-14 Roland McGrath <roland@redhat.com>
19350 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19352 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19354 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19355 __REDIRECT followed by __THROW.
19356 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19357 * posix/getopt.h (getopt): Likewise.
19359 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19361 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19362 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19363 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19365 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19366 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19368 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19370 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19372 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19375 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19376 Properly check family and model.
19378 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19380 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19382 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19384 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19386 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19388 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19391 2010-05-19 Andreas Schwab <schwab@redhat.com>
19393 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19396 2010-05-21 Andreas Schwab <schwab@redhat.com>
19398 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19399 and internal_recvmmsg.
19400 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19401 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19402 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19403 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19405 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19406 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19407 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19409 2010-05-20 Andreas Schwab <schwab@redhat.com>
19411 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19413 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19415 POWER7 optimizations.
19416 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19417 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19419 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19421 * version.h: Update for 2.13 development version.
19423 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19425 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19426 exceptions. Return 0.
19428 2010-05-07 Roland McGrath <roland@redhat.com>
19430 * elf/ldconfig.c (main): Add a const.
19432 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19434 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19435 (args_options): Add no-idn option.
19436 (ahosts_keys_int): Add idn_flags to ai_flags.
19437 (parse_option): Handle 'i' option to clear idn_flags.
19439 * malloc/malloc.c (_int_free): Possible race in the most recently
19440 added check. Only act on the data if no current modification
19443 See ChangeLog.17 for earlier changes.